Overlay class.
More...
#include <gdcmOverlay.h>
Overlay class.
- Note
- see AreOverlaysInPixelData
- Todo:
- Is there actually any way to recognize an overlay ? On images with multiple overlay I do not see any way to differentiate them (other than the group tag).
Example:
◆ OverlayType
| Enumerator |
|---|
| Invalid | |
| Graphics | |
| ROI | |
◆ Overlay() [1/2]
| gdcm::Overlay::Overlay |
( |
| ) |
|
◆ ~Overlay()
| gdcm::Overlay::~Overlay |
( |
| ) |
|
|
override |
◆ Overlay() [2/2]
| gdcm::Overlay::Overlay |
( |
Overlay const & |
ov | ) |
|
◆ Decompress()
| void gdcm::Overlay::Decompress |
( |
std::ostream & |
os | ) |
const |
Decode the internal OverlayData (packed bits) into unpacked representation.
◆ GetBitPosition()
| unsigned short gdcm::Overlay::GetBitPosition |
( |
| ) |
const |
◆ GetBitsAllocated()
| unsigned short gdcm::Overlay::GetBitsAllocated |
( |
| ) |
const |
◆ GetColumns()
| unsigned short gdcm::Overlay::GetColumns |
( |
| ) |
const |
◆ GetDescription()
| const char * gdcm::Overlay::GetDescription |
( |
| ) |
const |
◆ GetGroup()
| unsigned short gdcm::Overlay::GetGroup |
( |
| ) |
const |
◆ GetOrigin()
| const signed short * gdcm::Overlay::GetOrigin |
( |
| ) |
const |
◆ GetOverlayData()
| const ByteValue & gdcm::Overlay::GetOverlayData |
( |
| ) |
const |
◆ GetOverlayTypeAsString()
| static const char * gdcm::Overlay::GetOverlayTypeAsString |
( |
OverlayType |
ot | ) |
|
|
static |
◆ GetOverlayTypeFromString()
| static OverlayType gdcm::Overlay::GetOverlayTypeFromString |
( |
const char * |
| ) |
|
|
static |
◆ GetRows()
| unsigned short gdcm::Overlay::GetRows |
( |
| ) |
const |
◆ GetType()
| const char * gdcm::Overlay::GetType |
( |
| ) |
const |
◆ GetTypeAsEnum()
◆ GetUnpackBuffer()
| bool gdcm::Overlay::GetUnpackBuffer |
( |
char * |
buffer, |
|
|
size_t |
len |
|
) |
| const |
◆ GetUnpackBufferLength()
| size_t gdcm::Overlay::GetUnpackBufferLength |
( |
| ) |
const |
Retrieve the size of the buffer needed to hold the Overlay as specified by Col & Row parameters
◆ GrabOverlayFromPixelData()
| bool gdcm::Overlay::GrabOverlayFromPixelData |
( |
DataSet const & |
ds | ) |
|
◆ IsEmpty()
| bool gdcm::Overlay::IsEmpty |
( |
| ) |
const |
Return whether or not the Overlay is empty:
◆ IsInPixelData() [1/2]
| bool gdcm::Overlay::IsInPixelData |
( |
| ) |
const |
return if the Overlay is stored in the pixel data or not
◆ IsInPixelData() [2/2]
| void gdcm::Overlay::IsInPixelData |
( |
bool |
b | ) |
|
Set whether or no the OverlayData is in the Pixel Data:
◆ IsZero()
| bool gdcm::Overlay::IsZero |
( |
| ) |
const |
return true if all bits are set to 0
◆ operator=()
◆ Print()
| void gdcm::Overlay::Print |
( |
std::ostream & |
| ) |
const |
|
overridevirtual |
◆ SetBitPosition()
| void gdcm::Overlay::SetBitPosition |
( |
unsigned short |
bitposition | ) |
|
◆ SetBitsAllocated()
| void gdcm::Overlay::SetBitsAllocated |
( |
unsigned short |
bitsallocated | ) |
|
◆ SetColumns()
| void gdcm::Overlay::SetColumns |
( |
unsigned short |
columns | ) |
|
◆ SetDescription()
| void gdcm::Overlay::SetDescription |
( |
const char * |
description | ) |
|
◆ SetFrameOrigin()
| void gdcm::Overlay::SetFrameOrigin |
( |
unsigned short |
frameorigin | ) |
|
◆ SetGroup()
| void gdcm::Overlay::SetGroup |
( |
unsigned short |
group | ) |
|
◆ SetNumberOfFrames()
| void gdcm::Overlay::SetNumberOfFrames |
( |
unsigned int |
numberofframes | ) |
|
◆ SetOrigin()
| void gdcm::Overlay::SetOrigin |
( |
const signed short |
origin[2] | ) |
|
◆ SetOverlay()
| void gdcm::Overlay::SetOverlay |
( |
const char * |
array, |
|
|
size_t |
length |
|
) |
| |
set overlay from byte array + length
◆ SetRows()
| void gdcm::Overlay::SetRows |
( |
unsigned short |
rows | ) |
|
◆ SetType()
| void gdcm::Overlay::SetType |
( |
const char * |
type | ) |
|
◆ Update()
Update overlay from data element de:
The documentation for this class was generated from the following file: