[vtkusers] vtkResliceImage and appending slices

David Gobbi david.gobbi at gmail.com
Tue Nov 18 18:14:04 EST 2014


On Tue, Nov 18, 2014 at 4:09 PM, zarko.milosevic <zarko at kg.ac.rs> wrote:

> When 3d image is sliced with arbitrary, oblique slice than all sliced
> voxels would not have same spacing. Right ? But if I assume some output
> spacing then I will get inaccurate dimensions.
>

Whatever output spacing you set, vtkImageReslice will take it into account
when it does the reslicing.




> *From:* David Gobbi [via VTK] [mailto:[hidden email]
> <http://user/SendEmail.jtp?type=node&node=5729501&i=0>]
> *Sent:* Tuesday, November 18, 2014 11:56 PM
> *To:* zarko.milosevic
> *Subject:* Re: vtkResliceImage and appending slices
>
>
>
> On Tue, Nov 18, 2014 at 3:40 PM, zarko.milosevic <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=5729500&i=0>> wrote:
>
> Hi David again,
>
> It`s been a while. I`m getting back to the same problem. If I put my own
> spacing for the output image then the resulted image will have wrong
> dimensions. If i try to measure something on the resulted oblique sectioned
> image those measures will not be realistic. Am I right ?
>
>
>
> If you set the output voxel spacing, then you _know_ the output voxel
> spacing.
>
> And in fact VTK knows the output voxel spacing too, because it is stored
> with
>
> the vtkImageData.
>
>
>
> You are always taking the voxel spacing into account when you are making
>
> your measurements, aren't you?  If you do so, then all the measurements
>
> should be accurate.
>
>
>
> Â - DavidÂ
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141118/93783f72/attachment.html>


More information about the vtkusers mailing list