[Insight-users] pixel spacing
soosho
esteghamat at fastmail.fm
Thu Oct 11 05:45:10 EDT 2007
Hi every body
Hope you are fine.
I am working on 3D-3D registration. Volume sizes are (256*256*16) and
(128*128*4) but both differ in pixel spacing (1.367*1.367*5)mm and
(1,1,1)mm [as showed in ImageViewer]. Whole registration's configuration
is very simular to ImageRegistration1.cxx. I get the following
exception:
Description: itk::ERROR: MeanSquaresImageToImageMetric(0x85148d8): All
the points mapped to outside of the moving image
I checked the code many times. In my view two images should overlap but
they does not??
Could any body help??
Also when I print value of spacing in the code using image->GetSpacing()
I get the folowing valus for spacings (1*1*1) and (1*1*1). Why there
exist two differing spacing values?
Thanx,
Soosho
--
soosho
esteghamat at fastmail.fm
--
http://www.fastmail.fm - A fast, anti-spam email service.
More information about the Insight-users
mailing list