MATLAB: I have an image (256 x 256) where its pixels ranging from 0 to 255. I need to built a look up table to map its values with image pixels.

image processingImage Processing Toolboxlook up tablemapping

Since I am a beginner, I cant find a way as how to start with coding for lookuptable. It would really helpful if you would help.

Best Answer

Use intlut(). Create your lookuptable, lut, then pass that plus your image into intlut() to get a new, transformed image.
Related Question