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));
|
_dst.create( src.dims, src.size, CV_MAKETYPE(lut.depth(), cn));
|
||||||
Mat dst = _dst.getMat();
|
Mat dst = _dst.getMat();
|
||||||
|
|
||||||
LUTFunc func = lutTab[src.depth()];
|
LUTFunc func = lutTab[lut.depth()];
|
||||||
CV_Assert( func != 0 );
|
CV_Assert( func != 0 );
|
||||||
|
|
||||||
const Mat* arrays[] = {&src, &dst, 0};
|
const Mat* arrays[] = {&src, &dst, 0};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user