Add back the old perspective tool

Add perspective correction method chooser to allow choice between the
original perspective tool (simple) and the new one (camera-based).
This commit is contained in:
Lawrence
2019-12-28 17:18:59 -08:00
parent f514a69104
commit f83a62be5b
13 changed files with 263 additions and 48 deletions

View File

@@ -905,12 +905,15 @@ struct LensProfParams {
* Parameters of the perspective correction
*/
struct PerspectiveParams {
Glib::ustring method;
double horizontal;
double vertical;
double camera_crop_factor;
double camera_focal_length;
double camera_pitch;
double camera_shift_horiz;
double camera_shift_vert;
double camera_yaw;
double projection_pitch;
double projection_rotate;
double projection_scale;