How do I read an image in C so that I can have direct control over its pixels (like we do in MATLAB)?
I tried the old way:
FILE *fp;
fp = fopen("C:\\a.tif","r");
that just gives me the ascii
form of the image file (I think).
How can I get pixel level control over the image and do some basic operations like say, inverting the image?