LEADTOOLS For .NET Class Library Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.28
Correcting Colors

The following command classes are designed specifically for adjusting colors in an image:

Class

Purpose

AntiAliasingCommand

Applies an anti-aliasing filter to a specific image.

ApplyMathematicalLogicCommand

Performs specific Mathematical or logical operations on the colors of an image.

AutoColorLevelCommand

Makes dark values darker and light values lighter to automatically enhance shadows and brighten the image.

BalanceColorsCommand

Linearizes the number of pixels in an image across RGB, YUV or Gray color space.

BumpMapCommand

Adds a three-dimensional texture pattern by applying the bump image to the destination image.

ChangeHueCommand

Changes the hue of colors in an image by rotating the color wheel.

ChangeSaturationCommand

Increases or decreases the saturation of colors in an image.

ChannelMixerCommand

Rebalances the colors in an image in order to make color adjustments and to correct images which have more color than others.

ChangeHueSaturationIntensityCommand

Changes the hue, saturation and brightness of all or specified colors in the image. This method combines the methodality found in the ChangeHueCommand, ChangeSaturationCommand, and ChangeIntensityCommand classes and allows you to change the overall hue, saturation and intensity all at one time, or adjust the parameters separately, or make adjustments in successive passes.

ColorReplaceCommand

Replaces specified colors by adjusting values of hue, saturation and brightness.

ColorThresholdCommand

Using any one of eight color spaces resets those image’s pixel component values that fall inside or outside of a specified range.

ColorIntensityBalanceCommand

Changes the distribution of the red, green, or blue channels.

ColorizeGrayCommand

Colors an 8, 12 or 16-bit grayscale image. The method changes the color bits/pixel of the image from the specified formats into 24-bit RGB format.

ColorLevelCommand

Applies color leveling to an image. It changes the image shadows, midtones and highlights.

CubismCommand

Remaps the image into a collection of rotated rectangles (cubic faces), in the Cubist style.

DrawStarCommand

Draws a star on the image.

DryCommand

Simulates painting an image with the watercolor dry brush technique.

FreePlaneBendCommand

Wraps the image onto a 3D plane.

FreeRadialBendCommand

Wraps the image along its radius on a 3D surface shaped by pnCurve.

GlassEffectCommand

Divides the image into cells and makes it look as if it is being viewed through glass blocks.

GlowCommand

Makes colored edges shine with a neon-like glow.

InvertCommand

Inverts the colors in the specified image, making it like a photographic negative.

LensFlareCommand

Simulates the secondary reflections caused when bright lights are facing the camera lens.

LightCommand

Adds many spots of directed light sources to the image.

LightControlCommand

Lightens or darkens all or part of an image by remapping the pixel values.

OceanCommand

Reflects the image on an ocean surface.

PlaneBendCommand

Places the image on parallel planes along the Z-axis bent towards a center point.

PlaneCommand

Places the image on parallel planes along the Z-axis.

SampleTargetCommand

Corrects color values by shifting the sample colors to the target colors.

SelectiveColorCommand

Changes the color of an image by altering the definitions of one or more colors used by the image.

SmoothEdgesCommand

Smoothes the rough edges in the image.

SelectDataCommand

Selects a specified number of bits of an 8, 12 or 16-bit grayscale image and puts them into a mask, then colors the image depending on the mask. This can show image variances depending on user-defined conditions.

ShiftDataCommand

Selects a specified number of bits from an 8, 12 or 16-bit grayscale image into a mask and places the mask in a new 8, 12 or 16-bit grayscale image.

SwapColorsCommand

Swaps colors channels in an image.

RemoveRedeyeCommand

Replaces the red component of the pixels with the specified color. To replace only the red component for those pixels in the eyes of the image, select a small region around the eye(s).

TunnelCommand

Places the image inside a tunnel along the Z-axis.

WF Support

The following activities are designed specifically for adjusting colors in an image:

Class

Purpose

InvertActivity

Inverts the colors in the specified image, giving it the appearance of a photographic negative.