ImageGear Professional for Windows ActiveX
ApplyPresDataFrom Method

Description:

Extracts Presentation State data from DICOM DataSet of PresStatePage, and adjusts display of the IGMedPage Object based on this data, and on the StdDsplLUT, if it is not empty.

This function may result in the following:

If there are no VOI or Modality LUT in the PresState, the function tries to find them in the DataSet of IGMedPage Object on which the method has been called. If there are no such LUTs there, default values are taken.

If MED_PS_FEATURE_PRES_LUT bit flag is set in the Flags parameter, the function assumes that MED_PS_FEATURE_CONTRAST is set as well.

This method replaces IGMedPage.ApplyPresentationDataFrom Method. It works with the new class IGLUT, which is more flexible, and is supported by some new API methods.

Syntax:

      ApplyPresDataFrom (PresState as IGMedPage, PageDisplay as
IGPageDisplay, Flags as Long, StdDsplLUT as IGLUT); 

Parameters:

Name Description
PresState DICOM Page from which to extract PS Data.
PageDisplay IGPageDisplay settings.
Flags PS flags parameter.
StdDsplLUT IGLUT object.

Return Value:

N/A

Bits Per Pixel:

N/A

Sample:

Med

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback