Skip to content

allenjunghuang/ImageProcessing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Processing

This application demonstrate popular image processing algorithms with PCX formate images.

Geometric Operations

  • Rotation

    Compare backward and forward rotation. rotation

  • Zoom

    Zoom-in the image by averaging and zoom-out by subsampling.

Point Processing

Histogram indecates the frequency of brightness value in image.

  • Histogram Equalization

    Producing an image with equally distributed brightness levels over the whole brightness scale. histogram equalization

  • Histogram Specification

    The aim is to produce an image with desired distributed brightness levels over the whole brightness scale, as opposed to uniform distribution.
    histogram specification

  • Otsu Thresholding

    The algorithm assumes the image histogram is bimodal and finds the optimum threshold to separate the two classes. It is capable of separating a foreground from a background.

  • Bit-plane Slicing

    Highlighting the contribution made to the total image appearance by specific bits. The higher-order shows the majority of the visually significant data, and lower-order presents subtle details.

Spatial Filtering

The use of spatial masks for image processing usually is called spatial filtering. The mask also called filter, kernel, or window. Note that the values in a mask are called coefficients, not pixels.

Linear spatial filtering often is referred to as convolving a mask with an image. For nonlinear spatial filtering, the filtering operation is based conditionally on the values of the pixels in the neighborhood under consideration, but not explicitly use coefficients in the sum-of-products manner, such as median filtering.

  • Lowpass Filter

    • Average

      A spatial averaging filter in which all coefficients are equal. By the way, averaging is analogous to integration, and sharpening can be accomplished by spatial differentiation. lowpass

    • Median

      A nonlinear spatial filter whose response is based on ordering the pixels in the area to be filtered. It is useful to reconstruct an image corrupted by impulse noise or salt-and-pepper noise.

  • Highpass Filter

    The shape of the impulse response needed to implement a high-pass spatial filter indicates that the filter should have positive coefficients near its center, and negative coefficients in the outer periphery, such as Laplacian operator.

  • Edge Crispening

    Making edges slightly sharper and crisper. This operation is subtracting a blurred version of an image from the image itself.

    edge crispening

  • Gradient Filter

    There are three popular operators:

    • Sobel

    gradient sobel

    • Prewitt

    gradient prewitt

    • Roberts

    gradient roberts

Image Transformation

  • Fractal

    If we consider a set to be fractal, we think of it as having the following properties:

    • The set has detail at every scale and is self-similar.
    • There is a simple algorithmic description of the set.

    The initial image placed on the iterative function system (IFS) does not affect the final attractor. In fact, it is only the position and the orientation that determines what the final image will look like.

    In practice, affine transformations are rich enough and yield interesting set of attractors.

  • DCT

    A discrete cosine transform (DCT) is a Fourier related transform which is similar to the discrete Fourier transform (DFT) but using only real numbers.

Reference

  1. Rafael C. Gonzalez, Richard E. Woods, Digital Image Processing, 2nd edition.

About

Image processing and transformation algorithms demonstration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages