ImageGear for .NET
Picturize Method
See Also  Send Feedback
ImageGear21.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class : Picturize Method




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.

Glossary Item Box

This method applies the Picturize effect on a raster image.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

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

ImageGear.Core.ImGearRasterPage class.

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

©2013. Accusoft Corporation. All Rights Reserved.