how can i detect row crops in this pictures?

1 次查看(过去 30 天)
Vegetable-.jpg

回答(1 个)

Image Analyst
Image Analyst 2019-1-2
编辑:Image Analyst 2019-1-2
If you're using a handheld camera, or camera on a moving vehicle, where the field of view changes drastically, then I thin it's best for you to use imfreehand() to manually find them. A demo is attached.
If you're using a mounted camera with a fixed field of view then you can just predefine a template in advance.
Trying to automatically find rows would be difficult, especially since I think you're doing this on growing crops and the "rows" are not so obvious in situations where the plants are very young (just specks in a rectangular grid), or very mature (in which case the rows may even come in contact with each other).
Another option would be deep learning but even that may not be perfect.
It would be easier in your other photos where all the plants are the same color and are in straight "rows", not curved, and are large enough that the intra-row spacing is less than the row-to-row spacing.
Another option would be to try the radon transform. I attach a demo.
  2 个评论
Image Analyst
Image Analyst 2019-1-4
Since it's been done and published already, the best answer I can give is like in my Answer there where I said to take one of the published algorithms, which do work. And if for some reasons your crops are not like everyone elses you either adapt one of those algorithms or hire one of those groups to get it done for you. It sounds like hiring may be your best option since you seem unsure about being able to adapt or write it yourself.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing and Computer Vision 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by