필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Values of Upper and Lower Pixel of Cetroid

조회 수: 1 (최근 30일)
Tasneem Al-Tmimi
Tasneem Al-Tmimi 2017년 12월 13일
마감: MATLAB Answer Bot 2021년 8월 20일
I have a question, is there any way to find the value of the pixels upper and lower of an object centroid. Like the attached image trying to explain what I mean. I have an object I want to find the value of upper point and lower point automatically base don my centroid value that I have got from using the regionprop function.

답변 (1개)

KSSV
KSSV 2017년 12월 13일
If i and j are the indices...of your centroid; i-1 and i+1 should give you want.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by