Visual Basic (Declaration) | |
---|---|
Public Class UserFilterCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class UserFilterCommand : RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class UserFilterCommand : public RasterCommand, IRasterCommand |
Run the UserFilterCommand on an image, In this example the high pass.filter will be applied using user defined matrix.
Visual Basic | Copy Code |
---|---|
Public Sub UserFilterCommandExample() |
C# | Copy Code |
---|---|
public void UserFilterCommandExample() |
With this command you can create a user-defined filter and apply it to the image. The filter has a rectangular form (matrix) where the values are user-defined. It allows the creation of simple customized filters, where each value in matrix is multiplied by the corresponding pixel, and then the specified operation is performed on the results. When the filter is applied to pixels from the edge and you choose the sum operation, the edge rows and columns are duplicated. For example, if the pixel (-1, 5) is needed, the pixel (0, 5) is used instead. 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 only in the Document/Medical toolkits. This command does not support 32-bit grayscale images.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.Effects.UserFilterCommand
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Reference
UserFilterCommand MembersLeadtools.ImageProcessing.Effects Namespace
MinimumCommand
MaximumCommand
AddNoiseCommand Class
SharpenCommand Class
PosterizeCommand
MosaicCommand Class
EmbossCommand Class
AverageCommand Class
MedianCommand
IntensityDetectCommand
SpatialFilterCommand Class
BinaryFilterCommand Class
OilifyCommand Class
SolarizeCommand
WindowLevelCommand
ShadowCommand
ChangeHueSaturationIntensityCommand
ColorReplaceCommand
ColorThresholdCommand
DiscreteFourierTransformCommand
DirectionEdgeStatisticalCommand Class
FastFourierTransformCommand
FrequencyFilterCommand
FrequencyFilterMaskCommand
FourierTransformDisplayCommand
StatisticsInformationCommand Class
FeretsDiameterCommand Class
ObjectInformationCommand Class
RegionContourPointsCommand Class
GetRegionPerimeterLength Method
MathematicalFunctionCommand
RevEffectCommand
SegmentCommand
SubtractBackgroundCommand
HighPassCommand Class