|
|
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkGPUResampleImageFilter.h>
GPU version of ResampleImageFilter.
Definition at line 50 of file itkGPUResampleImageFilter.h.
Inheritance diagram for itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >:Public Types | |
| using | CompositeTransformBaseType = GPUCompositeTransformBase< InterpolatorPrecisionType, InputImageDimension > |
| using | ConstPointer = SmartPointer< const Self > |
| using | CPUSuperclass = ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType > |
| using | ExtrapolatorType = typename CPUSuperclass::ExtrapolatorType |
| using | GPUBSplineBaseTransformType = GPUBSplineBaseTransform< InterpolatorPrecisionType, InputImageDimension > |
| using | GPUBSplineInterpolatorCoefficientImagePointer = typename GPUBSplineInterpolatorType::GPUCoefficientImagePointer |
| using | GPUBSplineInterpolatorCoefficientImageType = typename GPUBSplineInterpolatorType::GPUCoefficientImageType |
| using | GPUBSplineInterpolatorDataManagerPointer = typename GPUBSplineInterpolatorType::GPUDataManagerPointer |
| using | GPUBSplineInterpolatorType = GPUBSplineInterpolateImageFunction< InputImageType, InterpolatorPrecisionType > |
| using | GPUDataManagerPointer = typename GPUDataManager::Pointer |
| using | GPUInputImage = typename GPUTraits< TInputImage >::Type |
| using | GPUKernelManagerPointer = typename OpenCLKernelManager::Pointer |
| using | GPUOutputImage = typename GPUTraits< TOutputImage >::Type |
| using | GPUSuperclass = GPUImageToImageFilter< TInputImage, TOutputImage, CPUSuperclass > |
| using | IndexType = typename CPUSuperclass::IndexType |
| using | InputImageRegionType = typename CPUSuperclass::InputImageRegionType |
| using | InputImageType = TInputImage |
| using | InterpolatorPrecisionType = TInterpolatorPrecisionType |
| using | InterpolatorType = typename CPUSuperclass::InterpolatorType |
| using | OutputImagePixelType = typename GPUSuperclass::OutputImagePixelType |
| using | OutputImageRegionType = typename CPUSuperclass::OutputImageRegionType |
| using | OutputImageType = TOutputImage |
| using | Pointer = SmartPointer< Self > |
| using | Self = GPUResampleImageFilter |
| using | SizeType = typename CPUSuperclass::SizeType |
| using | TransformType = typename CPUSuperclass::TransformType |
Public Types inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter > | |
| using | ConstPointer = SmartPointer< const Self > |
| using | InputImageConstPointer = typename InputImageType::ConstPointer |
| using | InputImagePixelType = typename InputImageType::PixelType |
| using | InputImagePointer = typename InputImageType::Pointer |
| using | InputImageRegionType = typename InputImageType::RegionType |
| using | InputImageType = TInputImage |
| using | OutputImageType = TOutputImage |
| using | Pointer = SmartPointer< Self > |
| using | Self = GPUImageToImageFilter |
| using | Superclass = TParentImageFilter |
Public Member Functions | |
| virtual const char * | GetClassName () const |
| virtual unsigned int | GetRequestedNumberOfSplits () const |
| ITK_DISALLOW_COPY_AND_MOVE (GPUResampleImageFilter) | |
| itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension) | |
| itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension) | |
| void | SetExtrapolator (ExtrapolatorType *_arg) override |
| void | SetInterpolator (InterpolatorType *_arg) override |
| virtual void | SetRequestedNumberOfSplits (unsigned int _arg) |
| void | SetTransform (const TransformType *_arg) override |
Public Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter > | |
| virtual bool | GetGPUEnabled () const |
| virtual void | GPUEnabledOff () |
| virtual void | GPUEnabledOn () |
| void | GraftOutput (const DataObjectIdentifierType &key, DataObject *graft) override |
| void | GraftOutput (DataObject *graft) override |
| ITK_DISALLOW_COPY_AND_MOVE (GPUImageToImageFilter) | |
| itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension) | |
| itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension) | |
| virtual void | SetGPUEnabled (bool _arg) |
| void | SetNumberOfWorkUnits (ThreadIdType _arg) override |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter > | |
| static Pointer | New () |
Protected Types | |
| enum | GPUTransformTypeEnum { IdentityTransform = 1 , MatrixOffsetTransform , TranslationTransform , BSplineTransform , Else } |
Protected Member Functions | |
| GPUBSplineBaseTransformType * | GetGPUBSplineBaseTransform (const std::vcl_size_t transformIndex) |
| bool | GetKernelIdFromTransformId (const std::vcl_size_t &index, std::vcl_size_t &kernelId) const |
| int | GetTransformHandle (const GPUTransformTypeEnum type) const |
| const GPUTransformTypeEnum | GetTransformType (const int &transformIndex) const |
| void | GPUGenerateData () override |
| GPUResampleImageFilter () | |
| bool | HasTransform (const GPUTransformTypeEnum type) const |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| void | SetArgumentsForLoopKernelManager (const typename GPUInputImage::Pointer &input, const typename GPUOutputImage::Pointer &output) |
| void | SetArgumentsForPostKernelManager (const typename GPUInputImage::Pointer &input, const typename GPUOutputImage::Pointer &output) |
| void | SetArgumentsForPreKernelManager (const typename GPUOutputImage::Pointer &output) |
| void | SetBSplineTransformCoefficientsToGPU (const std::vcl_size_t transformIndex) |
| void | SetTransformParametersForLoopKernelManager (const std::vcl_size_t transformIndex) |
| ~GPUResampleImageFilter () override=default | |
Protected Member Functions inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter > | |
| void | GenerateData () override |
| GPUImageToImageFilter () | |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| ~GPUImageToImageFilter () override=default | |
Private Types | |
| using | TransformHandle = std::pair< int, bool > |
| using | TransformsHandle = std::map< GPUTransformTypeEnum, TransformHandle > |
Private Attributes | |
| GPUDataManagerPointer | m_DeformationFieldBuffer {} |
| TransformsHandle | m_FilterLoopGPUKernelHandle {} |
| GPUDataManagerPointer | m_FilterParameters {} |
| std::vcl_size_t | m_FilterPostGPUKernelHandle {} |
| std::vcl_size_t | m_FilterPreGPUKernelHandle {} |
| GPUDataManagerPointer | m_InputGPUImageBase {} |
| GPUInterpolatorBase * | m_InterpolatorBase {} |
| bool | m_InterpolatorIsBSpline {} |
| std::vcl_size_t | m_InterpolatorSourceLoadedIndex {} |
| GPUKernelManagerPointer | m_LoopKernelManager {} |
| GPUDataManagerPointer | m_OutputGPUImageBase {} |
| GPUKernelManagerPointer | m_PostKernelManager {} |
| GPUKernelManagerPointer | m_PreKernelManager {} |
| unsigned int | m_RequestedNumberOfSplits {} |
| std::vcl_size_t | m_SourceIndex {} |
| std::vector< std::string > | m_Sources {} |
| GPUTransformBase * | m_TransformBase {} |
| bool | m_TransformIsCombo {} |
| std::vcl_size_t | m_TransformSourceLoadedIndex {} |
Additional Inherited Members | |
Protected Attributes inherited from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter > | |
| OpenCLKernelManager::Pointer | m_GPUKernelManager {} |
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::CompositeTransformBaseType = GPUCompositeTransformBase<InterpolatorPrecisionType, InputImageDimension> |
Definition at line 98 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::ConstPointer = SmartPointer<const Self> |
Definition at line 65 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::CPUSuperclass = ResampleImageFilter<TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType> |
Definition at line 61 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::ExtrapolatorType = typename CPUSuperclass::ExtrapolatorType |
Definition at line 87 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GPUBSplineBaseTransformType = GPUBSplineBaseTransform<InterpolatorPrecisionType, InputImageDimension> |
Typedefs for the B-spline transform.
Definition at line 107 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GPUBSplineInterpolatorCoefficientImagePointer = typename GPUBSplineInterpolatorType::GPUCoefficientImagePointer |
Definition at line 103 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GPUBSplineInterpolatorCoefficientImageType = typename GPUBSplineInterpolatorType::GPUCoefficientImageType |
Definition at line 102 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GPUBSplineInterpolatorDataManagerPointer = typename GPUBSplineInterpolatorType::GPUDataManagerPointer |
Definition at line 104 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GPUBSplineInterpolatorType = GPUBSplineInterpolateImageFunction<InputImageType, InterpolatorPrecisionType> |
Typedefs for the B-spline interpolator.
Definition at line 101 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GPUDataManagerPointer = typename GPUDataManager::Pointer |
Definition at line 97 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GPUInputImage = typename GPUTraits<TInputImage>::Type |
Definition at line 80 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GPUKernelManagerPointer = typename OpenCLKernelManager::Pointer |
Other typedefs.
Definition at line 96 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GPUOutputImage = typename GPUTraits<TOutputImage>::Type |
Definition at line 81 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::GPUSuperclass = GPUImageToImageFilter<TInputImage, TOutputImage, CPUSuperclass> |
Definition at line 63 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::IndexType = typename CPUSuperclass::IndexType |
Definition at line 91 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::InputImageRegionType = typename CPUSuperclass::InputImageRegionType |
Definition at line 88 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::InputImageType = TInputImage |
Some convenient typedefs.
Definition at line 78 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::InterpolatorPrecisionType = TInterpolatorPrecisionType |
Definition at line 82 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::InterpolatorType = typename CPUSuperclass::InterpolatorType |
Superclass typedefs.
Definition at line 85 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::OutputImagePixelType = typename GPUSuperclass::OutputImagePixelType |
Definition at line 93 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::OutputImageRegionType = typename CPUSuperclass::OutputImageRegionType |
Definition at line 89 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::OutputImageType = TOutputImage |
Definition at line 79 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::Pointer = SmartPointer<Self> |
Definition at line 64 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::Self = GPUResampleImageFilter |
Standard class typedefs.
Definition at line 60 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::SizeType = typename CPUSuperclass::SizeType |
Definition at line 90 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 197 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 198 of file itkGPUResampleImageFilter.h.
| using itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::TransformType = typename CPUSuperclass::TransformType |
Definition at line 86 of file itkGPUResampleImageFilter.h.
|
protected |
| Enumerator | |
|---|---|
| IdentityTransform | |
| MatrixOffsetTransform | |
| TranslationTransform | |
| BSplineTransform | |
| Else | |
Definition at line 136 of file itkGPUResampleImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >.
|
protected |
Get the BSpline base transform.
|
protected |
Get a handle to the kernel given a handle to a transform.
|
virtual |
|
protected |
Get a handle to a certain transform type.
|
protected |
Get transform type.
|
overrideprotectedvirtual |
Reimplemented from itk::GPUImageToImageFilter< TInputImage, TOutputImage, TParentImageFilter >.
|
protected |
Check if a certain transform is present in the list of transforms.
| itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::ITK_DISALLOW_COPY_AND_MOVE | ( | GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType > | ) |
| itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::itkStaticConstMacro | ( | InputImageDimension | , |
| unsigned int | , | ||
| TInputImage::ImageDimension | |||
| ) |
ImageDimension constants
| itk::GPUResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType, TTransformPrecisionType >::itkStaticConstMacro | ( | OutputImageDimension | , |
| unsigned int | , | ||
| TOutputImage::ImageDimension | |||
| ) |
|
static |
Method for creation through the object factory.
|
overrideprotected |
|
protected |
Set arguments for the loop kernel manager.
|
protected |
Set arguments for the post kernel manager.
|
protected |
Set arguments for the pre kernel manager.
|
protected |
Set the B-spline transform coefficient images to the GPU.
|
override |
Set the extrapolator. Not yet supported.
|
override |
Set the interpolator.
|
virtual |
Set/Get the requested number of splits on OpenCL device. Only works for 3D images. For 1D, 2D are always equal 1.
|
override |
Set the transform.
|
protected |
Set arguments for the loop kernel manager.
|
private |
Definition at line 194 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 231 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 193 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 232 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 230 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 191 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 188 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 227 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 224 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 236 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 192 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 237 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 235 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 195 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 222 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 221 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 189 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 228 of file itkGPUResampleImageFilter.h.
|
private |
Definition at line 225 of file itkGPUResampleImageFilter.h.
Generated on 1739326392 for elastix by 1.9.8 |