colour-reader:用于分析图像颜色的简单 Java 库

时间:2021-06-13 06:35:49
【文件属性】:
文件名称:colour-reader:用于分析图像颜色的简单 Java 库
文件大小:19KB
文件格式:ZIP
更新时间:2021-06-13 06:35:49
Java 颜色阅读器 一个用于分析图像颜色内容的简单库。 目前,它可以进行以下分析: 确定图像的整体平均颜色 按图像区域确定颜色使用情况 用法 ColourReader.averageColour(img) 返回单个HSBColour实例,包含输入图像总平均颜色的色调、饱和度和亮度值。 例子 BufferedImage img = ImageIO . read( new File ( ' /path/to/image.jpg ' )); HSBColour avgCol = new ColourReader () . averageColour(img); // avgColour now contains the overall average colour of the image // we can convert an HSBColour to a regular Java Colo
【文件预览】:
colour-reader-master
----etc()
--------checkstyle-noframes-sorted.xsl(5KB)
--------checkstyle.xml(7KB)
--------checkstyle-noframes.xsl(5KB)
----.gitignore(30B)
----README.md(3KB)
----test()
--------net()
----ivy.xml(760B)
----src()
--------net()
----build.xml(7KB)

网友评论