ImageGear .NET v24.12 - Updated
SetAutoVOITransform Method
Example 




ImageGear24.Formats.Dicom Assembly > ImageGear.Formats.DICOM Namespace > ImGearDICOMDisplaySettings Class : SetAutoVOITransform Method
Page which minimum and maximum values are obtained to build the transform.
Automatically calculates VOI transform based on image's contrast range.
Syntax
'Declaration
 
Public Sub SetAutoVOITransform( _
   ByVal page As ImGearRasterPage _
) 
'Usage
 
Dim instance As ImGearDICOMDisplaySettings
Dim page As ImGearRasterPage
 
instance.SetAutoVOITransform(page)
public void SetAutoVOITransform( 
   ImGearRasterPage page
)
public: void SetAutoVOITransform( 
   ImGearRasterPage* page
) 
public:
void SetAutoVOITransform( 
   ImGearRasterPage^ page
) 

Parameters

page
Page which minimum and maximum values are obtained to build the transform.
Remarks
This method automatically calculates the linear VOI transform coefficients (Window Center and Width) based on image minimum and maximum values. It takes image's ROI (Region Of Interest) into account.
Example
ImGearRasterPage rasterPage = (ImGearRasterPage) igPage;
ImGearDICOMDisplaySettings dicomDisplaySettings = new ImGearDICOMDisplaySettings();
dicomDisplaySettings.SetAutoVOITransform(rasterPage);
Dim rasterPage As ImGearRasterPage = igPage
Dim dicomDisplaySettings As ImGearDICOMDisplaySettings = New ImGearDICOMDisplaySettings()
dicomDisplaySettings.SetAutoVOITransform(rasterPage)
See Also

Reference

ImGearDICOMDisplaySettings Class
ImGearDICOMDisplaySettings Members
ImGearRasterPage Class