Skip to content
Snippets Groups Projects
Commit ec72b25c authored by Aurélien Bricier's avatar Aurélien Bricier
Browse files

DOC: corrected associated documentation

parent 0bd70bd4
No related branches found
No related tags found
No related merge requests found
......@@ -27,9 +27,10 @@ namespace otb
/**
* \class ComplexMomentImageFunction
* \brief Calculate the complex moment value in the full image.
* \brief Calculate the complex moment value in the specified
* neighborhood.
*
* Calculate the complex moment value over an image.
* Calculate the complex moment values over a specified neighborhood.
* The implemented equation is:
*
* \f[ c_{p,q}=\int_{-\infty}^{\infty} \int_{-\infty}^{\infty} (x+iy)^{p} \cdot (x-iy)^{q} \cdot f(x,y) \cdot
......
......@@ -58,7 +58,7 @@ ComplexMomentImageFunction<TInputImage, TCoordRep>
::EvaluateAtIndex(const IndexType& index) const
{
// Build moments vector
ComplexType moments;//<--- pb VariableLengthVector : compute the length before
ComplexType moments;
moments.resize(m_Pmax+1);
std::vector<ScalarComplexType> valXpY, valXqY;
......@@ -76,7 +76,7 @@ ComplexMomentImageFunction<TInputImage, TCoordRep>
valXqY.at(q) = ScalarComplexType(1.0,0.0);
}
}
std::cout << "moments initiated!" << std::endl;
// Check for input image
if( !this->GetInputImage() )
{
......
......@@ -28,7 +28,8 @@ namespace otb
* \class FlusserImageFunction
* \brief Calculate the Flusser's invariant parameters.
*
* Calculate the Flusser's invariant over an image defined as:
* Calculate the Flusser's invariants over a specified neighborhood
* defined as :
*
* - \f$ \psi_{1} = c_{11} \f$
* - \f$ \psi_{2} = c_{21} c_{12} \f$
......
......@@ -28,7 +28,8 @@ namespace otb
* \class HuImageFunction
* \brief Calculate the Hu's invariant parameter.
*
* Calculate the Hu's invariant over an image defined as:
* Calculate the Hu's invariants over a specified neighbohood defined
* as :
*
* - \f$ \phi_{1} = c_{11} \f$
* - \f$ \phi_{2} = c_{20} c_{02} \f$
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment