The classes ImGearProcessing Class and ImGearRasterProcessing Class present a set of methods for modifying an image. You do not need to create an ImGearProcessing Class object to call its methods since all methods are static. Any method takes an image to be processed and some additional parameters necessary for processing the operation. For examples of how to use these methods, see our Image Processing samples on github.
Image processing methods are shown below:
Action Group | API Reference |
---|---|
Crop - removes part of the image | ImGearProcessing.Crop Method |
Resize - retains the same image, but either increase the number of pixels (interpolating to determine the color values for the new ones), or reduce the number of pixels | ImGearProcessing.Resize Method |
Changes the geometry of the image | |
Changes the contrast, brightness and/or gamma correction in the image - all these methods have two representations: the second type takes two additional parameters Contrast Mode and Channel Range; the first representation of any method calculates these parameters according the image type and color space. |
ImGearRasterProcessing.InvertContrast Method ImGearRasterProcessing.AdjustContrast Method |
Creating a thumbnail - an image with the new size is created but source image is not changed | ImGearProcessing.CreateThumbnail Method |
Checking for grayscale image | ImGearRasterProcessing.ImageIsGray Method |
Filter methods - these methods are based on the convolution of the image and the filter matrix. Any filter method (except Convolution) has two representations: with and without channel range. |
ImGearRasterProcessing.Convolve Method ImGearRasterProcessing.Sharpen Method ImGearRasterProcessing.Smooth Method |
Methods for combining two or more images - these methods have two representation: with and without channel range |
ImGearRasterProcessing.Merge Method |
Methods for manipulating with image channels and color spaces |
ImGearRasterProcessing.ConvertColorSpace Method ImGearRasterProcessing.ChangeChannelDepths Method ImGearRasterProcessing.CombineChannels Method ImGearRasterProcessing.SeparateChannels Method ImGearRasterProcessing.InsertChannel Method ImGearRasterProcessing.RemoveChannel Method ImGearRasterProcessing.CreateChannelCopy Method |
Processing binary and grayscale images by applying erosion and dilation |
ImGearRasterProcessing.Dilate Method ImGearRasterProcessing.Erode Method |
Image enhancement - these methods enhance image detail | ImGearRasterProcessing.EnhanceLocal Method |
Removes red eye |
ImGearPixelProcessorRedEyeRGB.ImGearPixelProcessorRedEyeRGB Constructor |
Speckle removal - these methods remove noise from a grayscale or bitonal image |