Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
TissueEqualizeCommand Constructor(TissueEqualizeCommandFlags)
See Also  Example
Leadtools.ImageProcessing.Core Namespace > TissueEqualizeCommand Class > TissueEqualizeCommand Constructor : TissueEqualizeCommand Constructor(TissueEqualizeCommandFlags)



flags
Flags that determine the behavior of Tissue Equalize process.
Initializes a new TissueEqualizeCommand class object with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal flags As TissueEqualizeCommandFlags _
)
Visual Basic (Usage)Copy Code
Dim flags As TissueEqualizeCommandFlags
 
Dim instance As TissueEqualizeCommand(flags)
C# 
public TissueEqualizeCommand( 
   TissueEqualizeCommandFlags flags
)
C++/CLI 
public:
TissueEqualizeCommand( 
   TissueEqualizeCommandFlags flags
)

Parameters

flags
Flags that determine the behavior of Tissue Equalize process.

Example

Runs the TissueEqualizeCommand on an image.

Visual BasicCopy Code
Public Sub TissueEqualizeConstructorExamples()
   RasterCodecs.Startup()
   Dim codecs As New RasterCodecs()
   codecs.ThrowExceptionsOnInvalidImages = True

   Dim leadImage As RasterImage = codecs.Load(LeadtoolsExamples.Common.ImagesPath.Path + "Master.jpg")

   ' Prepare the command
   Dim command As TissueEqualizeCommand = New TissueEqualizeCommand(TissueEqualizeCommandFlags.UseIntensifyOption)
   'Apply
   command.Flags = TissueEqualizeCommandFlags.UseIntensifyOption
   command.Run(leadImage)

   RasterCodecs.Shutdown()
End Sub
C#Copy Code
public void TissueEqualizeConstructorExample() 

    // Load an image 
    RasterCodecs.Startup(); 
    RasterCodecs codecs = new RasterCodecs(); 
    codecs.ThrowExceptionsOnInvalidImages = true; 
 
    RasterImage image =codecs.Load( "D:\\Lead15\\images2\\LEADTOOLS Images\\Master.jpg"); 
 
    // Prepare the command 
    TissueEqualizeCommand command = new TissueEqualizeCommand(TissueEqualizeCommandFlags.UseIntensifyOption); 
    //Apply  
    command.Run(image); 
 
    RasterCodecs.Shutdown(); 
}

Requirements

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

See Also