Correction if d(p_g, p_n) <= d than g(p_g,p_n) = 1 - d(p_g,p_n)/d otherwise g(p_g,p_n) = 0 Probably use cosine instead of linear penalization would be more nice. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120803/b2e39fb8/attachment.htm>