Skip to content

Conversation

@jdtournier
Copy link
Member

As discussed on #1062.

Lestropie and others added 2 commits July 21, 2017 10:51
When using nearest-neighbour interpolation and mapping to a lower-resolution image, if the default oversampling strategy is used, this will result in averaging of sub-voxel samples and therefore output intensities that do include some degree of "interpolation" with respect to the input image. This change disables oversampling when using nearest-neighbour interpolation.
@maxpietsch
Copy link
Member

I'd add a warning or throw an exception if the oversample option is provided but no template is provided.

Also, do we want to offer the oversample option for warps as well? Not sure if it makes much sense to change the oversampling factor of the reslice filter that is applied to the warp.

@bjeurissen bjeurissen self-requested a review July 24, 2017 08:30
@jdtournier jdtournier merged commit e725922 into tag_3.0_RC2 Aug 1, 2017
@jdtournier jdtournier deleted the mrtransform_add_oversample_option branch August 1, 2017 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants