I am working on a project to change image resolution using matlab. Can someone please tell me what matlab commands are useful? also what values does the function imread(image.jpg) returns? Is it an index to the colour look up table?
jpg files contain information on how the image is stored - width, height and depth. Colour values can be 8, 12 or 16-bit grayscale or 24-bit or 32-bit RGB values.
If you wish, you can convert the colour values to an index and use your own colour look up table.
All the information you need should be in Help under image.