Problem
- radial thinning disregard neighboring azimuths and creates choppy line
- tangential thinning tends to drift apart, i.e., deviate from the ideal center of groove bottom
- somehow combine the two: weighted average of the two results.
- what we do NOT want to see: a locally(at its own azimuth) optimized btm-pos that disintegrates from its context.
- 1D-btm(a) deviates to the back or front (tangential error): goes behind the previous point or beyond the next point.
- 1D-btm(a) deviates to the left or right (radial error): causes w/z to fluctuate (stylus shape distorted).
- what we want the 1D-btm(a) to provide:
- a(i) > a(i-1)
- abs(r(i)-r(i-1))<e, e.g. 2pixels
- dr_btm is similar to dr_in, dr_out
- abs(w2z(i) - w2z(i-1)) < e
- #1 elem: 1D-btm(1) is chosen according to any of : 1) lowest, 2) middle, 3) equal w/z for in/out.
- #2+ elems:
- vp = closest_to_line(e_in(a), e_out(a))
- vpp = find(vp(a)>a(i-1))
- p = min(abs(r(a) - r(a-1))) or
- p = P * min( (w2z_out(a) - w2z_out(a-1)) / w2z_out(a-1) ) + Q * min(.... w2z_in....)

No comments:
Post a Comment