Detection of rectangular bright area in a Image using OpenCv

后端 未结 2 2023
我在风中等你
我在风中等你 2020-12-17 03:00

I have previously asked a question Marking an interest point in an image using c++. I used the same solution and got the required point using the adaptive threshold and Blo

2条回答
  •  余生分开走
    2020-12-17 03:10

    In the image shown above, I would suggest

    1. either a normal thresholding operation which should work pretty well or

    2. a line-wise chain-code "calculation" or

    3. finding gradients in your histogram.

    There would be plenty of other solutions. I would consider to subtract the background shading if this is consistent.

提交回复
热议问题