Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Values of Upper and Lower Pixel of Cetroid

1 Ansicht (letzte 30 Tage)
Tasneem Al-Tmimi
Tasneem Al-Tmimi am 13 Dez. 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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.

Antworten (1)

KSSV
KSSV am 13 Dez. 2017
If i and j are the indices...of your centroid; i-1 and i+1 should give you want.

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by