Azzera filtri
Azzera filtri

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 visualizzazioni (ultimi 30 giorni)
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 ?

Risposte (1)

Image Analyst
Image Analyst il 5 Mag 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 Commenti
RENOH JOHNSON CHALAKKAL
RENOH JOHNSON CHALAKKAL il 5 Mag 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 il 5 Mag 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);

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by