What’s the best way to set the start index (of the largest possible region) of the padImageFilter output image to zeros?
I do not allow negative indices in my application, but am noticing that the start index of a padImageFilter output image can be negative. I’d like to maintain a start index of (0, 0, …) for all images in my application. What’s the best way to achieve this while maintaining consistency within ITK, and registration of padImageFilter output image with the input image in the physical coordinate system? Should I apply the following operations on the padImageFilter output?
SetLargestPossibleRegion(region with index=zero, and size=total size of padImageFilter output)
SetOrigin(physical coordinate of the start index of the padImageFilter output)
Or, should I apply another filter, like ChangeInformationImageFilter or RegionOfInterestImageFilter, to the padImageFilter output?