Filter löschen
Filter löschen

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)
elvis okacha
elvis okacha am 12 Apr. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 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

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by