Overlapping .tiff images

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 (223x375). 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.

 Risposta accettata

Image Analyst
Image Analyst il 3 Ago 2016

1 voto

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.

4 Commenti

ajk1
ajk1 il 3 Ago 2016
Modificato: ajk1 il 3 Ago 2016
Hi, thank you for your message. I have added the .tiff images in the attached zipped file. The corresponding datasets of (each time-step of) these images are indeed binarised with the object '1' and the background '0' (post segmentation). I have also added a photo of an image similar to what I am trying to produce in the zipped folder (with the background removed).
With the binarised dataset will it also possible to find out the distance between the tops of the images (essentially the growth between each dataset with the known voxel size)? Thanks again.
ajk1
ajk1 il 4 Ago 2016
Modificato: ajk1 il 4 Ago 2016
The Images (2) folder have the colorbars removed.
ajk1
ajk1 il 8 Ago 2016
Modificato: ajk1 il 10 Ago 2016
Hi, I'm still unable to overlap the images and associate a colour to them using the datasets.
Also would the best method to find the distance between the time fronts be subtracting the binarised datdatase and counting the number of voxels?
ajk1
ajk1 il 10 Ago 2016
Thanks for your advice managed to find a way using the images but wasn't able to do it using the 8-bit binarised datasets. I had another question in the forum where I uploaded two of the datasets for help with finding the distance between the fronts if you wanted to take a look.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Convert Image Type in Centro assistenza e File Exchange

Tag

Richiesto:

il 3 Ago 2016

Commentato:

il 10 Ago 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by