How to detect occurrencies of a small image in a larger image?

前端 未结 3 1278
别那么骄傲
别那么骄傲 2021-01-17 02:59

I would like to detect the occurrencies of a small image in a larger image, as well as coordinates.

How do I do it with C#/.NET?

3条回答
  •  生来不讨喜
    2021-01-17 03:38

    An extremely low-level way to do it would be to read in the file as a bitmap stream (assuming you can convert it to bitmap) and parse it to search for patterns. But your algorithm would have to be very, very refined. So basically, what P.Brian.Mackey said.

提交回复
热议问题