elastix icon indicating copy to clipboard operation
elastix copied to clipboard

Add TransformixFilter:: member function equivalent to ITK Resampler SetOutputParametersFromImage

Open N-Dekker opened this issue 2 years ago • 2 comments

Request from @ntatsisk

N-Dekker avatar Feb 21 '23 10:02 N-Dekker

Thanks @N-Dekker. I noticed that ITK Resampler has also a function to set a reference image: https://github.com/InsightSoftwareConsortium/ITK/blob/f0d342e0b81e690194cd3fe993316bca7570402b/Modules/Filtering/ImageGrid/include/itkResampleImageFilter.h#L262. When set, it requires also to make user of the flag UseReferenceImage.

At first glance it appears equivalent to SetOutputParametersFromImage but maybe a more careful look is required.

ntatsisk avatar Feb 22 '23 09:02 ntatsisk

Having discussed at today's weekly internal elastix sprint with Marius (@mstaring), Stefan (@stefanklein), and Konstantinos (@ntatsisk), we think SetOutputDomainFromImage would be a good name for such a member function. The term "Domain" would then refer the five image properties, Direction, Index, Size, Spacing, and Origin together.

N-Dekker avatar Apr 03 '23 12:04 N-Dekker