Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
Slope Property
See Also 
Leadtools.ImageProcessing.Core Namespace > ApplyLinearModalityLookupTableCommand Class : Slope Property




"Rescale Slope" : the value of "m" in the linear relationship between the original pixel values and the new pixel values.

Syntax

Visual Basic (Declaration) 
Public Property Slope As Double
Visual Basic (Usage)Copy Code
Dim instance As ApplyLinearModalityLookupTableCommand
Dim value As Double
 
instance.Slope = value
 
value = instance.Slope
C# 
public double Slope {get; set;}
Managed Extensions for C++ 
public: __property double get_Slope();
public: __property void set_Slope( 
   double value
);
C++/CLI 
public:
property double Slope {
   double get();
   void set (double value);
}

Return Value

"Rescale Slope" : the value of "m" in the linear relationship between original pixel values and the new pixel values.

(new pixel value) = m * (original pixel value) + b. Where "b" is the "Rescale Intercept".

Example

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