mpicbg.trakem2.transform.TransformMesh extrapolates locationsextrapolate-mesh
commit1a77010918755447cfc75510c7560126dfd93e4d
authorStephan Saalfeld <saalfeld@mpi-cbg.de>
Wed, 18 Aug 2010 19:48:04 +0000 (18 21:48 +0200)
committerStephan Saalfeld <saalfeld@mpi-cbg.de>
Wed, 18 Aug 2010 19:48:04 +0000 (18 21:48 +0200)
tree3dfb2faa42c48550c99abc9a69b74534eabc9ead
parent6c3d6b7987ad2f76a81582fbc26a08239a586a3f
mpicbg.trakem2.transform.TransformMesh extrapolates locations
out of the meshes boundaries by searching the closest affine
in terms of the sum of the distance to its three control
points.  Despite the location is transferred, the
NoninvertibleModelException is thrown to allow to handle the
situation otherwise.  Note that searching for the closest
affine is not particularly fast calculating the distance to
all control points.
mpicbg/trakem2/transform/TransformMesh.java