apply_lens_correction
Apply lens correction to RAW images using Lensfun or Adobe LCP profiles, fixing distortion, vignetting, and chromatic aberration in a PP3 processing profile.
Instructions
Apply Lensfun or Adobe LCP lens correction to a PP3 profile.
Writes LensProfile section into the profile. Use mode='auto' for automatic Lensfun correction (camera/lens detected from RAW EXIF), or mode='lcp' to specify an Adobe Lens Correction Profile (.lcp file). Params: profile_path, mode ('auto'|'lcp'), lcp_file, correct_distortion, correct_vignetting, correct_ca, file_path (optional RAW for EXIF info), save_as
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_path | Yes | ||
| mode | No | auto | |
| lcp_file | No | ||
| correct_distortion | No | ||
| correct_vignetting | No | ||
| correct_ca | No | ||
| file_path | No | ||
| save_as | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||