[Insight-users] 3D Resampling

Karthik Krishnan Karthik.Krishnan at kitware.com
Mon May 1 15:38:06 EDT 2006


Hi Kevin

I would first check if you can read your Analyze file. (There have been 
reports in the past of certain Analyze files not being read in correctly).
Use InsightApplications/ImageViewer to open your Analyze file and check 
if you see what you expect to see.

bye
-karthik

Kevin Ming wrote:

> 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
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>  
>


More information about the Insight-users mailing list