Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
474676f1
Commit
474676f1
authored
Apr 18, 2017
by
Ludovic Hussonnois
Browse files
STYLE: Correct documentation.
parent
0190c592
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/Learning/Unsupervised/include/otbContingencyTableCalculator.h
View file @
474676f1
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment