fixed LUT (ticket #1057)

This commit is contained in:
Vladislav Vinogradov 2011-05-11 05:32:00 +00:00
parent 7e4769a047
commit 3c2d7b951a

View File

@ -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};