Java 按图像的详细程度对图像进行排序

Java 按图像的详细程度对图像进行排序,java,image-processing,Java,Image Processing,我正在寻找一个Java包,它允许我根据图像的详细程度对图像进行排序。我想创建一个服务,将扫描图像和过滤出非感兴趣的图像。我知道没有绝对的方法可以做到这一点,但我愿意尽最大努力 谢谢 使用opencv,这是一个非常强大的图像库 下面是一个示例算法 Convert your image from RGB to GrayScale image. Sum color of your image pixel by pixel// there was a sum() method that automa

我正在寻找一个Java包,它允许我根据图像的详细程度对图像进行排序。我想创建一个服务,将扫描图像和过滤出非感兴趣的图像。我知道没有绝对的方法可以做到这一点,但我愿意尽最大努力


谢谢

使用
opencv
,这是一个非常强大的图像库

下面是一个示例算法

Convert your image from RGB to GrayScale image. 

Sum color of your image pixel by pixel// there was a sum() method that automatically sums.

Divide the result to numPixel(=height*width)//there may be methods like mean()

Get the standard deviation of the pixels// if stdDev > thresh then it is "interesting image"

什么?不,说真的,这个问题就像在问“我怎样才能用茶壶根据零食的味道来分类”。