Hi Laurent-
Thanks for the reply! I tried your suggestion, and I am still having some trouble.
Both your encoding and decoding call work without errors, however when I load the decoded tif into Matlab to analyze it, I get a matrix that is 2472x3296x3 of uint8 type. The original image loads in as a 2d matrix of 2472×3296 of uint8 type.
The only thing I changed from your call was forcing the size to vga resolution. Any idea on why my data type is still an RGB image instead of grayscale on the output?
Thanks in advance for all the help, I owe you a beer-
-Ryan