fixed bug in handling raw border

Fixes 189

(cherry picked from commit 10df3c06c37a4eb6f38aae2f4a711798af0c4884)
This commit is contained in:
Alberto Griggio
2021-06-29 14:36:53 +02:00
committed by Lawrence Lee
parent 3833c6e634
commit 0421a0acfa
2 changed files with 10 additions and 29 deletions

View File

@@ -231,7 +231,7 @@ public:
virtual float operator()(int row) const { return 1.f; }
};
static void computeFullSize(const RawImage *ri, int tr, int &w, int &h);
static void computeFullSize(const RawImage *ri, int tr, int &w, int &h, int border=-1);
protected:
typedef unsigned short ushort;