Visual Basic (Declaration) | |
---|---|
Public Class MinimumCommandBitmapEffect Inherits RasterCommandBitmapEffect |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class MinimumCommandBitmapEffect : RasterCommandBitmapEffect |
C++/CLI | |
---|---|
public ref class MinimumCommandBitmapEffect : public RasterCommandBitmapEffect |
XAML Property Element Usage | |
---|---|
MinimumCommandBitmapEffect ... |
XAML Property Element Usage | |
---|---|
MinimumCommandBitmapEffect ... |
Run the MinimumCommandBitmapEffect on an image with neighborhood Dimensions = 3x3 pixels.
Visual Basic | Copy Code |
---|---|
Public Sub MinimumCommandBitmapEffectExample(ByVal element As FrameworkElement) |
C# | Copy Code |
---|---|
public void MinimumCommandBitmapEffectExample(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"> |
The effect can be controlled by specifying the size of the neighborhood that is used for calculating each pixel value. For example, for 8x8, set the Dimension property to 8. Each pixel is replaced with the minimum value of its neighborhood.
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.MinimumCommandBitmapEffect
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family
Reference
MinimumCommandBitmapEffect MembersLeadtools.Windows.Media.Effects.Core Namespace
AddNoiseCommandBitmapEffect Class
SharpenCommandBitmapEffect Class
PosterizeCommandBitmapEffect Class
MosaicCommandBitmapEffect Class
EmbossCommandBitmapEffect Class
AverageCommandBitmapEffect Class
MedianCommandBitmapEffect Class
IntensityDetectCommandBitmapEffect Class
SpatialFilterCommandBitmapEffect Class
BinaryFilterCommandBitmapEffect Class
MaximumCommandBitmapEffect Class
OilifyCommandBitmapEffect Class
SolarizeCommandBitmapEffect Class
FragmentCommandBitmapEffect Class
HighPassCommandBitmapEffect Class
UnsharpMaskCommandBitmapEffect Class