Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit60b36c2

Browse files
Fix C4245 warning
1 parent496d6de commit60b36c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎modules/ximgproc/src/run_length_morphology.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ CV_EXPORTS void fillHoles(InputArray rlSrc, OutputArray rlDest, int connectivity
915915
// Flags for each run:
916916
// 0: Run is adjacent to the outer background (not part of a hole)
917917
// 255: Run is isolated from the outer background (part of a hole region)
918-
std::vector<uchar>selectedFlags(backgroundRuns.size(),EMPTY);
918+
std::vector<uchar>selectedFlags(backgroundRuns.size(),(uchar)255);
919919
constint SELECTED =0;
920920
selectedFlags[0] = SELECTED;
921921
constint neighborOffsets[] = {0,2 };

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp