Euclidean distance for all pixels
1 次查看(过去 30 天)
显示 更早的评论
i wanted to find the minimum of Euclidean distance, between pixels of an image?? please can someone help me with the code??
0 个评论
采纳的回答
Image Analyst
2012-11-5
That would be 1, and occurs for any pixels that are adjacent to each other.
3 个评论
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.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!