[vtkusers] 3D-position of vtkImageReslice

Henning Meyer tutmann at gmail.com
Fri Jul 2 09:25:58 EDT 2010


Hello,

I did a small modification to the ImageSlicing-Example in:
Examples/ImageProcessing/Cxx/ImageSlicing.cxx

Now started as usual:
./ImageSlicing $VTKDATADIR/Data/headsq/quarter

you can press any key and thereby paint black voxels in the image.
Anyway - these voxels will be sligthly off in viewer-direction.
So - what is wrong here?

Thank you,


Henning

2010/6/30 Henning Meyer <tutmann at gmail.com>:
>> Why don't you do a reslice then scale.  That way the z (out of the screen)
>> coordinate is always zero however you zoom it.
>
> I'm not sure what you mean.
> I think I'm doing exactly that.
> Or do you propose to zoom the imageActor? I would not like that
> option, because it would mean the reslice is rendering stuff, which is
> not shown in the end (when zoomed in), or not shown in full resolution
> (when zoomed out). In any case the reslice would do more processing
> than needed.
> I'll try and put together some minimal code which shows my problem.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ImageSlicing.cxx.patch
Type: text/x-patch
Size: 1634 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100702/765c0199/attachment.bin>


More information about the vtkusers mailing list