필터 지우기
필터 지우기

Find nearest pixel to same for each pixel list given by regionprops for each object

조회 수: 3 (최근 30일)
Hello! I have a pixellist for each object given by regionprops and i want to calculate the nearest point and then distance all to the same binary map/object for each object.
Thanks!
  댓글 수: 2
Matt J
Matt J 2021년 7월 30일
편집: Matt J 2021년 7월 30일
If a pixel belongs to an object, its distance to the same object is zero, of course...
Image Analyst
Image Analyst 2021년 7월 31일
I agree with Matt. Please explain what you mean, preferably with a diagram showing the distances and blobs that you're talking about. Perhaps you mean the distance of every blob centroid to every other blob centroid like you'd get with pdist2()???

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by