Change Contents of the Bubble
Welcome to CS1315. Click on the python to add comments.

Looking for the book? They have it at the Engineer's Bookstore at 748 Marietta St NW. Here is there website: http://www.engrbookstore.com/ - Monica

Hotspots: Slides and CodeTA CornerComments?AnnouncementsFAQStatic Webspace
View this PageEdit this Page (locked)Uploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Summer 2004 Homework 1 Questions

Questions on posterizing?


def posterize(picture):
if(blue 128):
setBlue(p, 0)
if(blue >= 128):
setBlue(p, 255)
I think this is right but i just wanted to cheak and see if you saw any problems that i missed. thanks Michael Fallaize

sorry for some reason the indintions didnt come out how can i make them work so i can post on here?

See the FAQ page for how to format the code so that indentations and comparison signs work right. Michael, if you have specific questions, we'd be glad to post them, but you might want to avoid just posting code without a question – it fills up the page, and keeps other folks from having the chance to try it on their own first. You might post a picture that you posterized to the Gallery, and we can check it that way. Mark Guzdial


Do you have to upload your picture to coweb to get full credit because I have been having problems with JES and memory and I can only manipulate the smaller pictures from mediasources for the class and the one I did is already up (small beach)? I wanted to do one of my own but JES keeps telling me it's out of memory and some other stuff. Just wanted to know...thanks.

No you do not have to upload it. The gallery is only to show off your work; it is not mandatory. Nicole Seekely

Is this assignment still due on Memorial Day? I'm going to be out of town until Tuesaday. Thanks.

Yes. You still need to turn it in by Monday. You may want to turn-in before you leave. -kk

I accidently attached the wrong picture called "blackhaven.jpg" on the HW1 picture attachment page. Can a TA take that off for me? Also my correct picture is loaded but it doesn't show up on the picture collection page. Is it not instant?

Never mind about my second question, just figured it out. But could someone still take off the blackhaven picture? Thanks

is your code supposed to manipulate any picture (writing in picture = makePicture(pickAFile()) or the particular picture you manipulate ( writing in file = r"path"
Judging by the directions, I would say that it's supposed to take in a picture as input. That means (to me) that the recipe needs to be set up to take in a picture as input... I think that's different from both of the things you suggest. -kk

I've been trying to upload my picture onto the gallery page but a window pops up asking me to connect to coweb.cc.gatech.edu. Do I have to sign in, and if I do, am I using my prism account?
When you click "attach", if you are off campus, you'll have to use the username 'attach' and the password 'carmen' to get permission to add your picture. Is that what you're asking? -kk

do we attach the original picture with our program or the picture that's been maniputlated?
The directions for this homework say "Turn in your program via JES as 'hw1'." I think that since the next homework specifically asks for your picture, but this one just asks for the program, you should just turn in the program. However, I think that you should note that it sounds like the program needs to take in any picture as its input, so you shouldn't need any particular picture. -kk

how do I set up the recipe to take in a picture as input? i've gone over my notes and the slides from class, and i guess i'm just not making the connection

ok kidding, i got it

hmmm, i'm getting a completely green picture with my code... is that what we need? Seems like I'm doing something wrong


nope... try it with a different picture and then see if you values are correct




Link to this Page