提交 fb6db3dc 编写于 作者: A Alexander Alekhin

Merge pull request #10915 from alalek:issue_10910

...@@ -909,7 +909,7 @@ void icvGetBackgroundImage( CvBackgroundData* data, ...@@ -909,7 +909,7 @@ void icvGetBackgroundImage( CvBackgroundData* data,
icvGetNextFromBackgroundData( data, reader ); icvGetNextFromBackgroundData( data, reader );
} }
img = reader->img(Rect(reader->point.x, reader->point.y, data->winsize.height, data->winsize.width)).clone(); img = reader->img(Rect(reader->point.x, reader->point.y, data->winsize.width, data->winsize.height)).clone();
if( (int) ( reader->point.x + (1.0F + reader->stepfactor ) * data->winsize.width ) if( (int) ( reader->point.x + (1.0F + reader->stepfactor ) * data->winsize.width )
< reader->img.cols ) < reader->img.cols )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册