Is it possibile combine an RGB image and an IR image in a FOUR-BAND tiff image?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Gabriele Ciccone
el 28 de Mzo. de 2020
Comentada: Gabriele Ciccone
el 30 de Mzo. de 2020
Hi all,
I'm looking for a function to build a four-band image. I have an RGB image and the corrispective IR image (in greyscale), and I need to merge them in a 4-band image.
I tried 'imfuse' but the result is just a 3-band (RGB) image a bit darker.
Any suggestion?
Thanks a lot
0 comentarios
Respuesta aceptada
Walter Roberson
el 28 de Mzo. de 2020
Tiff class can be used. The IR can be placed into Extra Samples. I seem to recall that you can also directly write an array with 4 panes in Tiff class as long as you give the right bit depth information.
I also encountered a hint that you can imwrite an array with 4 panes to tiff file and that it will write as-if it were rgba
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Processing Toolbox 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!