Detect Plants in a grass Image

前端 未结 3 917
隐瞒了意图╮
隐瞒了意图╮ 2021-01-13 17:34

I\'m new in the Computer Vision. I would like to detect some kind of plants in a grass images.

Original Image

Canny Edge Detection Algorithmus

Houg

3条回答
  •  执笔经年
    2021-01-13 18:09

    I implemented Humam's approach.

    But added some Steps after the Otsu algorithm:

    1. Fulfill every black connected component
    2. extract the mask with a matrix subtraction
    3. Store the mask in a vector
    4. sort it by area size (= sum(mask))
    5. pick the biggest mask (=plant)
    6. on the plant mask: do Step 1 -3 again
    7. remove all small masks from the plant mask

    I have some old and bad images from the plant, i'm going to test the algorithm the next days on these images. unfortunately it's winter in my country and the grass is covered with snow. so i have to wait a couple of weeks to make some proper image from this plant.

    Result of extraction.

    The next step is to detect if the extracted image is the desired plant.

提交回复
热议问题