imregister without converting to gray scale?!

16 visualizaciones (últimos 30 días)
Yasser ALGhamdi
Yasser ALGhamdi el 7 de Mayo de 2017
Comentada: Yasser ALGhamdi el 8 de Mayo de 2017
I wonder if there is away to perform image registration without converting the image to gray scale first? I mean without (rgb2gray). Because I'm getting error "The value of 'MovingImage' is invalid. All dimensions of the moving image should be greater than 4." when I use imregister without converting to gray scale. Is there anything I might loose when I register two images after converting them to gray? My apology for asking many questions, but I'm new to Matlab world :) I appreciate your assistance. Regads, Yasser

Respuestas (1)

Image Analyst
Image Analyst el 7 de Mayo de 2017
The images must be 2-D grayscale images or 3-D volumetric images according to the help. To do a color image you'd have to convert it to gray scale and get the transform, then split up the RGB image into separate color channels, and then use the transform on the individual color channels and then put them back together as an RGB image with cat(3,r,g,b).
  1 comentario
Yasser ALGhamdi
Yasser ALGhamdi el 8 de Mayo de 2017
Greetings, "split up the RGB image into separate color channels, and then use the transform on the individual color channels and then put them back together as an RGB image with cat(3,r,g,b)." Can you share with me any example how to do that, it seems a very good approach though a bit complicated! I mean splitting+transform+combining back... Thanks in advance!

Iniciar sesión para comentar.

Categorías

Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by