ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkGDCMSeriesFileNames.h>
Public Types | |
typedef SmartPointer< Self > | Pointer |
typedef GDCMSeriesFileNames | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Private Member Functions | |
GDCMSeriesFileNames (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
std::string | m_InputDirectory |
FilenamesContainer | m_InputFileNames |
bool | m_LoadPrivateTags |
bool | m_LoadSequences |
std::string | m_OutputDirectory |
FilenamesContainer | m_OutputFileNames |
bool | m_Recursive |
gdcm::SerieHelper * | m_SerieHelper |
SerieUIDContainer | m_SeriesUIDs |
bool | m_UseSeriesDetails |
virtual void | SetLoadPrivateTags (bool _arg) |
virtual bool | GetLoadPrivateTags () const |
virtual void | LoadPrivateTagsOn () |
virtual void | LoadPrivateTagsOff () |
GDCMSeriesFileNames () | |
~GDCMSeriesFileNames () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Additional Inherited Members | |
Protected Attributes inherited from itk::ProcessObject | |
bool | m_Updating |
TimeStamp | m_OutputInformationMTime |
Generate a sequence of filenames from a DICOM series.
This class generate a sequence of files whose filenames points to a DICOM file. The ordering is based on the following strategy: Read all images in the directory (assuming there is only one study/serie)
If multiple volumes are being grouped as a single series for your dicom objects, you may want to try calling ->SetUseSeriesDetails(true) prior to calling SetDirectory().
Definition at line 53 of file itkGDCMSeriesFileNames.h.
typedef SmartPointer< Self > itk::GDCMSeriesFileNames::Pointer |
Reimplemented from itk::ProcessObject.
Definition at line 59 of file itkGDCMSeriesFileNames.h.
Standard class typedefs.
Reimplemented from itk::ProcessObject.
Definition at line 57 of file itkGDCMSeriesFileNames.h.
Reimplemented from itk::ProcessObject.
Definition at line 58 of file itkGDCMSeriesFileNames.h.
|
protected |
Parse any private tags in the DICOM file. Defaults to false to skip private tags. This makes loading DICOM files faster when private tags are not needed.
|
protected |
Parse any private tags in the DICOM file. Defaults to false to skip private tags. This makes loading DICOM files faster when private tags are not needed.
|
private |
|
inline |
Add more restriction on the selection of a Series. This follow the same approach as SetUseSeriesDetails, but allow a user to add even more DICOM tags to take into account for subrefining a set of DICOM files into multiple series. Format for tag is "group|element" of a DICOM tag.
Definition at line 154 of file itkGDCMSeriesFileNames.h.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
const FilenamesContainer& itk::GDCMSeriesFileNames::GetFileNames | ( | const std::string | serie | ) |
Returns a vector containing the series' file names. The file names are ordered by the strategy define in header. All DICOM files have the same exact UID equal to the one user's specified. An extended UID may be returned/used if SetUseSeriesDetails(true) has been called.
const FilenamesContainer& itk::GDCMSeriesFileNames::GetInputFileNames | ( | ) |
Returns a vector containing the series' file names. The file names are ordered by the strategy define in header. No sorting is done based on UID
|
virtual |
Parse any private tags in the DICOM file. Defaults to false to skip private tags. This makes loading DICOM files faster when private tags are not needed.
|
virtual |
Parse any sequences in the DICOM file. Defaults to false to skip sequences. This makes loading DICOM files faster when sequences are not needed.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ProcessObject.
const FilenamesContainer& itk::GDCMSeriesFileNames::GetOutputFileNames | ( | ) |
Returns a vector containing the series' file names. The file names are ordered in the same extact order as the input one. This could be dangerous if the writing has changed 3rd position or some other DICOM tag in the header
|
virtual |
Recursively parse the input directory
|
inline |
Returns a pointer to the SeriesHelper class. This access allows the files as gdcm dicom objects in a series to be queried for dicom tag values prior to reading the series. Such querying is useful to determine which series should be read - e.g., to determine which is the T2 scan, etc.
Definition at line 143 of file itkGDCMSeriesFileNames.h.
const SerieUIDContainer& itk::GDCMSeriesFileNames::GetSeriesUIDs | ( | ) |
Returns a vector containing all the UIDs found when parsing the direcory specified via SetDirectory. If no direcory is specified return an empty vector. An extended UID may be returned/used if SetUseSeriesDetails(true) has been called.
|
inline |
Returns true if using additional series information such as ProtocolName and SeriesName to identify when a single SeriesUID contains multiple 3D volumes - as can occur with perfusion and DTI imaging
Definition at line 132 of file itkGDCMSeriesFileNames.h.
|
virtual |
Parse any private tags in the DICOM file. Defaults to false to skip private tags. This makes loading DICOM files faster when private tags are not needed.
|
virtual |
Parse any private tags in the DICOM file. Defaults to false to skip private tags. This makes loading DICOM files faster when private tags are not needed.
|
virtual |
Parse any sequences in the DICOM file. Defaults to false to skip sequences. This makes loading DICOM files faster when sequences are not needed.
|
virtual |
Parse any sequences in the DICOM file. Defaults to false to skip sequences. This makes loading DICOM files faster when sequences are not needed.
|
static |
Method for creation through the object factory.
Reimplemented from itk::Object.
|
private |
Time when GenerateOutputInformation was last called.
Reimplemented from itk::ProcessObject.
|
protectedvirtual |
Parse any private tags in the DICOM file. Defaults to false to skip private tags. This makes loading DICOM files faster when private tags are not needed.
Reimplemented from itk::ProcessObject.
|
virtual |
Recursively parse the input directory
|
virtual |
Recursively parse the input directory
|
inline |
Set the directory that contains the DICOM series.
Definition at line 76 of file itkGDCMSeriesFileNames.h.
void itk::GDCMSeriesFileNames::SetInputDirectory | ( | const char * | name | ) |
Set the directory that contains the DICOM series.
void itk::GDCMSeriesFileNames::SetInputDirectory | ( | std::string const & | name | ) |
Set the directory that contains the DICOM series.
|
virtual |
Parse any private tags in the DICOM file. Defaults to false to skip private tags. This makes loading DICOM files faster when private tags are not needed.
|
virtual |
Parse any sequences in the DICOM file. Defaults to false to skip sequences. This makes loading DICOM files faster when sequences are not needed.
|
inline |
Set the directory where the output DICOM serie should be written.
Definition at line 87 of file itkGDCMSeriesFileNames.h.
|
virtual |
Recursively parse the input directory
void itk::GDCMSeriesFileNames::SetUseSeriesDetails | ( | bool | useSeriesDetails | ) |
Use additional series information such as ProtocolName and SeriesName to identify when a single SeriesUID contains multiple 3D volumes - as can occur with perfusion and DTI imaging
|
private |
Contains the input directory where the DICOM serie is found
Definition at line 186 of file itkGDCMSeriesFileNames.h.
|
private |
Internal structure to keep the list of input/output filenames
Definition at line 192 of file itkGDCMSeriesFileNames.h.
|
private |
Definition at line 204 of file itkGDCMSeriesFileNames.h.
|
private |
Definition at line 203 of file itkGDCMSeriesFileNames.h.
|
private |
Contains the output directory where the DICOM serie should be written
Definition at line 189 of file itkGDCMSeriesFileNames.h.
|
private |
Definition at line 193 of file itkGDCMSeriesFileNames.h.
|
private |
Definition at line 202 of file itkGDCMSeriesFileNames.h.
|
private |
Internal structure to order serie from one directory
Definition at line 196 of file itkGDCMSeriesFileNames.h.
|
private |
Internal structure to keep the list of series UIDs
Definition at line 199 of file itkGDCMSeriesFileNames.h.
|
private |
Definition at line 201 of file itkGDCMSeriesFileNames.h.