ColorTracer bvlab.no OpenCV loading… Tutorial
Steps:

1. Original

Image
Instructions

Step 1: Use the tool to pick multiple color samples from the image foreground (FG) and then image background (BG).

Step 2 (optional): Use the tool to paint areas as background or foreground.

Step 3 (optional): Set scale distance and drag the scale-line handles (in Pan mode) to calibrate for real-world units.

Click Compute when ready to extract contours.

Scale

2. Score

Foreground vs background probability from color model.
Color model

3. Mask

Binary mask: above threshold = foreground. Morphology cleans edges.
Threshold
Cleanup

4. Contours

Edge refinement toward the true boundary.
Shape size filter
off
off
Subpixel

5. Corners

Sharp corners from line fits; gentle curves stay smooth.
Corner detection

6. Final

Reduce vertices for cleaner export.
Simplification
These are the simplified contours you will export.

Downloads