Let's skip the binarized version.

Can you evaluate the corner_harris function with respect to sigma and the threshold and check whether the threshold is independent of the filter size? A short blog post could show the results.