RTK
2.6.0
Reconstruction Toolkit
|
#include <rtkDeconstructImageFilter.h>
Public Types | |
using | ConstPointer = itk::SmartPointer< const Self > |
using | ConvolutionFilterType = rtk::DaubechiesWaveletsConvolutionImageFilter< InputImageType > |
using | DownsampleImageFilterType = rtk::DownsampleImageFilter< InputImageType > |
using | InputImageConstPointer = typename Superclass::InputImageConstPointer |
using | InputImagePointer = typename Superclass::InputImagePointer |
using | InputImageType = typename Superclass::InputImageType |
using | InternalPixelType = typename TImage::InternalPixelType |
using | OutputImagePointer = typename Superclass::OutputImagePointer |
using | OutputImageType = typename Superclass::OutputImageType |
using | PadFilterType = itk::MirrorPadImageFilter< InputImageType, InputImageType > |
using | PixelType = typename TImage::PixelType |
using | Pointer = itk::SmartPointer< Self > |
using | Self = DeconstructImageFilter |
using | Superclass = itk::ImageToImageFilter< TImage, TImage > |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
void | GenerateInputRequestedRegion () override |
void | GenerateOutputInformation () override |
InputImageType::IndexType * | GetIndices () |
virtual unsigned int | GetNumberOfLevels () |
InputImageType::SizeType * | GetSizes () |
virtual const char * | GetNameOfClass () const |
virtual void | SetNumberOfLevels (unsigned int levels) |
virtual unsigned int | GetOrder () |
virtual void | SetOrder (unsigned int _arg) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TImage::ImageDimension |
Protected Member Functions | |
virtual unsigned int | CalculateNumberOfOutputs () |
DeconstructImageFilter () | |
void | GenerateData () override |
void | GeneratePassVectors () |
void | ModifyInputOutputStorage () |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
~DeconstructImageFilter () override=default | |
Private Attributes | |
std::vector< typename ConvolutionFilterType::Pointer > | m_ConvolutionFilters |
std::vector< typename DownsampleImageFilterType::Pointer > | m_DownsampleFilters |
std::vector< typename InputImageType::IndexType > | m_Indices |
unsigned int | m_NumberOfLevels { 5 } |
unsigned int | m_Order { 3 } |
std::vector< typename PadFilterType::Pointer > | m_PadFilters |
std::vector< typename ConvolutionFilterType::PassVector > | m_PassVectors |
bool | m_PipelineConstructed |
std::vector< typename InputImageType::SizeType > | m_Sizes |
An image filter that deconstructs an image using Daubechies wavelets.
This filter is inspired from Dan Mueller's GIFT package https://www.insight-journal.org/browse/publication/103
Definition at line 128 of file rtkDeconstructImageFilter.h.
using rtk::DeconstructImageFilter< TImage >::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 138 of file rtkDeconstructImageFilter.h.
using rtk::DeconstructImageFilter< TImage >::ConvolutionFilterType = rtk::DaubechiesWaveletsConvolutionImageFilter<InputImageType> |
Definition at line 165 of file rtkDeconstructImageFilter.h.
using rtk::DeconstructImageFilter< TImage >::DownsampleImageFilterType = rtk::DownsampleImageFilter<InputImageType> |
Definition at line 166 of file rtkDeconstructImageFilter.h.
using rtk::DeconstructImageFilter< TImage >::InputImageConstPointer = typename Superclass::InputImageConstPointer |
Definition at line 159 of file rtkDeconstructImageFilter.h.
using rtk::DeconstructImageFilter< TImage >::InputImagePointer = typename Superclass::InputImagePointer |
Definition at line 157 of file rtkDeconstructImageFilter.h.
using rtk::DeconstructImageFilter< TImage >::InputImageType = typename Superclass::InputImageType |
Inherit types from Superclass.
Definition at line 155 of file rtkDeconstructImageFilter.h.
using rtk::DeconstructImageFilter< TImage >::InternalPixelType = typename TImage::InternalPixelType |
Definition at line 161 of file rtkDeconstructImageFilter.h.
using rtk::DeconstructImageFilter< TImage >::OutputImagePointer = typename Superclass::OutputImagePointer |
Definition at line 158 of file rtkDeconstructImageFilter.h.
using rtk::DeconstructImageFilter< TImage >::OutputImageType = typename Superclass::OutputImageType |
Definition at line 156 of file rtkDeconstructImageFilter.h.
using rtk::DeconstructImageFilter< TImage >::PadFilterType = itk::MirrorPadImageFilter<InputImageType, InputImageType> |
Typedefs for pipeline's subfilters
Definition at line 164 of file rtkDeconstructImageFilter.h.
using rtk::DeconstructImageFilter< TImage >::PixelType = typename TImage::PixelType |
Definition at line 160 of file rtkDeconstructImageFilter.h.
using rtk::DeconstructImageFilter< TImage >::Pointer = itk::SmartPointer<Self> |
Definition at line 137 of file rtkDeconstructImageFilter.h.
using rtk::DeconstructImageFilter< TImage >::Self = DeconstructImageFilter |
Standard class type alias.
Definition at line 135 of file rtkDeconstructImageFilter.h.
using rtk::DeconstructImageFilter< TImage >::Superclass = itk::ImageToImageFilter<TImage, TImage> |
Definition at line 136 of file rtkDeconstructImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
protectedvirtual |
Calculates the number of ProcessObject output images
|
virtual |
Reimplemented from itk::Object.
|
overrideprotectedvirtual |
Does the real work.
Reimplemented from itk::ImageSource< TOutputImage >.
|
overridevirtual |
Reimplemented from itk::ProcessObject.
|
overridevirtual |
DeconstructImageFilter produces images which are of different size than the input image. As such, we reimplement GenerateOutputInformation() in order to inform the pipeline execution model.
Reimplemented from itk::ProcessObject.
|
protected |
Creates and sets the kernel sources to generate all kernels.
|
inline |
Get the index of each convolution filter's output This is required because the downsampling implies a loss of information on the index (both 2n+1 and 2n are downsampled to n), and the upsampling filters used in the reconstruction process need this information.
Definition at line 220 of file rtkDeconstructImageFilter.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageSource< TOutputImage >.
|
inlinevirtual |
Get the number of input levels (per image).
Definition at line 179 of file rtkDeconstructImageFilter.h.
|
virtual |
Get/Set the order of the wavelet filters
|
inline |
Get the size of each convolution filter's output This is required because the downsampling implies a loss of information on the size (both 2n+1 and 2n are downsampled to n), and the upsampling filters used in the reconstruction process need this information.
Definition at line 207 of file rtkDeconstructImageFilter.h.
|
protected |
Modifies the storage for Input and Output images. Should be called after changes to levels, bands, deconstruct, reconstruct, etc...
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Reimplemented from itk::ImageSource< TOutputImage >.
|
inlinevirtual |
Set the number of input levels.
Definition at line 170 of file rtkDeconstructImageFilter.h.
|
virtual |
Get/Set the order of the wavelet filters
|
static |
ImageDimension enumeration.
Definition at line 152 of file rtkDeconstructImageFilter.h.
|
private |
Definition at line 260 of file rtkDeconstructImageFilter.h.
|
private |
Definition at line 262 of file rtkDeconstructImageFilter.h.
|
private |
Definition at line 257 of file rtkDeconstructImageFilter.h.
|
private |
Definition at line 250 of file rtkDeconstructImageFilter.h.
|
private |
Definition at line 251 of file rtkDeconstructImageFilter.h.
|
private |
Definition at line 258 of file rtkDeconstructImageFilter.h.
|
private |
Definition at line 264 of file rtkDeconstructImageFilter.h.
|
private |
Definition at line 252 of file rtkDeconstructImageFilter.h.
|
private |
Definition at line 256 of file rtkDeconstructImageFilter.h.