Hi,
I extracted images from a Lytro camera in a TIF format. After that, I tried to open them in Matlab using "imread" and I noticed that the images were MxNx4, not like regular RGB which is MxNx3. I assumed that the images were in RGBA representation since the 4th channel was a constant matrix with the value 65535 in uint16 (255 when I converted to uint8). I then extracted the first 3 channels to get the RGB channels since the alpha channel is a constant 255. But when I used "imshow" and "imwrite", the colors of the image looked off balance compared to the original image presented in "windows photo viewer". I can not compare the difference between the images since I can't present in Matlab the original RGB colors that I saw in the viewer.
Please help and advise.
Thanks,
Ido.