How can one distinguish the background from the foreground and detect the edges of the seedling?

조회 수: 1 (최근 30일)
What are some effective approaches or methodologies that can be utilized to differentiate between the background and foreground and accurately delineate the edges of the seedling? I am attaching a image with thier expected results.
input and expect output is

답변 (1개)

Image Analyst
Image Analyst 2023년 6월 15일
This is pretty trivial. Simply use the Color Thresholder on the Apps tab of the tool ribbon. Use it and export the function. Write back if you can't figure it out.
  댓글 수: 11
Dynamic
Dynamic 2023년 6월 17일
Hello @Image Analyst, thanks for your suggestion. For you, it may be trivial work. Please if you provide me a fully automated code for the same I will be highly thankful. Thanks advanced
Image Analyst
Image Analyst 2023년 6월 17일
@Dynamic I can't and won't. I don't want to be responsible for you getting expelled from the university for cheating and unethically turning in someone else's code as your own. You might want to take that risk but I don't want to enable it. Plus you don't learn anything if I just completely do the assignment for you and give you 100% automated, finished, turnkey code to do it all. If you just want that, then hire a consultant. You won't learn anything but they will give you "fully automated code".
I've given you a substantial amount of code already, plus a GUI for batch processing a bunch of files. I think that should be enough for you to continue on with it. If you want a non-GUI, script for batch processing, see the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files?

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

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by