ImageGear for C and C++ on Linux - Updated
Geometric Transformations
User Guide > How to Work with... > Image Processing and Cleanup > Geometric Transformations

An image transformation function is one in which a mathematical algorithm is applied to transform each pixel to a new location or value. Rotation is a good example of a simple image transformation. Image transformation differs from contrast adjustment (which might also be carried out by applying an algorithm) in that the contrast adjustment is trying to achieve some visual improvement or enhancement of the image. A transformation's object is simply to achieve the transformation (e.g., rotate the image).

ImageGear provides the following image transformation functions. Refer to the description of each in Core Component API Function Reference for detailed calling sequences as well as other related information:

IG_IP_convolve_matrix()

Convolves the 8-bit gray level or 24-bit image using a user-defined convolution kernel.

IG_IP_flip()

Flips your image right-for-left or top-for-bottom. This is equivalent to rotating the image around a vertical or horizontal axis (respectively) drawn through its center.

IG_IP_resize()

Re-scales the image, changing the size of the image bitmap.

IG_IP_rotate_any_angle()

Rotates your image through any angle you specify around its center.

IG_IP_rotate_multiple_90()

Rotates your image 90, 180, or 270 degrees around its center.

IG_IP_rotate_multiple_90_opt()

Rotates the image referenced by hIGear at an angle that is a multiple of 90 degrees, using additional rotation options.

IG_IP_sharpen()

Causes the dark side of a contrast boundary to become darker and the bright side to become brighter. This makes the image appear sharper. You can control the degree of sharpening applied.

IG_IP_smooth()

Removes graininess in an image, tending to soften or smooth its appearance. You control the degree of smoothing.

IG_IP_transform_with_LUT()

Transforms an image by mapping each pixel value through a Look-Up Table that you supply to obtain the pixel's new value.