Algorithm for MajorAxis Length

2 Ansichten (letzte 30 Tage)
Guru Revathi
Guru Revathi am 22 Apr. 2011
i m using Major Axis length command associated with the regionprops command. i m using it on a binary image after using BW=bwlabel(img,8) on the binary image. Further using s=regionprops(BW,'majoraxislength', 'minoraxislength','centroid'). i would want to know the Algorithm behind these parameter calculations using regionprops.

Akzeptierte Antwort

sco1
sco1 am 22 Apr. 2011
I don't have this particular toolbox, but you can try:
open regionprops
If you haven't already. If it's not a built in function, it will give you the code.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by