필터 지우기
필터 지우기

Euclidean distance for all pixels

조회 수: 1 (최근 30일)
Elysi Cochin
Elysi Cochin 2012년 11월 5일
i wanted to find the minimum of Euclidean distance, between pixels of an image?? please can someone help me with the code??

채택된 답변

Image Analyst
Image Analyst 2012년 11월 5일
That would be 1, and occurs for any pixels that are adjacent to each other.
  댓글 수: 3
Image Analyst
Image Analyst 2012년 11월 5일
The center pixel will be anywhere from half the width (or height) to sqrt((width/2)^2 + (height/2)^2) from the edge pixels.
Elysi Cochin
Elysi Cochin 2012년 11월 5일
thanks sir..

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by