Skip to content

Commit

Permalink
Fix border issue
Browse files Browse the repository at this point in the history
  • Loading branch information
heckflosse committed Feb 16, 2021
1 parent 3ec1d87 commit bc2f53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/demosaic/rcd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ rpError rcd_demosaic(int width, int height, const float * const *rawData, float
setProgCancel(progress);

constexpr int tileBorder = 9; // avoid tile-overlap errors
constexpr int rcdBorder = 6; // for the outermost tiles we can have a smaller outer border
constexpr int rcdBorder = 9;
constexpr int tileSize = 194;
constexpr int tileSizeN = tileSize - 2 * tileBorder;
const int numTh = height / (tileSizeN) + ((height % (tileSizeN)) ? 1 : 0);
Expand Down

0 comments on commit bc2f53b

Please sign in to comment.