Hello,<br><br>I'm trying to magnify or minify an image by a factor. For example if I have a 1024x1024 pixels images and the factor is 0.5, the resulting image should be of a 512x512 size, so the image would be 2 times smaller than before.
<br><br>I've tried with vtkImageReslice and vtkImageResample with no success. I don't know what I'm doing wrong because these classes are supposed to be capable to do this stuff.<br><br>Could someone give me some hints or an example code to do this?
<br><br>Thanks in advance!<br>