ImageGear .NET v25.2 - Updated
CreateFromMinMax Method
Example 




ImageGear.Formats.Dicom Assembly > ImageGear.Formats.DICOM Namespace > ImGearVOIWindow Structure : CreateFromMinMax Method
Window Minimum.
Window Maximum.
Creates Window transform from Window minimum and maximum values.
Syntax
'Declaration
 
Public Shared Function CreateFromMinMax( _
   ByVal min As Integer, _
   ByVal max As Integer _
) As ImGearVOIWindow
'Usage
 
Dim min As Integer
Dim max As Integer
Dim value As ImGearVOIWindow
 
value = ImGearVOIWindow.CreateFromMinMax(min, max)
public static ImGearVOIWindow CreateFromMinMax( 
   int min,
   int max
)
public: static ImGearVOIWindow CreateFromMinMax( 
   int min,
   int max
) 
public:
static ImGearVOIWindow CreateFromMinMax( 
   int min,
   int max
) 

Parameters

min
Window Minimum.
max
Window Maximum.

Return Value

ImGearVOIWindow structure object.
Remarks
This method creates Window transform from 32-bit integer Minimum and Maximum values. Please use CreateFromMinMax64 method if you are working with 17-32 bit per channel images.
Example
ImGearVOIWindow window = ImGearVOIWindow.CreateFromMinMax(1024, 2048);
Dim window As ImGearVOIWindow = ImGearVOIWindow.CreateFromMinMax(1024, 2048)
See Also

Reference

ImGearVOIWindow Structure
ImGearVOIWindow Members

Is this page helpful?
Yes No
Thanks for your feedback.