Public Member Functions | Private Attributes

cmtk::LabelCombinationVoting Class Reference
[cmtkSegmentation Library]

Label voting image combination. More...

#include <cmtkLabelCombinationVoting.h>

Collaboration diagram for cmtk::LabelCombinationVoting:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LabelCombinationVoting (const std::vector< TypedArray::SmartPtr > &data)
 Constructor: compute label combination.
TypedArray::SmartPtrGetResult ()
 Get result.

Private Attributes

TypedArray::SmartPtr m_Result
 Resulting data array.

Detailed Description

Label voting image combination.

This class implements combination of multiple multi-class or binary label images using label voting. Each pixel in the output image is assigned the label that the majority of input images assign to that pixel. Pixels with tied voting are assigned a value of 256. The output image is allocated as 16bit short data to accommodate this overflow value.

Attention:
All labels must be between 0 and 255.

Definition at line 58 of file cmtkLabelCombinationVoting.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines