This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 12. what is the difference between getPixel and getPixels? 13. how can you calculate the distance between two colors? (Give the actual equation.) 14. what is the difference between show and repaint? 15. there is a good rule of thumb for when you need to return the image from a function. What is that rule of thumb? 16. how do you create the negative of a picture? ie., what is the calculation to perform at every pixel? 17. how do you create a grayscale version of a picture? ie., what is the calculation to perform at every pixel? 18. what is the difference between a lossy versus a loss-less transformation? 19. if you posterize an image so that you have only 2 amounts of red combined with 2 amounts of green combined with 2 amounts of blue, how many different colors are possible?...
View Full Document
- Spring '08