Determining Intersection Points in Images

조회 수: 5 (최근 30일)
J Parker
J Parker 2017년 8월 27일
댓글: J Parker 2017년 8월 28일
I have two images and they intersect at one point, but the in two different locations. For example, all though the images intersect at one point, for the first image it could be in column 2 but in the second image, it could be column 98. I am trying to determine the specific columns at points of intersection. Any suggestions on how to approach it? Thanks in advance
The images attached intersect at one location.
[r c] = size(img1) %both images of same size
for x = 1:c
distance = abs(img1(:,c) - img2(:,c))
if(distance == 0)
print x
end
end
  댓글 수: 2
Image Analyst
Image Analyst 2017년 8월 28일
Exactly what is intersecting in those images?
J Parker
J Parker 2017년 8월 28일
The images intersect each other at some point.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by