regionprops (b,'Orientation')

8 views (last 30 days)
sajid rahim
sajid rahim on 5 Jan 2020
Commented: Image Analyst on 5 Jan 2020
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 Comments
darova
darova on 5 Jan 2020
Edited: darova on 5 Jan 2020
What is the question? What do you heed help with?
Image Analyst
Image Analyst on 5 Jan 2020
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.

Sign in to comment.

Answers (0)

Categories

Find more on Mathematics and Optimization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!