MATLAB: Overlapping .tiff images

imageImage Processing Toolbox

Hi, I have several .tiff images in the same directory (1.tiff, 2.tiff, … 20.tiff) and they are all datasets of the same size (223×375). I am trying to overlap them and assign a colour to each image (the images are of the same object becoming progressively bigger) but need help doing so. Your help will be appreciated. Thank you.

Best Answer

Kind of hard to guess since you didn't attach any of the images. But I'd try to add them all up and then use rgb2ind(). If they are uint8 you'll have to cast to uint16 first. Or you mgiht try binarizing them first. Or cast them to double and add them up and divide by the number of images and then cast back to uint8, and then use rgb2ind. Like I said, hard to say until I see your images and you/I try some things.