ITK
5.2.0
Insight Toolkit
|
#include <itkWeightedAddImageFilter.h>
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | FunctorType = Functor::WeightedAdd2< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > |
using | Pointer = SmartPointer< Self > |
using | RealType = typename FunctorType::RealType |
using | Self = WeightedAddImageFilter |
using | Superclass = BinaryGeneratorImageFilter< TInputImage1, TInputImage2, TOutputImage > |
Public Types inherited from itk::BinaryGeneratorImageFilter< TInputImage1, TInputImage2, TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | ConstRefFunctionType = OutputImagePixelType(const Input1ImagePixelType &, const Input2ImagePixelType &) |
using | DecoratedInput1ImagePixelType = SimpleDataObjectDecorator< Input1ImagePixelType > |
using | DecoratedInput2ImagePixelType = SimpleDataObjectDecorator< Input2ImagePixelType > |
using | FunctionType = OutputImagePixelType(*)(const Input1ImagePixelType &, const Input2ImagePixelType &) |
using | Input1ImagePixelType = typename Input1ImageType::PixelType |
using | Input1ImagePointer = typename Input1ImageType::ConstPointer |
using | Input1ImageRegionType = typename Input1ImageType::RegionType |
using | Input1ImageType = TInputImage1 |
using | Input2ImagePixelType = typename Input2ImageType::PixelType |
using | Input2ImagePointer = typename Input2ImageType::ConstPointer |
using | Input2ImageRegionType = typename Input2ImageType::RegionType |
using | Input2ImageType = TInputImage2 |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = BinaryGeneratorImageFilter |
using | Superclass = InPlaceImageFilter< TInputImage1, TOutputImage > |
using | ValueFunctionType = OutputImagePixelType(Input1ImagePixelType, Input2ImagePixelType) |
Public Types inherited from itk::InPlaceImageFilter< TInputImage1, 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 = TInputImage1 |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImagePointer = typename Superclass::OutputImagePointer |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = typename Superclass::OutputImageType |
using | Pointer = SmartPointer< Self > |
using | Self = InPlaceImageFilter |
using | Superclass = ImageToImageFilter< TInputImage1, TOutputImage > |
Public Types inherited from itk::ImageToImageFilter< TInputImage1, 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 = TInputImage1 |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TOutputImage > |
Public Types inherited from itk::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 |
Public Types inherited from itk::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 |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Computes a weighted sum of two images pixel-wise.
This class is templated over the types of the two input images and the type of the output image. Numeric conversions (castings) are done by the C++ defaults.
The pixel type of the input 1 image must have a valid definition of the operator+ with a pixel type of the image 2. This condition is required because internally this filter will perform the operation
Additionally the type resulting from the sum will be cast to the pixel type of the output image.
The total operation over one pixel will be
The alpha parameter is set using SetAlpha.
Definition at line 124 of file itkWeightedAddImageFilter.h.
using itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 139 of file itkWeightedAddImageFilter.h.
using itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::FunctorType = Functor:: WeightedAdd2<typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType> |
Definition at line 136 of file itkWeightedAddImageFilter.h.
using itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 138 of file itkWeightedAddImageFilter.h.
using itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::RealType = typename FunctorType::RealType |
Definition at line 141 of file itkWeightedAddImageFilter.h.
using itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::Self = WeightedAddImageFilter |
Standard class type aliases.
Definition at line 131 of file itkWeightedAddImageFilter.h.
using itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::Superclass = BinaryGeneratorImageFilter<TInputImage1, TInputImage2, TOutputImage> |
Definition at line 132 of file itkWeightedAddImageFilter.h.
|
protecteddefault |
Set the weight for the first operand of the weighted addition
|
overrideprotecteddefault |
Set the weight for the first operand of the weighted addition
|
inlineoverrideprotectedvirtual |
Set the weight for the first operand of the weighted addition
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 180 of file itkWeightedAddImageFilter.h.
References itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::GetFunctor(), and itk::BinaryGeneratorImageFilter< TInputImage1, TInputImage2, TOutputImage >::SetFunctor().
|
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::BinaryGeneratorImageFilter< TInputImage1, TInputImage2, TOutputImage >.
|
inline |
Returns the current alpha value setting
Definition at line 160 of file itkWeightedAddImageFilter.h.
References itk::Functor::WeightedAdd2< TInput1, TInput2, TOutput >::GetAlpha(), and itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::GetFunctor().
|
inlineprivate |
Set the weight for the first operand of the weighted addition
Definition at line 188 of file itkWeightedAddImageFilter.h.
References itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::m_Functor.
|
privatevirtual |
Set the weight for the first operand of the weighted addition
Referenced by itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::BeforeThreadedGenerateData(), itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::GetAlpha(), and itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::SetAlpha().
|
virtual |
Runtime information support.
Reimplemented from itk::BinaryGeneratorImageFilter< TInputImage1, TInputImage2, TOutputImage >.
|
static |
Method for creation through the object factory.
|
inline |
Set the weight for the first operand of the weighted addition
Definition at line 151 of file itkWeightedAddImageFilter.h.
References itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::GetFunctor(), itk::Object::Modified(), and itk::Functor::WeightedAdd2< TInput1, TInput2, TOutput >::SetAlpha().
|
private |
Set the weight for the first operand of the weighted addition
Definition at line 193 of file itkWeightedAddImageFilter.h.
Referenced by itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::GetFunctor().