3
Images as Functions
¬ A gray-tone image is a function:
          g(x,y) = val or  f(row, col) = val
¬ A color image is just three functions or a
     vector-valued function:
          f(row,col) =(r(row,col), g(row,col), b(row,col))