C# Class LitDev.Engines.FIP

Mostra file Open project: litdev1/LitDev

Public Methods

Method Description
AddImages ( Bitmap Left, Bitmap Right ) : Bitmap

Converts ARGB images to greyscale using luminance method and adds

BMatrix ( Bitmap OriginalImage ) : ].int[

Separates blue color layer

Blurring ( Bitmap OriginalImage, int X, int Y, Double r ) : Bitmap

Image bluring

CMYKLayers ( Bitmap OriginalImage ) : System.Drawing.Bitmap[]

Creates CMYK layesr from RGB image

Cartoon ( Bitmap OriginalImage, int R, int Level, int InverseThreshold ) : Bitmap

Cartoon effect received by combining oil paint algorithm and Sobel edge detecting

Cartoon ( Bitmap OriginalImage, int R, int Level, int InverseThreshold, int EdgeFilter ) : Bitmap

Cartoon effect received by combining oil paint algorithm and edge detecting

ColorAccent ( Bitmap OriginalImage, Double h, Double range ) : Bitmap

Color accent filtration

ColorFiltration ( Bitmap OriginalImage, string color ) : Bitmap

Image color filtration with defined color filter

ContrastStretching ( Bitmap OriginalImage ) : Bitmap

onverts ARGB images to greyscale using luminance method and brighten using contrast stretching method. Brightness minimum and maximum available values are by default 0 and 255.

ContrastStretching ( Bitmap OriginalImage, int RMinSet, int RMaxSet ) : Bitmap

Converts ARGB images to greyscale using luminance method and brighten using contrast stretching method. Brightness minimum and maximum available values are by default 0 and 255.

DFT ( Bitmap OriginalImage ) : ].Complex[

Discrete Fourier Transform of image

DFT ( Double Data ) : ].Complex[

Discrete Fourier Transform of two-dimensional signal

GF1 ( ) : ].Double[

Gausian filter

GF2 ( ) : ].Double[

Gausian filter

GF3 ( ) : ].Double[

Gausian filter

GMatrix ( Bitmap OriginalImage ) : ].int[

Separates green color layer

GammaCorrection ( Bitmap OriginalImage, Double Gamma ) : Bitmap

Converts image to greyscale and perform gamma correction

GammaCorrectionGS ( Bitmap OriginalImage, Double Gamma ) : Bitmap

Gamma correction

HPF1 ( ) : ].int[

High pass filter

HPF2 ( ) : ].int[

High pass filter

HPF3 ( ) : ].int[

High pass filter

HPF4 ( ) : ].int[

High pass filter

Histogram ( Bitmap OriginalImage ) : int[]

Converts ARGB images to greyscale using luminance method and returns histogram

HistogramShift ( Bitmap OriginalImage, int offset ) : Bitmap

Converts ARGB images to greyscale using luminance method and shifts its histogram with respect to given offset.

HistoramEqualization ( Bitmap OriginalImage ) : Bitmap

Converts ARGB images to greyscale using luminance method and enhances contrast using equalization method.

ImageCloseGS ( Bitmap OriginalImage ) : Bitmap

Image to greyscale convertion and closing with 3x3 element

ImageCloseGS ( Bitmap OriginalImage, int size ) : Bitmap

Image to greyscale convertion and opening with element of given size

ImageDilatationFilterGS ( Bitmap OriginalImage ) : Bitmap

Converts ARGB images to greyscale using luminance method and calculates image filtartion with dilatation mask of 3 x 3 dimension.

ImageDilatationFilterGS ( Bitmap OriginalImage, int size ) : Bitmap

Converts ARGB images to greyscale using luminance method and calculates image filtartion with dilatation mask of given size.

ImageErosionFilterGS ( Bitmap OriginalImage ) : Bitmap

Converts ARGB images to greyscale using luminance method and calculates image filtartion with erosion mask of 3 x 3 dimension.

ImageErosionFilterGS ( Bitmap OriginalImage, int size ) : Bitmap

Converts ARGB images to greyscale using luminance method and calculates image filtartion with erosion mask of given size.

ImageFilterColor ( Bitmap OriginalImage, Double Filter ) : Bitmap

Calculates image convolution with given filter mask.

ImageFilterColor ( Bitmap OriginalImage, int Filter ) : Bitmap

Calculates image convolution with given filter mask.

ImageFilterColor ( Bitmap OriginalImage, int Filter, Double Coef ) : Bitmap

Calculates image convolution with given filter mask.

ImageFilterGS ( Bitmap OriginalImage, Double Filter ) : Bitmap

Converts ARGB images to greyscale using luminance method and calculates image convolution with given filter mask.

ImageFilterGS ( Bitmap OriginalImage, int Filter ) : Bitmap

Converts ARGB images to greyscale using luminance method and calculates image convolution with given filter mask.

ImageFilterGS ( Bitmap OriginalImage, int Filter, Double Coef ) : Bitmap

Converts ARGB images to greyscale using luminance method and calculates image convolution with given filter mask. Normalization using given coefficient.

ImageKuwaharaFilterColor ( Bitmap OriginalImage, int FilterSize ) : Bitmap

Kuwahara filtration

ImageKuwaharaFilterGS ( Bitmap OriginalImage, int FilterSize ) : Bitmap

Image to greyscale convertion and kuwahara filtration

ImageMedianFilterColor ( Bitmap OriginalImage, int size ) : Bitmap

Calculates image filtartion with median mask of given size.

ImageMedianFilterGS ( Bitmap OriginalImage, int size ) : Bitmap

Converts ARGB images to greyscale using luminance method and calculates image filtartion with median mask of given size.

ImageOpenGS ( Bitmap OriginalImage ) : Bitmap

Image to greyscale convertion and opening with 3x3 element

ImageOpenGS ( Bitmap OriginalImage, int size ) : Bitmap

Image to greyscale convertion and opening with element of given size

ImagePrewittFilterColor ( Bitmap OriginalImage ) : Bitmap

Calculates module of image convolution with Prewitt operators (horizontal and vertical axis)

ImagePrewittFilterGS ( Bitmap OriginalImage ) : Bitmap

Converts ARGB images to greyscale using luminance method and calculates module of image convolution with Prewitt operators (horizontal and vertical axis)

ImageSDROMFilterColor ( Bitmap OriginalImage ) : Bitmap

Ccalculates image filtartion with SD-ROM mask of size 3.

ImageSDROMFilterColor ( Bitmap OriginalImage, int size, int thresholds ) : Bitmap

Calculates image filtartion with SD-ROM mask of given size.

ImageSDROMFilterGS ( Bitmap OriginalImage ) : Bitmap

Converts ARGB images to greyscale using luminance method and calculates image filtartion with SD-ROM mask of size 3.

ImageSDROMFilterGS ( Bitmap OriginalImage, int size, int thresholds ) : Bitmap

Converts ARGB images to greyscale using luminance method and calculates image filtartion with SD-ROM mask of given size.

ImageSobelFilterColor ( Bitmap OriginalImage ) : Bitmap

Calculates module of image convolution with Sobel operators (horizontal and vertical axis)

ImageSobelFilterGS ( Bitmap OriginalImage ) : Bitmap

Converts ARGB images to greyscale using luminance method and calculates module of image convolution with Sobel operators (horizontal and vertical axis)

InverseImage ( Bitmap OriginalImage, int threshold ) : Bitmap

Converts ARGB image to greyscale using luminance method and inverses it with respect to given threshold

LPF1 ( ) : ].Double[

Low pass filter

LPF2 ( ) : ].Double[

Low pass filter

LPF3 ( ) : ].Double[

Low pass filter

LPF4 ( ) : ].Double[

Low pass filter

LaplaceF1 ( ) : ].int[

Laplace filter

LaplaceF2 ( ) : ].int[

Laplace filter

LaplaceF3 ( ) : ].int[

Laplace filter

LaplaceF4 ( ) : ].int[

Laplace filter

LogaritmicScaling ( Bitmap OriginalImage ) : Bitmap

Image histogram normalization using 10-base logarithm scaling

Magnitude ( Complex Spectrum ) : ].Double[

Calculates array of magnitudes from array of complex elements

Matrix2Image ( Double Matrix ) : Bitmap

Converts array elements into pixel values (without normalization)

Matrix2Image ( int Matrix ) : Bitmap

Converts array elements into pixel values (without normalization)

Matrix2ImageLog ( Double Matrix ) : Bitmap

Converts array elements into pixel values (values normalized using 10-base logarithm)

Matrix2ImageMax ( Double Matrix ) : Bitmap

Converts array elements into pixel values (values normalized using maximum element)

MaxBrightness ( Bitmap OriginalImage ) : int

Returns image maximum brightness level

MinBrightness ( Bitmap OriginalImage ) : int

Returns image minimum brightness level

NegativeImageColor ( Bitmap OriginalImage ) : Bitmap

Calculate image negative

NegativeImageGS ( Bitmap OriginalImage ) : Bitmap

Converts ARGB image to greyscale using luminance method and calculates its negative

OilPaint ( Bitmap OriginalImage, int R, int Level ) : Bitmap

Oil paint filtration

Phase ( Complex Spectrum ) : ].Double[

Calculates array of phases from array of complex elements

RGBHistogram ( Bitmap OriginalImage ) : ].int[

Returns color image histogram

RGBLayers ( Bitmap OriginalImage ) : System.Drawing.Bitmap[]

Seperates values of each RGB layer

RGBMatrix ( Bitmap OriginalImage ) : int[,,]

Seperates values of each RGB layer

RMatrix ( Bitmap OriginalImage ) : ].int[

Separates red color layer

Resize ( Bitmap OriginalImage, int Width, int Height ) : Bitmap

Image resize using nearest neighbour method

Resize2 ( Bitmap OriginalImage, int Width, int Height ) : Bitmap

Image resize using bilinear interpolation method

Rotate ( Bitmap OriginalImage, Double Angle ) : Bitmap

Image rotation

Rotate ( Bitmap OriginalImage, Double Angle, int xCenter, int yCenter ) : Bitmap

Image rotation

SDFT ( Bitmap OriginalImage ) : ].Complex[

Shifted Discrete Fourier Transform of image.

SDFT ( Double Data ) : ].Complex[

Shifted Discrete Fourier Transform of two-dimensional signal

Sepia ( Bitmap OriginalImage, Double Coef ) : Bitmap

Sepia filtration

Sketch ( Bitmap OriginalImage ) : Bitmap

Pen sketch effect received by combining laplace edge detecting, black and white transformation with inversion on point 35 and SDROM filter to eliminate smaller artefacts

SketchCharcoal ( Bitmap OriginalImage ) : Bitmap

Charcoal sketch effect received by combining median filtration with mask size of 5, Sobel edge detecting, image inversion on point 80

SubtractImages ( Bitmap Left, Bitmap Right ) : Bitmap

Converts ARGB images to greyscale using luminance method and subtracts

TiltShift ( Bitmap OriginalImage ) : Bitmap

Tilt shift filtration

ToBlackwhite ( Bitmap OriginalImage, int threshold ) : Bitmap

Converts ARGB image to black and white and inverses it with respect to given threshold

ToBlackwhiteInverse ( Bitmap OriginalImage, int threshold ) : Bitmap

Converts ARGB image to black and white and inverses it with respect to given threshold

ToGreyscale ( Bitmap OriginalImage ) : Bitmap

Converts ARGB image to greyscale using luminance method

ToGreyscaleAVG ( Bitmap OriginalImage ) : Bitmap

Converts ARGB image to greyscale using average method

ToGreyscaleLightness ( Bitmap OriginalImage ) : Bitmap

Converts ARGB image to greyscale using lightness method

cmyk2rgb ( Double cmyk ) : Color

Transforms CMYK color model to RGB

color2greyscale ( Color pixel ) : Color

Converts RGB pixel to greyscale using luminance method

hsv2rgb ( Double hsv ) : Color

Transforms HSV color model to RGB

iDFT ( Complex Spectrum ) : Bitmap

Inverse Discrete Fourier Transform

iDFT2 ( Complex Spectrum ) : ].Double[

Inverse Discrete Fourier Transform

iSDFT ( Complex Spectrum ) : Bitmap

Inverse shifted Discrete Fourier Transform

iSDFT2 ( Complex Spectrum ) : ].Double[

Inverse shifted Discrete Fourier Transform

rgb2cmyk ( Color pixel ) : Double[]

Transforms RGB color model to CMYK

rgb2hsv ( Color pixel ) : Double[]

Transforms RGB color model to HSV

Private Methods

Method Description
Shift ( Bitmap OriginalImage ) : ].Double[

Transforms image into to shifted array of doubles

Shift ( Double Data ) : ].Double[

Shifts array components

Method Details

AddImages() public method

Converts ARGB images to greyscale using luminance method and adds
public AddImages ( Bitmap Left, Bitmap Right ) : Bitmap
Left System.Drawing.Bitmap Image
Right System.Drawing.Bitmap Image
return System.Drawing.Bitmap

BMatrix() public method

Separates blue color layer
public BMatrix ( Bitmap OriginalImage ) : ].int[
OriginalImage System.Drawing.Bitmap Original ARGB image
return ].int[

Blurring() public method

Image bluring
public Blurring ( Bitmap OriginalImage, int X, int Y, Double r ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
X int Horizontal coordinate
Y int Vertical coordinate
r Double Sharp region radius
return System.Drawing.Bitmap

CMYKLayers() public method

Creates CMYK layesr from RGB image
public CMYKLayers ( Bitmap OriginalImage ) : System.Drawing.Bitmap[]
OriginalImage System.Drawing.Bitmap Original ARGB image
return System.Drawing.Bitmap[]

Cartoon() public method

Cartoon effect received by combining oil paint algorithm and Sobel edge detecting
public Cartoon ( Bitmap OriginalImage, int R, int Level, int InverseThreshold ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
R int Radius of oil paint algorithm
Level int Available levels of intensity
InverseThreshold int Inverse threshold
return System.Drawing.Bitmap

Cartoon() public method

Cartoon effect received by combining oil paint algorithm and edge detecting
public Cartoon ( Bitmap OriginalImage, int R, int Level, int InverseThreshold, int EdgeFilter ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
R int Radius of oil paint algorithm
Level int Available levels of intensity
InverseThreshold int Inverse threshold
EdgeFilter int Edge detecting mask
return System.Drawing.Bitmap

ColorAccent() public method

Color accent filtration
public ColorAccent ( Bitmap OriginalImage, Double h, Double range ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
h Double Hue of accented color
range Double Range of acceptance
return System.Drawing.Bitmap

ColorFiltration() public method

Image color filtration with defined color filter
public ColorFiltration ( Bitmap OriginalImage, string color ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
color string Color filter. Available color filters are: Magenta, Yellow, Cyan, Magenta-Yellow, Cyan-Magenta, Yellow-Cyan
return System.Drawing.Bitmap

ContrastStretching() public method

onverts ARGB images to greyscale using luminance method and brighten using contrast stretching method. Brightness minimum and maximum available values are by default 0 and 255.
public ContrastStretching ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
return System.Drawing.Bitmap

ContrastStretching() public method

Converts ARGB images to greyscale using luminance method and brighten using contrast stretching method. Brightness minimum and maximum available values are by default 0 and 255.
public ContrastStretching ( Bitmap OriginalImage, int RMinSet, int RMaxSet ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
RMinSet int Minimum available brightness value
RMaxSet int Maximum available brightness value
return System.Drawing.Bitmap

DFT() public method

Discrete Fourier Transform of image
public DFT ( Bitmap OriginalImage ) : ].Complex[
OriginalImage System.Drawing.Bitmap Original ARGB image
return ].Complex[

DFT() public method

Discrete Fourier Transform of two-dimensional signal
public DFT ( Double Data ) : ].Complex[
Data Double Two-dimensional signal
return ].Complex[

GF1() public method

Gausian filter
public GF1 ( ) : ].Double[
return ].Double[

GF2() public method

Gausian filter
public GF2 ( ) : ].Double[
return ].Double[

GF3() public method

Gausian filter
public GF3 ( ) : ].Double[
return ].Double[

GMatrix() public method

Separates green color layer
public GMatrix ( Bitmap OriginalImage ) : ].int[
OriginalImage System.Drawing.Bitmap Original ARGB image
return ].int[

GammaCorrection() public method

Converts image to greyscale and perform gamma correction
public GammaCorrection ( Bitmap OriginalImage, Double Gamma ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Gamma Double Gamma correction coefficient
return System.Drawing.Bitmap

GammaCorrectionGS() public method

Gamma correction
public GammaCorrectionGS ( Bitmap OriginalImage, Double Gamma ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Gamma Double Gamma correction coefficient
return System.Drawing.Bitmap

HPF1() public method

High pass filter
public HPF1 ( ) : ].int[
return ].int[

HPF2() public method

High pass filter
public HPF2 ( ) : ].int[
return ].int[

HPF3() public method

High pass filter
public HPF3 ( ) : ].int[
return ].int[

HPF4() public method

High pass filter
public HPF4 ( ) : ].int[
return ].int[

Histogram() public method

Converts ARGB images to greyscale using luminance method and returns histogram
public Histogram ( Bitmap OriginalImage ) : int[]
OriginalImage System.Drawing.Bitmap Original ARGB image
return int[]

HistogramShift() public method

Converts ARGB images to greyscale using luminance method and shifts its histogram with respect to given offset.
public HistogramShift ( Bitmap OriginalImage, int offset ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
offset int Shift offset
return System.Drawing.Bitmap

HistoramEqualization() public method

Converts ARGB images to greyscale using luminance method and enhances contrast using equalization method.
public HistoramEqualization ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
return System.Drawing.Bitmap

ImageCloseGS() public method

Image to greyscale convertion and closing with 3x3 element
public ImageCloseGS ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
return System.Drawing.Bitmap

ImageCloseGS() public method

Image to greyscale convertion and opening with element of given size
public ImageCloseGS ( Bitmap OriginalImage, int size ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
size int Opening element size
return System.Drawing.Bitmap

ImageDilatationFilterGS() public method

Converts ARGB images to greyscale using luminance method and calculates image filtartion with dilatation mask of 3 x 3 dimension.
public ImageDilatationFilterGS ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
return System.Drawing.Bitmap

ImageDilatationFilterGS() public method

Converts ARGB images to greyscale using luminance method and calculates image filtartion with dilatation mask of given size.
public ImageDilatationFilterGS ( Bitmap OriginalImage, int size ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
size int Dilatation mask dimension
return System.Drawing.Bitmap

ImageErosionFilterGS() public method

Converts ARGB images to greyscale using luminance method and calculates image filtartion with erosion mask of 3 x 3 dimension.
public ImageErosionFilterGS ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
return System.Drawing.Bitmap

ImageErosionFilterGS() public method

Converts ARGB images to greyscale using luminance method and calculates image filtartion with erosion mask of given size.
public ImageErosionFilterGS ( Bitmap OriginalImage, int size ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
size int Erosion mask dimension
return System.Drawing.Bitmap

ImageFilterColor() public method

Calculates image convolution with given filter mask.
public ImageFilterColor ( Bitmap OriginalImage, Double Filter ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Filter Double Filter mask
return System.Drawing.Bitmap

ImageFilterColor() public method

Calculates image convolution with given filter mask.
public ImageFilterColor ( Bitmap OriginalImage, int Filter ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Filter int Filter mask
return System.Drawing.Bitmap

ImageFilterColor() public method

Calculates image convolution with given filter mask.
public ImageFilterColor ( Bitmap OriginalImage, int Filter, Double Coef ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Filter int Filter mask
Coef Double Normalization coefficient
return System.Drawing.Bitmap

ImageFilterGS() public method

Converts ARGB images to greyscale using luminance method and calculates image convolution with given filter mask.
public ImageFilterGS ( Bitmap OriginalImage, Double Filter ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Filter Double Filter mask
return System.Drawing.Bitmap

ImageFilterGS() public method

Converts ARGB images to greyscale using luminance method and calculates image convolution with given filter mask.
public ImageFilterGS ( Bitmap OriginalImage, int Filter ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Filter int Filter mask
return System.Drawing.Bitmap

ImageFilterGS() public method

Converts ARGB images to greyscale using luminance method and calculates image convolution with given filter mask. Normalization using given coefficient.
public ImageFilterGS ( Bitmap OriginalImage, int Filter, Double Coef ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Filter int Filter mask
Coef Double Normalization coefficient
return System.Drawing.Bitmap

ImageKuwaharaFilterColor() public method

Kuwahara filtration
public ImageKuwaharaFilterColor ( Bitmap OriginalImage, int FilterSize ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
FilterSize int Kuwahara filter size
return System.Drawing.Bitmap

ImageKuwaharaFilterGS() public method

Image to greyscale convertion and kuwahara filtration
public ImageKuwaharaFilterGS ( Bitmap OriginalImage, int FilterSize ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
FilterSize int Kuwahara filter size
return System.Drawing.Bitmap

ImageMedianFilterColor() public method

Calculates image filtartion with median mask of given size.
public ImageMedianFilterColor ( Bitmap OriginalImage, int size ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
size int Median mask dimension
return System.Drawing.Bitmap

ImageMedianFilterGS() public method

Converts ARGB images to greyscale using luminance method and calculates image filtartion with median mask of given size.
public ImageMedianFilterGS ( Bitmap OriginalImage, int size ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
size int Median mask dimension
return System.Drawing.Bitmap

ImageOpenGS() public method

Image to greyscale convertion and opening with 3x3 element
public ImageOpenGS ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
return System.Drawing.Bitmap

ImageOpenGS() public method

Image to greyscale convertion and opening with element of given size
public ImageOpenGS ( Bitmap OriginalImage, int size ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
size int Opening element size
return System.Drawing.Bitmap

ImagePrewittFilterColor() public method

Calculates module of image convolution with Prewitt operators (horizontal and vertical axis)
public ImagePrewittFilterColor ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
return System.Drawing.Bitmap

ImagePrewittFilterGS() public method

Converts ARGB images to greyscale using luminance method and calculates module of image convolution with Prewitt operators (horizontal and vertical axis)
public ImagePrewittFilterGS ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
return System.Drawing.Bitmap

ImageSDROMFilterColor() public method

Ccalculates image filtartion with SD-ROM mask of size 3.
public ImageSDROMFilterColor ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
return System.Drawing.Bitmap

ImageSDROMFilterColor() public method

Calculates image filtartion with SD-ROM mask of given size.
public ImageSDROMFilterColor ( Bitmap OriginalImage, int size, int thresholds ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
size int SD-ROM mask size
thresholds int Array of thresholds
return System.Drawing.Bitmap

ImageSDROMFilterGS() public method

Converts ARGB images to greyscale using luminance method and calculates image filtartion with SD-ROM mask of size 3.
public ImageSDROMFilterGS ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
return System.Drawing.Bitmap

ImageSDROMFilterGS() public method

Converts ARGB images to greyscale using luminance method and calculates image filtartion with SD-ROM mask of given size.
public ImageSDROMFilterGS ( Bitmap OriginalImage, int size, int thresholds ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
size int SD-ROM mask size
thresholds int Array of thresholds
return System.Drawing.Bitmap

ImageSobelFilterColor() public method

Calculates module of image convolution with Sobel operators (horizontal and vertical axis)
public ImageSobelFilterColor ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
return System.Drawing.Bitmap

ImageSobelFilterGS() public method

Converts ARGB images to greyscale using luminance method and calculates module of image convolution with Sobel operators (horizontal and vertical axis)
public ImageSobelFilterGS ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
return System.Drawing.Bitmap

InverseImage() public method

Converts ARGB image to greyscale using luminance method and inverses it with respect to given threshold
public InverseImage ( Bitmap OriginalImage, int threshold ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
threshold int Inverse threshold
return System.Drawing.Bitmap

LPF1() public method

Low pass filter
public LPF1 ( ) : ].Double[
return ].Double[

LPF2() public method

Low pass filter
public LPF2 ( ) : ].Double[
return ].Double[

LPF3() public method

Low pass filter
public LPF3 ( ) : ].Double[
return ].Double[

LPF4() public method

Low pass filter
public LPF4 ( ) : ].Double[
return ].Double[

LaplaceF1() public method

Laplace filter
public LaplaceF1 ( ) : ].int[
return ].int[

LaplaceF2() public method

Laplace filter
public LaplaceF2 ( ) : ].int[
return ].int[

LaplaceF3() public method

Laplace filter
public LaplaceF3 ( ) : ].int[
return ].int[

LaplaceF4() public method

Laplace filter
public LaplaceF4 ( ) : ].int[
return ].int[

LogaritmicScaling() public method

Image histogram normalization using 10-base logarithm scaling
public LogaritmicScaling ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original AGB image
return System.Drawing.Bitmap

Magnitude() public method

Calculates array of magnitudes from array of complex elements
public Magnitude ( Complex Spectrum ) : ].Double[
Spectrum Complex Complex values array
return ].Double[

Matrix2Image() public method

Converts array elements into pixel values (without normalization)
public Matrix2Image ( Double Matrix ) : Bitmap
Matrix Double Array
return System.Drawing.Bitmap

Matrix2Image() public method

Converts array elements into pixel values (without normalization)
public Matrix2Image ( int Matrix ) : Bitmap
Matrix int Array
return System.Drawing.Bitmap

Matrix2ImageLog() public method

Converts array elements into pixel values (values normalized using 10-base logarithm)
public Matrix2ImageLog ( Double Matrix ) : Bitmap
Matrix Double Array
return System.Drawing.Bitmap

Matrix2ImageMax() public method

Converts array elements into pixel values (values normalized using maximum element)
public Matrix2ImageMax ( Double Matrix ) : Bitmap
Matrix Double Array
return System.Drawing.Bitmap

MaxBrightness() public method

Returns image maximum brightness level
public MaxBrightness ( Bitmap OriginalImage ) : int
OriginalImage System.Drawing.Bitmap Original ARGB image
return int

MinBrightness() public method

Returns image minimum brightness level
public MinBrightness ( Bitmap OriginalImage ) : int
OriginalImage System.Drawing.Bitmap Original ARGB image
return int

NegativeImageColor() public method

Calculate image negative
public NegativeImageColor ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
return System.Drawing.Bitmap

NegativeImageGS() public method

Converts ARGB image to greyscale using luminance method and calculates its negative
public NegativeImageGS ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
return System.Drawing.Bitmap

OilPaint() public method

Oil paint filtration
public OilPaint ( Bitmap OriginalImage, int R, int Level ) : Bitmap
OriginalImage System.Drawing.Bitmap original ARGB image
R int Radius of oil paint algorithm
Level int Available levels of intensity
return System.Drawing.Bitmap

Phase() public method

Calculates array of phases from array of complex elements
public Phase ( Complex Spectrum ) : ].Double[
Spectrum Complex Complex values array
return ].Double[

RGBHistogram() public method

Returns color image histogram
public RGBHistogram ( Bitmap OriginalImage ) : ].int[
OriginalImage System.Drawing.Bitmap Original ARGB image
return ].int[

RGBLayers() public method

Seperates values of each RGB layer
public RGBLayers ( Bitmap OriginalImage ) : System.Drawing.Bitmap[]
OriginalImage System.Drawing.Bitmap Original ARGB image
return System.Drawing.Bitmap[]

RGBMatrix() public method

Seperates values of each RGB layer
public RGBMatrix ( Bitmap OriginalImage ) : int[,,]
OriginalImage System.Drawing.Bitmap Original ARGB image
return int[,,]

RMatrix() public method

Separates red color layer
public RMatrix ( Bitmap OriginalImage ) : ].int[
OriginalImage System.Drawing.Bitmap Original ARGB image
return ].int[

Resize() public method

Image resize using nearest neighbour method
public Resize ( Bitmap OriginalImage, int Width, int Height ) : Bitmap
OriginalImage System.Drawing.Bitmap Original image
Width int Output width
Height int Output height
return System.Drawing.Bitmap

Resize2() public method

Image resize using bilinear interpolation method
public Resize2 ( Bitmap OriginalImage, int Width, int Height ) : Bitmap
OriginalImage System.Drawing.Bitmap Original image
Width int Output width
Height int Output height
return System.Drawing.Bitmap

Rotate() public method

Image rotation
public Rotate ( Bitmap OriginalImage, Double Angle ) : Bitmap
OriginalImage System.Drawing.Bitmap Original image
Angle Double Rotate angle in degrees
return System.Drawing.Bitmap

Rotate() public method

Image rotation
public Rotate ( Bitmap OriginalImage, Double Angle, int xCenter, int yCenter ) : Bitmap
OriginalImage System.Drawing.Bitmap Original image
Angle Double Rotate angle in degrees
xCenter int X Center
yCenter int Y Center
return System.Drawing.Bitmap

SDFT() public method

Shifted Discrete Fourier Transform of image.
public SDFT ( Bitmap OriginalImage ) : ].Complex[
OriginalImage System.Drawing.Bitmap Original ARGB image
return ].Complex[

SDFT() public method

Shifted Discrete Fourier Transform of two-dimensional signal
public SDFT ( Double Data ) : ].Complex[
Data Double Two-dimensional signal
return ].Complex[

Sepia() public method

Sepia filtration
public Sepia ( Bitmap OriginalImage, Double Coef ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Coef Double Sepia level
return System.Drawing.Bitmap

Sketch() public method

Pen sketch effect received by combining laplace edge detecting, black and white transformation with inversion on point 35 and SDROM filter to eliminate smaller artefacts
public Sketch ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
return System.Drawing.Bitmap

SketchCharcoal() public method

Charcoal sketch effect received by combining median filtration with mask size of 5, Sobel edge detecting, image inversion on point 80
public SketchCharcoal ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
return System.Drawing.Bitmap

SubtractImages() public method

Converts ARGB images to greyscale using luminance method and subtracts
public SubtractImages ( Bitmap Left, Bitmap Right ) : Bitmap
Left System.Drawing.Bitmap Minuend image
Right System.Drawing.Bitmap Subtrahend image
return System.Drawing.Bitmap

TiltShift() public method

Tilt shift filtration
public TiltShift ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
return System.Drawing.Bitmap

ToBlackwhite() public method

Converts ARGB image to black and white and inverses it with respect to given threshold
public ToBlackwhite ( Bitmap OriginalImage, int threshold ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
threshold int Threshold
return System.Drawing.Bitmap

ToBlackwhiteInverse() public method

Converts ARGB image to black and white and inverses it with respect to given threshold
public ToBlackwhiteInverse ( Bitmap OriginalImage, int threshold ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
threshold int Threshold
return System.Drawing.Bitmap

ToGreyscale() public method

Converts ARGB image to greyscale using luminance method
public ToGreyscale ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
return System.Drawing.Bitmap

ToGreyscaleAVG() public method

Converts ARGB image to greyscale using average method
public ToGreyscaleAVG ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
return System.Drawing.Bitmap

ToGreyscaleLightness() public method

Converts ARGB image to greyscale using lightness method
public ToGreyscaleLightness ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
return System.Drawing.Bitmap

cmyk2rgb() public method

Transforms CMYK color model to RGB
public cmyk2rgb ( Double cmyk ) : Color
cmyk Double CMYK values [C, M, Y, K]
return Color

color2greyscale() public method

Converts RGB pixel to greyscale using luminance method
public color2greyscale ( Color pixel ) : Color
pixel Color RGB pixel
return Color

hsv2rgb() public method

Transforms HSV color model to RGB
public hsv2rgb ( Double hsv ) : Color
hsv Double HSV values [H, S, V]
return Color

iDFT() public method

Inverse Discrete Fourier Transform
public iDFT ( Complex Spectrum ) : Bitmap
Spectrum Complex Image spectrum
return System.Drawing.Bitmap

iDFT2() public method

Inverse Discrete Fourier Transform
public iDFT2 ( Complex Spectrum ) : ].Double[
Spectrum Complex Signal spectrum
return ].Double[

iSDFT() public method

Inverse shifted Discrete Fourier Transform
public iSDFT ( Complex Spectrum ) : Bitmap
Spectrum Complex Image spectrum
return System.Drawing.Bitmap

iSDFT2() public method

Inverse shifted Discrete Fourier Transform
public iSDFT2 ( Complex Spectrum ) : ].Double[
Spectrum Complex Signal spectrum
return ].Double[

rgb2cmyk() public method

Transforms RGB color model to CMYK
public rgb2cmyk ( Color pixel ) : Double[]
pixel Color RGB color
return Double[]

rgb2hsv() public method

Transforms RGB color model to HSV
public rgb2hsv ( Color pixel ) : Double[]
pixel Color RGB color
return Double[]