Filter löschen
Filter löschen

to find the perimeter of leaf in image

2 Ansichten (letzte 30 Tage)
parul mittal
parul mittal am 27 Nov. 2016
Kommentiert: Image Analyst am 27 Nov. 2016
I m extracting features for multiple images, calling in a loop by using dir command. in diameter function to find the diameter of the object i.e i have used bwperim command. if in my folder i have leaf images of same plant than bwperim is working but if in folder i give leaves of different plants than it generates error shown in photo attached. Kindly help me how to resolve error.
i have attached the image of the one of the plant leaf in my dataset also. kindly help me.
thanx

Akzeptierte Antwort

Image Analyst
Image Analyst am 27 Nov. 2016
You need to pass it a binary image. It looks like you probably passed it a color image.
  2 Kommentare
parul mittal
parul mittal am 27 Nov. 2016
I have passed binary image only but still it is giving this error.
Image Analyst
Image Analyst am 27 Nov. 2016
OK. If you want further help you need to read this.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Agriculture finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by