mirror of
https://github.com/opencv/opencv.git
synced 2025-06-09 18:43:05 +08:00
Merge pull request #24755 from MaximSmolskiy:fix-typos-in/imgproc/src/contours.cpp
Fix typos in imgproc/src/contours.cpp
This commit is contained in:
commit
00d7a19ec9
@ -172,7 +172,7 @@ _CvContourScanner;
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
Initializes scanner structure.
|
Initializes scanner structure.
|
||||||
Prepare image for scanning ( clear borders and convert all pixels to 0-1.
|
Prepare image for scanning ( clear borders and convert all pixels to 0-1 ).
|
||||||
*/
|
*/
|
||||||
static CvContourScanner
|
static CvContourScanner
|
||||||
cvStartFindContours_Impl( void* _img, CvMemStorage* storage,
|
cvStartFindContours_Impl( void* _img, CvMemStorage* storage,
|
||||||
@ -211,7 +211,7 @@ cvStartFindContours_Impl( void* _img, CvMemStorage* storage,
|
|||||||
scanner->img = (schar *) (img + step);
|
scanner->img = (schar *) (img + step);
|
||||||
scanner->img_step = step;
|
scanner->img_step = step;
|
||||||
scanner->img_size.width = size.width - 1; /* exclude rightest column */
|
scanner->img_size.width = size.width - 1; /* exclude rightest column */
|
||||||
scanner->img_size.height = size.height - 1; /* exclude bottomost row */
|
scanner->img_size.height = size.height - 1; /* exclude bottommost row */
|
||||||
scanner->mode = mode;
|
scanner->mode = mode;
|
||||||
scanner->offset = offset;
|
scanner->offset = offset;
|
||||||
scanner->pt.x = scanner->pt.y = 1;
|
scanner->pt.x = scanner->pt.y = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user