- Added JAX Just-In-Time (JIT) compilation to the `distortion` function for improved performance. - Reorganized variable unpacking and calculations for better readability and efficiency. - Enhanced comments to clarify the steps involved in the distortion process, including normalization and radial/tangential distortion calculations. - Updated the return values to directly reflect pixel coordinates after distortion.
19 KiB
19 KiB