Keywords
|
Multiple document interface, diether, video java advanced image libraries |
INTRODUCTION
|
The project's goal is to design and implement an enhanced image processing with number of standard image processing functions (dithering, edge detection etc.). The image processing will be implemented in Java using Swing and Java Advanced Imaging libraries components. The main features of the application are: Convenient user interface. Support of standard image files formats (BMP, JPG etc.). Saving in different formats. Zoom in/out, resizing, rotation and mirroring. Basic image processing algorithms. Adding graphics and/or text to an image. During image acquisition or transmission, digital Images are often contaminated by impulse noise due to a number of non-idealities in the imaging Process. The noise usually corrupts images by replacing some of the pixels of the original image with new pixels having luminance values near or equal to the minimum or maximum of the allowable dynamic luminance range. In the most applications, it is very important to remove impulse noise from image data, since the performances of subsequent image processing tasks are strictly dependent on the success of image noise removal operation. However, this is a difficult problem in any image processing system because the restoration filter must not distort the useful information in the image and preserve image details and texture while removing the noise. The days of retake after retake are over with the continuing evolution of photo editing software. The minor errors that would’ve sent your pictures to the trash bin years before can be fixed with a few clicks of the mouse using one of the programs in this category. There are going to be some times when a photo is too damaged to fix, but those are going to be few and far between if you have photo editing software to back you up. The amount of pictures you’re going to get rid of or have to retake will decrease dramatically, which means you will be able save those precious moments that would’ve otherwise been lost. Some image processing comes with a little bit of a learning curve, but that’s to be expected when you’re dealing with software that’s geared more towards seasoned professionals. Luckily, there are programs with streamlined feature sets for those of us that haven’t been in the industry for a number of years. Whether you choose one or the other depends greatly on what you need your photo editing software to do and you’re level of experience. You will find programs that will meet the needs of the seasoned professionals while gently ushering new users through the process. |
II. METHODOLOGY
|
Classes Description |
The main classes of the application are the following: Image Editor – This class is the main class that is called by the Java virtual machines and is responsible of running the application. Image Editor Frame – This class represents the application main frame. It is responsible of handling the main UI of the application. Editor Manger – This class is responsible of the logic and handling of the multiple document interfaces. It is also responsible of performing the image manipulation actions that are done on more than one image. Image Manger – This class represents an image. It handles the opening and saving of an image, displaying an image on an internal frame, performing the image manipulation action, and handling the events executed on the image. Mirror Dialog – This class implements the user interface dialog for the mirror operation. It is responsible of getting the type of mirror action the user wants to perform. Scale Dialog - This class implements the user interface dialog for the scale operation. It is responsible of getting the values for the scale action. Rotate Dialog - This class implements the user interface dialog for the rotate operation. It is responsible of getting the rotation angle. ArithmeticOpDialog – This class implements the user interface dialog for the arithmetic operations. It allows the user to choose the source and destination images and the arithmetic operation to perform. ColorChDialog – This class implements the user interface dialog for choosing the color for the drawing operations. Text Dialog –This class implements the user interface dialog for the adding text operation. It allows the user to enter the text he would like to add, to choose the font, the font size and the font color. SaveImageDialog – This class implements the user interface dialog for saving an image. It allows the user to enter the file name to save, the image file format to save and to launch the advance properties dialog (if exist for this image file format). Jpg Properties Dialog – This class implements the user interface dialog for defining the advanced save properties for JPEG image file format. Png Properties Dialog – This class implements the user interface dialog for defining the advanced save properties for PNG image file format. Pnm Properties Dialog - This class implements the user interface dialog for defining the advanced save properties for PNM image file format. Help Frame – This class is responsible of displaying the help pages. |
|
III. FILTER
|
Filters play a significant role in the image de-noising process. It is a technique for modifying or enhancing an image. The basic concept behind reducing noise in noisy images using linear filters is digital convolution and moving window principle. Linear filtering is filtering in which the Value of an output denoised pixel is a linear combination of the values of the pixels in the input pixel's neighborhood. |
|
Fig 2: General architecture of a filter |
3.1 Architecture of a Mean Filter |
A mean filter acts on an image by smoothing it. i.e., it reduces the variation in terms of intensity between adjacent pixels. The mean filter is a simple moving window spatial filter, which replaces the centre value in the window with the average of all the neighbouring pixel values including that centre value. An example of mean filtering of a single 3x3 window of values is shown below. Let us consider a 512x512 image and 3x3 mask and let the filter mask is |
|
Fig 3: Pixels in a image |
And the neighborhood of pixel (5, 5) |
|
3.2 Architecture of a Median Filter |
A median filter comes under the class of nonlinear filter. It also follows the moving window principle, like mean filter. A 3× 3, 5× 5, or 7× 7 kernel of pixels is moved over the entire image. The below process illustrates the methodology of median filtering Let us take 3x3 mask and the pixel values of image in the neighborhood of considered noisy pixel are. |
|
Let us consider pixel at (3, 3) i.e., pixel value of 140.Neighbourhood of this pixel are 115,150,108,132,107,152,128,134. After sorting these pixels (in ascending order). We will get107, 108,115,128,132,134,140,150,152. |
3.3 Architecture of Fuzzy filters |
|
Fig 4: Fuzzy filters implemented. |
Logic is a form of many-valued logic, it deals with reasoning that is approximate rather than fixed and exact. In contrast with traditional logic theory, where binary sets have two-valued logic: true or false, Fuzzy logic variables may have a truth value that ranges in degree between 0 and 1.Fuzzylogic has been extended to handle the concept of partial truth, where the truth value may range between completely true and completely false. Furthermore, when linguistic variables are used, these degrees may be managed by specific Functions. Various others Filters Implemented Diffusion filter, Gain filter, Gray scale filter, Inverter, Rescale filter, RGB filter, Threshold filter, keledeoscope filter and many more. |
IV. RESULT
|
|
Fig 5: various filters implemented. Here in the above figure shows all the options present in the tool and the various filters implemented in the paper. |
|
Fig 6: Edge detection filter: The above fig shows the Edge detection filter in which edges of the given image is detected by the above implemented filter |
|
Fig 8: The keledoscope filter. The above fig shows the Kelidoeoscope filter in which the given image X-axis,y-axis ,radius and angles can be changed . |
|
Fig 7: Exposure filter. The above fig shows the colour image exposure and the the RGB adjust accourding to our needs |
|
Fig 9: Mean filter after “15” iterations In the above figure mean filter is applied for 15 iterations and output is obtained |
|
Fig 10: Median filter after “15” iterations In the above figure median filter is applied for 15 iterations and the output is obtained. |
|
Fig 11: Fuzzy filter after “1”iterations |
In the above figure fuzzy filter is applied and output is obtained. |
V. CONCLUSION
|
References
|
- Alipio BC, David FC, Isabel RS, Juan CNM. Manuel AE. Comparison of batch, stirred flow chamber, and column experiments to study adsorption, Desorption and transport of carbofuran within two acidic soils. Chemosphere. 2012; 88(1): 106-120.
- Arnaud B, Richard C, Michel S. A comparison of five pesticides adsorption and Desorption processes in thirteen contrasting field soils. Chemosphere. 2005; 61(5): 668-676.
- Chunxian W, Jin-Jun W, Su-Zhi Z, Zhong-Ming Z. Adsorption and Desorption of Methiopyrsulfuron in Soils. Pedosphere. 2011; 21(3): 380-388.
- Chunxian W, Suzhi Z, Guo N, Zhongming Z, Jinjun W. Adsorption and Desorption of herbicide monosulfuron-ester in Chinese soils. J Environ Sci. 2011; 23(9): 1524-1532.
- Christine MFB, Josette MF. Adsorption-desorption and leaching of phenylurea herbicides on soils. Talanta. 1996; 43(10): 1793-1802.
|