Commit 3c2d7b95 authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

fixed LUT (ticket #1057)

parent 7e4769a0
......@@ -1003,7 +1003,7 @@ void cv::LUT( const InputArray& _src, const InputArray& _lut, OutputArray _dst,
_dst.create( src.dims, src.size, CV_MAKETYPE(lut.depth(), cn));
Mat dst = _dst.getMat();
LUTFunc func = lutTab[src.depth()];
LUTFunc func = lutTab[lut.depth()];
CV_Assert( func != 0 );
const Mat* arrays[] = {&src, &dst, 0};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment