Move de-fish to distortion
This commit is contained in:
@@ -304,7 +304,8 @@ PerspectiveCorrection::Params PerspectiveCorrection::autocompute(ImageSource *sr
|
||||
// TODO: Ensure image borders of rotated image do not get detected as lines.
|
||||
neutral.rotate = pparams->rotate;
|
||||
neutral.distortion = pparams->distortion;
|
||||
neutral.perspective.camera_defish = pparams->perspective.camera_defish;
|
||||
neutral.distortion.defish = pparams->distortion.defish;
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user