MCPcopy Create free account
hub / github.com/abreheret/PixelAnnotationTool / idToColor

Function idToColor

src/utils.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19QImage idToColor(const QImage &image_id, const Id2Labels& id_label) {
20 QImage result(image_id.size(), QImage::Format_RGB888);
21 idToColor(image_id, id_label, &result);
22 return result;
23}
24
25void idToColor(const QImage &image_id, const Id2Labels& id_label, QImage *result) {
26 int id = 0;

Callers 5

saveMaskMethod · 0.85
setWatershedMaskMethod · 0.85
ImageMaskMethod · 0.85
updateColorMethod · 0.85
exchangeLabelMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected