The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview Project goal Interactive GUI ...

16
The ICE Tool Feng Wen Qi Yuan Kin Wah Leung
  • date post

    15-Jan-2016
  • Category

    Documents

  • view

    214
  • download

    0

Transcript of The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview Project goal Interactive GUI ...

Page 1: The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview  Project goal  Interactive GUI  Introduce image enhancement techniques  Integration.

The ICE Tool

Feng Wen

Qi Yuan

Kin Wah Leung

Page 2: The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview  Project goal  Interactive GUI  Introduce image enhancement techniques  Integration.

Presentation Overview

Project goal

Interactive GUI

Introduce image enhancement techniques Integration with Matlab™

Implementation of image enhancement techniques

Potential advancement of ICE tool

Page 3: The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview  Project goal  Interactive GUI  Introduce image enhancement techniques  Integration.

ICE Tool

What is ICE tool?

ICE = Image Contrast Enhancement Capable of executing various image enhancement techniques

Provides easy to use interface

Can be altered according to desire needs if necessary

Page 4: The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview  Project goal  Interactive GUI  Introduce image enhancement techniques  Integration.

Project Goal

To implement an interactive GUI capable of enhancing images

Research image enhancement techniques Programming an interactive GUI Integrating with Matlab™ libraries

Implementing image enhancement functions make sure functions performed correctly

Page 5: The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview  Project goal  Interactive GUI  Introduce image enhancement techniques  Integration.

Interactive GUI

The Interactive GUI (graphic user interface) As user friendly as possible Created using Java™

- A programming language from Sun Microsystems

- Provides great system portability Created as a Java™ frame application

GUI features Ability to load and save desired images Displays original and modified image on the same panel Easy menu bar browsing

Page 6: The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview  Project goal  Interactive GUI  Introduce image enhancement techniques  Integration.

GUI Features

Ability to load and save image Ability to display both original and modified image

on same screen

Page 7: The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview  Project goal  Interactive GUI  Introduce image enhancement techniques  Integration.

GUI Features (cont…)

Easy toolbar browsing Combines simple image enhancement methods

Page 8: The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview  Project goal  Interactive GUI  Introduce image enhancement techniques  Integration.

Image Enhancement Techniques

Contrast EnhancementHistogram equalization

- Image quality can be improved by altering

histogram

- Calculates the ideal transformation from the

histogram of the image

- All gray levels used has a tendency to enhance

image contrast

Transformation Function:

T(f ) can be calculated from the following relation:

f

f dwwPfT0

)()(

k

j

k

j

jjfkk N

NfpfTg

0 0

)()(

Page 9: The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview  Project goal  Interactive GUI  Introduce image enhancement techniques  Integration.

Image Enhancement Techniques (cont…)

Noise Removal Filter – removes dots or speckles on image

(equivalent of low-

pass filtering) Average Filter (Mean)

- Replace each pixel by the average of the window area

pixels

- Has the effect of smoothing image

- Larger window size removes noise more effectively while

- At the expense of blurring the details Median Filter

- Replace each pixel by the median of the

window area pixels

- More effective against impulse noise (aka salt

and pepper)

- Can retain details and edges better than

averaging filter

Page 10: The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview  Project goal  Interactive GUI  Introduce image enhancement techniques  Integration.

Image Enhancement Techniques (cont…)

Deblurring Wiener Deblurring

- Generalized inverse filter

- Effective when information regarding frequency

characteristics are known, at least to a degree Lucy-Richardson

- Effective when the PSF (point-spread function) is know but

little information is available for the noise

Sharpening Enhances details and edges Line structures can be obtain by applying high-pass filter

Page 11: The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview  Project goal  Interactive GUI  Introduce image enhancement techniques  Integration.

Integration With Matlab™

Benefits Allows the access of the large Matlab™ function library

- The Matlab™ math function library

- The Matlab™ image processing function library

Integration process Use of an software engine to link Matlab ™ and Java ™ GUI

together Implement the functions to the appropriate buttons

Page 12: The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview  Project goal  Interactive GUI  Introduce image enhancement techniques  Integration.

Integration With Matlab™

Incorporate with JMatLink A Java engine capable of linking Java ™ applications and Matlab ™

- Use of native methods, no source code need to be changed

- Created by Stefan Muller http://www.held-mueller.de/JMatLink/ Edit autoexec.bat to set path to Matlab ™ and Java ™

Page 13: The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview  Project goal  Interactive GUI  Introduce image enhancement techniques  Integration.

Research Matlab ™ code Must know the codes for executing all of the image enhancement

techniques Ex: for histogram equalization

I = imread(‘abc.jpg’);

J = histeq( I );

Image Enhancement Implementation

Implement the code to the Java ™ interface buttons Every component assigned the appropriate Matlab ™ code Press of buttons send Java ™ code to Matlab ™ for execution

Page 14: The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview  Project goal  Interactive GUI  Introduce image enhancement techniques  Integration.

Image Enhancement Implementation (cont…)

Page 15: The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview  Project goal  Interactive GUI  Introduce image enhancement techniques  Integration.

Summary

Successfully creating an functional interactive GUI using Java

Java was integrated with Matlab™ through JMatLink

The Matlab™ code was associated with every button in GUI

Additional features and improvements can be made

Page 16: The ICE Tool Feng Wen Qi Yuan Kin Wah Leung. Presentation Overview  Project goal  Interactive GUI  Introduce image enhancement techniques  Integration.

Future Advancement of ICE Tool

Try to make it a standalone application without Matlab™

Addition of more image enhancement techniques

Addition of more features such as help documentation, zoom, etc

Package into an easy to install application