ImageGearJava Project > com.accusoft.imagegear.formats.dicom Package > ImGearDICOM Class > loadOverlay Method : loadOverlay(ImGearPage,boolean) Method |
useLegacyMarks
flag.public static ImGearARTPage loadOverlay( ImGearPage source, boolean useLegacyMarks ) |
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