[vtkusers] Resize vtkImageData
Mathieu Coursolle
mcoursolle at rogue-research.com
Fri Feb 29 11:55:47 EST 2008
Hi vtk users,
I have a 2D vtkImageData for which the dimensions in X and Y are
differents. I'd like to convert it to a square vtkImageData, with my
original image in the center of that new image.
I tried vtkImageConstantPad to resize my image, but then my original
image is in the corner, not centered.
Is there a vtk class that could help me with that?
Thanks!
MAthieu
More information about the vtkusers
mailing list