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



This function performs an Equalization between the Hard Tissue and the Soft Tissue in X-Ray Images.

Syntax

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

Example

Runs the TissueEqualizeCommand on the Image.

Visual BasicCopy Code
Public Sub TissueEqualizeCommandExamples()
   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
   'Apply
   command.Flags = TissueEqualizeCommandFlags.UseIntensifyOption
   command.Run(leadImage)

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

   // 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(); 
   //Apply  
   command.Flags = TissueEqualizeCommandFlags.UseIntensifyOption; 
   command.Run(image); 
 
   RasterCodecs.Shutdown(); 
}

Remarks

  • Using this function improves the results in processing and recognition of Medical X-Ray and CT Images.
  • This function does not support 32-bit grayscale images. It returns the error code ERROR_GRAY32_UNSUPPORTED if a 32-bit grayscale image is passed to this function.
Options:
  • Intensification of X-Ray Image
  • Simplification of X-Ray Image

Inheritance Hierarchy

System.Object
   Leadtools.ImageProcessing.RasterCommand
      Leadtools.ImageProcessing.Core.TissueEqualizeCommand

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