[vtkusers] Border image pixels are half the size of internal pixels?

David Doria daviddoria at gmail.com
Fri Sep 16 13:52:50 EDT 2011


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?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110916/f8a04b9c/attachment.htm>


More information about the vtkusers mailing list