Visual Basic (Declaration) | |
---|---|
Public Class MedianCommandBitmapEffect Inherits RasterCommandBitmapEffect |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class MedianCommandBitmapEffect : RasterCommandBitmapEffect |
Managed Extensions for C++ | |
---|---|
public __gc class MedianCommandBitmapEffect : public RasterCommandBitmapEffect |
C++/CLI | |
---|---|
public ref class MedianCommandBitmapEffect : public RasterCommandBitmapEffect |
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, and Windows Server 2003
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