#include <itkBSplineGradientImageFilter.h>
Calculate image gradient from an interpolating B-spline fit.
Definition at line 41 of file itkBSplineGradientImageFilter.h.
Inheritance diagram for itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >:
Collaboration diagram for itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >:Static Public Attributes | |
| static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, Image< CovariantVector< float, TInputImage::ImageDimension >, TInputImage::ImageDimension > > | |
| static constexpr unsigned int | InputImageDimension |
| static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< Image< CovariantVector< float, TInputImage::ImageDimension >, TInputImage::ImageDimension > > | |
| static constexpr unsigned int | OutputImageDimension |
Private Attributes | |
| InterpolatorPointerType | m_Interpolator {} |
| using itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >::CoefficientType = TCoefficientType |
Definition at line 82 of file itkBSplineGradientImageFilter.h.
| using itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >::ConstPointer = SmartPointer<const Self> |
Definition at line 63 of file itkBSplineGradientImageFilter.h.
| using itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >::CoordinateType = TCoordRep |
Typedefs for the interpolator.
Definition at line 81 of file itkBSplineGradientImageFilter.h.
| using itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 57 of file itkBSplineGradientImageFilter.h.
| using itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >::InputImageType = TInputImage |
Convenient type alias for simplifying declarations.
Definition at line 56 of file itkBSplineGradientImageFilter.h.
| using itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >::InputPixelType = typename InputImageType::PixelType |
Image type alias support.
Definition at line 72 of file itkBSplineGradientImageFilter.h.
| using itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >::InterpolatorPointerType = typename InterpolatorType::Pointer |
Definition at line 84 of file itkBSplineGradientImageFilter.h.
| using itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >::InterpolatorType = BSplineInterpolateImageFunction<InputImageType, CoordinateType, CoefficientType> |
Definition at line 83 of file itkBSplineGradientImageFilter.h.
| using itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >::OutputImageRegionType = typename OutputImageType::RegionType |
Definition at line 75 of file itkBSplineGradientImageFilter.h.
| using itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >::OutputImageType = Image<CovariantVector<TOutputValueType, ImageDimension>, ImageDimension> |
Definition at line 58 of file itkBSplineGradientImageFilter.h.
| using itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >::OutputPixelType = CovariantVector<OutputValueType, Self::OutputImageDimension> |
Definition at line 74 of file itkBSplineGradientImageFilter.h.
| using itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >::OutputValueType = TOutputValueType |
Definition at line 73 of file itkBSplineGradientImageFilter.h.
| using itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >::Pointer = SmartPointer<Self> |
Definition at line 62 of file itkBSplineGradientImageFilter.h.
| using itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >::Self = BSplineGradientImageFilter |
Standard class type alias.
Definition at line 53 of file itkBSplineGradientImageFilter.h.
| using itk::BSplineGradientImageFilter< TInputImage, TOutputValueType, TCoordRep, TCoefficientType >::Superclass = ImageToImageFilter<InputImageType, OutputImageType> |
Standard class type alias.
Definition at line 61 of file itkBSplineGradientImageFilter.h.
|
protected |
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
overrideprotectedvirtual |
Build the interpolator (and its B-spline coefficients) once, before the threads run, so per-thread evaluation is read-only.
Reimplemented from itk::ImageSource< Image< CovariantVector< float, TInputImage::ImageDimension >, TInputImage::ImageDimension > >.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LightObject.
|
overrideprotectedvirtual |
If an imaging filter can be implemented as a multithreaded algorithm, the filter will provide an implementation of ThreadedGenerateData() or DynamicThreadedGenerateData(). This superclass will automatically split the output image into a number of pieces, spawn multiple threads, and call (Dynamic)ThreadedGenerateData() in each thread. Prior to spawning threads, the BeforeThreadedGenerateData() method is called. After all the threads have completed, the AfterThreadedGenerateData() method is called. If an image processing filter cannot support threading, that filter should provide an implementation of the GenerateData() method instead of providing an implementation of (Dynamic)ThreadedGenerateData(). If a filter provides a GenerateData() method as its implementation, then the filter is responsible for allocating the output data. If a filter provides a (Dynamic)ThreadedGenerateData() method as its implementation, then the output memory will allocated automatically by this superclass. The (Dynamic)ThreadedGenerateData() method should only produce the output specified by "outputThreadRegion" parameter. (Dynamic)ThreadedGenerateData() cannot write to any other portion of the output image (as this is responsibility of a different thread).
DynamicThreadedGenerateData() is the newer variant without threadId, and is the preferred signature, which is called by default. This variant can split the requested region into different number of pieces depending on current multi-processing load, which allows better load balancing. The non-dynamic (also known as classic) ThreadedGenerateData() signature has threadId, and number of pieces to be split into is known in advance. It is activated by calling this->DynamicMultiThreadingOff(); in derived class constructor. It should be used when the multi-threaded algorithm needs to pre-allocate some data structure with size dependent on the number of pieces (also known as chunks, work units, and sometimes also incorrectly as threads). Only PlatformMultiThreader guarantees that each piece will be processed in its own specific thread. Pool and TBB multi-threaders maintain a pool of threads (normally equal to number of processing cores) which they use to process the pieces. This normally results in a single thread being reused to process multiple work units.
Reimplemented from itk::ImageSource< Image< CovariantVector< float, TInputImage::ImageDimension >, TInputImage::ImageDimension > >.
|
overrideprotectedvirtual |
This filter must produce all of its output at once.
Reimplemented from itk::ProcessObject.
|
overrideprotectedvirtual |
This filter requires all of the input image for now. Future implementation may be capable of streaming.
Reimplemented from itk::ProcessObject.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< CovariantVector< float, TInputImage::ImageDimension >, TInputImage::ImageDimension > >.
References BSplineGradientImageFilter().
|
static |
Method for creation through the object factory.
|
staticconstexpr |
Extract dimension from input image.
Definition at line 50 of file itkBSplineGradientImageFilter.h.
|
private |
Definition at line 108 of file itkBSplineGradientImageFilter.h.