Page MenuHomePhabricator

Image interpolation failing in rotated images
Closed, ResolvedPublic

Description

See the attached images: One from the 3M Version, one from the actual MITK, showing the same image.

It seems the interpolation does not work in one direction.

(Note: Images are taken from MITK Chili PlugIn, but error also appeares in standalone MITK)

MITK_3M_2.png (1×3 px, 431 KB)

Event Timeline

schwarzt added a subscriber: schwarzt.

Same image in MITK from 06/18/09

MITK_New.png (1×3 px, 267 KB)

It seems only the default value for reslice interpolation changed to "Nearest".
Reassigned to me to find a useful algorithm for determining a start default.

Fixed in Rev. 17787

(Interpolation is set to cubic by default in rotated images)

Why is it this default? I would guess this is an arbitrary decision? To show users the "real" images first, I'd turn off interpolation by default so they can see the real pixel values and resolution. How do other applications handle this?

When using "nearest" interpolation mode, the reslicing result can look quite ugly due to reslicing artifacts, even though the original pixel values are shown.

Which mode is suitable is probably application specific. No matter which interpolation mode we use as default, it would be good to have a simple(r) way to change this mode.