- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.twelvemonkeys.imageio.color.YCbCrConverter.convertYCbCr2RGB()
方法的一些代码示例,展示了YCbCrConverter.convertYCbCr2RGB()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YCbCrConverter.convertYCbCr2RGB()
方法的具体详情如下:
包路径:com.twelvemonkeys.imageio.color.YCbCrConverter
类名称:YCbCrConverter
方法名:convertYCbCr2RGB
暂无
代码示例来源:origin: haraldk/TwelveMonkeys
private static void convertYCbCr2RGB(final Raster raster, final int numComponents) {
final int height = raster.getHeight();
final int width = raster.getWidth();
final byte[] data = ((DataBufferByte) raster.getDataBuffer()).getData();
for (int y = 0; y < height; y++) {
for (int x = 0; x < width; x++) {
YCbCrConverter.convertYCbCr2RGB(data, data, (x + y * width) * numComponents);
}
}
}
代码示例来源:origin: haraldk/TwelveMonkeys
private static void convertYCCK2CMYK(final Raster raster) {
final int height = raster.getHeight();
final int width = raster.getWidth();
final byte[] data = ((DataBufferByte) raster.getDataBuffer()).getData();
for (int y = 0; y < height; y++) {
for (int x = 0; x < width; x++) {
int offset = (x + y * width) * 4;
// YCC -> CMY
YCbCrConverter.convertYCbCr2RGB(data, data, offset);
// Inverse K
data[offset + 3] = (byte) (0xff - data[offset + 3] & 0xff);
}
}
}
代码示例来源:origin: haraldk/TwelveMonkeys
YCbCrConverter.convertYCbCr2RGB(data, data, i);
YCbCrConverter.convertYCbCr2RGB(data, data, coefficients, referenceBW, i);
代码示例来源:origin: haraldk/TwelveMonkeys
YCbCrConverter.convertYCbCr2RGB(thumbData, thumbData, i);
代码示例来源:origin: com.twelvemonkeys.imageio/imageio-jpeg
private static void convertYCbCr2RGB(final Raster raster, final int numComponents) {
final int height = raster.getHeight();
final int width = raster.getWidth();
final byte[] data = ((DataBufferByte) raster.getDataBuffer()).getData();
for (int y = 0; y < height; y++) {
for (int x = 0; x < width; x++) {
YCbCrConverter.convertYCbCr2RGB(data, data, (x + y * width) * numComponents);
}
}
}
代码示例来源:origin: com.twelvemonkeys.imageio/imageio-jpeg
private static void convertYCCK2CMYK(final Raster raster) {
final int height = raster.getHeight();
final int width = raster.getWidth();
final byte[] data = ((DataBufferByte) raster.getDataBuffer()).getData();
for (int y = 0; y < height; y++) {
for (int x = 0; x < width; x++) {
int offset = (x + y * width) * 4;
// YCC -> CMY
YCbCrConverter.convertYCbCr2RGB(data, data, offset);
// Inverse K
data[offset + 3] = (byte) (0xff - data[offset + 3] & 0xff);
}
}
}
代码示例来源:origin: com.github.lafa.twelvemonkeyspurejava.imageio/imageio-tiff
YCbCrConverter.convertYCbCr2RGB(data, data, i);
YCbCrConverter.convertYCbCr2RGB(data, data, coefficients, referenceBW, i);
代码示例来源:origin: com.twelvemonkeys.imageio/imageio-jpeg
YCbCrConverter.convertYCbCr2RGB(thumbData, thumbData, i);
本文整理了Java中com.twelvemonkeys.imageio.color.YCbCrConverter.convertYCbCr2RGB()方法的一些代码示例,展示了YCbCrConvert
本文整理了Java中com.twelvemonkeys.imageio.color.YCbCrConverter.clamp()方法的一些代码示例,展示了YCbCrConverter.clamp()的
我是一名优秀的程序员,十分优秀!