please give me the code of how to read an image and print its corresponding dn numbers.
the taken image is a satellite image.
i am new with codings in C.
i know that it should be done using files.but,what commands should be used to read a binary file.
the image is a generic binary image