Visual Basic (Declaration) | |
---|---|
Public Class GammaCorrectCommandBitmapEffect Inherits RasterCommandBitmapEffect |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class GammaCorrectCommandBitmapEffect : RasterCommandBitmapEffect |
C++/CLI | |
---|---|
public ref class GammaCorrectCommandBitmapEffect : public RasterCommandBitmapEffect |
XAML Property Element Usage | |
---|---|
GammaCorrectCommandBitmapEffect ... |
XAML Property Element Usage | |
---|---|
GammaCorrectCommandBitmapEffect ... |
Run the GammaCorrectCommandBitmapEffect on an image and apply gamma correction.
Visual Basic | Copy Code |
---|---|
Public Sub GammaCorrectCommandBitmapEffectExample(ByVal element As FrameworkElement) |
C# | Copy Code |
---|---|
public void GammaCorrectCommandBitmapEffectExample(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"> |
Intensity values ideally follow a logarithmic progression, because the eye perceives changes in intensity as being equal when the ratio of change is equal. For example, we would see a change from 0.1 to 0.2 as being equal to a change from 0.2 to 0.4. Gamma is a standard constant that is used to calculate the progression. For most CRTs the gamma constant is in the range of 2.2 to 2.5.
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.GammaCorrectCommandBitmapEffect
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family
Reference
GammaCorrectCommandBitmapEffect MembersLeadtools.Windows.Media.Effects.Color Namespace
ChangeIntensityCommandBitmapEffect Class
ChangeContrastCommandBitmapEffect Class
HistogramContrastCommandBitmapEffect Class
StretchIntensityCommandBitmapEffect Class
RemapIntensityCommandBitmapEffect Class
InvertCommandBitmapEffect Class
ChangeHueCommandBitmapEffect Class
ChangeSaturationCommandBitmapEffect Class
HistogramEqualizeCommandBitmapEffect Class
FillCommandBitmapEffect Class
DesaturateCommandBitmapEffect Class
LightControlCommandBitmapEffect Class
SmoothEdgesCommandBitmapEffect Class
LocalHistogramEqualizeCommandBitmapEffect Class
MultiplyCommandBitmapEffect Class
AutoColorLevelCommandBitmapEffect Class
GrayScaleToDuotoneCommandBitmapEffect Class
MathematicalFunctionCommandBitmapEffect Class
SegmentCommandBitmapEffect Class
ApplyMathematicalLogicCommandBitmapEffect Class
DynamicBinaryCommandBitmapEffect Class
EdgeDetectEffectCommandBitmapEffect Class
FunctionalLightCommandBitmapEffect Class
MultiscaleEnhancementCommandBitmapEffect Class
AdjustTintCommandBitmapEffect Class
GammaCorrectCommandBitmapEffect Class