Speedup MedianFilter::apply() when calling repeatedly
authorwykvictor <yakunw.victor@gmail.com>
Thu, 29 Dec 2016 08:46:35 +0000 (16:46 +0800)
committerYakun Wang <yakun_wang@htc.com>
Thu, 29 Dec 2016 09:11:58 +0000 (17:11 +0800)
commit5fad2a3f24b6b1e41a4f6783decaf08967de5c0d
treefaf0bb6f92b5c41ff9cfcd4ab15390f43d9d40a6
parent7dd3723abe8905c02e696591f5059bee2d046665
Speedup MedianFilter::apply() when calling repeatedly

Speedup MedianFilter::apply(), avoid to newly create the two GpuMat every time calling filter->apply(), which is very time consuming.
modules/cudafilters/src/filtering.cpp