java - sort images by how detailed they are -


i'm looking java package allow me sort images how detailed are. create service scan images , filter out non-interesting images. i'm aware there no absolute way of doing make best effort.

thanks!

use opencv quite powerful library play images.

here sample algorithm you.

convert image rgb grayscale image.   sum color of image pixel pixel// there sum() method automatically sums.  divide result numpixel(=height*width)//there may methods mean()  standard deviation of pixels// if stddev > thresh "interesting image" 

Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -