필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Using regionprops and boundingbox for matlab R2015

조회 수: 1 (최근 30일)
elvis okacha
elvis okacha 2019년 4월 12일
마감: MATLAB Answer Bot 2021년 8월 20일
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개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by