Commit 6375eae2 authored by Davis King's avatar Davis King

Fixed a bug in hysteresis_threshold() that caused it to produce incorrect

outputs sometimes.
parent 6660ec1b
...@@ -218,8 +218,9 @@ namespace dlib ...@@ -218,8 +218,9 @@ namespace dlib
} }
out_img.set_size(in_img.nr(),in_img.nc()); out_img.set_size(in_img.nr(),in_img.nc());
assign_all_pixels(out_img, off_pixel);
const long size = 100; const long size = 1000;
long rstack[size]; long rstack[size];
long cstack[size]; long cstack[size];
......
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