フィルターのクリア

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