diff --git a/tools/python/src/image.cpp b/tools/python/src/image.cpp index 261c3e2d0..f6d3be6c9 100644 --- a/tools/python/src/image.cpp +++ b/tools/python/src/image.cpp @@ -580,23 +580,23 @@ std::vector py_find_peaks2 ( // ---------------------------------------------------------------------------------------- template -numpy_image py_hysteresis_threshold ( +numpy_image py_hysteresis_threshold ( const numpy_image& img, T lower_thresh, T upper_thresh ) { - numpy_image out; + numpy_image out; hysteresis_threshold(img, out, lower_thresh, upper_thresh); return out; } template -numpy_image py_hysteresis_threshold2 ( +numpy_image py_hysteresis_threshold2 ( const numpy_image& img ) { - numpy_image out; + numpy_image out; hysteresis_threshold(img, out); return out; }