Borrar filtros
Borrar filtros

I have two images and I need to find out an overlap region of first image in the second image by taking a neighborhood of 30 pixels in the second image.Once I do that I need to store the corresponding indices as an output file.Can someone help me ?

7 visualizaciones (últimos 30 días)
I have two images and I need to find out an overlap region of first image in the second image by taking a neighborhood of 30 pixels in the second image.Once I do that I need to store the corresponding indices as an output file.Can someone help me ?

Respuestas (1)

Image Analyst
Image Analyst el 5 de Mayo de 2016
Which 30 pixels do you want to take? And what do you consider to be an "overlap" in those 30 pixels? Do you just and to extract the 30 pixels from both images and check for equality?
equalPixels = pixelsFromImage1 == pixelsFromImage2;
It would help if you uploaded the image and showed us the 30 pixels.
  2 comentarios
RENOH JOHNSON CHALAKKAL
RENOH JOHNSON CHALAKKAL el 5 de Mayo de 2016
There are two sub images of an image I labelled as Ir and Ib.I would like to find out pixels in Ir that are located in the neighborhood of pixels in Ib using an overlap function defined with a neighborhood parameter v=30. And I need to find the indices of the same.
Image Analyst
Image Analyst el 5 de Mayo de 2016
I gave you that code above to find places where the two subimages are equal. Here it is with your variable names:
equalPixels = lb == lr;
[rows, columns] = find(equalPixels);

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by