33 #include "dcmtk/config/osconfig.h"
35 #include "dcmtk/ofstd/ofcast.h"
37 #include "dcmtk/dcmimgle/dimoimg.h"
38 #include "dcmtk/dcmimgle/didispfn.h"
39 #include "dcmtk/dcmimgle/diutils.h"
82 const unsigned long flags = 0,
83 const unsigned long fstart = 0,
84 const unsigned long fcount = 0);
100 const E_TransferSyntax xfer,
101 const unsigned long flags = 0,
102 const unsigned long fstart = 0,
103 const unsigned long fcount = 0);
122 const E_TransferSyntax xfer,
124 const double intercept,
125 const unsigned long flags = 0,
126 const unsigned long fstart = 0,
127 const unsigned long fcount = 0);
147 E_TransferSyntax xfer,
151 const unsigned long flags = 0,
152 const unsigned long fstart = 0,
153 const unsigned long fcount = 0);
179 return (
Image != NULL) ?
192 static const char *
getString(
const EI_Status status);
200 static const char *
getString(
const EP_Interpretation interpret);
208 return (
Image != NULL) ?
221 return (
Image != NULL) ?
233 return (
Image != NULL) ?
244 return (
Image != NULL) ?
254 return (
Image != NULL) ?
264 return (
Image != NULL) ?
274 return (
Image != NULL) ?
293 const int mode = 0)
const
307 return (
Image != NULL) ?
320 return (
Image != NULL) ?
332 return (
Image != NULL) ?
344 return (
Image != NULL) ?
375 return (
Image != NULL) ?
398 const unsigned long frame = 0,
399 const int planar = 0)
401 return (
Image != NULL) ?
424 const unsigned long size,
426 const unsigned long frame = 0,
427 const int planar = 0)
429 return (
Image != NULL) ?
446 return (
Image != NULL) ?
498 return (
Image != NULL) ?
635 const unsigned long top_pos,
636 const unsigned long width,
637 const unsigned long height,
638 const unsigned long frame = 0)
743 const EL_BitsPerTableEntry descripMode = ELM_UseValue)
759 const EL_BitsPerTableEntry descripMode = ELM_UseValue)
832 return (
Image != NULL) ?
846 return (
Image != NULL) ?
864 const unsigned int max,
865 const unsigned int reflect,
866 const unsigned int illumin)
918 const EL_BitsPerTableEntry descripMode = ELM_UseValue)
946 const EL_BitsPerTableEntry descripMode = ELM_UseValue)
972 const signed int left_pos,
973 const signed int top_pos,
974 const unsigned int width,
975 const unsigned int height,
979 const EM_Overlay mode = EMO_Default)
1017 const unsigned int idx = 0)
1032 const unsigned int idx = 0)
1049 const EM_Overlay mode,
1050 const double fore = 1.0,
1051 const double thresh = 0.5,
1052 const unsigned int idx = 0)
1066 const Uint16 pvalue)
1096 const double fore = 1,
1097 const double thresh = 0.5,
1098 const unsigned int idx = 0)
1113 const unsigned int idx = 0)
1143 const signed int left_pos,
1144 const signed int top_pos,
1145 const unsigned int idx = 0)
1171 const unsigned int idx = 0)
const
1185 const unsigned int idx = 0)
const
1199 const unsigned int idx = 0)
const
1213 const unsigned int idx = 0)
const
1247 unsigned int &left_pos,
1248 unsigned int &top_pos,
1249 unsigned int &width,
1250 unsigned int &height,
1252 const unsigned long frame = 0,
1254 const Uint16 fore = 0xff,
1255 const Uint16 back = 0x0,
1256 const unsigned int idx = 2)
const
1259 Image->
getMonoImagePtr()->
getOverlayData(frame, plane, left_pos, top_pos, width, height, mode, idx, bits, fore, back) : NULL;
1283 unsigned int &width,
1284 unsigned int &height,
1285 const unsigned long frame = 0,
1287 const Uint16 fore = 0xff,
1288 const Uint16 back = 0x0,
1289 const unsigned int idx = 0)
const
1321 const unsigned int plane,
1322 unsigned int &width,
1323 unsigned int &height,
1324 unsigned long &frames,
1325 const unsigned int idx = 0)
const
1343 unsigned long fcount = 0)
const;
1361 const unsigned long height = 0,
1362 const int interpolate = 0,
1363 int aspect = 0)
const;
1381 const double yfactor = 0,
1382 const int interpolate = 0,
1383 const int aspect = 0)
const;
1408 const signed long top_pos,
1409 unsigned long clip_width,
1410 unsigned long clip_height,
1411 unsigned long scale_width = 0,
1412 unsigned long scale_height = 0,
1413 const int interpolate = 0,
1415 const Uint16 pvalue = 0)
const;
1440 const signed long top_pos,
1441 unsigned long width,
1442 unsigned long height,
1443 const double xfactor,
1444 const double yfactor = 0,
1445 const int interpolate = 0,
1446 const int aspect = 0,
1447 const Uint16 pvalue = 0)
const;
1462 const signed long top_pos,
1463 unsigned long width = 0,
1464 unsigned long height = 0,
1465 const Uint16 pvalue = 0)
const;
1477 int vert = 0)
const;
1488 int vert = 0)
const;
1521 const double green = 0.587,
1522 const double blue = 0.114)
const;
1549 const unsigned long size,
1550 const unsigned long frame = 0,
1551 const int bits = 24,
1552 const int upsideDown = 0,
1553 const int padding = 1)
1555 return (
Image != NULL) ?
1556 Image->
createDIB(data, size, frame, bits, upsideDown, padding) : 0;
1572 const unsigned long frame = 0,
1573 const int bits = 32)
1575 return (
Image != NULL) ?
1589 const unsigned long size,
1590 const unsigned long count)
1638 const unsigned long frame = 0,
1639 const int planar = 0)
1641 return (
Image != NULL) ?
1675 const int planar = 2)
1677 return (
Image != NULL) ?
1696 const unsigned long frame = 0);
1711 int writePPM(STD_NAMESPACE ostream& stream,
1713 const unsigned long frame = 0);
1730 const unsigned long frame = 0);
1747 const unsigned long frame= 0);
1764 const unsigned long frame = 0);
1780 const unsigned long frame = 0);
1796 const unsigned long frame = 0);
1809 const unsigned long frame = 0);
1821 const char *filename,
1822 const unsigned long frame = 0);
1835 const EP_Interpretation interpret = EPI_Unknown);
Uint32 getNumberOfFrames() const
get number of frames
int hideAllOverlays(const unsigned int idx=0)
deactivate all overlay planes (make them invisible)
const void * getOutputData(const int bits=0, const unsigned long frame=0, const int planar=0)
render pixel data and return pointer to internal memory buffer.
unsigned long getOutputDataSize(const int bits=0) const
get number of bytes required for the rendered output of a single frame.
virtual const void * getOutputData(const unsigned long frame, const int bits, const int planar)=0
get pixel data with specified format (abstract).
a class representing a list of DICOM elements in which each element has a different tag and elements ...
DicomImage * createFlippedImage(int horz=1, int vert=0) const
create a flipped copy of the current image.
Uint16 getRows() const
get number of rows
unsigned long getWindowCount() const
get number of VOI windows (stored in image file)
unsigned int getCount() const
get number of overlay planes
int setHardcopyParameters(const unsigned int min, const unsigned int max, const unsigned int reflect, const unsigned int illumin)
set hardcopy parameters.
Uint16 getColumns() const
get number of columns
int writeBMP(FILE *stream, const int bits=0, const unsigned long frame=0)
write pixel data to BMP file (specified by open C stream).
a class used to represent overlay data (60xx,3000)
ES_PresentationLut getPresentationLutShape() const
get shape for presentation transformation.
int removeAllOverlays()
remove all additional overlay planes
EI_Status getStatus() const
get current status information
const void * getOverlayData(const unsigned int plane, unsigned int &left_pos, unsigned int &top_pos, unsigned int &width, unsigned int &height, EM_Overlay &mode, const unsigned long frame=0, const int bits=8, const Uint16 fore=0xff, const Uint16 back=0x0, const unsigned int idx=2) const
create bitmap for specified overlay plane.
DiImage * Image
points to image object
int setVoiLutFunction(const EF_VoiLutFunction function)
set VOI LUT function
EP_Polarity getPolarity() const
get polarity.
const char * getSOPclassUID() const
get SOP class UID of current image object
int setVoiLut(const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const DcmLongString *explanation=NULL, const EL_BitsPerTableEntry descripMode=ELM_UseValue)
set VOI LUT (given by dcmdata elements).
const char * getVoiTransformationExplanation() const
get description of active VOI transformation
int addOverlay(const unsigned int group, const signed int left_pos, const signed int top_pos, const unsigned int width, const unsigned int height, const DcmOverlayData &data, const DcmLongString &label, const DcmLongString &description, const EM_Overlay mode=EMO_Default)
add specified plane to group of additional overlay planes.
EM_Overlay getOverlayMode(const unsigned int plane, const unsigned int idx=0) const
get mode of specified overlay plane
unsigned long getHeight() const
get image height in pixels
void deleteOverlayData() const
delete buffer for overlay plane data.
int placeOverlay(const unsigned int plane, const signed int left_pos, const signed int top_pos, const unsigned int idx=0)
move origin of specified overlay plane to given position
int hidePlane(unsigned int plane)
make specified plane invisible
double getHeightWidthRatio() const
get height width ratio (pixel aspect ratio: y/x).
int writePPM(const char *filename, const int bits=0, const unsigned long frame=0)
write pixel data to PPM file (specified by filename).
virtual int writeImageToDataset(DcmItem &dataset, const int mode=0, const int planar=2)=0
write current image and related attributes to DICOM dataset.
const char * getVoiTransformationExplanation() const
get description of active VOI transformation
int removeAllOverlays()
remove all additional overlay planes
int writeRawPPM(const char *filename, const int bits=0, const unsigned long frame=0)
write pixel data to raw PPM file (specified by filename).
virtual unsigned long createAWTBitmap(void *&data, const unsigned long frame, const int bits)=0
create true color (32 bit) bitmap for Java AWT (abstract).
int showAllPlanes()
make all planes visible
virtual int getBits(const int bits=0) const
get number of bits per sample.
int setHistogramWindow(const double thresh=0.05)
set automatically calculated histogram window.
int setVoiLut(const unsigned long table, const EL_BitsPerTableEntry descripMode=ELM_UseValue)
set VOI LUT (given by index to VOI LUT sequence stored in image file).
const char * getPresentationLutExplanation() const
get description of active presentation LUT
virtual const void * getOutputPlane(const int plane) const =0
get pixel data of specified plane (abstract).
virtual const DiPixel * getInterData() const =0
get access to intermediate pixel data representation (abstract)
const char * getVoiWindowExplanation(const unsigned long pos, OFString &explanation) const
get description of specified VOI window (stored in the image file)
int setPresentationLut(const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const DcmLongString *explanation=NULL, const EL_BitsPerTableEntry descripMode=ELM_UseValue)
set LUT for presentation transformation.
unsigned long create6xxx3000OverlayData(Uint8 *&buffer, const unsigned int plane, unsigned int &width, unsigned int &height, unsigned long &frames, const unsigned int idx=0)
create bitmap for specified overlay plane and store it in (6xxx,3000) format.
int setPolarity(const EP_Polarity polarity)
set polarity.
const char * getModalityLutExplanation() const
get description of performed modality LUT transformation
Interface class to DICOM data management (dcmdata).
int processNextFrames(const unsigned long fcount=0)
process next couple of frames.
void deleteOutputData() const
delete internal memory buffer used for rendered images.
unsigned long getFirstFrame() const
get index of first frame.
virtual unsigned long createDIB(void *&data, const unsigned long size, const unsigned long frame, const int bits, const int upsideDown, const int padding=1)=0
create true color (24/32 bit) or palette (8 bit) bitmap for MS Windows (abstract).
int setWidthHeightRatio(const double ratio) const
set width height ratio (pixel aspect ratio: x/y)
int setNoVoiTransformation()
unset all VOI transformations (windows and LUTs).
int rotateImage(signed int degree) const
rotate current image (by steps of 90 degrees)
int setMinMaxWindow(const int idx=1)
set automatically calculated minimum/maximum window.
int isMonochrome() const
check whether image is monochrome or not.
int deleteDisplayLUT(const int bits=0)
delete specified display LUT(s)
unsigned long getFrameCount() const
get number of frames.
int getDepth() const
get image depth
virtual ~DicomImage()
destructor
const char * getPlaneLabel(unsigned int plane) const
get label of specified plane
int setNoDisplayFunction()
set no display function.
void deleteOverlayData()
delete buffer for overlay plane data.
int getWindow(double ¢er, double &width)
get current window center and width values
double getRowColumnRatio() const
get pixel's rows/column ratio
unsigned long getVoiLutCount() const
get number of VOI LUTs (stored in image file)
int addOverlay(const unsigned int group, const signed int left_pos, const signed int top_pos, const unsigned int columns, const unsigned int rows, const DcmOverlayData &data, const DcmLongString &label, const DcmLongString &description, const EM_Overlay mode)
add specified plane to group of additional overlay planes.
Abstract base class for most classes in module dcmdata.
int setMinMaxWindow(const int idx=0)
set automatically calculated minimum/maximum window.
const char * getOverlayLabel(const unsigned int plane, const unsigned int idx=0) const
get label of specified overlay plane
int setNoDisplayFunction()
set no display function.
int writeFrameToDataset(DcmItem &dataset, const unsigned long frame=0, const int bits=0, const int planar=0)
render pixel data of given frame and write image related attributes to DICOM dataset.
virtual unsigned long getOutputDataSize(const int bits=0) const =0
get number of bytes required for the rendered output of a single frame
static void * create12BitPackedBitmap(const void *buffer, const unsigned long size, const unsigned long count)
create 12 bit packed (monochrome) bitmap for DICOM printers.
const void * getOutputPlane(const int plane) const
render pixel data and return pointer to given plane (internal memory buffer).
DiDisplayFunction * getDisplayFunction() const
get display function
void Init()
initialize object.
int isOverlayVisible(const unsigned int plane, const unsigned int idx=0)
check whether specified overlay plane is visible/activated.
EF_VoiLutFunction getVoiLutFunction() const
get VOI LUT function.
const char * getOverlayDescription(const unsigned int plane, const unsigned int idx=0) const
get description of specified overlay plane
double getColumnRowRatio() const
get pixel's column/rows ratio
int setNoVoiTransformation()
unset all VOI transformations (windows and LUTs).
const char * getModalityLutExplanation() const
get description of performed modality LUT transformation
DicomImage(const char *filename, const unsigned long flags=0, const unsigned long fstart=0, const unsigned long fcount=0)
constructor, open a DICOM file.
int deleteDisplayLUT(const int bits)
delete specified display LUT(s)
int setColumnRowRatio(const double ratio)
set pixel's column/rows ratio
int setVoiLutFunction(const EF_VoiLutFunction function)
set VOI LUT function.
const char * getVoiLutExplanation(const unsigned long pos, OFString &explanation) const
get description of specified VOI LUT (stored in the image file)
unsigned long createWindowsDIB(void *&data, const unsigned long size, const unsigned long frame=0, const int bits=24, const int upsideDown=0, const int padding=1)
create true color (24/32 bit) or palette (8 bit) bitmap for MS Windows.
virtual void deleteOutputData()=0
delete internally handled output memory buffer (abstract)
DicomImage * createMonochromeImage(const double red=0.299, const double green=0.587, const double blue=0.114) const
create monochrome copy of the current image.
int setPresentationLutShape(const ES_PresentationLut shape)
set shape for presentation transformation.
a class that allows for a lookup of Transfer Syntax properties and readable descriptions ...
int getMinMaxValues(double &min, double &max, const int mode=0) const
get minimum and maximum pixel values.
virtual DiMonoImage * getMonoImagePtr()
get pointer to monochrome image object
a class representing the DICOM value representation 'Long String' (LO)
int setPolarity(const EP_Polarity polarity)
set polarity.
const char * getVoiWindowExplanation(const unsigned long window, OFString &explanation) const
get description of specified VOI window (stored in the image file)
const char * getPlaneDescription(unsigned int plane) const
get description of specified plane
int showOverlay(const unsigned int plane, const EM_Overlay mode, const double fore=1.0, const double thresh=0.5, const unsigned int idx=0)
activate specified overlay plane and change some parameters
EI_Status getStatus() const
get status of the image object
unsigned long getRepresentativeFrame() const
get index of representative frame.
int showAllOverlays(const EM_Overlay mode, const double fore=1, const double thresh=0.5, const unsigned int idx=0)
activate all overlay planes and set specified parameters
int writeImageToDataset(DcmItem &dataset, const int mode=0, const int planar=2)
write current image and related attributes to DICOM dataset.
int showOverlay(const unsigned int plane, const Uint16 pvalue)
activate specified overlay plane and change 'pvalue' (only for bitmap shutters)
DicomImage * createClippedImage(const signed long left_pos, const signed long top_pos, unsigned long width=0, unsigned long height=0, const Uint16 pvalue=0) const
create copy of specified area of the current image object (clipping).
ES_PresentationLut getPresentationLutShape() const
get shape for presentation transformation.
int writeFrameToDataset(DcmItem &dataset, const int bits=0, const unsigned long frame=0, const int planar=0)
render pixel data of the given frame and write image related attributes to DICOM dataset.
const char * getPresentationLutExplanation() const
get description of active presentation LUT
DiDisplayFunction * getDisplayFunction() const
get display function
static const char * getString(const EI_Status status)
convert status code to status string
int flipImage(int horz=1, int vert=0) const
flip current image (horizontally and/or vertically)
int setHeightWidthRatio(const double ratio) const
set height width ratio (pixel aspect ratio: y/x)
EI_Status ImageStatus
current state of converting progress (error level)
EM_Overlay getPlaneMode(unsigned int plane) const
get overlay mode of specified plane
int convertPValueToDDL(const Uint16 pvalue, Uint16 &ddl, const int bits)
convert P-value to DDL.
int setWindow(const double center, const double width)
set specified window (given by window width and center).
EP_Interpretation getPhotometricInterpretation() const
get code for photometric interpretation (color model).
int isPlaneVisible(unsigned int plane)
check whether specified plane is currently visible (not hidden)
Uint32 getFirstFrame() const
get index of first frame
double getWidthHeightRatio() const
get width height ratio (pixel aspect ratio: x/y).
unsigned long create6xxx3000OverlayData(Uint8 *&buffer, const unsigned int plane, unsigned int &width, unsigned int &height, unsigned long &frames, const unsigned int idx=0) const
create bitmap for specified overlay plane and store it in (6xxx,3000) format.
unsigned int getPlaneGroupNumber(unsigned int plane) const
get group number of specified plane
const char * getVoiLutExplanation(const unsigned long table, OFString &explanation) const
get description of specified VOI LUT (stored in the image file)
const DiPixel * getInterData() const
get intermediate pixel data representation (read-only).
int setRoiWindow(const unsigned long left_pos, const unsigned long top_pos, const unsigned long width, const unsigned long height, const unsigned long frame)
set automatically calculated VOI window for the specified Region of Interest (ROI).
Class to handle hardcopy and softcopy device characteristics file and manage display LUTs (for calibr...
EF_VoiLutFunction getVoiLutFunction() const
get VOI LUT function.
a class representing the DICOM value representation 'Unsigned Short' (US)
int setRowColumnRatio(const double ratio)
set pixel's rows/column ratio
int hasSOPclassUID(const char *uid) const
check whether image has given SOP class UID.
DicomImage * createRotatedImage(signed int degree) const
create a rotated copy of the current image.
DicomImage * createMonoOutputImage(const unsigned long frame, const int bits)
create new single frame DicomImage with applied grayscale transformations.
int getWindow(double ¢er, double &width)
get current window center and width values
int setRoiWindow(const unsigned long left_pos, const unsigned long top_pos, const unsigned long width, const unsigned long height, const unsigned long frame=0)
set automatically calculated VOI window for the specified Region of Interest (ROI).
int setPresentationLutShape(const ES_PresentationLut shape)
set shape for presentation transformation.
Uint32 getRepresentativeFrame() const
get representative frame
int showPlane(unsigned int plane)
make specified plane visible
Interface class for dcmimgle/dcmimage module.
int hideOverlay(const unsigned int plane, const unsigned int idx=0)
deactivate specified overlay plane
virtual int processNextFrames(const unsigned long fcount)
process next couple of frames
int isValueUnused(const unsigned long value)
check whether given output value is unused
int setInversePresentationLut(const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const EL_BitsPerTableEntry descripMode=ELM_UseValue)
set inverse LUT for presentation transformation.
EP_Interpretation PhotometricInterpretation
DICOM color model (enumeration)
int setWindow(const unsigned long window)
set specified window (given by index to window width/center sequence stored in image file)...
a simple string class that implements a subset of std::string.
int checkDataDictionary()
check whether data dictionary is present
int hideAllPlanes()
make all planes invisible
unsigned long getWindowCount() const
get number of VOI windows (stored in image file).
static void * createPackedBitmap(const void *buffer, const unsigned long size, const unsigned long count, const int alloc, const int stored)
create packed bitmap (e.g.
Abstract base class to handle pixel data.
int setDisplayFunction(DiDisplayFunction *display)
set display function
DiDocument * Document
points to document object
int setInversePresentationLut(const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const EL_BitsPerTableEntry descripMode=ELM_UseValue)
set inverse LUT for presentation transformation.
int removePlane(const unsigned int group)
remove specified plane from list of additional overlay planes
int placePlane(unsigned int plane, const signed int left_pos, const signed int top_pos)
move plane to a new place
const void * getOverlayData(const unsigned long frame, const unsigned int plane, unsigned int &left_pos, unsigned int &top_pos, unsigned int &width, unsigned int &height, EM_Overlay &mode, const unsigned int idx, const int bits=8, const Uint16 fore=0xff, const Uint16 back=0x0)
create bitmap for specified overlay plane.
unsigned int getOverlayCount(const unsigned int idx=0) const
get number of overlay planes
int getOutputData(void *buffer, const unsigned long size, const int bits=0, const unsigned long frame=0, const int planar=0)
render pixel data and output to given memory buffer.
int setPresentationLut(const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const DcmLongString *explanation=NULL, const EL_BitsPerTableEntry descripMode=ELM_UseValue)
set LUT for presentation transformation.
unsigned long getWidth() const
get image width in pixels
DicomImage * createScaledImage(const unsigned long width, const unsigned long height=0, const int interpolate=0, int aspect=0) const
create scaled copy of current image object (given by exact size).
int setHistogramWindow(const double thresh)
set automatically calculated histogram window.
int writePluginFormat(const DiPluginFormat *plugin, FILE *stream, const unsigned long frame=0)
write pixel data to plugable image format file (specified by open C stream).
int removeOverlay(const unsigned int group)
remove specified (additional) overlay plane
DicomImage * createDicomImage(unsigned long fstart=0, unsigned long fcount=0) const
create copy of current image object.
int getMinMaxValues(double &min, double &max, const int mode) const
get minimum and maximum pixel values.
const void * getFullOverlayData(const unsigned long frame, const unsigned int plane, unsigned int &width, unsigned int &height, const unsigned int idx, const int bits=8, const Uint16 fore=0xff, const Uint16 back=0x0)
create bitmap for specified overlay plane.
unsigned long getVoiLutCount() const
get number of VOI LUTs (stored in image file)
int setVoiLut(const DcmUnsignedShort &data, const DcmUnsignedShort &descriptor, const DcmLongString *explanation, const EL_BitsPerTableEntry descripMode=ELM_UseValue)
set VOI LUT (given by dcmdata elements).
int showAllOverlays(const unsigned int idx=0)
activate all overlay planes (make them visible)
unsigned int getOverlayGroupNumber(const unsigned int plane, const unsigned int idx=0) const
get group number of specified overlay plane
int isOutputValueUnused(const unsigned long value)
check whether given output value is unused
int setWindow(const unsigned long pos=0)
set specified window (given by index to window width/center sequence stored in image file)...
const void * getFullOverlayData(const unsigned int plane, unsigned int &width, unsigned int &height, const unsigned long frame=0, const int bits=8, const Uint16 fore=0xff, const Uint16 back=0x0, const unsigned int idx=0) const
create bitmap for specified overlay plane.
int setDisplayFunction(DiDisplayFunction *display)
set display function
int normalizeDegreeValue(signed int °ree) const
normalize given degree value (for internal use).
unsigned long createJavaAWTBitmap(void *&data, const unsigned long frame=0, const int bits=32)
create true color (32 bit) or palette (8 bit) bitmap for Java (AWT default format).
virtual DiOverlay * getOverlayPtr(const unsigned int)
get pointer to the object managing the overlay planes
int showOverlay(const unsigned int plane, const unsigned int idx=0)
activate specified overlay plane
EP_Polarity getPolarity() const
get polarity.
int convertPValueToDDL(const Uint16 pvalue, Uint16 &ddl, const int bits=8)
convert P-value to DDL.
int setHardcopyParameters(const unsigned int min, const unsigned int max, const unsigned int reflect, const unsigned int illumin)
set hardcopy parameters.