merge with dev
This commit is contained in:
@@ -406,12 +406,8 @@ void Crop::update (int todo)
|
||||
MyTime t1aue, t2aue;
|
||||
t1aue.set();
|
||||
|
||||
int crW, crH;
|
||||
|
||||
if (settings->leveldnv == 0) {
|
||||
crW = 100;
|
||||
crH = 100;
|
||||
}
|
||||
int crW = 100; // settings->leveldnv == 0
|
||||
int crH = 100; // settings->leveldnv == 0
|
||||
|
||||
if (settings->leveldnv == 1) {
|
||||
crW = 250;
|
||||
@@ -1633,7 +1629,7 @@ bool Crop::setCropSizes (int rcx, int rcy, int rcw, int rch, int skip, bool inte
|
||||
|
||||
parent->ipf.transCoord (parent->fw, parent->fh, bx1, by1, bw, bh, orx, ory, orw, orh);
|
||||
|
||||
if (check_need_larger_crop_for_lcp_distortion (parent->fw, parent->fh, orx, ory, orw, orh, parent->params)) {
|
||||
if (check_need_larger_crop_for_lcp_distortion(parent->fw, parent->fh, orx, ory, orw, orh, parent->params)) {
|
||||
// TODO - this is an estimate of the max distortion relative to the image size. ATM it is hardcoded to be 15%, which seems enough. If not, need to revise
|
||||
int dW = int (double (parent->fw) * 0.15 / (2 * skip));
|
||||
int dH = int (double (parent->fh) * 0.15 / (2 * skip));
|
||||
|
Reference in New Issue
Block a user