Thursday, September 3, 2015

Detect solid color images

Detect if the image has a solid background (most likely a logo) or if not (most likely a photograph)

If the input is JPG, it won't have a solid background. It might have a nearly solid background. You might detect this by flood-filling from (0,0) with a fuzz factor, and counting the proportion of pixels that have changed, or seeing if all border pixels have changed, or some other test.

Detect dominant colors

Connected components analysis

No comments:

Post a Comment