ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
Module RTK
+ Collaboration diagram for Module RTK:

Classes

class  rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >
 
class  rtk::ADMMTotalVariationConeBeamReconstructionFilter< TOutputImage >
 
class  rtk::ADMMTotalVariationConjugateGradientOperator< TOutputImage >
 
class  rtk::ADMMWaveletsConeBeamReconstructionFilter< TOutputImage >
 
class  rtk::ADMMWaveletsConjugateGradientOperator< TOutputImage >
 
class  rtk::AmsterdamShroudImageFilter< TInputImage >
 
class  rtk::args_info_manager< TArgsInfo, TCleanupFunction >
 
class  rtk::AverageOutOfROIImageFilter< TInputImage, TROI >
 
class  rtk::BackProjectionImageFilter< TInputImage, TOutputImage >
 
class  rtk::BackwardDifferenceDivergenceImageFilter< TInputImage, TOutputImage >
 
class  rtk::BioscanGeometryReader
 
class  rtk::BlockDiagonalMatrixVectorMultiplyImageFilter< TVectorImage, TMatrixImage >
 
class  rtk::BoellaardScatterCorrectionImageFilter< TInputImage, TOutputImage >
 
class  rtk::BoxShape
 
class  rtk::Functor::ComputeAttenuationCorrection< TInput, TOutput >
 
class  rtk::Functor::ComputeAttenuationCorrectionBackProjection< TInput, TOutput >
 
class  rtk::ConditionalMedianImageFilter< TInputImage >
 
class  rtk::ConjugateGradientConeBeamReconstructionFilter< TOutputImage, TSingleComponentImage, TWeightsImage >
 
class  rtk::ConjugateGradientGetP_kPlusOneImageFilter< TInputImage >
 
class  rtk::ConjugateGradientGetR_kPlusOneImageFilter< TInputImage >
 
class  rtk::ConjugateGradientGetX_kPlusOneImageFilter< TInputImage >
 
class  rtk::ConjugateGradientImageFilter< OutputImageType >
 
class  rtk::ConjugateGradientOperator< OutputImageType >
 
class  rtk::ConstantImageSource< TOutputImage >
 
class  rtk::ConvexShape
 
class  rtk::CyclicDeformationImageFilter< TInputImage, TOutputImage >
 
class  rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >
 
class  rtk::DaubechiesWaveletsDenoiseSequenceImageFilter< TImageSequence >
 
class  rtk::DbfField
 
class  rtk::DbfFile
 
class  rtk::DCMImagXImageIO
 
class  rtk::DCMImagXImageIOFactory
 
class  rtk::DeconstructImageFilter< TImage >
 
class  rtk::DeconstructSoftThresholdReconstructImageFilter< TImage >
 
class  rtk::DenoisingBPDQImageFilter< TOutputImage, TGradientImage >
 
class  rtk::DePierroRegularizationImageFilter< TInputImage, TOutputImage >
 
class  rtk::DigisensGeometryReader
 
class  rtk::DigisensGeometryXMLFileReader
 
class  rtk::DisplacedDetectorForOffsetFieldOfViewImageFilter< TInputImage, TOutputImage >
 
class  rtk::DisplacedDetectorImageFilter< TInputImage, TOutputImage >
 
class  rtk::DivergenceOfGradientConjugateGradientOperator< TInputImage >
 
class  rtk::DownsampleImageFilter< TInputImage, TOutputImage >
 
class  rtk::DPExtractShroudSignalImageFilter< TInputPixel, TOutputPixel >
 
class  rtk::DrawBoxImageFilter< TInputImage, TOutputImage >
 
class  rtk::DrawConeImageFilter< TInputImage, TOutputImage >
 
class  rtk::DrawConvexImageFilter< TInputImage, TOutputImage >
 
class  rtk::DrawCylinderImageFilter< TInputImage, TOutputImage >
 
class  rtk::DrawEllipsoidImageFilter< TInputImage, TOutputImage >
 
class  rtk::DrawGeometricPhantomImageFilter< TInputImage, TOutputImage >
 
class  rtk::DrawQuadricImageFilter< TInputImage, TOutputImage >
 
class  rtk::DrawSheppLoganFilter< TInputImage, TOutputImage >
 
class  rtk::EdfImageIO
 
class  rtk::EdfImageIOFactory
 
class  rtk::EdfRawToAttenuationImageFilter< TInputImage, TOutputImage >
 
class  rtk::ElektaSynergyGeometryReader
 
class  rtk::ElektaSynergyLookupTableImageFilter< TOutputImage >
 
class  rtk::ElektaSynergyRawLookupTableImageFilter< TInputImage, TOutputImage >
 
class  rtk::ElektaXVI5GeometryXMLFileReader
 
class  rtk::ExtractPhaseImageFilter< TImage >
 
class  rtk::FDKBackProjectionImageFilter< TInputImage, TOutputImage >
 
class  rtk::FDKConeBeamReconstructionFilter< TInputImage, TOutputImage, TFFTPrecision >
 
class  rtk::FDKVarianceReconstructionFilter< TInputImage, TOutputImage, TFFTPrecision >
 
class  rtk::FDKWarpBackProjectionImageFilter< TInputImage, TOutputImage, TDeformation >
 
class  rtk::FDKWeightProjectionFilter< TInputImage, TOutputImage >
 
class  rtk::FFTHilbertImageFilter< TInputImage, TOutputImage, TFFTPrecision >
 
class  rtk::FFTProjectionsConvolutionImageFilter< TInputImage, TOutputImage, TFFTPrecision >
 
class  rtk::FFTRampImageFilter< TInputImage, TOutputImage, TFFTPrecision >
 
class  rtk::FFTVarianceRampImageFilter< TInputImage, TOutputImage, TFFTPrecision >
 
class  rtk::FieldOfViewImageFilter< TInputImage, TOutputImage >
 
class  rtk::ForbildPhantomFileReader
 
class  rtk::ForwardDifferenceGradientImageFilter< TInputImage, TOperatorValueType, TOuputValue, TOuputImage >
 
class  rtk::ForwardProjectionImageFilter< TInputImage, TOutputImage >
 
class  rtk::ForwardWarpImageFilter< TInputImage, TOutputImage, TDVF >
 
class  rtk::FourDConjugateGradientConeBeamReconstructionFilter< VolumeSeriesType, ProjectionStackType >
 
class  rtk::FourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >
 
class  rtk::FourDROOSTERConeBeamReconstructionFilter< VolumeSeriesType, ProjectionStackType >
 
class  rtk::FourDSARTConeBeamReconstructionFilter< VolumeSeriesType, ProjectionStackType >
 
class  rtk::FourDToProjectionStackImageFilter< ProjectionStackType, VolumeSeriesType >
 
class  rtk::GeometricPhantom
 
class  rtk::GetNewtonUpdateImageFilter< TGradient, THessian >
 
class  rtk::GlobalResourceProbe
 
class  rtk::HilbertImageFilter< TInputImage, TOutputImage >
 
class  rtk::HisImageIO
 
class  rtk::HisImageIOFactory
 
class  rtk::HncImageIO
 
class  rtk::HncImageIOFactory
 
class  rtk::HndImageIO
 
class  rtk::HndImageIOFactory
 
class  rtk::I0EstimationProjectionFilter< TInputImage, TOutputImage, bitShift >
 
class  rtk::ImageToVectorImageFilter< InputImageType, OutputImageType >
 
class  rtk::ImagXGeometryReader< TInputImage >
 
class  rtk::ImagXImageIO
 
class  rtk::ImagXImageIOFactory
 
class  rtk::ImagXXMLFileReader
 
class  rtk::ImportImageFilter< TImage >
 
class  rtk::Functor::InterpolationWeightMultiplication< TInput, TCoordinateType, TOutput >
 
class  rtk::Functor::InterpolationWeightMultiplicationAttenuated< TInput, TCoordinateType, TOutput >
 
class  rtk::Functor::InterpolationWeightMultiplicationAttenuatedBackProjection< TInput, TCoordinateType, TOutput >
 
class  rtk::Functor::InterpolationWeightMultiplicationBackProjection< TInput, TCoordinateType, TOutput >
 
class  rtk::InterpolatorWithKnownWeightsImageFilter< VolumeType, VolumeSeriesType >
 
class  rtk::IntersectionOfConvexShapes
 
class  rtk::IterationCommand< TCaller >
 
class  rtk::IterativeConeBeamReconstructionFilter< TOutputImage, ProjectionStackType >
 
class  rtk::IterativeFDKConeBeamReconstructionFilter< TInputImage, TOutputImage, TFFTPrecision >
 
class  rtk::JosephBackAttenuatedProjectionImageFilter< TInputImage, TOutputImage, TInterpolationWeightMultiplication, TSplatWeightMultiplication, TSumAlongRay >
 
class  rtk::JosephBackProjectionImageFilter< TInputImage, TOutputImage, TInterpolationWeightMultiplication, TSplatWeightMultiplication, TSumAlongRay >
 
class  rtk::JosephForwardAttenuatedProjectionImageFilter< TInputImage, TOutputImage, TInterpolationWeightMultiplication, TProjectedValueAccumulation, TSumAlongRay >
 
class  rtk::JosephForwardProjectionImageFilter< TInputImage, TOutputImage, TInterpolationWeightMultiplication, TProjectedValueAccumulation, TSumAlongRay >
 
class  rtk::LagCorrectionImageFilter< TImage, VModelOrder >
 
class  rtk::LaplacianImageFilter< TOutputImage >
 
class  rtk::LastDimensionL0GradientDenoisingImageFilter< TInputImage >
 
class  rtk::LookupTableImageFilter< TInputImage, TOutputImage >
 
class  rtk::LUTbasedVariableI0RawToAttenuationImageFilter< TInputImage, TOutputImage >
 
class  rtk::MagnitudeThresholdImageFilter< TInputImage, TRealType, TOutputImage >
 
class  rtk::MaskCollimationImageFilter< TInputImage, TOutputImage >
 
class  rtk::Functor::MaximumIntensityAlongRay< TInput, TOutput >
 
class  rtk::Functor::MaximumIntensityProjectedValueAccumulation< TInput, TOutput >
 
class  rtk::MaximumIntensityProjectionImageFilter< TInputImage, TOutputImage, TInterpolationWeightMultiplication, TProjectedValueAccumulation, TSumAlongRay >
 
class  rtk::MechlemOneStepSpectralReconstructionFilter< TOutputImage, TMeasuredProjections, TIncidentSpectrum >
 
class  rtk::MultiplyByVectorImageFilter< TInputImage >
 
class  rtk::NesterovUpdateImageFilter< TImage >
 
class  rtk::Function::ObiAttenuation< TInput, TOutput >
 
class  rtk::OraGeometryReader
 
class  rtk::OraImageIO
 
class  rtk::OraImageIOFactory
 
class  rtk::OraLookupTableImageFilter< TOutputImage >
 
class  rtk::OraXMLFileReader
 
class  rtk::OSEMConeBeamReconstructionFilter< TVolumeImage, TProjectionImage >
 
class  rtk::OutputIterationCommand< TCaller, TOutputImage >
 
class  rtk::ParkerShortScanImageFilter< TInputImage, TOutputImage >
 
class  rtk::PercentageProgressCommand< TCaller >
 
class  rtk::PhaseGatingImageFilter< ProjectionStackType >
 
class  rtk::PhaseReader
 
class  rtk::PhasesToInterpolationWeights
 
class  PolynomialGainCorrection
 
class  rtk::ProgressCommand< TCaller >
 
class  rtk::Functor::ProjectedValueAccumulation< TInput, TOutput >
 
class  rtk::Functor::ProjectedValueAccumulationAttenuated< TInput, TOutput >
 
class  rtk::ProjectGeometricPhantomImageFilter< TInputImage, TOutputImage >
 
class  rtk::ProjectionGeometry< TDimension >
 
class  rtk::ProjectionsReader< TOutputImage >
 
class  rtk::ProjectionsRegionConstIteratorRayBased< TImage >
 
class  rtk::ProjectionsRegionConstIteratorRayBasedParallel< TImage >
 
class  rtk::ProjectionsRegionConstIteratorRayBasedWithCylindricalPanel< TImage >
 
class  rtk::ProjectionsRegionConstIteratorRayBasedWithFlatPanel< TImage >
 
class  rtk::ProjectionStackToFourDImageFilter< VolumeSeriesType, ProjectionStackType, TFFTPrecision >
 
class  rtk::QuadricShape
 
class  RawToAttenuationImageFilter
 
class  rtk::RayBoxIntersectionImageFilter< TInputImage, TOutputImage >
 
class  rtk::RayConvexIntersectionImageFilter< TInputImage, TOutputImage >
 
class  rtk::RayEllipsoidIntersectionImageFilter< TInputImage, TOutputImage >
 
class  rtk::RayQuadricIntersectionImageFilter< TInputImage, TOutputImage >
 
class  rtk::ReconstructImageFilter< TImage >
 
class  rtk::ReconstructionConjugateGradientOperator< TOutputImage, TSingleComponentImage, TWeightsImage >
 
class  rtk::Reg1DExtractShroudSignalImageFilter< TInputPixel, TOutputPixel >
 
class  rtk::Reg23ProjectionGeometry
 
class  rtk::RegularizedConjugateGradientConeBeamReconstructionFilter< TImage >
 
class  rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >
 
class  rtk::ResourceProbesCollector
 
class  rtkProjectionsDecompositionNegativeLogLikelihood
 
class  rtkSchlomka2008NegativeLogLikelihood
 
class  rtk::SARTConeBeamReconstructionFilter< TVolumeImage, TProjectionImage >
 
class  rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >
 
class  rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >
 
class  rtk::SeparableQuadraticSurrogateRegularizationImageFilter< TImage >
 
class  rtk::SheppLoganPhantom
 
class  rtk::SheppLoganPhantomFilter< TInputImage, TOutputImage >
 
class  rtk::SignalToInterpolationWeights
 
class  rtk::SimplexSpectralProjectionsDecompositionImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >
 
class  rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >
 
class  rtk::SoftThresholdImageFilter< TInputImage, TOutputImage >
 
class  rtk::SoftThresholdTVImageFilter< TInputImage, TOutputImage >
 
class  rtk::SpectralForwardModelImageFilter< DecomposedProjectionsType, MeasuredProjectionsType, IncidentSpectrumImageType, DetectorResponseImageType, MaterialAttenuationsImageType >
 
class  rtk::Functor::SplatWeightMultiplication< TInput, TCoordinateType, TOutput >
 
class  rtk::Functor::SplatWeightMultiplicationAttenuated< TInput, TCoordinateType, TOutput >
 
class  rtk::SplatWithKnownWeightsImageFilter< VolumeSeriesType, VolumeType >
 
class  rtk::SubSelectFromListImageFilter< ProjectionStackType >
 
class  rtk::SubSelectImageFilter< ProjectionStackType >
 
class  rtk::Functor::SumAlongRay< TInput, TOutput >
 
class  SumOfSquaresImageFilter
 
class  rtk::ThreeDCircularProjectionGeometry
 
class  rtk::ThreeDCircularProjectionGeometryXMLFileReader
 
class  rtk::ThreeDCircularProjectionGeometryXMLFileWriter
 
class  rtk::TotalNuclearVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >
 
class  rtk::TotalVariationDenoiseSequenceImageFilter< TImageSequence >
 
class  rtk::TotalVariationDenoisingBPDQImageFilter< TOutputImage, TGradientImage >
 
class  rtk::TotalVariationImageFilter< TInputImage >
 
class  rtk::UnwarpSequenceConjugateGradientOperator< TImageSequence, TDVFImageSequence, TImage, TDVFImage >
 
class  rtk::UnwarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >
 
class  rtk::UpsampleImageFilter< TInputImage, TOutputImage >
 
class  rtk::VarianObiGeometryReader
 
class  rtk::VarianObiRawImageFilter< TInputImage, TOutputImage >
 
class  rtk::VarianObiXMLFileReader
 
class  rtk::VarianProBeamGeometryReader
 
class  rtk::VarianProBeamXMLFileReader
 
class  rtk::VectorImageToImageFilter< InputImageType, OutputImageType >
 
class  rtk::VerboseIterationCommand< TCaller >
 
class  rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >
 
class  rtk::WatcherForResourceProbe
 
class  rtk::WaterPrecorrectionImageFilter< TInputImage, TOutputImage >
 
class  rtk::WeidingerForwardModelImageFilter< TDecomposedProjections, TMeasuredProjections, TIncidentSpectrum, TProjections >
 
class  rtk::XimImageIO
 
class  rtk::XimImageIOFactory
 
class  rtk::XRadGeometryReader
 
class  rtk::XRadImageIO
 
class  rtk::XRadImageIOFactory
 
class  rtk::ZengBackProjectionImageFilter< TInputImage, TOutputImage >
 
class  rtk::ZengForwardProjectionImageFilter< TInputImage, TOutputImage >
 

Macros

#define DD(a)
 
#define GGO(ggo_filename, args_info)
 
#define REPORT_ITERATIONS(filter, filter_type, output_image_type)
 
#define TRY_AND_EXIT_ON_ITK_EXCEPTION(execFunc)
 

Functions

template<class TImageType>
itk::Matrix< double, TImageType::ImageDimension+1, TImageType::ImageDimension+1 > rtk::GetIndexToPhysicalPointMatrix (const TImageType *image)
 
template<class TImageType>
itk::Matrix< double, TImageType::ImageDimension+1, TImageType::ImageDimension+1 > rtk::GetPhysicalPointToIndexMatrix (const TImageType *image)
 
template<class TArgsInfo>
std::vector< std::string > rtk::GetProjectionsFileNamesFromGgo (const TArgsInfo &args_info)
 
static std::vector< double > rtk::ReadSignalFile (const std::string &filename)
 
template<class TArgsInfo, class TIterativeReconstructionFilter>
void rtk::SetBackProjectionFromGgo (const TArgsInfo &args_info, TIterativeReconstructionFilter *recon)
 
template<class TConstantImageSourceType, class TArgsInfo>
void rtk::SetConstantImageSourceFromGgo (TConstantImageSourceType *source, const TArgsInfo &args_info)
 
template<class TArgsInfo, class TIterativeReconstructionFilter>
void rtk::SetForwardProjectionFromGgo (const TArgsInfo &args_info, TIterativeReconstructionFilter *recon)
 

Detailed Description

description

Dependencies:

Macro Definition Documentation

◆ DD

#define DD ( a)
Value:
std::cout << #a " = [ " << a << " ]" << std::endl;

Debugging macro, displays name and content of a variable.

Author
Simon Rit

Definition at line 53 of file rtkMacro.h.

Referenced by itk::RecursiveGaussianImageFilter< InputImageType, RealImageType >::ComputeDCoefficients().

◆ GGO

#define GGO ( ggo_filename,
args_info )
Value:
args_info_##ggo_filename args_info; \
cmdline_parser_##ggo_filename##_params args_params; \
cmdline_parser_##ggo_filename##_params_init(&args_params); \
args_params.print_errors = 1; \
args_params.check_required = 0; \
args_params.override = 1; \
args_params.initialize = 1; \
args_params.check_required = 1; \
if (0 != cmdline_parser_##ggo_filename##_ext(argc, argv, &args_info, &args_params)) \
{ \
std::cerr << "Error in cmdline_parser_" #ggo_filename "_ext" << std::endl; \
exit(1); \
} \
rtk::args_info_manager<args_info_##ggo_filename> manager_object(args_info, cmdline_parser_##ggo_filename##_free);

Process gengetopt.

Author
Simon Rit

Definition at line 64 of file rtkMacro.h.

◆ REPORT_ITERATIONS

#define REPORT_ITERATIONS ( filter,
filter_type,
output_image_type )
Value:
if (args_info.verbose_flag) \
{ \
using VerboseIterationCommandType = rtk::VerboseIterationCommand<filter_type>; \
auto verboseIterationCommand = VerboseIterationCommandType::New(); \
filter->AddObserver(itk::AnyEvent(), verboseIterationCommand); \
} \
if (args_info.output_every_given) \
{ \
auto outputIterationCommand = OutputIterationCommand::New(); \
outputIterationCommand->SetTriggerEvery(args_info.output_every_arg); \
if (args_info.iteration_file_name_given) \
{ \
outputIterationCommand->SetFileFormat(args_info.iteration_file_name_arg); \
} \
else \
{ \
outputIterationCommand->SetFileFormat("iter%d.mha"); \
} \
filter->AddObserver(itk::IterationEvent(), outputIterationCommand); \
}
Output intermediate iterations in a file. This class is useful to check convergence of an iterative m...
Outputs to standard output when an iteration completes.

Redefine ITK's New macros in order to add a watcher to each new filter created.

Author
Cyril Mory

Manage iteration reporting for filters supporting it.

If verbose flag is set, outputs a string noticing iteration completion. If output-every argument is provided, save intermediate output in a file. If iteration-file-name is provided, the intermediate output is saved in a file having custom name and location.

Author
Aurélien Coussat

Definition at line 195 of file rtkMacro.h.

◆ TRY_AND_EXIT_ON_ITK_EXCEPTION

#define TRY_AND_EXIT_ON_ITK_EXCEPTION ( execFunc)
Value:
try \
{ \
execFunc; \
} \
catch (itk::ExceptionObject & err) \
{ \
std::cerr << "ExceptionObject caught with " #execFunc << " in file " << __FILE__ << " line " << __LINE__ \
<< std::endl; \
std::cerr << err << std::endl; \
rInv = dynamic_cast<itk::InvalidRequestedRegionError *>(&err); \
if (rInv) \
{ \
if (rInv->GetDataObject()->GetSource()) \
{ \
std::cerr << "Invalid requested region error triggered by " \
<< rInv->GetDataObject()->GetSource()->GetNameOfClass() << std::endl; \
} \
const itk::ImageBase<3> * img = dynamic_cast<const itk::ImageBase<3> *>(rInv->GetDataObject()); \
if (img) \
{ \
DD(img->GetRequestedRegion()) \
} \
} \
exit(EXIT_FAILURE); \
}
const DataObject * GetDataObject() const noexcept
SmartPointer< ProcessObject > GetSource() const
Standard exception handling object.
virtual const RegionType & GetRequestedRegion() const
virtual const RegionType & GetLargestPossibleRegion() const

Update a filter and catching/displaying exceptions.

Author
Simon Rit

Definition at line 88 of file rtkMacro.h.

Referenced by rtk::AddNoiseFromGgo(), rtk::SetConstantImageSourceFromGgo(), and rtk::SetProjectionsReaderFromGgo().

Function Documentation

◆ GetIndexToPhysicalPointMatrix()

template<class TImageType>
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.

Author
Simon Rit

Definition at line 40 of file rtkHomogeneousMatrix.h.

References itk::Index< VDimension >::Fill(), and itk::Matrix< T, VRows, VColumns >::Fill().

Referenced by GetPhysicalPointToIndexMatrix().

◆ GetPhysicalPointToIndexMatrix()

template<class TImageType>
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.

Author
Simon Rit

Definition at line 77 of file rtkHomogeneousMatrix.h.

References GetIndexToPhysicalPointMatrix().

◆ GetProjectionsFileNamesFromGgo()

template<class TArgsInfo>
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:

  • verbose
  • path: path containing projections
  • regexp: regular expression to select projection files in path
  • nsort: boolean to (des-)activate the numeric sort for expression matches
  • submatch: index of the submatch that will be used to sort matches
Author
Simon Rit

Definition at line 136 of file rtkGgoFunctions.h.

References itk::ImageIOFactory::CreateImageIO(), itk::SmartPointer< TObjectType >::IsNull(), itk::RegularExpressionSeriesFileNames::New(), and RegisterIOFactories().

Referenced by SetProjectionsReaderFromGgo().

◆ ReadSignalFile()

static std::vector< double > rtk::ReadSignalFile ( const std::string & filename)
inlinestatic

A few functions that are used either in the applications or for debugging purposes.

Author
Cyril Mory

Definition at line 43 of file rtkGeneralPurposeFunctions.h.

References itk::Math::Round().

◆ SetBackProjectionFromGgo()

template<class TArgsInfo, class TIterativeReconstructionFilter>
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.

Author
Simon Rit

Definition at line 379 of file rtkGgoFunctions.h.

References itk::ReadImage().

◆ SetConstantImageSourceFromGgo()

template<class TConstantImageSourceType, class TArgsInfo>
void rtk::SetConstantImageSourceFromGgo ( TConstantImageSourceType * 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:

  • size: image size in pixels
  • spacing: image spacing in coordinate units
  • origin: image origin in coordinate units
Author
Simon Rit

Definition at line 56 of file rtkGgoFunctions.h.

References TRY_AND_EXIT_ON_ITK_EXCEPTION.

◆ SetForwardProjectionFromGgo()

template<class TArgsInfo, class TIterativeReconstructionFilter>
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.

Author
Simon Rit

Definition at line 443 of file rtkGgoFunctions.h.

References itk::ReadImage().