ImageGear for Java
loadOverlay(ImGearPage,boolean) Method
Page from which to load overlay planes.
Specifies whether to create overlays using legacy com.accusoft.imagegear.art.ImGearARTImageEmb or new com.accusoft.imagegear.art.ImGearARTImage mark.
Loads overlay planes from DICOM metadata of the specified page, taking into account useLegacyMarks flag.
Syntax
public static ImGearARTPage loadOverlay( 
   ImGearPage source,
   boolean useLegacyMarks
)

Parameters

source
Page from which to load overlay planes.
useLegacyMarks
Specifies whether to create overlays using legacy com.accusoft.imagegear.art.ImGearARTImageEmb or new com.accusoft.imagegear.art.ImGearARTImage mark.

Return Value

New com.accusoft.imagegear.art.ImGearARTPage class with annotations loaded from overlay data.

Loads overlay planes from DICOM metadata (DataSet), attached to the image, and creates ART marks of type either com.accusoft.imagegear.art.ImGearARTImage or com.accusoft.imagegear.art.ImGearARTImageEmb class for each overlay plane. Each mark is placed in a separate ART group.

Overlay planes do not support specifying the colors (even black or white). An overlay pixel can only be visible or invisible. All visible overlay pixels are displayed with the same color, which is specified by the application and not stored in the DICOM DataSet. By default ImageGear uses yellow color to display overlays. The application can change overlay color by going through all marks in the com.accusoft.imagegear.art.ImGearARTPage class and changing palette of either com.accusoft.imagegear.art.ImGearARTImage or com.accusoft.imagegear.art.ImGearARTImageEmb class marks.

com.accusoft.imagegear.core.ImGearRasterPageT:com.accusoft.imagegear.art.ImGearARTImagecom.accusoft.imagegear.art.ImGearARTImageEmb

See Also

Reference

ImGearDICOM Class
ImGearDICOM Members
Overload List

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback