Visual Basic (Declaration) | |
---|---|
Public Class ContrastBrightnessIntensityCommandBitmapEffect Inherits RasterCommandBitmapEffect |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class ContrastBrightnessIntensityCommandBitmapEffect : RasterCommandBitmapEffect |
C++/CLI | |
---|---|
public ref class ContrastBrightnessIntensityCommandBitmapEffect : public RasterCommandBitmapEffect |
XAML Property Element Usage | |
---|---|
ContrastBrightnessIntensityCommandBitmapEffect ... |
XAML Property Element Usage | |
---|---|
ContrastBrightnessIntensityCommandBitmapEffect ... |
Run the ContrastBrightnessIntensityCommandBitmapEffect on an image.
Visual Basic | Copy Code |
---|---|
Public Sub ContrastBrightnessIntensityCommandBitmapEffectExample(ByVal element As FrameworkElement) |
C# | Copy Code |
---|---|
public void ContrastBrightnessIntensityCommandBitmapEffectExample(FrameworkElement element) |
XAML | Copy Code |
---|---|
<Page Title="CSAnimateEffect" Height="391" Width="300" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:lteffects="clr-namespace:Leadtools.Windows.Media.Effects.Color;assembly=Leadtools.Windows.Media.Effects"> |
The transformations are applied in this order: Contrast, Brightness then Intensity. Were the three commands to be called separately, then after each method was applied calculated values less than 0 and more than 255 (for 8 bits per component for example) would be clamped to 0 and 255 respectively. Using this method, the values are accumulative and the final result would be clamped. In addition, this command is faster than calling each method separately. This command supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64-bit color images is available in all Document and Medical toolkits. This command does not support signed data images. This command does not support 32-bit grayscale images.
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Freezable
System.Windows.Media.Animation.Animatable
System.Windows.Media.Effects.BitmapEffect
Leadtools.Windows.Media.Effects.RasterCommandBitmapEffect
Leadtools.Windows.Media.Effects.Color.ContrastBrightnessIntensityCommandBitmapEffect
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family
Reference
ContrastBrightnessIntensityCommandBitmapEffect MembersLeadtools.Windows.Media.Effects.Color Namespace
ChangeContrastCommandBitmapEffect Class
ChangeIntensityCommandBitmapEffect Class
ChangeSaturationCommandBitmapEffect Class
SharpenCommandBitmapEffect Class
PosterizeCommandBitmapEffect Class
MosaicCommandBitmapEffect Class
EmbossCommandBitmapEffect Class
MedianCommandBitmapEffect Class
AddNoiseCommandBitmapEffect Class
IntensityDetectCommandBitmapEffect Class
SpatialFilterCommandBitmapEffect Class
BinaryFilterCommandBitmapEffect Class
MaximumCommandBitmapEffect Class
MinimumCommandBitmapEffect Class
OilifyCommandBitmapEffect Class
SolarizeCommandBitmapEffect Class
AutoColorLevelCommandBitmapEffect Class