Program: gdcm
Module: $RCSfile: gdcmFile.h,v $
Language: C++
- Date: $Date: 2006/05/30 08:18:50 $
- Version: $Revision: 1.128 $
+ Date: $Date: 2007/05/23 16:48:59 $
+ Version: $Revision: 1.132 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include "gdcmTagKey.h"
-namespace gdcm
+namespace GDCM_NAME_SPACE
{
class RLEFramesInfo;
int GetYSize();
int GetZSize();
int GetTSize(); // unnormalized in DICOM V3
-
+
+ bool GetSpacing(float &xspacing, float &yspacing, float &zspacing);
float GetXSpacing();
float GetYSpacing();
float GetZSpacing();
float GetXOrigin();
float GetYOrigin();
float GetZOrigin();
-
+
+ float GetXCosineOnX();
+ float GetXCosineOnY();
+ float GetXCosineOnZ();
+ float GetYCosineOnX();
+ float GetYCosineOnY();
+ float GetYCosineOnZ();
+
bool GetImageOrientationPatient( float iop[6] );
-
+ bool GetImagePositionPatient( float ipp[3] );
+
int GetBitsStored();
int GetBitsAllocated();
int GetHighBitPosition();
int GetLUTNbits();
// For rescaling graylevel:
- float GetRescaleIntercept();
- float GetRescaleSlope();
+ bool GetRescaleSlopeIntercept(double &slope, double &intercept);
+ double GetRescaleIntercept();
+ double GetRescaleSlope();
int GetNumberOfScalarComponents();
int GetNumberOfScalarComponentsRaw();