Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
6375eae2
Commit
6375eae2
authored
May 14, 2013
by
Davis King
Browse files
Fixed a bug in hysteresis_threshold() that caused it to produce incorrect
outputs sometimes.
parent
6660ec1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dlib/image_transforms/thresholding.h
dlib/image_transforms/thresholding.h
+2
-1
No files found.
dlib/image_transforms/thresholding.h
View file @
6375eae2
...
...
@@ -218,8 +218,9 @@ namespace dlib
}
out_img
.
set_size
(
in_img
.
nr
(),
in_img
.
nc
());
assign_all_pixels
(
out_img
,
off_pixel
);
const
long
size
=
100
;
const
long
size
=
100
0
;
long
rstack
[
size
];
long
cstack
[
size
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment