mirror of
https://github.com/opencv/opencv.git
synced 2025-01-19 15:04:01 +08:00
fixed LUT (ticket #1057)
This commit is contained in:
parent
7e4769a047
commit
3c2d7b951a
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user