added getLocalScale(x,y) method to Patch
commit96ca4060874c21d4cf2bc4fd44b7ebd91b5c0760
authorStephan Saalfeld <saalfeld@mpi-cbg.de>
Wed, 7 Mar 2012 18:30:06 +0000 (7 19:30 +0100)
committerStephan Saalfeld <saalfeld@mpi-cbg.de>
Wed, 7 Mar 2012 18:30:06 +0000 (7 19:30 +0100)
tree90b0c18ec6e80095577ffdc43a5edd429ccca786
parent508d33b3da47bb53535e4ebd3fee60ec8e8bbb89
added getLocalScale(x,y) method to Patch
The method returns the average scale applied to a pixel at the passed
world coordinates.  The average scale is the average of the two diagonals
of an affine, so the least squares fit of a scale model to an affine box.
ini/trakem2/display/Patch.java