Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Using regionprops and boundingbox for matlab R2015

1 vue (au cours des 30 derniers jours)
elvis okacha
elvis okacha le 12 Avr 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
I am trying to find length and width.is this ok?: I=Imread(filename) Info=imfinfo(filename) Thres=graythresh(I) I2=~(im2bw(I,thresh)) cmp=bwconncomp(I2) s=regionprops(cmp,'BoundingBox') x=s.BoundingBox(3) y=s.BoundingBox(4) res=info.ResolutionUnit resX=info.XResolutionUnit resY=info.YResolutionUnit

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by