Move scale option from perspective correction to lens/geometry

This commit is contained in:
Alexander Brock
2024-07-20 14:56:21 +02:00
parent 6d96bfe5cc
commit fc78a64066
13 changed files with 75 additions and 68 deletions

View File

@@ -308,7 +308,6 @@ PerspectiveCorrection::Params PerspectiveCorrection::autocompute(ImageSource *sr
neutral.distortion.focal_length = pparams->distortion.focal_length;
neutral.perspective.camera_focal_length = pparams->perspective.camera_focal_length;
neutral.perspective.camera_crop_factor = pparams->perspective.camera_crop_factor;
neutral.perspective.camera_scale = pparams->perspective.camera_scale;
neutral.perspective.method = pparams->perspective.method;
neutral.lensProf = pparams->lensProf;
ImProcFunctions ipf(&neutral, true);