mirror of
https://github.com/opencv/opencv.git
synced 2025-06-19 00:46:39 +08:00
bugfix in warpAffine, correct buffer size should be used
This commit is contained in:
parent
412e7a835f
commit
b138dbde3f
@ -159,7 +159,7 @@ static const void* initInterTab2D( int method, bool fixpt )
|
|||||||
|
|
||||||
if( !inittab[method] )
|
if( !inittab[method] )
|
||||||
{
|
{
|
||||||
AutoBuffer<float> _tab(INTER_TAB_SIZE);
|
AutoBuffer<float> _tab(8*INTER_TAB_SIZE);
|
||||||
int i, j, k1, k2;
|
int i, j, k1, k2;
|
||||||
initInterTab1D(method, _tab, INTER_TAB_SIZE);
|
initInterTab1D(method, _tab, INTER_TAB_SIZE);
|
||||||
for( i = 0; i < INTER_TAB_SIZE; i++ )
|
for( i = 0; i < INTER_TAB_SIZE; i++ )
|
||||||
|
Loading…
Reference in New Issue
Block a user