Lecture 1 Problems CSCI 497P / 597P

  1. Given a grayscale image , write down a new image that is twice as big (i.e., scaled up by a factor of two in both and ). Is this a geometric or photometric transformation?
  2. Given a 3-channel color image with width and height stored in a 3-dimensional array F, write pseudocode to give the image a reddish tint. Assume that F[r, c, i] is the syntax to access the value of the ith color channel (where 0 is red, 1 is green, 2 is blue) of the pixel at the rth row and cth column. Is this a geometric or photometric transformation?
  3. Given a grayscale image , how could you increase the contrast of an image? Another way to say this would be, how could you make the bright stuff brighter and dark stuff darker? Is this a geometric or photometric transformation?