Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Using regionprops and boundingbox for matlab R2015
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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
0 Kommentare
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!