Skip to content

Commit

Permalink
Remove whitespace at line endings
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Feb 23, 2019
1 parent c02f5e9 commit b3e355a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/training/degradeimage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Pix* DegradeImage(Pix* input, int exposure, TRand* randomizer,
input = pix;
int width = pixGetWidth(input);
int height = pixGetHeight(input);

if (exposure >= 2) {
// An erosion simulates the spreading darkening of a dark copy.
// This is backwards to binary morphology,
Expand Down Expand Up @@ -168,12 +168,12 @@ Pix* DegradeImage(Pix* input, int exposure, TRand* randomizer,
}
data += input->wpl;
}

// pix = input;
// input = PrepareDistortedPix(pix, false, true, true, true, true,
// 1, randomizer, nullptr);
// pixDestroy(&pix);

return input;
}

Expand Down

0 comments on commit b3e355a

Please sign in to comment.