Detect # of colors in Image

Hello,

I collected a large number of photos from social media. I would like now to use KNimes image processing to detect if it is a photo (high # of colors) or a graphic (low # of colors). Any recommendations on how to easily (and fast) get this accomplished?

 

Thank you

Hi NFXCom,

even if it sounds easy, I don't think its a straighforward thing. However, there are some things you can try: Extract features from your image (e.g. first order statistics using the "Image Feature Node") and then you can try simple clustering (with 2 clusters) or if you have marked data train a model (e.g. Decision Tree) to disinguish between charts and "real" images/photos.

I hope this helps,

Christian

can't you simply read the meta-info and use the bit-depth as decision source?

 

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.