Move de-fish to distortion
This commit is contained in:
@@ -904,7 +904,10 @@ struct RotateParams {
|
||||
* Parameters of the distortion correction
|
||||
*/
|
||||
struct DistortionParams {
|
||||
double amount;
|
||||
static constexpr double DEFAULT_FOCAL_LENGTH = 12;
|
||||
double amount = 0.0;
|
||||
bool defish = false;
|
||||
double focal_length = DEFAULT_FOCAL_LENGTH;
|
||||
|
||||
DistortionParams();
|
||||
|
||||
@@ -960,7 +963,6 @@ struct PerspectiveParams {
|
||||
* be interpreted with {@link #DEFAULT_CAMERA_CROP_FACTOR}.
|
||||
*/
|
||||
double camera_crop_factor;
|
||||
bool camera_defish;
|
||||
/**
|
||||
* Negative and zero values indicate an unspecified focal length and should
|
||||
* be interpreted with {@link #DEFAULT_CAMERA_FOCAL_LENGTH}.
|
||||
|
Reference in New Issue
Block a user