Initializing colormap when zooming

Help
Alex
2014-05-11
2014-05-11
  • Alex
    Alex
    2014-05-11

    Hello,

    how do i initialize the pixels and their colors of a plane and what do i have to do with the colormap when the image was scaled? Do I have to reinitialize the dimension of the image every time the image was scaled?

    The aim here for me is to establish a gradient on some discrete plane in accordance with its zoom factor. So to say, if i would zoom into a 20x20 plane, the gradient would still be smooth.

    I would like to experiment with some interpolation methods, but I don't know how to access the pixels accordingly.

    Thanks

     
    Last edit: Alex 2014-05-11