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



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

Changes the color of each pixel in an image to the median color of the pixels in its neighborhood. This is similar to the AverageActivity activity, but it is used for noise reduction, rather than a blur effect.

Object Model

MedianActivity Class

Syntax

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

Remarks

  • Control the effect by specifying the size of the neighborhood that is used for calculating the median value. For 8x8, set the Dimension property to 8.
  • This activity 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 activity does not support 32-bit grayscale images.
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.MedianActivity

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