vtkImageActor image shift
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Image is shifted by one or two pixels in vtkImageActor. It is observed in 5.8.0 and 5.10.0. When I tested it using a color picture then it looks like color layers shift differently.
Attached is a test result using a 20x10 pixel BMP image (24bit, made in PhotoShop) with some grids. Left image is the original image and the right image is the image on vtkImageActor through the following pipeline. You can see a strangely shifted image.
vtkBMPReader vtkImageShiftScale vtkImageShiftScale.SetOutputScalarTypeToUnsignedChar() vtkImageData vtkImageActor vtkImageActor.InterpolateOff()