RTK
2.6.0
Reconstruction Toolkit
|
#include <rtkProjectionsReader.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Member Functions | |
void | GenerateData () override |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
ProjectionsReader () | |
~ProjectionsReader () override=default | |
Protected Attributes | |
FileNamesContainer | m_FileNames |
Private Member Functions | |
template<class TInputImage > | |
void | PropagateParametersToMiniPipeline () |
void | ConnectElektaRawFilter (itk::ImageBase< OutputImageDimension > **nextInputBase) |
void | PropagateI0 (itk::ImageBase< OutputImageDimension > **nextInputBase) |
This is the universal projections reader of rtk (raw data converted to attenuation). Currently handles his (Elekta Synergy), hnd (Varian OBI), edf (ESRF), XRad. For all other ITK file formats (mha, tif, ...), it is assumed that the attenuation is directly passed if the pixel type is not unsigned short and there is no processing. Optionnally, one can activate cropping, binning, scatter correction, etc. The details of the mini- pipeline is provided below, note that dashed filters are shunt if they are not required according to parameters.
Definition at line 125 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::FileNamesContainer = std::vector<std::string> |
Definition at line 151 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::MedianRadiusType = typename rtk::ConditionalMedianImageFilter<TOutputImage>::MedianRadiusType |
Definition at line 153 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::OutputImageDirectionType = typename OutputImageType::DirectionType |
Definition at line 146 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::OutputImagePixelType = typename OutputImageType::PixelType |
Definition at line 145 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::OutputImagePointer = typename OutputImageType::Pointer |
Definition at line 143 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::OutputImagePointType = typename OutputImageType::PointType |
Definition at line 148 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::OutputImageRegionType = typename OutputImageType::RegionType |
Definition at line 144 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::OutputImageSizeType = typename OutputImageType::SizeType |
Definition at line 149 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::OutputImageSpacingType = typename OutputImageType::SpacingType |
Definition at line 147 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::OutputImageType = TOutputImage |
Some convenient type alias.
Definition at line 142 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::Pointer = itk::SmartPointer<Self> |
Definition at line 133 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::Self = ProjectionsReader |
Standard class type alias.
Definition at line 131 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::ShrinkFactorsType = itk::FixedArray<unsigned int, TOutputImage::ImageDimension> |
Definition at line 152 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::StreamingType = itk::StreamingImageFilter<TOutputImage, TOutputImage> |
Definition at line 159 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::Superclass = itk::ImageSource<TOutputImage> |
Definition at line 132 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::WaterPrecorrectionType = rtk::WaterPrecorrectionImageFilter<TOutputImage, TOutputImage> |
Typdefs of filters of the mini-pipeline that do not depend on the raw data type.
Definition at line 158 of file rtkProjectionsReader.h.
using rtk::ProjectionsReader< TOutputImage >::WaterPrecorrectionVectorType = std::vector<double> |
Definition at line 154 of file rtkProjectionsReader.h.
|
protected |
|
overrideprotecteddefault |
|
virtual |
Convert the projection data to line integrals after pre-processing. Default is on.
|
virtual |
Convert the projection data to line integrals after pre-processing. Default is on.
|
private |
Function that checks and propagates the parameters of the class to the mini-pipeline. Due to concept checking, i0 propagation can only be done with unsigned shorts and is left apart without template.
|
virtual |
Reimplemented from itk::Object.
|
overrideprotectedvirtual |
Does the real work.
Reimplemented from itk::ProcessObject.
|
overridevirtual |
Prepare the allocation of the output image during the first back propagation of the pipeline.
Reimplemented from itk::ProcessObject.
|
virtual |
|
virtual |
Convert the projection data to line integrals after pre-processing. Default is on.
|
virtual |
Set/Get itk::ConditionalMedianImageFilter parameters
|
virtual |
|
inline |
Set the vector of strings that contains the file names. Files are processed in sequential order.
Definition at line 176 of file rtkProjectionsReader.h.
|
virtual |
Set/Get rtk::LUTbasedVariableI0RawToAttenuationImageFilter. Default is used if not set which depends on the input image type max. If equals 0, automated estimation is activated using rtk::I0EstimationProjectionFilter.
|
virtual |
Set/Get the intensity with no photons for rtk::LUTbasedVariableI0RawToAttenuationImageFilter.
|
virtual |
Set/Get the ImageIO helper class. Often this is created via the object factory mechanism that determines whether a particular ImageIO can read a certain file. This method provides a way to get the ImageIO instance that is created. Or you can directly specify the ImageIO to use to read a particular file in case the factory mechanism will not work properly (e.g., unknown or unusual extension).
|
virtual |
Set/Get the cropping sizes for the upper and lower boundaries.
|
virtual |
Set/Get itk::ConditionalMedianImageFilter parameters
|
overridevirtual |
Run-time type information (and related methods).
Reimplemented from itk::ProcessObject.
|
virtual |
|
virtual |
Set/Get the new image information for the input projections before any pre-processing.
|
virtual |
|
virtual |
Set/Get itk::BinShrinkImageFilter parameters
|
virtual |
|
virtual |
Set/Get the cropping sizes for the upper and lower boundaries.
|
virtual |
Set/Get the index of the component to be extracted if the projection data contains vectors instead of scalars.
|
virtual |
Get / Set the water precorrection parameters.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Reimplemented from itk::ProcessObject.
|
private |
Function that checks and propagates the parameters of the class to the mini-pipeline. Due to concept checking, i0 propagation can only be done with unsigned shorts and is left apart without template.
|
private |
Function that checks and propagates the parameters of the class to the mini-pipeline. Due to concept checking, i0 propagation can only be done with unsigned shorts and is left apart without template.
|
virtual |
|
virtual |
Convert the projection data to line integrals after pre-processing. Default is on.
|
virtual |
Set/Get itk::ConditionalMedianImageFilter parameters
|
virtual |
|
inline |
Set the vector of strings that contains the file names. Files are processed in sequential order.
Definition at line 167 of file rtkProjectionsReader.h.
|
virtual |
Set/Get rtk::LUTbasedVariableI0RawToAttenuationImageFilter. Default is used if not set which depends on the input image type max. If equals 0, automated estimation is activated using rtk::I0EstimationProjectionFilter.
|
virtual |
Set/Get the intensity with no photons for rtk::LUTbasedVariableI0RawToAttenuationImageFilter.
|
virtual |
Set/Get the ImageIO helper class. Often this is created via the object factory mechanism that determines whether a particular ImageIO can read a certain file. This method provides a way to get the ImageIO instance that is created. Or you can directly specify the ImageIO to use to read a particular file in case the factory mechanism will not work properly (e.g., unknown or unusual extension).
|
virtual |
Set/Get the cropping sizes for the upper and lower boundaries.
|
virtual |
Set/Get itk::ConditionalMedianImageFilter parameters
|
virtual |
|
virtual |
Set/Get the new image information for the input projections before any pre-processing.
|
virtual |
|
virtual |
Set/Get itk::BinShrinkImageFilter parameters
|
virtual |
|
virtual |
Set/Get the cropping sizes for the upper and lower boundaries.
|
virtual |
Set/Get the index of the component to be extracted if the projection data contains vectors instead of scalars.
|
inlinevirtual |
Get / Set the water precorrection parameters.
Definition at line 241 of file rtkProjectionsReader.h.
|
private |
Copy of parameters for the mini-pipeline. Parameters are checked and propagated when required in the GenerateOutputInformation. Refer to the documentation of the corresponding filter for more information.
Definition at line 345 of file rtkProjectionsReader.h.
|
private |
Definition at line 316 of file rtkProjectionsReader.h.
|
private |
Definition at line 312 of file rtkProjectionsReader.h.
|
private |
Copy of parameters for the mini-pipeline. Parameters are checked and propagated when required in the GenerateOutputInformation. Refer to the documentation of the corresponding filter for more information.
Definition at line 352 of file rtkProjectionsReader.h.
|
private |
Definition at line 315 of file rtkProjectionsReader.h.
|
private |
Copy of parameters for the mini-pipeline. Parameters are checked and propagated when required in the GenerateOutputInformation. Refer to the documentation of the corresponding filter for more information.
Definition at line 350 of file rtkProjectionsReader.h.
|
private |
Definition at line 314 of file rtkProjectionsReader.h.
|
private |
Copy of parameters for the mini-pipeline. Parameters are checked and propagated when required in the GenerateOutputInformation. Refer to the documentation of the corresponding filter for more information.
Definition at line 340 of file rtkProjectionsReader.h.
|
private |
Definition at line 313 of file rtkProjectionsReader.h.
|
protected |
A list of filenames to be processed.
Definition at line 290 of file rtkProjectionsReader.h.
|
private |
Copy of parameters for the mini-pipeline. Parameters are checked and propagated when required in the GenerateOutputInformation. Refer to the documentation of the corresponding filter for more information.
Definition at line 348 of file rtkProjectionsReader.h.
|
private |
Definition at line 318 of file rtkProjectionsReader.h.
|
private |
Copy of parameters for the mini-pipeline. Parameters are checked and propagated when required in the GenerateOutputInformation. Refer to the documentation of the corresponding filter for more information.
Definition at line 349 of file rtkProjectionsReader.h.
|
private |
Image IO object which is stored to create the pipe only when required
Definition at line 333 of file rtkProjectionsReader.h.
|
private |
Copy of parameters for the mini-pipeline. Parameters are checked and propagated when required in the GenerateOutputInformation. Refer to the documentation of the corresponding filter for more information.
Definition at line 341 of file rtkProjectionsReader.h.
|
private |
Copy of parameters for the mini-pipeline. Parameters are checked and propagated when required in the GenerateOutputInformation. Refer to the documentation of the corresponding filter for more information.
Definition at line 344 of file rtkProjectionsReader.h.
|
private |
Copy of parameters for the mini-pipeline. Parameters are checked and propagated when required in the GenerateOutputInformation. Refer to the documentation of the corresponding filter for more information.
Definition at line 347 of file rtkProjectionsReader.h.
|
private |
Copy of parameters for the mini-pipeline. Parameters are checked and propagated when required in the GenerateOutputInformation. Refer to the documentation of the corresponding filter for more information.
Definition at line 338 of file rtkProjectionsReader.h.
|
private |
When m_ComputeLineIntegral is off, one just casts the value instead of doing a line integral.
Definition at line 326 of file rtkProjectionsReader.h.
|
private |
The projections reader which template depends on the scanner. It is not typed because we want to keep the data as on disk. The pointer is stored to reference the filter and avoid its destruction.
Definition at line 308 of file rtkProjectionsReader.h.
|
private |
Conversion from raw to attenuation. Depends on the input image type, set to binning filter output by default.
Definition at line 322 of file rtkProjectionsReader.h.
|
private |
Definition at line 317 of file rtkProjectionsReader.h.
|
private |
Copy of parameters for the mini-pipeline. Parameters are checked and propagated when required in the GenerateOutputInformation. Refer to the documentation of the corresponding filter for more information.
Definition at line 346 of file rtkProjectionsReader.h.
|
private |
Copy of parameters for the mini-pipeline. Parameters are checked and propagated when required in the GenerateOutputInformation. Refer to the documentation of the corresponding filter for more information.
Definition at line 343 of file rtkProjectionsReader.h.
|
private |
Copy of parameters for the mini-pipeline. Parameters are checked and propagated when required in the GenerateOutputInformation. Refer to the documentation of the corresponding filter for more information.
Definition at line 339 of file rtkProjectionsReader.h.
|
private |
Definition at line 330 of file rtkProjectionsReader.h.
|
private |
Copy of parameters for the mini-pipeline. Parameters are checked and propagated when required in the GenerateOutputInformation. Refer to the documentation of the corresponding filter for more information.
Definition at line 342 of file rtkProjectionsReader.h.
|
private |
Copy of parameters for the mini-pipeline. Parameters are checked and propagated when required in the GenerateOutputInformation. Refer to the documentation of the corresponding filter for more information.
Definition at line 353 of file rtkProjectionsReader.h.
|
private |
Pointers for pre-processing filters that are created only when required.
Definition at line 311 of file rtkProjectionsReader.h.
|
private |
Copy of parameters for the mini-pipeline. Parameters are checked and propagated when required in the GenerateOutputInformation. Refer to the documentation of the corresponding filter for more information.
Definition at line 351 of file rtkProjectionsReader.h.
|
private |
Pointers for post-processing filters that are created only when required.
Definition at line 329 of file rtkProjectionsReader.h.
|
static |
ImageDimension constant
Definition at line 162 of file rtkProjectionsReader.h.