RE: [LIBART] problem with art_rgb_svp_alpha()



> > I was also getting a lot of colinear warnings.  A _lot_ of
> > our handwritten data is colinear, due to the low sampling
> > resolution of some of our input devices.
> 
> In this case, wouldn't it be more effecient to preprocess the
> input data? i.e. filter that get rid of unnecessary control
> points (like aligned points).

We _do_ preprocess to remove sequential points with the
same x,y values.  But we don't check for colinearity.

I'm not sure what about our data sets is causing problems
for libart.  Is it because three sequential points are colinear?
Like this?

           x----x----x
          /
         x

All I get are these "colinear!" warnings that don't really help
from a diagnostic standpoint; I can't really tell which points
are the offenders.

Jason Priebe
Mi-Co
http://www.mi-corporation.com/ 

> 
> > I decided to write my own vpath_perturb() function, which
> > uses a larger perturbation value (2e-2 instead of 2e-3),
> > and all of my problems seem to have gone away!
> 
BEGIN:VCARD
VERSION:2.1
N:Priebe;Jason
FN:Jason Priebe
ORG:Mi-Co
TITLE:Director of Internet Services
TEL;WORK;VOICE:(919) 485-4819 x615
TEL;HOME;VOICE:(919) 838-0630
TEL;CELL;VOICE:(919) 523-6300
TEL;WORK;FAX:(919) 990-8561
ADR;WORK:;;2 Davis Drive;Research Triangle Park;North Carolina;27709;United States of America
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:2 Davis Drive=0D=0AResearch Triangle Park, North Carolina 27709=0D=0AUnited =
States of America
EMAIL;PREF;INTERNET:priebe mi-corporation com
EMAIL;INTERNET:9195236300 dpcs mobile att net
EMAIL;INTERNET:jason_priebe yahoo com
REV:20010209T141307Z
END:VCARD


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]