Visual Basic (Declaration) | |
---|---|
Public Class MedianCommandBitmapEffect Inherits RasterCommandBitmapEffect |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class MedianCommandBitmapEffect : RasterCommandBitmapEffect |
C++/CLI | |
---|---|
public ref class MedianCommandBitmapEffect : public RasterCommandBitmapEffect |
XAML Property Element Usage | |
---|---|
MedianCommandBitmapEffect ... |
XAML Property Element Usage | |
---|---|
MedianCommandBitmapEffect ... |
Run the MedianCommandBitmapEffect on an image and apply a median filter.
Visual Basic | Copy Code |
---|---|
Public Sub MedianCommandBitmapEffectExample(ByVal element As FrameworkElement) |
C# | Copy Code |
---|---|
public void MedianCommandBitmapEffectExample(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.Core;assembly=Leadtools.Windows.Media.Effects"> |
You control the effect by specifying the size of the neighborhood that is used for calculating the median value. For 8x8, set 8 in the Dimension property.
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.Core.MedianCommandBitmapEffect
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family
Reference
MedianCommandBitmapEffect MembersLeadtools.Windows.Media.Effects.Core Namespace
SharpenCommandBitmapEffect Class
PosterizeCommandBitmapEffect Class
MosaicCommandBitmapEffect Class
EmbossCommandBitmapEffect Class
AverageCommandBitmapEffect Class
AddNoiseCommandBitmapEffect Class
IntensityDetectCommandBitmapEffect Class
SpatialFilterCommandBitmapEffect Class
BinaryFilterCommandBitmapEffect Class
MaximumCommandBitmapEffect Class
MinimumCommandBitmapEffect Class
OilifyCommandBitmapEffect Class
SolarizeCommandBitmapEffect Class
BricksTextureCommandBitmapEffect Class
DiffuseGlowCommandBitmapEffect Class
GlowCommandBitmapEffect Class
HalfTonePatternCommandBitmapEffect Class
HighPassCommandBitmapEffect Class
MaskConvolutionCommandBitmapEffect Class
PerspectiveCommandBitmapEffect Class
PlasmaCommandBitmapEffect Class
PointillistCommandBitmapEffect Class
FragmentCommandBitmapEffect Class
UnsharpMaskCommandBitmapEffect Class