18#ifndef itkComplexConjugateImageAdaptor_h
19#define itkComplexConjugateImageAdaptor_h
35template <
typename TComplexType>
43 Set(TComplexType & output,
const TComplexType & input)
45 output = std::conj(input);
48 static inline TComplexType
49 Get(
const TComplexType & input)
51 return std::conj(input);
63template <
typename TImage>
65 :
public ImageAdaptor<TImage, Accessor::ComplexConjugatePixelAccessor<typename TImage::PixelType>>
83#ifdef ITK_USE_CONCEPT_CHECKING
87 typename TImage::PixelType>));
Provide access to the conjugate of a std::complex<> value.
static TComplexType Get(const TComplexType &input)
TComplexType InternalType
TComplexType ExternalType
static void Set(TComplexType &output, const TComplexType &input)
Presents each pixel of a complex image as its complex conjugate.
ComplexConjugateImageAdaptor()=default
~ComplexConjugateImageAdaptor() override=default
Base class for all data objects in ITK.
Give access to partial aspects of voxels from an Image.
Base class for most ITK classes.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....