Correcting Colors

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

Function

Purpose

LBitmap::AntiAlias

Applies an anti-aliasing filter to a specific bitmap.

LBitmap::AdjustTint

Adjusts the bitmap tint by changing the colors in an image using two separate color wheel rotations.

LBitmap::ApplyMathLogic

Performs specific Mathematical or logical operations on the colors of a bitmap.

LBitmap::AutoColorLevel

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

LBitmap::BalanceColors

Linearizes the number of pixels in a bitmap across RGB, YUV or Gray color space.

LBitmap::ChangeHue

Changes the hue of colors in a bitmap by rotating the color wheel.

LBitmap::ChangeHueSatIntBitmap

Changes the hue, saturation and brightness of all or specified colors in the image. This function combines the functionality found in the LBitmap::ChangeHue, LBitmap::ChangeSaturation, and LBitmap::ChangeIntensity functions 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.

LBitmap::ChangeSaturation

Increases or decreases the saturation of colors in a bitmap.

LBitmap::ChannelMix

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

LBitmap::ColorIntensityBalance

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

LBitmap::ColorizeGray

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

LBitmap::ColorLevel

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

LBitmap::ColorReplace

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

LBitmap::ColorThreshold

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

LBitmap::ColorHalfTone

Creates an enlarged halftone screen for each image channel.

LBitmap::Invert

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

LBitmap::RemoveRedEye

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 bitmap, select a small region around the eye(s).

LBitmap::SampleTarget

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

LBitmap::SelectData

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

LBitmap::SelectiveColor

Changes the color of a bitmap by altering the definitions of one or more colors used by the bitmap.

LBitmap::ShiftData

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

LBitmap::SwapColors

Swaps colors channels in a bitmap.