mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 04:00:30 +08:00
Merge pull request #10915 from alalek:issue_10910
This commit is contained in:
commit
fb6db3dcfc
@ -909,7 +909,7 @@ void icvGetBackgroundImage( CvBackgroundData* data,
|
||||
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 )
|
||||
< reader->img.cols )
|
||||
|
Loading…
Reference in New Issue
Block a user