@LabelMap/lm_getValue.m
5311da18
 function value = lm_getValue(mapping,classLabel)
6985c69e
 if mapping.LabelToValue.containsKey(classLabel)
     value = mapping.LabelToValue.get(classLabel);   
2095645b
 else
      error('LabelMap:getValue:noSuchLabel','this Mapping does not contain a Label ''%s''',classLabel);
 end