MCPcopy Create free account
hub / github.com/MITK/MITK / ToLabelValues

Function ToLabelValues

Wrapping/Python/mitk/MultiLabelSegmentation.cpp:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73MultiLabelSegmentation::LabelValueVectorType ToLabelValues(py::iterable seq)
74{
75 MultiLabelSegmentation::LabelValueVectorType result;
76 for (auto item : seq)
77 result.push_back(ToLabelValue(item));
78 return result;
79}
80
81LabelValueMappingVector ToLabelMapping(py::iterable seq)
82{

Callers 1

Calls 1

ToLabelValueFunction · 0.85

Tested by

no test coverage detected