Tiff image to RGB
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello! I have a TIFF with 162 images that represend all the cuts of one hair follicle. I would like to convert it to RGB so that they show green and red colours as taken with the confocal microscope. After that, I would like them to overlap them showing only one picture. How can I do this? I cannot attach the file since it is too big.
Thank you.
0 comentarios
Respuestas (1)
Sulaymon Eshkabilov
el 4 de Jun. de 2020
Hi,
Here is a short code how you can start working on:
F1 = 'Name'; % Name of your Tiff files as e.g.: Name1.tiff, Name2.tiff, etc
Ext='.tiff';
for ii=1:7
ADAT = strcat(F1, num2str(ii), Ext);
DATA = imread(ADAT);
R=DATA(:,:,1);
G=DATA(:,:,2);
B=DATA(:,:,3);
end
Ver también
Categorías
Más información sobre Biomedical Imaging en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!