Creates a brick texture that makes the image look like it has been drawn on a brick wall. This command is available in the Imaging Pro and above toolkits.
As an example, suppose you were to start with a gray image, like the following figure:
Now suppose you call the BricksTextureCommand command. The following settings apply to all of the following figures:
Parameter | Value |
OffsetX | 0 |
OffsetY | 0 |
RowDifference | 35 |
BricksWidth | 60 |
BricksHeight | 20 |
Parameter | Value |
MortarRoughness | 0 |
MortarRoughnessEvenness | 0 |
BricksRoughness | 0 |
BricksRoughnessEvenness | 0 |
Flags | BricksTextureCommandFlags.SmoothedOutEdges |
Note how smooth the surface of both the mortar and the bricks is. In the following figure, the only change from the previous settings is the value of BricksRoughness, which is set to 196:
In the following figure, BricksRoughness remains set to 196 and in addition, BricksRoughnessEvenness is set to 4:
The next two figures show the difference between the BricksTextureCommandFlags.SmoothedOutEdges flag and the BricksTextureCommandFlags.SmoothedInEdges flag. For these figures the following settings are used:
Parameter | Value |
MortarRoughness | 0 |
MortarRoughnessEvenness | 0 |
BricksRoughness | 250 |
BricksRoughnessEvenness | 0 |
EdgeWidth | 7 |
MortarWidth | 4 |
In the following figure the BricksTextureCommandFlags.SmoothedOutEdges flag is set:
In the following figure the BricksTextureCommandFlags.SmoothedInEdges flag is set:
This command supports 12-bit and 16-bit grayscale and 48-bit and 64-bit color images. Support for 12-bit and 16-bit grayscale and 48-bit and 64-bit color images is available only in the Document/Medical toolkits.
For more information Refer to Applying Artistic Effects.
Leadtools.ImageProcessing.SpecialEffects Namespace
Leadtools.ImageProcessing.Effects.EmbossCommand
Leadtools.ImageProcessing.Color.ChangeHueSaturationIntensityCommand
ColoredPencilExtendedCommand Class
Leadtools.ImageProcessing.Color.ColorReplaceCommand
Leadtools.ImageProcessing.Color.ColorThresholdCommand
Leadtools.ImageProcessing.Core.DiscreteFourierTransformCommand
Leadtools.ImageProcessing.Effects.DirectionEdgeStatisticalCommand
Leadtools.ImageProcessing.Core.FastFourierTransformCommand
Leadtools.ImageProcessing.Core.FrequencyFilterCommand
Leadtools.ImageProcessing.Core.FrequencyFilterMaskCommand
Leadtools.ImageProcessing.Core.FourierTransformDisplayCommand
Leadtools.ImageProcessing.Effects.StatisticsInformationCommand
Leadtools.ImageProcessing.Effects.FeretsDiameterCommand
Leadtools.ImageProcessing.Effects.ObjectInformationCommand
Leadtools.ImageProcessing.Effects.RegionContourPointsCommand
Leadtools.ImageProcessing.Color.MathematicalFunctionCommand
Leadtools.ImageProcessing.Color.SegmentCommand
Products |
Support |
Feedback: BricksTextureCommand Class - Leadtools.ImageProcessing.SpecialEffects |
Introduction |
Help Version 19.0.2017.3.21
|