Commit 44f4f5eb authored by Davis King's avatar Davis King

Fixed a potential bug in the hysteresis_threshold() function.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402463
parent 3a140cc0
......@@ -206,7 +206,7 @@ namespace dlib
{
for (long c = 0; c < in_img.nc(); ++c)
{
typename out_image_type::type p;
unsigned long p;
assign_pixel(p,in_img[r][c]);
if (p >= upper_thresh)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment