`hessian` filter badly broken - remove or rewrite?

Author: matthew-brettCreated Sep 19, 2026Updated Sep 20, 2026
Labels:bug: Bug

Description:

It turns out that trying to fix an apparently simple problem in hessian_matrix (the order='xy' equivalent for skimage2) has led to the escape of some rather frightening and large insects.

Among these is that the hessian filter appears to be badly broken - and has been since it reached the code-base. Exploration here:

https://scikit-image.org/skimage-workbooks/on-hessian-filter/

Our options are:

  • To remove it entirely in skimage2 and wait for someone to ask for it, or
  • To write it correctly from the paper, probably renamed as hessian_hybrid.

The second isn't too hard (see the notebook), but - is it worth it?

Way to reproduce:

No response

Version information:

bash

Source: scikit-image/scikit-image