Functions and Data Defintion in RasterPS 1.0
RasterPS allows to process digital Images.
The common Image File Formats are supported.
Fundamental Functions like Histogram, Conversion, Point Operations, Filtering are implemented,
and Geometric Transformations, ImageAnalysis will follow.
The Algorithms are taken from the Book Series "Principles of Digital Image Processing" by Wilhelm Burger and Mark J. Burge, Springer.
The Functionality will be enlarged in the next months.
The use of the program is very easy (Installation at the end of this document):
- Just load an Image File (Menu File - Open).
- -> The Image is displayed on the left side.
- Click Menu Basics - Histogram
- -> The Histograms are displayed on the right side.
- Click Menu Basics - Conversion - To Binary
- -> The Image is converted to a Binary Image and displayed.
The Functionality provides the following Topics:
- 1: Basics (Histogram, Statistics, Conversion)
- 2: Point Operations (Brightness, Contrast, etc.)
- 3: Filtering (Linear, Non-Linear, Edge, Morphological)
- 4: Geometric Transformations (Affine, Projective, Non-Linear)
- 5: Image Analysis (future Version)
- 6: ...
- 7: ...
- 8: ...
- 9: ...
- 10: ...
- 11: ...
- 12: ...
- 13: ...
- 14: ...
The most common Image File Formats are supported. The Images are displayed in a scrollable Area.
Image File Formats to import and export are:
- Windows Bitmap (*.bmp);
- GIF (*.gif);
- JPEG (*.jpg) (*.jpeg);
- PNG (*.png);
- TIFF (*.tif) (*.tiff);
- Windows Metafile (*wmf).
Indexed (Paletted) Images are converted into non-indexed ones.
The Image Info is displayed on the right side.
The Menu File - New deletes the current Image and its Results.
The Basic Functions allow to calculate Histograms, Statistical Data, Image Conversion and to step back to the previous Image.
Usually Images are represented as RGB (Red, Green, Blue) Triplets = RGB Color Space.
- Toggling the ComboBox at top right the Color Space for calculating the Histogram and Statistical Data can be chosen.
- The Histograms are computed and displayed for each Color Channel, Grayscale Images have three identical Color Channels.
- As Statistical Data the Mean Value, the Standard Deviation, the Scewness, the Excess and the Entropy of each Color Channel are displayed.
- The Image Conversion allows to generate a Grayscale Image or a Binary Image.
- The Step Back Function displays the Image just before the last Image Processing Function.
The following Color Space Conversions are also available:
- RGB <-> CMY (Cyan, Magenta, Yellow);
- RGB <-> HSV (Hue, Saturation, Value);
- RGB <-> HLS (Hue, Luminance, Saturation);
- RGB <-> YUV (Luminance, Diff Red, Diff Blue);
- RGB <-> YCrCb (Luminance, Croma Red, Croma Blue).
Point Operations allow to calculate fundamental Image Processing Functionality.
In Detail they are:
- Image Inversion.
- Change of Brightness: the Value of Change may be entered (-255 ... 0 ... 255).
- Auto Contrast.
- Histogram Equalization.
- Gamma Correction: the Gamma Value may be entered (0.25 ... 1.0 ... 4.0).
- Quantization: the Number of Steps may be entered (1 ... 32 ... 256).
- Desaturation: the Desaturation Factor may be entered (0.0 ... 0.5 ... 1.0).
Filtering uses Filters of different Type: Linear Filters, Non-Linear Filters, Edge Operators, Morphological Filters.
Smoothing Linear Filters:
- Box Filter
- Weighted Box Filter
- Gauss Filter
Difference Filters:
- Egde Sharpening using Laplace Filter: the Sharpening Factor may be entered (0.25 ... 1.0 ... 4.0)
- Unsharp Masking using Gauss Filter: the Sharpening Factor may be entered (0.25 ... 1.0 ... 4.0)
Non-Linear Filters:
- Minimum Filter
- Maximum Filter
- Median Filter
Edge Operators:
- Laplace Operator
- Sobel Operator
- Prewitt Operator
Morphological Filters (the Filter Element may be chosen):
- Erosion
- Dilatation
- Opening
- Closing
Geometric Transformations in three Categories are available; Parameters can be entered:
Affine Mapping:
- Translation
- Scaling
- Rotation
- Shear
- Affine: from 3 identical Points
Projective Mapping:
from 4 identical Points (future Version)
Non-Linear Mapping:
- Bilinear from 4 identical Points
- Twirl Mapping: Distortion
- Ripple Mapping: Wave Effect
- Sphere Mapping: Lense Effect
Image Analysis will be implemented:
Requesites
- Maybe download the .NET-Framework from MicroSoft (Redistributable Package)
Installation
- Extract the Project ZIP file to a new folder
- The File ModuleRasterPS may be used to generate a DLL
Start
- Open the VB.NET Project with MS Visual Basic 2008 (Express Edition) or start the EXE file in the RasterPS/bin/Debug directory
State: Beta Version 1.0 / Apr 2013 by gearwheelsoft