GDCM
2.4.5
|
Image This is the container for an Image in the general sense. From this container you should be able to request information like: More...
#include <gdcmImage.h>
Public Member Functions | |
Image () | |
~Image () | |
const double * | GetDirectionCosines () const |
double | GetDirectionCosines (unsigned int idx) const |
double | GetIntercept () const |
const double * | GetOrigin () const |
double | GetOrigin (unsigned int idx) const |
double | GetSlope () const |
const double * | GetSpacing () const |
double | GetSpacing (unsigned int idx) const |
void | Print (std::ostream &os) const |
print More... | |
void | SetDirectionCosines (const float *dircos) |
void | SetDirectionCosines (const double *dircos) |
void | SetDirectionCosines (unsigned int idx, double dircos) |
void | SetIntercept (double intercept) |
intercept More... | |
void | SetOrigin (const float *ori) |
void | SetOrigin (const double *ori) |
void | SetOrigin (unsigned int idx, double ori) |
void | SetSlope (double slope) |
slope More... | |
void | SetSpacing (const double *spacing) |
void | SetSpacing (unsigned int idx, double spacing) |
![]() | |
Pixmap () | |
~Pixmap () | |
bool | AreOverlaysInPixelData () const |
returns if Overlays are stored in the unused bit of the pixel data: More... | |
Curve & | GetCurve (size_t i=0) |
Curve: group 50xx. More... | |
const Curve & | GetCurve (size_t i=0) const |
const IconImage & | GetIconImage () const |
Set/Get Icon Image. More... | |
IconImage & | GetIconImage () |
size_t | GetNumberOfCurves () const |
size_t | GetNumberOfOverlays () const |
Overlay & | GetOverlay (size_t i=0) |
Overlay: group 60xx. More... | |
const Overlay & | GetOverlay (size_t i=0) const |
void | Print (std::ostream &) const |
void | RemoveOverlay (size_t i) |
void | SetIconImage (IconImage const &ii) |
void | SetNumberOfCurves (size_t n) |
void | SetNumberOfOverlays (size_t n) |
![]() | |
Bitmap () | |
~Bitmap () | |
void | Clear () |
bool | GetBuffer (char *buffer) const |
Acces the raw data. More... | |
unsigned long | GetBufferLength () const |
unsigned int | GetColumns () const |
const DataElement & | GetDataElement () const |
DataElement & | GetDataElement () |
unsigned int | GetDimension (unsigned int idx) const |
const unsigned int * | GetDimensions () const |
Return the dimension of the pixel data, first dimension (x), then 2nd (y), then 3rd (z)... More... | |
const LookupTable & | GetLUT () const |
LookupTable & | GetLUT () |
bool | GetNeedByteSwap () const |
unsigned int | GetNumberOfDimensions () const |
Return the number of dimension of the pixel data bytes; for example 2 for a 2D matrices of values. More... | |
const PhotometricInterpretation & | GetPhotometricInterpretation () const |
return the photometric interpretation More... | |
const PixelFormat & | GetPixelFormat () const |
Get/Set PixelFormat. More... | |
PixelFormat & | GetPixelFormat () |
unsigned int | GetPlanarConfiguration () const |
return the planar configuration More... | |
unsigned int | GetRows () const |
const TransferSyntax & | GetTransferSyntax () const |
bool | IsEmpty () const |
bool | IsLossy () const |
Return whether or not the image was compressed using a lossy compressor or not. More... | |
bool | IsTransferSyntaxCompatible (TransferSyntax const &ts) const |
void | SetColumns (unsigned int col) |
void | SetDataElement (DataElement const &de) |
void | SetDimension (unsigned int idx, unsigned int dim) |
void | SetDimensions (const unsigned int dims[3]) |
void | SetLossyFlag (bool f) |
Specifically set that the image was compressed using a lossy compression mechanism. More... | |
void | SetLUT (LookupTable const &lut) |
Set/Get LUT. More... | |
void | SetNeedByteSwap (bool b) |
void | SetNumberOfDimensions (unsigned int dim) |
void | SetPhotometricInterpretation (PhotometricInterpretation const &pi) |
void | SetPixelFormat (PixelFormat const &pf) |
void | SetPlanarConfiguration (unsigned int pc) |
void | SetRows (unsigned int rows) |
void | SetTransferSyntax (TransferSyntax const &ts) |
Transfer syntax. More... | |
![]() | |
Object () | |
Object (const Object &) | |
Special requirement for copy/cstor, assignment operator. More... | |
virtual | ~Object () |
void | operator= (const Object &) |
Additional Inherited Members | |
![]() | |
typedef SmartPointer< LookupTable > | LUTPtr |
![]() | |
bool | ComputeLossyFlag () |
bool | GetBuffer2 (std::ostream &os) const |
bool | TryJPEG2000Codec (char *buffer, bool &lossyflag) const |
bool | TryJPEG2000Codec2 (std::ostream &os) const |
bool | TryJPEGCodec (char *buffer, bool &lossyflag) const |
bool | TryJPEGCodec2 (std::ostream &os) const |
bool | TryJPEGLSCodec (char *buffer, bool &lossyflag) const |
bool | TryKAKADUCodec (char *buffer, bool &lossyflag) const |
bool | TryPVRGCodec (char *buffer, bool &lossyflag) const |
bool | TryRAWCodec (char *buffer, bool &lossyflag) const |
bool | TryRLECodec (char *buffer, bool &lossyflag) const |
![]() | |
void | Register () |
void | UnRegister () |
![]() | |
std::vector< Curve > | Curves |
SmartPointer< IconImage > | Icon |
std::vector< Overlay > | Overlays |
![]() | |
std::vector< unsigned int > | Dimensions |
bool | LossyFlag |
LUTPtr | LUT |
bool | NeedByteSwap |
unsigned int | NumberOfDimensions |
PixelFormat | PF |
PhotometricInterpretation | PI |
DataElement | PixelData |
unsigned int | PlanarConfiguration |
TransferSyntax | TS |
Image This is the container for an Image in the general sense. From this container you should be able to request information like:
Basically you can see it as a storage for the Pixel Data element (7fe0,0010).
|
inline |
|
inline |
const double* gdcm::Image::GetDirectionCosines | ( | ) | const |
Return a 6-tuples specifying the direction cosines A default value of (1,0,0,0,1,0) will be return when the direction cosines was not specified.
double gdcm::Image::GetDirectionCosines | ( | unsigned int | idx | ) | const |
|
inline |
const double* gdcm::Image::GetOrigin | ( | ) | const |
Return a 3-tuples specifying the origin Will return (0,0,0) if the origin was not specified.
double gdcm::Image::GetOrigin | ( | unsigned int | idx | ) | const |
|
inline |
const double* gdcm::Image::GetSpacing | ( | ) | const |
Return a 3-tuples specifying the spacing NOTE: 3rd value can be an aribtrary 1 value when the spacing was not specified (ex. 2D image). WARNING: when the spacing is not specifier, a default value of 1 will be returned
double gdcm::Image::GetSpacing | ( | unsigned int | idx | ) | const |
|
virtual |
void gdcm::Image::SetDirectionCosines | ( | const float * | dircos | ) |
void gdcm::Image::SetDirectionCosines | ( | const double * | dircos | ) |
void gdcm::Image::SetDirectionCosines | ( | unsigned int | idx, |
double | dircos | ||
) |
|
inline |
intercept
void gdcm::Image::SetOrigin | ( | const float * | ori | ) |
void gdcm::Image::SetOrigin | ( | const double * | ori | ) |
void gdcm::Image::SetOrigin | ( | unsigned int | idx, |
double | ori | ||
) |
|
inline |
slope
void gdcm::Image::SetSpacing | ( | const double * | spacing | ) |
void gdcm::Image::SetSpacing | ( | unsigned int | idx, |
double | spacing | ||
) |