Changed tmp @ weight to tmp weight. The previous one caused pixelated segmentation results (not noticeable for small qlty window sizes (<= 64), but prominent for larger window sizes. Changing to gives identical result as the original implementation without numba.
Changed tmp @ weight to tmp weight. The previous one caused pixelated segmentation results (not noticeable for small qlty window sizes (<= 64), but prominent for larger window sizes. Changing to gives identical result as the original implementation without numba.