mirror of
https://github.com/visioncortex/vtracer.git
synced 2026-09-12 15:16:08 -07:00
readme
This commit is contained in:
@@ -39,16 +39,16 @@ Technical descriptions of the [tracing algorithm](https://www.visioncortex.org/v
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
The familiar web-app workflow, now on the native 1.0 engine:
|
VTracer App powered by the 1.0 tracing engine:
|
||||||
|
|
||||||
+ **Native speed** — the engine runs natively, so conversions are quicker
|
+ **Native speed**: faster conversions on large images
|
||||||
+ **A/B comparator** — a sliding split view to check the trace against the original
|
+ **A/B comparator**: compare the trace against the original
|
||||||
+ **Curve inspector** — examine the fitted curves up close
|
+ **Curve inspector**: inspect fitted curves up close
|
||||||
+ **Seam-free cutout** — a true gapless tessellation with shared boundaries, no seams between shapes
|
+ **Curve simplification**: fewer nodes, often half the file size
|
||||||
+ **Watershed clustering** — content-adaptive regions that follow object shape, with one interactive detail slider
|
+ **Seam-free cutout**: gapless shapes with shared boundaries
|
||||||
+ **Curve simplification** — the fewest curves within a pixel tolerance, typically halving file size
|
+ **Watershed clustering**: edge-aware regions for sharper image traces
|
||||||
+ **Adaptive B/W thresholding** — handles scans and photos with uneven lighting
|
+ **Adaptive B/W thresholding**: cleaner traces from uneven scans and photos
|
||||||
+ **Fixed color palettes** — snap the output to your own colors
|
+ **Fixed color palettes**: snap output to your own colors
|
||||||
|
|
||||||
## Console App
|
## Console App
|
||||||
|
|
||||||
@@ -124,22 +124,22 @@ output size and smoothness.
|
|||||||
|
|
||||||
### New in 1.0
|
### New in 1.0
|
||||||
|
|
||||||
- **Positional arguments** — `vtracer in.png out.svg`.
|
- **Positional arguments**: `vtracer in.png out.svg`.
|
||||||
- **`--hierarchical cutout`** is now a true seam-free mosaic (a gapless
|
- **`--hierarchical cutout`** is now a true seam-free mosaic (a gapless
|
||||||
tessellation with shared boundaries), replacing the old re-clustered cutout.
|
tessellation with shared boundaries), replacing the old re-clustered cutout.
|
||||||
- **`--palette` / `--palette-file`** — snap colors to a fixed palette
|
- **`--palette` / `--palette-file`**: snap colors to a fixed palette
|
||||||
(nearest in OKLab); **`--max-colors`** auto-quantizes the palette.
|
(nearest in OKLab); **`--max-colors`** auto-quantizes the palette.
|
||||||
- **Binary thresholding** — a tunable fixed cutoff (`--threshold`) or
|
- **Binary thresholding**: a tunable fixed cutoff (`--threshold`) or
|
||||||
**Bradley–Roth adaptive** thresholding (`--adaptive`, with `--adaptive-window`
|
**Bradley–Roth adaptive** thresholding (`--adaptive`, with `--adaptive-window`
|
||||||
/ `--adaptive-t`) for scans with uneven lighting.
|
/ `--adaptive-t`) for scans with uneven lighting.
|
||||||
- **`--simplify <tolerance>`** — paper.js-style curve simplification: re-fits
|
- **`--simplify <tolerance>`**: paper.js-style curve simplification: re-fits
|
||||||
smooth runs with the fewest cubics that stay within the tolerance (px),
|
smooth runs with the fewest cubics that stay within the tolerance (px),
|
||||||
typically halving file size; seam-free in cutout mode because shared
|
typically halving file size; seam-free in cutout mode because shared
|
||||||
boundaries are simplified once for both faces.
|
boundaries are simplified once for both faces.
|
||||||
- **`--clustering watershed`** — an alternative region-forming algorithm: a
|
- **`--clustering watershed`**: an alternative region-forming algorithm: a
|
||||||
hierarchical watershed on the pixel graph (Cousty et al., TPAMI 2009; Najman,
|
hierarchical watershed on the pixel graph (Cousty et al., TPAMI 2009; Najman,
|
||||||
Cousty & Perret, ISMM 2013), cut at `--watershed-detail`. Content-adaptive
|
Cousty & Perret, ISMM 2013), cut at `--watershed-detail`. Content-adaptive
|
||||||
regions that follow object shape — pairs beautifully with `cutout`.
|
regions that follow object shape: pairs beautifully with `cutout`.
|
||||||
|
|
||||||
## Programming Libraries
|
## Programming Libraries
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user