Page MenuHomePhabricator

Rendering shows wrong pixel grids?
Closed, DuplicatePublic

Description

While working on T11106 (gantry tilt correction), I found that MITK's 2D rendering of images shows an interesting behavior, which seems wrong. If it IS intended behavior, I could'nt find the reason for it.

What hapens:

Load two images with the same spacing but slightly different origins: one has a shift along the Y axis. Rendering generates some kind of raster which is common to both images. You can easily see this by turning the top image visible/invisible.

I would expect both pixel grids to be rendered exactly, i.e. when toggling visibility, the user should recognize that there is a slight difference.

Does anybody have an explanation for this behaviour. Is this technically necesary for some feature to work? Or is it a bug that can be fixed?

(attached two images to easily observe the effect)

Event Timeline

maleike added a subscriber: maleike.

Second test image.

Both images have a spacing of 5.25 in x/y. Their difference in origin is 1, so their pixel grids should NOT align.

This has already been reported as T11948. Possible solution comes with T10174, however we wait for input of Markus F.