The lens distortion correction transforms can be computed using the following modules
Compute lens distortion correction transformation
(Assumes that the images for computation are loaded into a render stack. )
python -m asap.mesh_lens_correction.do_mesh_lens_correction --input_json <input_parameter_json_file> --output_json <output_json_file>
An example input json file is provided in the do_mesh_lens_correcton.py file
Apply lens correction transformations to the input render stack (update the raw tilespecs)
python -m asap.lens_correction.apply_lens_correction --input_json <input_parameter_json_file> --output_json <output_json_file>
An example input json file is provided in the apply_lens_correction.py file