C# Класс LitDev.Engines.FIP

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Shift ( Bitmap OriginalImage ) : ].Double[

Transforms image into to shifted array of doubles

Shift ( Double Data ) : ].Double[

Shifts array components

Описание методов

AddImages() публичный Метод

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
Результат System.Drawing.Bitmap

BMatrix() публичный Метод

Separates blue color layer
public BMatrix ( Bitmap OriginalImage ) : ].int[
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат ].int[

Blurring() публичный Метод

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
Результат System.Drawing.Bitmap

CMYKLayers() публичный Метод

Creates CMYK layesr from RGB image
public CMYKLayers ( Bitmap OriginalImage ) : System.Drawing.Bitmap[]
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат System.Drawing.Bitmap[]

Cartoon() публичный Метод

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
Результат System.Drawing.Bitmap

Cartoon() публичный Метод

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
Результат System.Drawing.Bitmap

ColorAccent() публичный Метод

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
Результат System.Drawing.Bitmap

ColorFiltration() публичный Метод

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
Результат System.Drawing.Bitmap

ContrastStretching() публичный Метод

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
Результат System.Drawing.Bitmap

ContrastStretching() публичный Метод

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
Результат System.Drawing.Bitmap

DFT() публичный Метод

Discrete Fourier Transform of image
public DFT ( Bitmap OriginalImage ) : ].Complex[
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат ].Complex[

DFT() публичный Метод

Discrete Fourier Transform of two-dimensional signal
public DFT ( Double Data ) : ].Complex[
Data Double Two-dimensional signal
Результат ].Complex[

GF1() публичный Метод

Gausian filter
public GF1 ( ) : ].Double[
Результат ].Double[

GF2() публичный Метод

Gausian filter
public GF2 ( ) : ].Double[
Результат ].Double[

GF3() публичный Метод

Gausian filter
public GF3 ( ) : ].Double[
Результат ].Double[

GMatrix() публичный Метод

Separates green color layer
public GMatrix ( Bitmap OriginalImage ) : ].int[
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат ].int[

GammaCorrection() публичный Метод

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
Результат System.Drawing.Bitmap

GammaCorrectionGS() публичный Метод

Gamma correction
public GammaCorrectionGS ( Bitmap OriginalImage, Double Gamma ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Gamma Double Gamma correction coefficient
Результат System.Drawing.Bitmap

HPF1() публичный Метод

High pass filter
public HPF1 ( ) : ].int[
Результат ].int[

HPF2() публичный Метод

High pass filter
public HPF2 ( ) : ].int[
Результат ].int[

HPF3() публичный Метод

High pass filter
public HPF3 ( ) : ].int[
Результат ].int[

HPF4() публичный Метод

High pass filter
public HPF4 ( ) : ].int[
Результат ].int[

Histogram() публичный Метод

Converts ARGB images to greyscale using luminance method and returns histogram
public Histogram ( Bitmap OriginalImage ) : int[]
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат int[]

HistogramShift() публичный Метод

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
Результат System.Drawing.Bitmap

HistoramEqualization() публичный Метод

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
Результат System.Drawing.Bitmap

ImageCloseGS() публичный Метод

Image to greyscale convertion and closing with 3x3 element
public ImageCloseGS ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
Результат System.Drawing.Bitmap

ImageCloseGS() публичный Метод

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
Результат System.Drawing.Bitmap

ImageDilatationFilterGS() публичный Метод

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
Результат System.Drawing.Bitmap

ImageDilatationFilterGS() публичный Метод

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
Результат System.Drawing.Bitmap

ImageErosionFilterGS() публичный Метод

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
Результат System.Drawing.Bitmap

ImageErosionFilterGS() публичный Метод

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
Результат System.Drawing.Bitmap

ImageFilterColor() публичный Метод

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
Результат System.Drawing.Bitmap

ImageFilterColor() публичный Метод

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
Результат System.Drawing.Bitmap

ImageFilterColor() публичный Метод

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
Результат System.Drawing.Bitmap

ImageFilterGS() публичный Метод

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
Результат System.Drawing.Bitmap

ImageFilterGS() публичный Метод

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
Результат System.Drawing.Bitmap

ImageFilterGS() публичный Метод

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
Результат System.Drawing.Bitmap

ImageKuwaharaFilterColor() публичный Метод

Kuwahara filtration
public ImageKuwaharaFilterColor ( Bitmap OriginalImage, int FilterSize ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
FilterSize int Kuwahara filter size
Результат System.Drawing.Bitmap

ImageKuwaharaFilterGS() публичный Метод

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
Результат System.Drawing.Bitmap

ImageMedianFilterColor() публичный Метод

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
Результат System.Drawing.Bitmap

ImageMedianFilterGS() публичный Метод

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
Результат System.Drawing.Bitmap

ImageOpenGS() публичный Метод

Image to greyscale convertion and opening with 3x3 element
public ImageOpenGS ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
Результат System.Drawing.Bitmap

ImageOpenGS() публичный Метод

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
Результат System.Drawing.Bitmap

ImagePrewittFilterColor() публичный Метод

Calculates module of image convolution with Prewitt operators (horizontal and vertical axis)
public ImagePrewittFilterColor ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат System.Drawing.Bitmap

ImagePrewittFilterGS() публичный Метод

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
Результат System.Drawing.Bitmap

ImageSDROMFilterColor() публичный Метод

Ccalculates image filtartion with SD-ROM mask of size 3.
public ImageSDROMFilterColor ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Orignal ARGB image
Результат System.Drawing.Bitmap

ImageSDROMFilterColor() публичный Метод

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
Результат System.Drawing.Bitmap

ImageSDROMFilterGS() публичный Метод

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
Результат System.Drawing.Bitmap

ImageSDROMFilterGS() публичный Метод

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
Результат System.Drawing.Bitmap

ImageSobelFilterColor() публичный Метод

Calculates module of image convolution with Sobel operators (horizontal and vertical axis)
public ImageSobelFilterColor ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат System.Drawing.Bitmap

ImageSobelFilterGS() публичный Метод

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
Результат System.Drawing.Bitmap

InverseImage() публичный Метод

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
Результат System.Drawing.Bitmap

LPF1() публичный Метод

Low pass filter
public LPF1 ( ) : ].Double[
Результат ].Double[

LPF2() публичный Метод

Low pass filter
public LPF2 ( ) : ].Double[
Результат ].Double[

LPF3() публичный Метод

Low pass filter
public LPF3 ( ) : ].Double[
Результат ].Double[

LPF4() публичный Метод

Low pass filter
public LPF4 ( ) : ].Double[
Результат ].Double[

LaplaceF1() публичный Метод

Laplace filter
public LaplaceF1 ( ) : ].int[
Результат ].int[

LaplaceF2() публичный Метод

Laplace filter
public LaplaceF2 ( ) : ].int[
Результат ].int[

LaplaceF3() публичный Метод

Laplace filter
public LaplaceF3 ( ) : ].int[
Результат ].int[

LaplaceF4() публичный Метод

Laplace filter
public LaplaceF4 ( ) : ].int[
Результат ].int[

LogaritmicScaling() публичный Метод

Image histogram normalization using 10-base logarithm scaling
public LogaritmicScaling ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original AGB image
Результат System.Drawing.Bitmap

Magnitude() публичный Метод

Calculates array of magnitudes from array of complex elements
public Magnitude ( Complex Spectrum ) : ].Double[
Spectrum Complex Complex values array
Результат ].Double[

Matrix2Image() публичный Метод

Converts array elements into pixel values (without normalization)
public Matrix2Image ( Double Matrix ) : Bitmap
Matrix Double Array
Результат System.Drawing.Bitmap

Matrix2Image() публичный Метод

Converts array elements into pixel values (without normalization)
public Matrix2Image ( int Matrix ) : Bitmap
Matrix int Array
Результат System.Drawing.Bitmap

Matrix2ImageLog() публичный Метод

Converts array elements into pixel values (values normalized using 10-base logarithm)
public Matrix2ImageLog ( Double Matrix ) : Bitmap
Matrix Double Array
Результат System.Drawing.Bitmap

Matrix2ImageMax() публичный Метод

Converts array elements into pixel values (values normalized using maximum element)
public Matrix2ImageMax ( Double Matrix ) : Bitmap
Matrix Double Array
Результат System.Drawing.Bitmap

MaxBrightness() публичный Метод

Returns image maximum brightness level
public MaxBrightness ( Bitmap OriginalImage ) : int
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат int

MinBrightness() публичный Метод

Returns image minimum brightness level
public MinBrightness ( Bitmap OriginalImage ) : int
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат int

NegativeImageColor() публичный Метод

Calculate image negative
public NegativeImageColor ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат System.Drawing.Bitmap

NegativeImageGS() публичный Метод

Converts ARGB image to greyscale using luminance method and calculates its negative
public NegativeImageGS ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат System.Drawing.Bitmap

OilPaint() публичный Метод

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
Результат System.Drawing.Bitmap

Phase() публичный Метод

Calculates array of phases from array of complex elements
public Phase ( Complex Spectrum ) : ].Double[
Spectrum Complex Complex values array
Результат ].Double[

RGBHistogram() публичный Метод

Returns color image histogram
public RGBHistogram ( Bitmap OriginalImage ) : ].int[
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат ].int[

RGBLayers() публичный Метод

Seperates values of each RGB layer
public RGBLayers ( Bitmap OriginalImage ) : System.Drawing.Bitmap[]
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат System.Drawing.Bitmap[]

RGBMatrix() публичный Метод

Seperates values of each RGB layer
public RGBMatrix ( Bitmap OriginalImage ) : int[,,]
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат int[,,]

RMatrix() публичный Метод

Separates red color layer
public RMatrix ( Bitmap OriginalImage ) : ].int[
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат ].int[

Resize() публичный Метод

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
Результат System.Drawing.Bitmap

Resize2() публичный Метод

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
Результат System.Drawing.Bitmap

Rotate() публичный Метод

Image rotation
public Rotate ( Bitmap OriginalImage, Double Angle ) : Bitmap
OriginalImage System.Drawing.Bitmap Original image
Angle Double Rotate angle in degrees
Результат System.Drawing.Bitmap

Rotate() публичный Метод

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
Результат System.Drawing.Bitmap

SDFT() публичный Метод

Shifted Discrete Fourier Transform of image.
public SDFT ( Bitmap OriginalImage ) : ].Complex[
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат ].Complex[

SDFT() публичный Метод

Shifted Discrete Fourier Transform of two-dimensional signal
public SDFT ( Double Data ) : ].Complex[
Data Double Two-dimensional signal
Результат ].Complex[

Sepia() публичный Метод

Sepia filtration
public Sepia ( Bitmap OriginalImage, Double Coef ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Coef Double Sepia level
Результат System.Drawing.Bitmap

Sketch() публичный Метод

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
Результат System.Drawing.Bitmap

SketchCharcoal() публичный Метод

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
Результат System.Drawing.Bitmap

SubtractImages() публичный Метод

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
Результат System.Drawing.Bitmap

TiltShift() публичный Метод

Tilt shift filtration
public TiltShift ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат System.Drawing.Bitmap

ToBlackwhite() публичный Метод

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
Результат System.Drawing.Bitmap

ToBlackwhiteInverse() публичный Метод

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
Результат System.Drawing.Bitmap

ToGreyscale() публичный Метод

Converts ARGB image to greyscale using luminance method
public ToGreyscale ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат System.Drawing.Bitmap

ToGreyscaleAVG() публичный Метод

Converts ARGB image to greyscale using average method
public ToGreyscaleAVG ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат System.Drawing.Bitmap

ToGreyscaleLightness() публичный Метод

Converts ARGB image to greyscale using lightness method
public ToGreyscaleLightness ( Bitmap OriginalImage ) : Bitmap
OriginalImage System.Drawing.Bitmap Original ARGB image
Результат System.Drawing.Bitmap

cmyk2rgb() публичный Метод

Transforms CMYK color model to RGB
public cmyk2rgb ( Double cmyk ) : Color
cmyk Double CMYK values [C, M, Y, K]
Результат Color

color2greyscale() публичный Метод

Converts RGB pixel to greyscale using luminance method
public color2greyscale ( Color pixel ) : Color
pixel Color RGB pixel
Результат Color

hsv2rgb() публичный Метод

Transforms HSV color model to RGB
public hsv2rgb ( Double hsv ) : Color
hsv Double HSV values [H, S, V]
Результат Color

iDFT() публичный Метод

Inverse Discrete Fourier Transform
public iDFT ( Complex Spectrum ) : Bitmap
Spectrum Complex Image spectrum
Результат System.Drawing.Bitmap

iDFT2() публичный Метод

Inverse Discrete Fourier Transform
public iDFT2 ( Complex Spectrum ) : ].Double[
Spectrum Complex Signal spectrum
Результат ].Double[

iSDFT() публичный Метод

Inverse shifted Discrete Fourier Transform
public iSDFT ( Complex Spectrum ) : Bitmap
Spectrum Complex Image spectrum
Результат System.Drawing.Bitmap

iSDFT2() публичный Метод

Inverse shifted Discrete Fourier Transform
public iSDFT2 ( Complex Spectrum ) : ].Double[
Spectrum Complex Signal spectrum
Результат ].Double[

rgb2cmyk() публичный Метод

Transforms RGB color model to CMYK
public rgb2cmyk ( Color pixel ) : Double[]
pixel Color RGB color
Результат Double[]

rgb2hsv() публичный Метод

Transforms RGB color model to HSV
public rgb2hsv ( Color pixel ) : Double[]
pixel Color RGB color
Результат Double[]