18 #ifndef __otbUnConstrainedLeastSquareImageFilter_h
19 #define __otbUnConstrainedLeastSquareImageFilter_h
23 #include "vnl/algo/vnl_svd.h"
24 #include <boost/shared_ptr.hpp>
36 template<
class TInput,
class TOutput,
class TPrecision>
62 return !(*
this != other);
77 for (
unsigned int i = 0; i < in.GetSize(); ++i )
85 for (
unsigned int i = 0; i < out.GetSize(); ++i )
87 out[i] = outVector[i];
123 template <
class TInputImage,
class TOutputImage,
class TPrecision>
126 Functor::UnConstrainedLeastSquareFunctor<typename TInputImage::PixelType,
127 typename TOutputImage::PixelType, TPrecision> >
136 typename TInputImage::PixelType,
137 typename TOutputImage::PixelType,
145 typename TInputImage::PixelType,
146 typename TOutputImage::PixelType,
163 this->GetFunctor().SetMatrix(m);
172 void PrintSelf(std::ostream& os,
itk::Indent indent)
const;
177 void operator =(
const Self&);
183 #ifndef OTB_MANUAL_INSTANTIATION