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() );