[Insight-users] 3D Resampling

Kevin Ming ming.kevin at gmail.com
Mon May 1 14:43:54 EDT 2006


Hi,

I'm trying to rigidly transform some 3D image data for test in registration,
but can't seem to figure out what kind problems I'm running into:

1)  The program only seems to resample the 1st out of a total of 12 slices
from my 3D image, all other slices are just a repeat of the first slice.  I
tried playing around with spacing[2] = x for Dimension = 3 where x is any
value greater than 0, but instead the program would give me every slice
other than the 1st one black.

2)  Also, all the output images seem to give me really high brightness and
contrast values.  For example my original images have brightness =
2204933.4355 and contrast = 4277002.0027, and the output would be brightness
= 44324303030.1732 and contrast = 9999999.0000.  Does this have to do with
the fact that I changeed the InputPixelType and OutputPixelType to float?

In generally I think it's my spacing and maybe origin values that are
creating these problems, so here are what I think they should be:

Spacing (or in ANALYZE, Size) (mm):  x = 0.01, y = 0.01, z = 0.00
Origin (same name in ANALYZE) (vxl):  x = 0.00, y = 0.00, z = 0.00


Thank You,
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060501/26d80499/attachment.html


More information about the Insight-users mailing list