Thanks Thomas for replying - my thoughts below:

thomas.deweese wrote:
> 
> ...to write a new rasterizer that looked for this sort of case...
> 
> ...You might be able to do something with machine vision algorithms to
> construct a
> 'stroked' version of the glyph (rendered at a higher resolution)
> and then try to match that against your low res version.  But that
> would be a significant research project....
> 

I think OpenCV looks very promising: this is an open source, free, computer
vision software library.
http://SourceForge.net/projects/opencvlibrary
The library is written in C and C++ and runs under Linux, Windows and Mac OS
X. There is active development on interfaces for Python, Ruby, Matlab, and
other languages. Not Java yet though.

There is also an O'Reilly book that has been published in September 2008:
OpenCV, by Dr. Gary Rost Bradski, Adrian Kaehler. It looks very
comprehensive.
http://oreilly.com/catalog/9780596516130/
ISBN 10: 0-596-51613-4 | ISBN 13: 9780596516130

OpenCV could be used to compare low resolution renders of an SVG against a
high resolution render of an SVG. Tolerances could be fine tuned and applied
so that irrelevant errors and differences are ignored and reports of missing
lines are the things that the user gets to know about.

If I get an opportunity to look into this further I'll let you know.

-- 
View this message in context: 
http://www.nabble.com/Rasterizer-detect-subpixel-width-lines-when-rendering-to-specified-dpi-with-1-bit-per-pixel-2-color-bitmap-tp18384830p20974109.html
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to