18 #ifndef sitkDisplacementFieldJacobianDeterminantFilter_h
19 #define sitkDisplacementFieldJacobianDeterminantFilter_h
99 SITK_RETURN_SELF_TYPE_HEADER
SetUseImageSpacing (
bool UseImageSpacing ) { this->m_UseImageSpacing = UseImageSpacing;
return *
this; }
112 SITK_RETURN_SELF_TYPE_HEADER
SetDerivativeWeights (
const std::vector<double> & DerivativeWeights ) { this->m_DerivativeWeights = DerivativeWeights;
return *
this; }
119 std::string
GetName()
const {
return std::string (
"DisplacementFieldJacobianDeterminantFilter"); }
122 std::string ToString()
const;
130 Image Execute (
const Image& image1,
bool useImageSpacing,
const std::vector<double> & derivativeWeights );
137 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
138 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
Computes a scalar image from a vector image (e.g., deformation field) input, where each output scalar...
#define SITKBasicFilters_EXPORT
RealVectorPixelIDTypeList PixelIDTypeList
Self & SetUseImageSpacing(bool UseImageSpacing)
Self & UseImageSpacingOff()
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::string GetName() const
The main Image class for SimpleITK.
std::vector< double > m_DerivativeWeights
Self & SetDerivativeWeights(const std::vector< double > &DerivativeWeights)
DisplacementFieldJacobianDeterminantFilter Self
Image DisplacementFieldJacobianDeterminant(const Image &image1, bool useImageSpacing=true, const std::vector< double > &derivativeWeights=std::vector< double >())
Computes a scalar image from a vector image (e.g., deformation field) input, where each output scalar...
Self & UseImageSpacingOn()
std::vector< double > GetDerivativeWeights() const
typelist::MakeTypeList< VectorPixelID< float >, VectorPixelID< double > >::Type RealVectorPixelIDTypeList
The base interface for SimpleITK filters that take one input image.
bool GetUseImageSpacing() const