ImageEffectCreate
Class ImageEffectCreate
Namespace: Imagise.ImageEffectCreator
Assembly: Imagise.ImageEffectCreator.dll
Image effect creator extension class
public static class ImageEffectCreateInheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Methods
AdjustBrightness(Image, int)
Adjusts the brightness.
public static Image AdjustBrightness(this Image image, int brightness)Parameters
image Image
The image.
brightness int
The brightness.
Returns
Image
The image after brightness adjustement
AdjustContrast(Image, float)
Adjusts the contrast.
public static Image AdjustContrast(this Image image, float contrast)Parameters
image Image
The image.
contrast float
The contrast.
Returns
Image
The image after contrast adjustement
AdjustGamma(Image, float)
Adjusts the gamma.
public static Image AdjustGamma(this Image image, float gamma)Parameters
image Image
The image.
gamma float
The gamma.
Returns
Image
The image after gamma adjustement
AdjustGamma(Image, float, float, float)
Adjusts the gamma.
public static Image AdjustGamma(this Image image, float gammaRed, float gammaGreen, float gammaBlue)Parameters
image Image
The image.
gammaRed float
The gamma red.
gammaGreen float
The gamma green.
gammaBlue float
The gamma blue.
Returns
Image
The image after gamma adjustement
BinarizeBradley(Image, double, int)
Binarization of an image using Bradley’s adaptive thresholding algorithm using the integral image thresholding
public static Image BinarizeBradley(this Image image, double brightnessDifference, int windowSize)Parameters
image Image
The inout image
brightnessDifference double
The brightness difference between pixel and the average of an s x s window of pixels centered around this pixel.
windowSize int
The size of s x s window of pixels centered around this pixel
Returns
Image
The binarized image
BinarizeBradley(Image, double)
Binarizes the bradley.
public static Image BinarizeBradley(this Image image, double brightnessDifference)Parameters
image Image
The inout image.
brightnessDifference double
The brightness difference.
Returns
Image
The binarized image
BinarizeFixed(Image, byte)
Binarizes the fixed.
public static Image BinarizeFixed(this Image image, byte threshold)Parameters
image Image
The image.
threshold byte
The threshold.
Returns
Image
The binarized image
BinarizeOtsu(Image)
Perform binarization on the image using Otsu thresholding with this intuitive method. Ideal for developers seeking to automatically determine the optimal threshold for converting images into binary form, enhancing their clarity and suitability for further analysis.
public static Image BinarizeOtsu(this Image image)Parameters
image Image
Returns
Image
The binarized image
Dither(Image, DitheringMethod, int, ColorPalette)
Performs dithering on the current image.
public static Image Dither(this Image image, DitheringMethod ditheringMethod, int bitsCount, ColorPalette customPalette)Parameters
image Image
The imput image
ditheringMethod DitheringMethod
The dithering method.
bitsCount int
The final bits count for dithering.
customPalette ColorPalette
The custom palette for dithering.
Returns
Image
The image on dither
Dither(Image, DitheringMethod, int)
Dithers the specified dithering method.
public static Image Dither(this Image image, DitheringMethod ditheringMethod, int bitsCount)Parameters
image Image
The image.
ditheringMethod DitheringMethod
The dithering method.
bitsCount int
The bits count.
Returns
Image
The image on dither
Filter(Image, FilterOptionsBase)
Filters the specified options.
public static Image Filter(this Image image, FilterOptionsBase options)Parameters
image Image
The image.
options FilterOptionsBase
The options.
Returns
Image
the filtered image
Filter(Image, Rectangle, FilterOptionsBase)
Filters the image within specified rectangle.
public static Image Filter(this Image image, Rectangle rectangle, FilterOptionsBase options)Parameters
image Image
The image.
rectangle Rectangle
The rectangle.
options FilterOptionsBase
The options.
Returns
Image
the filtered image
Grayscale(Image)
Transformation of an image to its grayscale representation
public static Image Grayscale(this Image image)Parameters
image Image
Returns
Image
The grayscaled image