Hi All. I am working on some Image Processing Project, for this i need to Enlarge (Zoom-In) and Reduce (Zoom Out) a given picture in Tiff FIle. i have to enlarge/reduce the pixel map that i have read using a C++ program. i dont need to actually enlarge/reduce the actual picture and reproduce new Tiff File.
Any algorithm or any guidelines on this please. i am not asking for code, i will do that, just some basic guidelines or Algorithm on how to do this, Please. Thanks.
I do not know the immediate answer. But I would start with studying the ImageMagick utility "convert" with the image operator -sample (http://www.imagemagick.org/script/command-line-options.php#sample). The utility is built on the top of freely available libraries (i.e. full sources). There is also the "ImageMagick Display" application (with GUI) that can be the source of inspiration.
Thanks pepr ! i checked the link provided by you, but sorry, i could not find options like Enlarge/Zoom/Reduce size etc in the above web page. please check. Thanks.
Well, I am not expert in the image processing. I just guess that it may be easier to use the libraries that are used also in ImageMagick. I would start here to learn how to do it.
On the other hand, ImageMagick is used for batch processing of images. The interactive processing may require a different approach. Then I would search for some publicly available image viewer with sources.