フィルターのクリア

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 ビュー (過去 30 日間)
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 ?

回答 (1 件)

Image Analyst
Image Analyst 2016 年 5 月 5 日
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 件のコメント
RENOH JOHNSON CHALAKKAL
RENOH JOHNSON CHALAKKAL 2016 年 5 月 5 日
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 2016 年 5 月 5 日
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);

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by