|  In the Chapter 6: Supplements 
              section we discussed Java 2D graphics drawing techniques. In this 
              supplement seciton we introduce the imaging tools and techniques 
              in Java 2D, which offers much more sophisticated capabilities than 
              the standard java.awt 
              packages such as the Image 
              class..  Our discussion of Java 2D API imaging includes the following topics: 
              BufferedImage 
                is a concrete subclass of the abstract Image 
                subclass. It offers far more sophisticated and elaborate features 
                than Image.
 
Creating, Saving, & Reading 
                Images - you can create instances of BufferedImage 
                and then with the ImageIO 
                class you can also save them to files in several optional image 
                formats such as JPEG and PNG. Similarly, you can read image files 
                in these formats.
 
Pixels & BufferedImage 
                - accessing the pixels of a BufferedImage, 
                modifying them and creating new images and animations from them. 
                
              Filtering - modify a source image 
                and produce an output image via the following filters: 
                
                  Convolution - scan a kernel 
                    over an image to do edge detection, noise removal, etc. 
                    
                  Affine Transforms - apply 
                    translation, rotation, shearing, etc to images. 
                    
                  Lookup Tables - these offer 
                    an easy way to apply complex pixel modifications 
                    
                  Rescaling - apply scaling 
                    and offset factors to the pixel color component values. 
                    
                  Color Conversion 
                    - convert from one color space to another such as color to 
                    gray scale. 
                    
                  Custom Filter - devise other 
                    types of filters by implementing the BufferedImageOp 
                    interface. 
                    
                       References & Web Resources  
             Latest update: Dec. 5, 2004 |