mImageContour.push_back(vvImageContour::New());
mImageContour[i]->SetSlicer(mSlicerManager->GetSlicer(i));
mImageContour[i]->SetImage(mROI->GetImage());
+ // Color of the contour is "complement" of roi color
+ mContourColor[0] = 1-mROI->GetDisplayColor()[0];
+ mContourColor[1] = 1-mROI->GetDisplayColor()[1];
+ mContourColor[2] = 1-mROI->GetDisplayColor()[2];
mImageContour[i]->SetColor(mContourColor[0], mContourColor[1], mContourColor[2]);
mImageContour[i]->SetLineWidth(mContourWidth);
mImageContour[i]->SetPreserveMemoryModeEnabled(true);