{
  "name": "stencil",
  "description": "Physical stencil cutting",
  "preprocessing": {
    "denoise_d": 11,
    "denoise_sigma_color": 100.0,
    "denoise_sigma_space": 100.0,
    "clahe_clip_limit": 2.5,
    "clahe_tile_grid_size": [8, 8],
    "threshold_manual": 128,
    "edge_detect": false,
    "morph_kernel_size": 5,
    "morph_dilate_iterations": 2,
    "morph_erode_iterations": 1
  },
  "vectorization": {
    "mode": "potrace",
    "potrace": {
      "turdsize": 15,
      "alphamax": 0.8,
      "opticurve": true,
      "opttolerance": 0.3
    },
    "vtracer": {
      "colormode": "binary",
      "hierarchical": "stacked",
      "filter_speckle": 25,
      "corner_threshold": 75,
      "length_threshold": 8.0,
      "splice_threshold": 60,
      "mode": "polygon"
    }
  },
  "postprocessing": {
    "epsilon": 3.0,
    "close_tolerance": 2.0,
    "auto_close": true
  }
}
