Do interpolation to get edges from centres using axis scale
Add 2d irregular example
Other changes to use axes to get pixel edges