ImageGear .NET - Updated
Picturize Method




ImageGear23.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class : Picturize Method
Auxiliary object, containing result of matching the cell images against fragments of the source image.
Specifies distribution settings for Picturize.
Specifies how the cell images will be adjusted before placing to the main image.
This method applies the Picturize effect on a raster image.
Syntax

Parameters

matchingMatrix
Auxiliary object, containing result of matching the cell images against fragments of the source image.
distributionSettings
Specifies distribution settings for Picturize.
mixingSettings
Specifies how the cell images will be adjusted before placing to the main image.

Return Value

Remarks
The method divides the image into rectangular cells, and replaces each cell with an image from the specified image collection, attempting to select cell images such that they match colors of course image.

This method uses a significant amount of calculations, so it has been split into three stages:

Loading and preprocessing cell images, scaling them to their destination size in the picturized image. This stage is done by creation of an ImGearPicturizePreprocessedCollection class object.

Matching cell images to fragments of the main image. This stage is done by creation of a ImGearPicturizeMatchingMatrix class object, which takes ImGearPicturizePreprocessedCollection class on input.Distributing the cell images over the source image, and adjusting their colors to match the main image better. This is done by calling the Picturize method.

The result of the Picturize method depends greatly on how similar the images in the cell image collection are relative to the source image. Also, for best result, the number of images in the cell image collection should be greater than the number of cells in the picturized image.

See Also

Reference

ImGearEffects Class
ImGearEffects Members
ImGearRasterPage Class
ImGearPicturizeMatchingMatrix Class
ImGearPicturizeDistributionSettings Structure
ImGearPicturizeMixingSettings Structure