![]() |
RTK
2.6.0
Reconstruction Toolkit
|
#include <rtkSingularValueThresholdImageFilter.h>
Public Types | |
using | ConstPointer = itk::SmartPointer< const Self > |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageType = TInputImage |
using | InputPixelType = typename TInputImage::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = TOutputImage |
using | OutputPixelType = typename TOutputImage::PixelType |
using | Pointer = itk::SmartPointer< Self > |
using | RealType = TRealType |
using | RealVectorImageType = itk::Image< RealVectorType, TInputImage::ImageDimension > |
using | RealVectorType = itk::Vector< TRealType, InputPixelType::Dimension > |
using | Self = SingularValueThresholdImageFilter |
using | Superclass = itk::ImageToImageFilter< TInputImage, TOutputImage > |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual TRealType | GetThreshold () |
virtual void | SetThreshold (TRealType _arg) |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TOutputImage::ImageDimension |
static constexpr unsigned int | VectorDimension = InputPixelType::Dimension |
Protected Member Functions | |
const itk::ImageRegionSplitterBase * | GetImageRegionSplitter () const override |
SingularValueThresholdImageFilter () | |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
~SingularValueThresholdImageFilter () override=default | |
Protected Attributes | |
itk::ImageRegionSplitterDirection::Pointer | m_Splitter |
Private Attributes | |
TRealType | m_Threshold |
Performs thresholding on the singular values.
The image is assumed to be of dimension N+1, and to contain itk::CovariantVector of length N. The last dimension is assumed to be the channel dimension (color, or time, or materials in spectral CT), of size L. The input image must contain the spatial gradient of each channel.
The filter walks the pixels of a single channel. For each of these pixels, it constructs a matrix by concatenating the gradient vectors of the L channels. The matrix is decomposed using SVD, its singular values are thresholded, and then reconstructed. The resulting matrix is then cut back into L gradient vectors, which are written in output.
Definition at line 50 of file rtkSingularValueThresholdImageFilter.h.
using rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 59 of file rtkSingularValueThresholdImageFilter.h.
using rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 80 of file rtkSingularValueThresholdImageFilter.h.
using rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::InputImageType = TInputImage |
Image type alias support
Definition at line 78 of file rtkSingularValueThresholdImageFilter.h.
using rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::InputPixelType = typename TInputImage::PixelType |
Definition at line 75 of file rtkSingularValueThresholdImageFilter.h.
using rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::OutputImagePointer = typename OutputImageType::Pointer |
Definition at line 81 of file rtkSingularValueThresholdImageFilter.h.
using rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::OutputImageRegionType = typename Superclass::OutputImageRegionType |
Superclass type alias.
Definition at line 95 of file rtkSingularValueThresholdImageFilter.h.
using rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::OutputImageType = TOutputImage |
Definition at line 79 of file rtkSingularValueThresholdImageFilter.h.
using rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::OutputPixelType = typename TOutputImage::PixelType |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 74 of file rtkSingularValueThresholdImageFilter.h.
using rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::Pointer = itk::SmartPointer<Self> |
Definition at line 58 of file rtkSingularValueThresholdImageFilter.h.
using rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::RealType = TRealType |
Define the data type and the vector of data type used in calculations.
Definition at line 90 of file rtkSingularValueThresholdImageFilter.h.
using rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::RealVectorImageType = itk::Image<RealVectorType, TInputImage::ImageDimension> |
Definition at line 92 of file rtkSingularValueThresholdImageFilter.h.
using rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::RealVectorType = itk::Vector<TRealType, InputPixelType::Dimension> |
Definition at line 91 of file rtkSingularValueThresholdImageFilter.h.
using rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::Self = SingularValueThresholdImageFilter |
Standard class type alias.
Definition at line 56 of file rtkSingularValueThresholdImageFilter.h.
using rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::Superclass = itk::ImageToImageFilter<TInputImage, TOutputImage> |
Definition at line 57 of file rtkSingularValueThresholdImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
virtual |
Reimplemented from itk::Object.
|
overrideprotectedvirtual |
Splits the OutputRequestedRegion along the first direction, not the last
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
|
virtual |
Begin concept checking End concept checking
|
static |
Method for creation through the object factory.
|
virtual |
|
overrideprotectedvirtual |
Reimplemented from itk::ImageSource< TOutputImage >.
|
static |
The dimensionality of the input and output images.
Definition at line 84 of file rtkSingularValueThresholdImageFilter.h.
|
protected |
Definition at line 118 of file rtkSingularValueThresholdImageFilter.h.
|
private |
Definition at line 121 of file rtkSingularValueThresholdImageFilter.h.
|
static |
Length of the vector pixel type of the input image.
Definition at line 87 of file rtkSingularValueThresholdImageFilter.h.