Skip to content
Snippets Groups Projects
Commit 11994f64 authored by Julien Malik's avatar Julien Malik
Browse files

ENH: fix itkTypeMacro

parent 41a91297
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,8 @@ public:
OutputType operator ()(const InputType& in)
{
// TODO : support different types !!!
// TODO : support different types & Precision correctly
// TODO : make the multiplication by hand ?
VectorType inVector(in.GetDataPointer(), in.Size());
VectorType outVector = m_Matrix * inVector;
return OutputType(outVector.data_block(), outVector.size());
......@@ -120,7 +121,7 @@ public:
itkNewMacro(Self);
/** Run-time type information (and related methods). */
itkTypeMacro(MatrixMultiplyImageFilter, itk::UnaryFunctorImageFilter);
itkTypeMacro(MatrixMultiplyImageFilter, otb::UnaryFunctorImageFilter);
/** Pixel types. */
typedef typename TInputImage::PixelType InputPixelType;
......@@ -148,7 +149,6 @@ private:
MatrixMultiplyImageFilter(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
};
} // end namespace otb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment