RTK
2.6.0
Reconstruction Toolkit
|
Namespaces | |
Function | |
Functor | |
Functions | |
template<class TImageType > | |
itk::Matrix< double, TImageType::ImageDimension+1, TImageType::ImageDimension+1 > | GetIndexToPhysicalPointMatrix (const TImageType *image) |
template<class TImageType > | |
itk::Matrix< double, TImageType::ImageDimension+1, TImageType::ImageDimension+1 > | GetPhysicalPointToIndexMatrix (const TImageType *image) |
template<class TArgsInfo > | |
const std::vector< std::string > | GetProjectionsFileNamesFromGgo (const TArgsInfo &args_info) |
RTK_EXPORT ThreeDCircularProjectionGeometry::Pointer | ReadGeometry (const std::string &filename) |
static std::vector< double > | ReadSignalFile (std::string filename) |
void RTK_EXPORT | RegisterIOFactories () |
template<class TArgsInfo , class TIterativeReconstructionFilter > | |
void | SetBackProjectionFromGgo (const TArgsInfo &args_info, TIterativeReconstructionFilter *recon) |
template<class TConstantImageSourceType , class TArgsInfo > | |
void | SetConstantImageSourceFromGgo (typename TConstantImageSourceType::Pointer source, const TArgsInfo &args_info) |
template<class TArgsInfo , class TIterativeReconstructionFilter > | |
void | SetForwardProjectionFromGgo (const TArgsInfo &args_info, TIterativeReconstructionFilter *recon) |
template<class TProjectionsReaderType , class TArgsInfo > | |
void | SetProjectionsReaderFromGgo (typename TProjectionsReaderType::Pointer reader, const TArgsInfo &args_info) |
template<typename OutputElementType , typename DetectorResponseImageType , typename ThresholdsType > | |
vnl_matrix< OutputElementType > | SpectralBinDetectorResponse (const DetectorResponseImageType *drm, const ThresholdsType &thresholds, const unsigned int numberOfEnergies) |
template<typename ImageType > | |
void | WriteImage (typename ImageType::ConstPointer input, std::string name) |
template<typename TGeometryPointer > | |
ITK_TEMPLATE_EXPORT void | WriteGeometry (TGeometryPointer &&geometry, const std::string &filename) |
itk::Matrix<double, TImageType::ImageDimension + 1, TImageType::ImageDimension + 1> rtk::GetIndexToPhysicalPointMatrix | ( | const TImageType * | image | ) |
Get IndexToPhysicalPoint matrix from an image (no accessor provided by ITK).
The returned matrix is in homogeneous format.
Definition at line 40 of file rtkHomogeneousMatrix.h.
itk::Matrix<double, TImageType::ImageDimension + 1, TImageType::ImageDimension + 1> rtk::GetPhysicalPointToIndexMatrix | ( | const TImageType * | image | ) |
Get PhysicalPointToIndex matrix from an image (no accessor provided by ITK).
The returned matrix is in homogeneous format.
Definition at line 77 of file rtkHomogeneousMatrix.h.
const std::vector<std::string> rtk::GetProjectionsFileNamesFromGgo | ( | const TArgsInfo & | args_info | ) |
Read a stack of 2D projections from gengetopt specifications.
This function sets a ProjectionsReader object from command line options stored in ggo struct. The projections are not buffered to allow streaming. The required options in the ggo struct are:
Definition at line 117 of file rtkGgoFunctions.h.
References itk::ImageIOFactory::CreateImageIO(), itk::RegularExpressionSeriesFileNames::New(), itk::CommonEnums::ReadMode, and RegisterIOFactories().
Referenced by SetProjectionsReaderFromGgo().
RTK_EXPORT ThreeDCircularProjectionGeometry::Pointer rtk::ReadGeometry | ( | const std::string & | filename | ) |
Convenience function for reading a geometry XML file.
The function reads the geometry from the specified XML file, and returns the geometry that it has read.
|
inlinestatic |
A few functions that are used either in the applications or for debugging purposes.
Definition at line 42 of file rtkGeneralPurposeFunctions.h.
void RTK_EXPORT rtk::RegisterIOFactories | ( | ) |
Register all rtk IO factories.
Referenced by GetProjectionsFileNamesFromGgo().
void rtk::SetBackProjectionFromGgo | ( | const TArgsInfo & | args_info, |
TIterativeReconstructionFilter * | recon | ||
) |
Set the correct RTK backprojection type from gengetopt Given a gengetopt bp_arg option from the rtkprojectors_section.ggo, will set the corresponding enum value from rtk::IterativeConeBeamReconstructionFilter.
Definition at line 282 of file rtkGgoFunctions.h.
void rtk::SetConstantImageSourceFromGgo | ( | typename TConstantImageSourceType::Pointer | source, |
const TArgsInfo & | args_info | ||
) |
Create 3D image from gengetopt specifications.
This function sets a ConstantImageSource object from command line options stored in ggo struct. The image is not buffered to allow streaming. The image is filled with zeros. The required options in the ggo struct are:
Definition at line 50 of file rtkGgoFunctions.h.
References Dimension, and TRY_AND_EXIT_ON_ITK_EXCEPTION.
void rtk::SetForwardProjectionFromGgo | ( | const TArgsInfo & | args_info, |
TIterativeReconstructionFilter * | recon | ||
) |
Set the correct RTK forward projection type from gengetopt Given a gengetopt fp_arg option from the rtkprojectors_section.ggo, will set the corresponding enum value from rtk::IterativeConeBeamReconstructionFilter.
Definition at line 337 of file rtkGgoFunctions.h.
void rtk::SetProjectionsReaderFromGgo | ( | typename TProjectionsReaderType::Pointer | reader, |
const TArgsInfo & | args_info | ||
) |
Definition at line 178 of file rtkGgoFunctions.h.
References Dimension, GetProjectionsFileNamesFromGgo(), and TRY_AND_EXIT_ON_ITK_EXCEPTION.
vnl_matrix<OutputElementType> rtk::SpectralBinDetectorResponse | ( | const DetectorResponseImageType * | drm, |
const ThresholdsType & | thresholds, | ||
const unsigned int | numberOfEnergies | ||
) |
ITK_TEMPLATE_EXPORT void rtk::WriteGeometry | ( | TGeometryPointer && | geometry, |
const std::string & | filename | ||
) |
Convenience function for writing an geometry.
The geometry parameter may be a either SmartPointer or a raw pointer and const or non-const.
Definition at line 98 of file rtkThreeDCircularProjectionGeometryXMLFileWriter.h.
References rtk::ThreeDCircularProjectionGeometryXMLFileWriter::New().
void rtk::WriteImage | ( | typename ImageType::ConstPointer | input, |
std::string | name | ||
) |
Definition at line 71 of file rtkGeneralPurposeFunctions.h.