22 #ifndef otbImageToHessianDeterminantImageFilter_hxx
23 #define otbImageToHessianDeterminantImageFilter_hxx
29 template <
class TInputImage,
class TOutputImage,
class TPrecision>
33 m_HessianFilter = ImageToHessianImageFilterType::New();
34 m_DeterminantFilter = DeterminantFilterType::New();
37 m_DeterminantFilter->SetInput(m_HessianFilter->GetOutput());
43 template <
class TInputImage,
class TOutputImage,
class TPrecision>
48 template <
class TInputImage,
class TOutputImage,
class TPrecision>
52 m_HessianFilter->SetInput(this->GetInput());
53 m_HessianFilter->SetSigma(m_Sigma);
54 m_DeterminantFilter->GraftOutput(this->GetOutput());
55 m_DeterminantFilter->Update();
56 this->GraftOutput(m_DeterminantFilter->GetOutput());
60 template <
class TInputImage,
class TOutputImage,
class TPrecision>
63 Superclass::PrintSelf(os, indent);
64 os << indent <<
"Sigma: " << m_Sigma << std::endl;