Code Monkey home page Code Monkey logo

image-processing's Introduction

Image Processing

Techniques Implemented

Various techniques used for Image Processing. The techniques include:

  • Zooming In - downsampling an image
  • Zooming Out - upsampling an image. Algorithms implemented are:
    • Nearest Neighbor
    • Linear Interpolation in the x direction
    • Linear Interpolation in the y direction
    • Bilinear
  • Bit Removal - Removing a bit plane by setting that bit plane to 0
  • Histogram Equalization - Perform histogram equalization on an image. The implemented algorithms are:
    • Global Histogram Equalization
    • Local 3x3 Mask
    • Local 5x5 Mask
    • Local 7x7 Mask
    • Local 9x9 Mask
  • Spatial Filtering Restoration - Remove noise from an image. The implemented algorithms are:
    • Arithmetic mean filter
    • Geometric mean filter
    • Harmonic mean filter
    • Contraharmonic mean filter
    • Max filter
    • Min filter
    • Midpoint filter
    • Alpha-trimmed mean filter
  • Spatial Filtering Smoothing - Blur and sharpen an image. The implemented algorithms are:
    • Smoothing filter
    • Mean filter
    • Sharpening Laplacian filter
    • High-boost filter
  • Image Compression - Various image compression/decompression techniques. The implemented algorithms are:
    • Run Length End (RLE) on grayscale values
    • RLE on Bit Planes
    • Huffman Encoding/Decoding
    • Lempel–Ziv–Welch (LZW) Encoding/Decoding

LZW Encoding and Decoding Results

How To Compile

Type the following into a terminal:

javac -d bin ./src/imgpro/*.java ./src/imgpro/bitchange/*.java ./src/imgpro/bitplane/*.java ./src/imgpro/histogram/*.java ./src/imgpro/imagecompression/*.java ./src/imgpro/restoration/*.java ./src/imgpro/spatialfiltering/*.java ./src/imgpro/zooms/*.java 

How To Run

  1. Change into the /bin/ directory
  2. Type the following into a terminal:
java imgpro.MainWindow

image-processing's People

Contributors

toddnguyen47 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.