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