Program: gdcm
Module: $RCSfile: gdcmFile.h,v $
Language: C++
- Date: $Date: 2005/07/20 13:31:01 $
- Version: $Revision: 1.111 $
+ Date: $Date: 2005/07/24 00:24:46 $
+ Version: $Revision: 1.113 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include "gdcmDebug.h"
#include "gdcmDocument.h"
+
+
namespace gdcm
{
+
+
+typedef struct
+{
+ float x;
+ float y;
+ float z;
+} vector3D;
+
+typedef std::pair<float, float> Res;
+
class RLEFramesInfo;
class JPEGFragmentsInfo;
float GetYOrigin();
float GetZOrigin();
- void GetImageOrientationPatient( float iop[6] );
+ bool GetImageOrientationPatient( float iop[6] );
int GetBitsStored();
int GetBitsAllocated();
bool Write(std::string fileName, FileType filetype);
+ float TypeOrientation( );
+
protected:
/// Store the RLE frames info obtained during parsing of pixels.
uint32_t ReadTagLength(uint16_t, uint16_t);
void ReadAndSkipEncapsulatedBasicOffsetTable();
+ Res VerfCriterion(int typeCriterion, float criterionNew, Res res);
+ float CalculLikelyhood2Vec(vector3D const & refA, vector3D const & refB,
+ vector3D const & ori1, vector3D const & ori2);
+ vector3D ProductVectorial(vector3D const & vec1, vector3D const & vec2);
};
} // end namespace gdcm