How to extract different shapes from an Image

后端 未结 3 436
时光取名叫无心
时光取名叫无心 2020-12-17 07:33

I am a newbie in Image processing world and I have a problem statement which I need a head start to solve it.

Problem Statement:

I have an i

3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-17 08:00

    You can use the dots to locate the individual shapes (binarization + connected components labeling).

    Then it is an easy matter to detect the absence/presence of square corners, for instance by means of small windows between pairs of neighboring shapes. This will give you a binary code that you can use to distinguish your patterns.

提交回复
热议问题