regionprops (b,'Orientation')

조회 수: 7 (최근 30일)
sajid rahim
sajid rahim 2020년 1월 5일
댓글: Image Analyst 2020년 1월 5일
Hello.
I am using this
angle=regionprops(b,'Orientation');
theta=angle.Orientation;
for angle finding.
Now in my thesis I have to write their formulas and mathematical forms.
Now from where we get it?
  댓글 수: 2
darova
darova 2020년 1월 5일
편집: darova 2020년 1월 5일
What is the question? What do you heed help with?
Image Analyst
Image Analyst 2020년 1월 5일
Formulas for what??? The line going through the blob centroids at that angle? Please specify. By the way, this is clearer and more general (in case there are multiple blobs):
props = regionprops(b,'Orientation'); % Make angle measurements.
allTheta = [props.Orientation]; % All angles in a single vector.

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

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by