regionprops (b,'Orientation')

9 次查看(过去 30 天)
sajid rahim
sajid rahim 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