guided filter: fixed bug due to overlapping input and output arrays
This commit is contained in:
@@ -215,7 +215,7 @@ void guidedFilter(const array2D<float> &guide, const array2D<float> &src, array2
|
||||
f_upsample(meanA, meana);
|
||||
DEBUG_DUMP(meanA);
|
||||
|
||||
array2D<float> &meanB = q;
|
||||
array2D<float> meanB(W, H);
|
||||
f_upsample(meanB, meanb);
|
||||
DEBUG_DUMP(meanB);
|
||||
|
||||
|
Reference in New Issue
Block a user