Description: Java will convert color images to grayscale, the program uses an instance of the image buffer ashing image, the effect shown above, after clicking "Gray Image" button to display the image after ashing when then click the "Reset" button, display the source image. Specifically, the use of java.awt.image package ColorConvertOp class to achieve the effect of ashing image.
To Search:
File list (Check if you may need any files):
Java将彩色图像转换为灰度图\JCOLORCONVERTOPDEMO\BAK\JCOLORCONVERTOPDEMO\DRAWPANE.JAVA~1~
..........................\...................\...\...................\DRAWPANE.JAVA~2~
..........................\...................\...\...................\JCOLORCONVERTOPDEMO.JAVA~1~
..........................\...................\...\...................\MAINFRAME.JAVA~1~
..........................\...................\...\...................\MAINFRAME.JAVA~2~
..........................\...................\...\...................\MAINFRAME.JAVA~3~
..........................\...................\...\...................\MAINFRAME.JAVA~4~
..........................\...................\CLASSES\IMAGES\IMAGE.JPG
..........................\...................\.......\......\THUMBS.DB
..........................\...................\.......\JCOLORCONVERTOPDEMO\DRAWPANE.CLASS
..........................\...................\.......\...................\JCOLORCONVERTOPDEMO.CLASS
..........................\...................\.......\...................\MAINFRAME$1.CLASS
..........................\...................\.......\...................\MAINFRAME$2.CLASS
..........................\...................\.......\...................\MAINFRAME.CLASS
..........................\...................\.......\PACKAGE CACHE\JCOLORCONVERTOPDEMO.DEP2
..........................\...................\JCOLORCONVERTOPDEMO.HTML
..........................\...................\JCOLORCONVERTOPDEMO.JPX
..........................\...................\JCOLORCONVERTOPDEMO.JPX.LOCAL
..........................\...................\JCOLORCONVERTOPDEMO.JPX.LOCAL~
..........................\...................\JCOLORCONVERTOPDEMO.JPX~
..........................\...................\SRC\JCOLORCONVERTOPDEMO\DRAWPANE.JAVA
..........................\...................\...\...................\JCOLORCONVERTOPDEMO.JAVA
..........................\...................\...\...................\MAINFRAME.JAVA
..........................\...................\BAK\JCOLORCONVERTOPDEMO
..........................\...................\CLASSES\IMAGES
..........................\...................\.......\JCOLORCONVERTOPDEMO
..........................\...................\.......\PACKAGE CACHE
..........................\...................\SRC\JCOLORCONVERTOPDEMO
..........................\...................\BAK
..........................\...................\CLASSES
..........................\...................\SRC
..........................\JCOLORCONVERTOPDEMO
Java将彩色图像转换为灰度图