Fixed export labels to Amira.
[trakem2.git] / test / lenscorrection.js
blob00143f21367d86417bb98b296b9ea805061518e3
1 importClass( Packages.lenscorrection.DistortionCorrectionTask );
2 importClass( Packages.ini.trakem2.display.Display );
3 importClass( Packages.ini.trakem2.display.Patch );
4 importPackage( Packages.mpicbg.trakem2.transform );
6 /** Estimate and apply distortion correction model */
7 DistortionCorrectionTask.correctDistortionFromSelection( Display.getFront().getSelection() );
8 Display.repaint();