ITK
5.2.0
Insight Toolkit
|
#include <itkGDCMSeriesFileNames.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
std::string | m_InputDirectory = "" |
std::string | m_OutputDirectory = "" |
FileNamesContainerType | m_InputFileNames |
FileNamesContainerType | m_OutputFileNames |
std::unique_ptr< gdcm::SerieHelper > | m_SerieHelper |
SeriesUIDContainerType | m_SeriesUIDs |
bool | m_UseSeriesDetails = true |
bool | m_Recursive = false |
bool | m_LoadSequences = false |
bool | m_LoadPrivateTags = false |
void | SetOutputDirectory (std::string const &name) |
const FileNamesContainerType & | GetOutputFileNames () |
const FileNamesContainerType & | GetFileNames (const std::string serie) |
const SeriesUIDContainerType & | GetSeriesUIDs () |
virtual void | SetRecursive (bool _arg) |
virtual bool | GetRecursive () const |
virtual void | RecursiveOn () |
virtual void | RecursiveOff () |
void | SetUseSeriesDetails (bool useSeriesDetails) |
bool | GetUseSeriesDetails () const |
void | AddSeriesRestriction (const std::string &tag) |
virtual void | SetLoadSequences (bool _arg) |
virtual bool | GetLoadSequences () const |
virtual void | LoadSequencesOn () |
virtual void | LoadSequencesOff () |
virtual void | SetLoadPrivateTags (bool _arg) |
virtual bool | GetLoadPrivateTags () const |
virtual void | LoadPrivateTagsOn () |
virtual void | LoadPrivateTagsOff () |
GDCMSeriesFileNames () | |
~GDCMSeriesFileNames () override | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Generate a sequence of filenames from a DICOM series.
This class generates a sequence of files whose filenames point to a DICOM file. The ordering is based on the following strategy: Read all images in the directory (assuming there is only one study/series)
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 63 of file itkGDCMSeriesFileNames.h.
Type of the container that holds the file names in the series.
Definition at line 74 of file itkGDCMSeriesFileNames.h.
Definition at line 71 of file itkGDCMSeriesFileNames.h.
Standard class type aliases.
Definition at line 69 of file itkGDCMSeriesFileNames.h.
Type of the container that holds the UID's for the series.
Definition at line 77 of file itkGDCMSeriesFileNames.h.
Definition at line 70 of file itkGDCMSeriesFileNames.h.
|
protected |
Contains the input directory where the DICOM serie is found
|
overrideprotected |
Contains the input directory where the DICOM serie is found
void itk::GDCMSeriesFileNames::AddSeriesRestriction | ( | const std::string & | tag | ) |
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.
|
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 FileNamesContainerType& 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 FileNamesContainerType& 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 |
Contains the input directory where the DICOM serie is found
|
virtual |
Contains the input directory where the DICOM serie is found
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ProcessObject.
const FileNamesContainerType& itk::GDCMSeriesFileNames::GetOutputFileNames | ( | ) |
Returns a vector containing the series' file names. The file names are ordered in the same exact 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 |
Contains the input directory where the DICOM serie is found
const SeriesUIDContainerType& 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 161 of file itkGDCMSeriesFileNames.h.
|
virtual |
Contains the input directory where the DICOM serie is found
|
virtual |
Contains the input directory where the DICOM serie is found
|
virtual |
Contains the input directory where the DICOM serie is found
|
virtual |
Contains the input directory where the DICOM serie is found
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Contains the input directory where the DICOM serie is found
Reimplemented from itk::ProcessObject.
|
virtual |
Contains the input directory where the DICOM serie is found
|
virtual |
Contains the input directory where the DICOM serie is found
|
inline |
Set the directory that contains the DICOM series.
Definition at line 97 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 110 of file itkGDCMSeriesFileNames.h.
|
virtual |
Recursively parse the input directory. Must be set before the call to SetInputDirectory().
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 201 of file itkGDCMSeriesFileNames.h.
|
private |
Internal structure to keep the list of input/output filenames
Definition at line 207 of file itkGDCMSeriesFileNames.h.
|
private |
Contains the input directory where the DICOM serie is found
Definition at line 219 of file itkGDCMSeriesFileNames.h.
|
private |
Contains the input directory where the DICOM serie is found
Definition at line 218 of file itkGDCMSeriesFileNames.h.
|
private |
Contains the output directory where the DICOM serie should be written
Definition at line 204 of file itkGDCMSeriesFileNames.h.
|
private |
Contains the input directory where the DICOM serie is found
Definition at line 208 of file itkGDCMSeriesFileNames.h.
|
private |
Contains the input directory where the DICOM serie is found
Definition at line 217 of file itkGDCMSeriesFileNames.h.
|
private |
Internal structure to order serie from one directory
Definition at line 211 of file itkGDCMSeriesFileNames.h.
|
private |
Internal structure to keep the list of series UIDs
Definition at line 214 of file itkGDCMSeriesFileNames.h.
|
private |
Contains the input directory where the DICOM serie is found
Definition at line 216 of file itkGDCMSeriesFileNames.h.