Hi<br /><br />I have two images of different sizes. Image A:80x120 Image B:120x80. I must compare both in the same size, so I have to resample or resize one of the images with the size values of the other one. When I use the vtkImageResample with B, the width changes to 80, but the height to 119 !! ... And when I use different factor values in the method SetAxisMagnificationFactor, I note these results:<br />Factor        Obtained         Expected Height Value<br />0,5                     40        40<br />1                     80        80<br />1,5                    119        120<br />2                    159        160<br />2,01                    159        161<br />2,1                    166        168<br />2,7                   214        216<br />3                   238        240<br />3,5                   277        280<br />4                   317        320<br />4,1                   324        328<br />So, when the factor increases, the number of pixels obtained with the SetAxisMagnificationFactor is less than the expected value.<br /><br />Do you know how can I resize the B image keeping the extent of the A image and not losing some rows or columns in the process??<br /><br /><br />Thanks!!<br /><br />RaC