Skip to content
Snippets Groups Projects
Commit 474676f1 authored by Ludovic Hussonnois's avatar Ludovic Hussonnois
Browse files

STYLE: Correct documentation.

parent 0190c592
No related branches found
No related tags found
No related merge requests found
......@@ -29,12 +29,12 @@
namespace otb
{
/**
* \brief ContingencyTableCalculator provide facilities to compute ContingencyTable with different structure type
* The size of the label list should be the same for both list.
* \tparam TRefListLabel data structure type which contain the reference labels
* \tparam TProdListLabel data structure type which contain the produced labels
* \tparam TClassLabel the label data type
* \brief ContingencyTableCalculator provide facilities to compute ContingencyTable.
*
* The ContingencyTableCalculator can be used with different structure type,
* the size of the label list should be the same for both list.
*
* \tparam TClassLabel the label data type
* \ingroup OTBUnsupervised
*/
template<class TClassLabel>
......@@ -59,12 +59,18 @@ public:
typedef typename std::map<TClassLabel, unsigned long> CountMapType;
typedef typename std::map<TClassLabel, CountMapType > MapOfClassesType;
/** Populate the confusion Matrix for a image iteration */
/** Populate the confusion Matrix for a image iteration.
* \tparam TRefListLabel data structure type which contain the reference labels.
* \tparam TProdListLabel data structure type which contain the produced labels.
*/
template<class TRefIterator, class TProdIterator>
void Compute(TRefIterator itRef, TProdIterator itProd, bool refHasNoData = false, typename TRefIterator::InternalPixelType refNoData = 0,
bool prodHasNoData = false, typename TProdIterator::InternalPixelType prodNoData = 0);
/** Populate the confusion Matrix with input which provide GetMeasurementVector()[0] access */
/** Populate the confusion Matrix with input which provide GetMeasurementVector()[0] access
* \tparam TRefListLabel data structure type which contain the reference labels.
* \tparam TProdListLabel data structure type which contain the produced labels.
*/
template<class TRefIterator, class TProdIterator>
void Compute(TRefIterator refBegin, TRefIterator refEnd, TProdIterator prodBegin, TProdIterator prodEnd);
......
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