ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkWeightedAddImageFilter.h>
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 115 of file itkWeightedAddImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::FunctorType | FunctorType |
typedef SmartPointer< Self > | Pointer |
typedef FunctorType::RealType | RealType |
typedef WeightedAddImageFilter | Self |
typedef BinaryFunctorImageFilter < TInputImage1, TInputImage2, TOutputImage, Functor::WeightedAdd2 < typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > | Superclass |
Public Types inherited from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::WeightedAdd2< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SimpleDataObjectDecorator < Input1ImagePixelType > | DecoratedInput1ImagePixelType |
typedef SimpleDataObjectDecorator < Input2ImagePixelType > | DecoratedInput2ImagePixelType |
typedef Functor::WeightedAdd2 < TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > | FunctorType |
typedef Input1ImageType::PixelType | Input1ImagePixelType |
typedef Input1ImageType::ConstPointer | Input1ImagePointer |
typedef Input1ImageType::RegionType | Input1ImageRegionType |
typedef TInputImage1 | Input1ImageType |
typedef Input2ImageType::PixelType | Input2ImagePixelType |
typedef Input2ImageType::ConstPointer | Input2ImagePointer |
typedef Input2ImageType::RegionType | Input2ImageRegionType |
typedef TInputImage2 | Input2ImageType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef BinaryFunctorImageFilter | Self |
typedef InPlaceImageFilter < TInputImage1, TOutputImage > | Superclass |
Public Types inherited from itk::InPlaceImageFilter< TInputImage1, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage1 | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef Superclass::OutputImageType | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef InPlaceImageFilter | Self |
typedef ImageToImageFilter < TInputImage1, TOutputImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TInputImage1, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage1 | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TOutputImage > | Superclass |
Public Types inherited from itk::ImageSource< TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef MultiThreader | MultiThreaderType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::WeightedAdd2< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
typedef SmartPointer< const Self > itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::ConstPointer |
Definition at line 135 of file itkWeightedAddImageFilter.h.
typedef Superclass::FunctorType itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::FunctorType |
Definition at line 137 of file itkWeightedAddImageFilter.h.
typedef SmartPointer< Self > itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::Pointer |
Definition at line 134 of file itkWeightedAddImageFilter.h.
typedef FunctorType::RealType itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::RealType |
Definition at line 138 of file itkWeightedAddImageFilter.h.
typedef WeightedAddImageFilter itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::Self |
Standard class typedefs.
Definition at line 126 of file itkWeightedAddImageFilter.h.
typedef BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::WeightedAdd2< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > itk::WeightedAddImageFilter< TInputImage1, TInputImage2, TOutputImage >::Superclass |
Definition at line 132 of file itkWeightedAddImageFilter.h.
|
inlineprotected |
Definition at line 175 of file itkWeightedAddImageFilter.h.
|
inlineoverrideprotectedvirtual |
Definition at line 176 of file itkWeightedAddImageFilter.h.
|
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::Object.
|
inline |
Returns the current alpha value setting
Definition at line 156 of file itkWeightedAddImageFilter.h.
References itk::Functor::WeightedAdd2< TInput1, TInput2, TOutput >::GetAlpha(), and itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::WeightedAdd2< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >::GetFunctor().
|
virtual |
Runtime information support.
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::WeightedAdd2< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
|
static |
Method for creation through the object factory.
|
inline |
Set the weight for the first operand of the weighted addition
Definition at line 148 of file itkWeightedAddImageFilter.h.
References itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::WeightedAdd2< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >::GetFunctor(), itk::Object::Modified(), and itk::Functor::WeightedAdd2< TInput1, TInput2, TOutput >::SetAlpha().