Combine the images obtained from loop

4 ビュー (過去 30 日間)
amogha
amogha 2014 年 12 月 5 日
コメント済み: Image Analyst 2014 年 12 月 12 日
<<
<<
>>
>> I am doing classification of crop and weed the I have detected the crop but it is displaying in separate windows please help me to obtain all crops in one image thanks in advance
  2 件のコメント
Adam
Adam 2014 年 12 月 5 日
You haven't included any code. Since they appear to be non-overlapping segmentations can you not just add the images together?
amogha
amogha 2014 年 12 月 5 日
Sorry forgotten to attach code.

サインインしてコメントする。

採用された回答

Image Analyst
Image Analyst 2014 年 12 月 5 日
I don't know how they got separated in the first place. If you do color segmentation you'll get all of them. See the color segmentation demos in my File Exchange, particularly the one on segmenting by hue. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
  9 件のコメント
amogha
amogha 2014 年 12 月 12 日
編集済み: amogha 2014 年 12 月 12 日
Hello in the new image attached, right top image is weed and bottom is crop. In the large field view the weed are null but crops are getting separated after execution. Thank You
Image Analyst
Image Analyst 2014 年 12 月 12 日
If all your images are like the one with the small field of view you might be able to do it for crops of that specific color and weeds of that specific color because they are different colors and sizes. In the one with the field of view of the whole field, the crops are probably so much bigger than the weeds that you can't even see them. You can get the whole image in one binary image. In fact I bet that is what you started with. I don't think you started with separate binary images - it started as one and you separated them for some reason. The complete image is called BW in your code, so if that's what you want, you already have it.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAgriculture についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by