Binarization MATLAB
The MATLAB code for image binarization contains a function
.
Is that necessary? Since MATLAB is a scripting language I think the code should also run without a function, or? If so, I would remove the function, because it makes it more complicated than necessary.