Label voting image combination. More...
#include <cmtkLabelCombinationVoting.h>
Public Member Functions | |
LabelCombinationVoting (const std::vector< TypedArray::SmartPtr > &data) | |
Constructor: compute label combination. | |
TypedArray::SmartPtr & | GetResult () |
Get result. | |
Private Attributes | |
TypedArray::SmartPtr | m_Result |
Resulting data array. |
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.
Definition at line 58 of file cmtkLabelCombinationVoting.h.