LEADTOOLS Workflow Image Processing (Leadtools.Workflow.ImageProcessing assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
AutoBinaryActivity Class
See Also  Members  
Leadtools.Workflow.ImageProcessing Namespace : AutoBinaryActivity Class



The AutoBinaryActivity Class is available in LEADTOOLS Document and Medical Imaging toolkits.

Applies binary segmentation to the image using an automatically calculated threshold based on a two-peak method of statistical analysis of the histogram. This command is available in the Document/Medical Toolkits.

Object Model

AutoBinaryActivity Class

Syntax

Visual Basic (Declaration) 
Public Class AutoBinaryActivity 
   Inherits ImageProcessingBaseActivity
   Implements IComponentIDisposable 
Visual Basic (Usage)Copy Code
Dim instance As AutoBinaryActivity
C# 
public class AutoBinaryActivity : ImageProcessingBaseActivity, IComponentIDisposable  
C++/CLI 
public ref class AutoBinaryActivity : public ImageProcessingBaseActivity, IComponentIDisposable  

Remarks

  • The image is transformed into a binary image using a threshold calculated automatically based on statistical features of the image. Best results are obtained with grayscale images.
  • 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 signed data images.
  • This command does not support 32-bit grayscale images.
Use the AutoBinaryActivity when you simply want to apply binary segmentation to the bitmap using an automatically calculated threshold based on a two-peak method of statistical analysis on its histogram. Use the DynamicBinaryActivity to convert an image into a black and white image without changing its bits per pixel. For more information, refer to Processing an Image.
For more information, refer to Removing Noise.

Inheritance Hierarchy

System.Object
   System.Workflow.ComponentModel.DependencyObject
      System.Workflow.ComponentModel.Activity
         Leadtools.Workflow.Raster.WorkflowImageActivity
            Leadtools.Workflow.Raster.DisposableImageActivity
               Leadtools.Workflow.ImageProcessing.ImageProcessingBaseActivity
                  Leadtools.Workflow.ImageProcessing.AutoBinaryActivity

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Workflow.ImageProcessing requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features