21 #ifndef __otbStreamingInnerProductVectorImageFilter_h
22 #define __otbStreamingInnerProductVectorImageFilter_h
26 #include "itkNumericTraits.h"
32 #include "vnl/vnl_matrix.h"
53 template<
class TInputImage>
76 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
79 itkStaticConstMacro(ImageDimension,
unsigned int, TInputImage::ImageDimension);
95 return this->GetInnerProductOutput()->Get();
97 MatrixObjectType* GetInnerProductOutput();
98 const MatrixObjectType* GetInnerProductOutput()
const;
103 virtual DataObjectPointer MakeOutput(
unsigned int idx);
108 virtual void AllocateOutputs();
109 virtual void GenerateOutputInformation();
110 virtual void Synthetize(
void);
111 virtual void Reset(
void);
114 itkSetMacro(CenterData,
bool);
115 itkGetMacro(CenterData,
bool);
116 itkBooleanMacro(CenterData);
121 virtual void PrintSelf(std::ostream& os,
itk::Indent indent)
const;
123 void ThreadedGenerateData(
const RegionType& outputRegionForThread,
int threadId);
127 void operator =(
const Self&);
156 template<
class TInputImage>
181 void SetInput(TInputImage * input)
183 this->GetFilter()->SetInput(input);
185 TInputImage * GetInput()
187 return this->GetFilter()->GetInput();
193 return this->GetFilter()->GetInnerProductOutput()->
Get();
197 return this->GetFilter()->GetInnerProductOutput();
201 return this->GetFilter()->GetInnerProductOutput();
205 void SetCenterData(
bool centerdata)
207 this->GetFilter()->SetCenterData(centerdata);
218 void operator =(
const Self&);
224 #ifndef OTB_MANUAL_INSTANTIATION