ImageMan.Net Version 3 Summer 2012 Release
DespeckleCommand Class
Members  Example  See Also  Send Feedback
DTI.ImageMan.Commands Namespace : DespeckleCommand Class





Glossary Item Box

Removes small speckles and dust from the image.

Object Model

DespeckleCommand Class

Syntax

Visual Basic (Declaration) 
Public Class DespeckleCommand 
   Implements DTI.ImageMan.IProcessImage 
Visual Basic (Usage)Copy Code
Dim instance As DespeckleCommand
C# 
public class DespeckleCommand : DTI.ImageMan.IProcessImage  
JScript 
public class DespeckleCommand implements DTI.ImageMan.IProcessImage 
Managed Extensions for C++ 
public __gc class DespeckleCommand : public DTI.ImageMan.IProcessImage  
C++/CLI 
public ref class DespeckleCommand : public DTI.ImageMan.IProcessImage  

Remarks

The following removes the speckles from the current image in the viewer control.
      DTI.ImageMan.Commands.DespeckleCommand despeck = new DTI.ImageMan.Commands.DespeckleCommand();
    DTI.ImageMan.ImImage despeckledImg = despeck.Process(viewer1.Images.CurrentImage);
    if (null != despeckledImg)
        viewer1.Images.CurrentImage = despeckledImg;

Example

The following removes the speckles from the current image in the viewer control.
C#Copy Code
DTI.ImageMan.Commands.DespeckleCommand despeck = new DTI.ImageMan.Commands.DespeckleCommand();
   DTI.ImageMan.ImImage despeckledImg = despeck.Process(viewer1.Images.CurrentImage);
   if (null != despeckledImg)
       viewer1.Images.CurrentImage = despeckledImg;

Inheritance Hierarchy

System.Object
   DTI.ImageMan.Commands.DespeckleCommand

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.