Program: gdcm
Module: $RCSfile: gdcmFile.h,v $
Language: C++
- Date: $Date: 2007/05/23 14:18:10 $
- Version: $Revision: 1.131 $
+ Date: $Date: 2007/08/22 16:14:04 $
+ Version: $Revision: 1.133 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
=========================================================================*/
-#ifndef GDCMFILE_H
-#define GDCMFILE_H
+#ifndef _GDCMFILE_H_
+#define _GDCMFILE_H_
#include "gdcmDebug.h"
#include "gdcmDocument.h"
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();
int GetLUTNbits();
// For rescaling graylevel:
- float GetRescaleIntercept();
- float GetRescaleSlope();
+ bool GetRescaleSlopeIntercept(double &slope, double &intercept);
+ double GetRescaleIntercept();
+ double GetRescaleSlope();
int GetNumberOfScalarComponents();
int GetNumberOfScalarComponentsRaw();