MATLAB: I am working on crops images and want to detect some random pattern from binary image. As in following image want to detect only the area in yellow circle. So how it can be done any algorithm or direct technique? Thanks for you support.

Deep Learning Toolboximage analysisimageImage Processing Toolboxobject detectionsegmentationsegmentationimage analysisimagesliding windowsStatistics and Machine Learning Toolbox

Best Answer

I'd use bwareaopen() or bwareafilt() to get blobs that are small. Large blobs will be the big crop rows. Of course when the plants are very young it would be hard to tell between a small wheat plant and a small weed. However John Deere has farm machines that drive over the crop rows and use deep learning to spray only the weeds, so it is a solved problem, and probably one that has patents on the concept.