IMAGE PROCESSING - Java Codes

Hypnosis Image

Description This is another very good example of animation where there is a image which keep on moving throughout the window known as hypnosis image. Source Code import java.awt.Color; import java.awt.Di ...

0 Comments. 1017 views since Aug 23, 2008

Clip Image

Description This code shows how to clip an image with the example of a small moving window. Source Code import java.awt.BasicStroke; import java.awt.Color; import java.awt.Dimension; import java.aw ...

0 Comments. 925 views since Aug 25, 2008

Noise Image

Description This code shows the very familiar screen which you use to see on your T.V sets when there was a loss of signal. Source Code import java.awt.Graphics; import java.awt.image.BufferedImage; impo ...

1 Comments. 861 views since Aug 23, 2008

Scaled Image

Description Display a Scaled Image within a given label. The size of the image will be the size of the label. Larger images are compressed and smaller images are expanded. Source Code import java.aw ...

0 Comments. 811 views since Sep 25, 2008

Histogram printing program

Description The above code prints the histogram. Source Code import javax.swing.*; public class Histogram { public static void main( String args[] ) { int n[] = { 19, 3, 15, 7, ...

0 Comments. 804 views since Sep 25, 2008

Finding Width and Height of an Image

Description Finding Width and Height of an Image Source Code import java.awt.*; import javax.swing.*; public class ImageXY { public static void main(String[] args) { Image image ...

0 Comments. 767 views since Sep 25, 2008