[vtkusers] Border image pixels are half the size of internal pixels?
David Gobbi
david.gobbi at gmail.com
Fri Sep 16 14:02:21 EDT 2011
On Fri, Sep 16, 2011 at 11:52 AM, David Doria <daviddoria at gmail.com> wrote:
> Please see this example:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/Broken/PixelSize
> You can see that the border pixels of the big random image are half the size
> of the images internal pixels. I thought this might be due to the pixel
> center and pixel corner, so I thought it might be corrected by doing:
> image->SetOrigin(.5,.5,0);
> but that didn't seem to change anything except move the image in space. Is
> there a way to make all of the pixels appear the same size?
Taken straight from the wiki page:
vtkImageMapper3D
* BorderOn() - show whole image, instead of cutting border pixels in half
- David
More information about the vtkusers
mailing list