Developer documentation
Version 3.0.3-105-gd3941f44
quick_scan.h
Go to the documentation of this file.
1
/* Copyright (c) 2008-2022 the MRtrix3 contributors.
2
*
3
* This Source Code Form is subject to the terms of the Mozilla Public
4
* License, v. 2.0. If a copy of the MPL was not distributed with this
5
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
*
7
* Covered Software is provided under this License on an "as is"
8
* basis, without warranty of any kind, either expressed, implied, or
9
* statutory, including, without limitation, warranties that the
10
* Covered Software is free of defects, merchantable, fit for a
11
* particular purpose or non-infringing.
12
* See the Mozilla Public License v. 2.0 for more details.
13
*
14
* For more details, see http://www.mrtrix.org/.
15
*/
16
17
#ifndef __file_dicom_quick_scan_h__
18
#define __file_dicom_quick_scan_h__
19
20
#include <map>
21
#include "
mrtrix.h
"
22
23
namespace
MR
{
24
namespace
File {
25
namespace
Dicom {
26
27
class
QuickScan
{
NOMEMALIGN
28
29
public
:
30
bool
read
(
const
std::string& file_name,
bool
print_DICOM_fields =
false
,
bool
print_CSA_fields =
false
,
bool
print_Phoenix =
false
,
bool
force_read =
false
);
31
32
std::string
filename
,
modality
;
33
std::string
patient
,
patient_ID
,
patient_DOB
;
34
std::string
study
,
study_ID
,
study_UID
,
study_date
,
study_time
;
35
std::string
series
,
series_ref_UID
,
series_date
,
series_time
,
sequence
;
36
std::map<std::string, size_t>
image_type
;
37
size_t
series_number
,
bits_alloc
,
dim
[2],
data
;
38
bool
transfer_syntax_supported
;
39
};
40
41
std::ostream&
operator<<
(std::ostream& stream,
const
QuickScan
& file);
42
43
}
44
}
45
}
46
47
#endif
48
MR::File::Dicom::QuickScan
Definition:
quick_scan.h:27
MR::File::Dicom::QuickScan::filename
std::string filename
Definition:
quick_scan.h:32
MR::File::Dicom::QuickScan::bits_alloc
size_t bits_alloc
Definition:
quick_scan.h:37
MR::File::Dicom::QuickScan::series_ref_UID
std::string series_ref_UID
Definition:
quick_scan.h:35
MR::File::Dicom::QuickScan::transfer_syntax_supported
bool transfer_syntax_supported
Definition:
quick_scan.h:38
MR::File::Dicom::QuickScan::patient_DOB
std::string patient_DOB
Definition:
quick_scan.h:33
MR::File::Dicom::QuickScan::study_time
std::string study_time
Definition:
quick_scan.h:34
MR::File::Dicom::QuickScan::patient
std::string patient
Definition:
quick_scan.h:33
MR::File::Dicom::QuickScan::study
std::string study
Definition:
quick_scan.h:34
MR::File::Dicom::QuickScan::series_date
std::string series_date
Definition:
quick_scan.h:35
MR::File::Dicom::QuickScan::sequence
std::string sequence
Definition:
quick_scan.h:35
MR::File::Dicom::QuickScan::study_date
std::string study_date
Definition:
quick_scan.h:34
MR::File::Dicom::QuickScan::data
size_t data
Definition:
quick_scan.h:37
MR::File::Dicom::QuickScan::patient_ID
std::string patient_ID
Definition:
quick_scan.h:33
MR::File::Dicom::QuickScan::study_UID
std::string study_UID
Definition:
quick_scan.h:34
MR::File::Dicom::QuickScan::series
std::string series
Definition:
quick_scan.h:35
MR::File::Dicom::QuickScan::series_number
size_t series_number
Definition:
quick_scan.h:37
MR::File::Dicom::QuickScan::series_time
std::string series_time
Definition:
quick_scan.h:35
MR::File::Dicom::QuickScan::modality
std::string modality
Definition:
quick_scan.h:32
MR::File::Dicom::QuickScan::study_ID
std::string study_ID
Definition:
quick_scan.h:34
MR::File::Dicom::QuickScan::image_type
std::map< std::string, size_t > image_type
Definition:
quick_scan.h:36
MR::File::Dicom::QuickScan::read
bool read(const std::string &file_name, bool print_DICOM_fields=false, bool print_CSA_fields=false, bool print_Phoenix=false, bool force_read=false)
MR::File::Dicom::QuickScan::dim
size_t dim[2]
Definition:
quick_scan.h:37
NOMEMALIGN
#define NOMEMALIGN
Definition:
memory.h:22
mrtrix.h
MR::File::Dicom::operator<<
std::ostream & operator<<(std::ostream &stream, const Patient &item)
MR
Definition:
base.h:24
core
file
dicom
quick_scan.h
Generated on Mon Jul 4 2022 08:00:06 for MRtrix by
1.9.3