| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #ifndef _DicomIO_h_
- #define _DicomIO_h_
- /*
- #include "../Pattern/Singleton.h"
- #include "../Container/ExtendedImage.h"
- #include "../Container/Video.h"
- class DcmDataset;
- class DicomIO : public Singleton< DicomIO >
- {
- public:
- enum DicomIOType
- {
- DicomIOUnknown = 0,
- DicomIOUnmanaged,
- DicomIOImage,
- DicomIOMultiFrame
- };
- DicomIOType getType( std::string fileName );
- bool read( std::string fileName, ExtendedImage& image );
- bool write( std::string fileName, ExtendedImage& image );
- bool read( std::string fileName, Video& image );
-
- bool HasCalibration();
- protected:
- DicomIO();
- virtual ~DicomIO();
- friend class Singleton< DicomIO >;
- bool readResolutions( DcmDataset* dataset, double& sizeX, double& sizeY );
-
- bool m_calibrated;
- };
- */
- #endif
|