Skip to content

Commit caadbb4

Browse files
committed
Revert "fix ximgproc casting"
This reverts commit 1ee9867.
1 parent 804c0d0 commit caadbb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ximgproc/src/selectivesearchsegmentation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ namespace cv {
169169
char* mask_data = (char*)mask.data;
170170

171171
for (unsigned int x = 0; x < regions.total(); x++) {
172-
mask_data[x] = (char)(regions_data[x] == r ? 255 : 0);
172+
mask_data[x] = regions_data[x] == r ? 255 : 0;
173173
}
174174

175175
// Compute histogram for each channels

0 commit comments

Comments
 (0)