Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
I
inkscape-centerline-trace
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
3dmodeling
inkscape-centerline-trace
Commits
ef0438d0
Commit
ef0438d0
authored
May 16, 2016
by
Jürgen Weigert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
73443c0a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
README.md
README.md
+5
-3
No files found.
README.md
View file @
ef0438d0
...
...
@@ -18,14 +18,16 @@ Works great with testdata, to be integrated into inkscape.
Algorithm:
The input image is converted to a graymap and histogram normalized with PIL.ImageOps.equalize.
The input image is converted to a graymap and histogram normalized with PIL.ImageOps.autocontrast.
Optional preprocessing: equal illumination, median denoise filter.
Autotrace needs a bi-level bitmap. In order to find the
best threshold value, we run autotrace at multiple thresholds
and evaluate the results.
best threshold value, we
can
run autotrace at multiple thresholds
and evaluate the result
candidate
s.
We count the number of line segments produced and
measure the total path length drawn.
The svg that has the longest path but the least number of
segments is returned.
<a
href=
"https://raw.githubusercontent.com/fablabnbg/inkscape-centerline-trace/master/testdata/3-images.svg"
><img
src=
"https://raw.githubusercontent.com/fablabnbg/inkscape-centerline-trace/master/centerline-trace-3-images-done.png"
/></a>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment