Unevenly spaced slices happen a lot for DICOM images as well.
What I did is to first load the data to a 3D volume (ignore the uneven
spacing at the file reading step),
then re-sample this temporary volume to uniform spacing as the final loaded
image.
The re-sampling is pretty simple since only interpolation along the slice
direction is needed.

I think this re-sampling step is unavoidable, but it only need be done once
and all later image manipulation can
simply use the re-sampled, uniformly-spaced image.

Hope this helps,

Xiao


On Wed, Apr 1, 2009 at 8:09 AM, sebastian ordas
<[email protected]>wrote:

> Hi Team,
>
> I would like to extend the raw reader to allow for importing unevenly
> spaced slices (jpeg images) into a single data set?
> I could have a separate text file with the interslice separation, but
> how to gather the slices into a single volume? mitk::Image does not
> allow such arrangement, right?
>
> Any advice would be greatly appreciated.
>
> best regards,
> sebastian
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to