How to Eliminate False Positives detected in Segmentation?

조회 수: 4 (최근 30일)
Tarcisio Lima
Tarcisio Lima 2018년 6월 5일
편집: Tarcisio Lima 2018년 6월 11일

I am developing in MATLAB a code, which is supposed to identify the area on a leaf that contains spots to report the severity of a disease.

During my research, I found out about LeafSnap and got inspired by it. So, I tried to follow the paper to segment the leaf on the image using OpenCV Expectation Maximization, which is trained using S and V form HSV color space; however, it still returns some false positives due to reflection or shadow.

As you can see above, the color space have yellowish (in direct sunlight) or blueish (in shadow).

Please suggest any way by which I can avoid that false positives! Thank you

INPUT IMAGE:

  댓글 수: 1
Walter Roberson
Walter Roberson 2018년 6월 5일
This is not a MATLAB question, this is an algorithm question.

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2018년 6월 6일
Try the attached demo. It works for the one image you uploaded but may not work well with those fixed thresholds depending on how green and cluttered your "background" is.
  댓글 수: 9
Image Analyst
Image Analyst 2018년 6월 10일
If this is people in the wild, like the general public who are uploading to your web site, then you may have to use deep learning. Otherwise, if they're research partners of yours, instruct them with tips on how to take a good photo.
Tarcisio Lima
Tarcisio Lima 2018년 6월 11일
편집: Tarcisio Lima 2018년 6월 11일
I will take a look in deep learning and see if it can solve the issue. Thank you!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Agriculture에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by