Visual Basic (Declaration) | |
---|---|
Public Class ObjectCounterCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class ObjectCounterCommand : RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class ObjectCounterCommand : public RasterCommand, IRasterCommand |
Runs the ObjectCounterCommand on an image.
Visual Basic | Copy Code |
---|---|
Public WithEvents objectCounterCommand_S1 As ObjectCounterCommand |
C# | Copy Code |
---|---|
public void ObjectCounterCommandExample() |
This command retrieves the number of black objects on a white background in a binary image. The behavior of this command can be further modified by using an Event Handler that handles the ObjectCounterCommandEventArgs. This command works only on 1-bit black and white images. If a region is selected, only the selected region will be changed by this command. If there isn't a region selected, the whole image will be processed. This command does not support signed data images.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.Core.ObjectCounterCommand
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