#include <itkConstantPadImageFilter.h>
Increase the image size by padding with a constant value.
ConstantPadImageFilter changes the output image region. If the output image region is larger than the input image region, the extra pixels are filled in by a constant value. The output image region must be specified.
This filter is implemented as a multithreaded filter. It provides a DynamicThreadedGenerateData() method for its implementation.
Definition at line 49 of file itkConstantPadImageFilter.h.
Public Types | |
using | ConstPointer = SmartPointer<const Self> |
using | InputImageIndexType |
using | InputImagePixelType |
using | InputImageRegionType |
using | InputImageSizeType |
using | OutputImageIndexType |
using | OutputImagePixelType |
using | OutputImageRegionType |
using | OutputImageSizeType |
using | Pointer = SmartPointer<Self> |
using | Self = ConstantPadImageFilter |
using | Superclass = PadImageFilter<TInputImage, TOutputImage> |
![]() | |
using | BoundaryConditionType = ImageBoundaryCondition<TInputImage, TOutputImage> |
using | ConstPointer = SmartPointer<const Self> |
using | InputImageIndexType = typename TInputImage::IndexType |
using | InputImagePixelType = typename TInputImage::PixelType |
using | InputImageRegionType = typename TInputImage::RegionType |
using | InputImageSizeType = typename TInputImage::SizeType |
using | OutputImageIndexType = typename TOutputImage::IndexType |
using | OutputImagePixelType = typename TOutputImage::PixelType |
using | OutputImageRegionType = typename TOutputImage::RegionType |
using | OutputImageSizeType = typename TOutputImage::SizeType |
using | Pointer = SmartPointer<Self> |
using | Self = PadImageFilter |
using | SizeType = typename TInputImage::SizeType |
using | SizeValueType = typename TInputImage::SizeValueType |
using | Superclass = PadImageFilterBase<TInputImage, TOutputImage> |
![]() | |
using | BoundaryConditionType = ImageBoundaryCondition<TInputImage, TOutputImage> |
using | ConstPointer = SmartPointer<const Self> |
using | InputImageIndexType = typename TInputImage::IndexType |
using | InputImagePixelType = typename TInputImage::PixelType |
using | InputImageRegionType = typename TInputImage::RegionType |
using | InputImageSizeType = typename TInputImage::SizeType |
using | OutputImageIndexType = typename TOutputImage::IndexType |
using | OutputImagePixelType = typename TOutputImage::PixelType |
using | OutputImageRegionType = typename TOutputImage::RegionType |
using | OutputImageSizeType = typename TOutputImage::SizeType |
using | Pointer = SmartPointer<Self> |
using | Self = PadImageFilterBase |
using | SizeType = typename TInputImage::SizeType |
using | SizeValueType = typename TInputImage::SizeValueType |
using | Superclass = ImageToImageFilter<TInputImage, TOutputImage> |
![]() | |
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 | OutputImagePixelType |
using | OutputImageRegionType |
using | Pointer = SmartPointer<Self> |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource<TOutputImage> |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer<Self> |
using | Self = ImageSource |
using | Superclass = ProcessObject |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector<DataObjectPointer> |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector<DataObjectIdentifierType> |
using | Pointer = SmartPointer<Self> |
using | Self = ProcessObject |
using | Superclass = Object |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = Object |
using | Superclass = LightObject |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static double | GetGlobalDefaultCoordinateTolerance () |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static void | SetGlobalDefaultDirectionTolerance (double) |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
![]() | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
![]() | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
![]() | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
![]() | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
ConstantBoundaryCondition< TInputImage, TOutputImage > | m_InternalBoundaryCondition {} |
Additional Inherited Members | |
![]() | |
using | InputToOutputRegionCopierType |
using | OutputToInputRegionCopierType |
![]() | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
![]() | |
template<typename TSourceObject> | |
static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
![]() | |
bool | m_DynamicMultiThreading { true } |
![]() | |
TimeStamp | m_OutputInformationMTime {} |
bool | m_Updating {} |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::ConstantPadImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 58 of file itkConstantPadImageFilter.h.
using itk::PadImageFilter< TInputImage, TOutputImage >::InputImageIndexType |
Definition at line 72 of file itkPadImageFilter.h.
using itk::PadImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
Definition at line 68 of file itkPadImageFilter.h.
using itk::PadImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 64 of file itkPadImageFilter.h.
using itk::PadImageFilter< TInputImage, TOutputImage >::InputImageSizeType |
Definition at line 74 of file itkPadImageFilter.h.
using itk::PadImageFilter< TInputImage, TOutputImage >::OutputImageIndexType |
Typedef to describe the output and input image index and size types.
Definition at line 71 of file itkPadImageFilter.h.
using itk::PadImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Typedef to describe the type of pixel.
Definition at line 67 of file itkPadImageFilter.h.
using itk::PadImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Typedef to describe the output and input image region types.
Definition at line 63 of file itkPadImageFilter.h.
using itk::PadImageFilter< TInputImage, TOutputImage >::OutputImageSizeType |
Definition at line 73 of file itkPadImageFilter.h.
using itk::ConstantPadImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 57 of file itkConstantPadImageFilter.h.
using itk::ConstantPadImageFilter< TInputImage, TOutputImage >::Self = ConstantPadImageFilter |
Standard class type aliases.
Definition at line 55 of file itkConstantPadImageFilter.h.
using itk::ConstantPadImageFilter< TInputImage, TOutputImage >::Superclass = PadImageFilter<TInputImage, TOutputImage> |
Definition at line 56 of file itkConstantPadImageFilter.h.
|
protected |
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
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.
|
inline |
Set/Get the pad value. Default is Zero.
Definition at line 95 of file itkConstantPadImageFilter.h.
References m_InternalBoundaryCondition.
|
overridevirtual |
Reimplemented from itk::LightObject.
References ConstantPadImageFilter().
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::LightObject.
|
inline |
Set/Get the pad value. Default is Zero.
Definition at line 86 of file itkConstantPadImageFilter.h.
References m_InternalBoundaryCondition, itk::Object::Modified(), and itk::Math::NotExactlyEquals().
|
staticconstexpr |
ImageDimension constants
Definition at line 81 of file itkConstantPadImageFilter.h.
|
private |
Definition at line 113 of file itkConstantPadImageFilter.h.
Referenced by GetConstant(), and SetConstant().
|
staticconstexpr |
Definition at line 82 of file itkConstantPadImageFilter.h.