[Insight-users] GDCM problems
Ranjan, Sohan (GE, Research)
sohan.ranjan at ge.com
Mon Jul 17 01:47:38 EDT 2006
Hi Mathieu.
Thank you for your reply. I downloaded the CVS version of the code, and
do not see any difference. The MI values computed are all wrong. May I
know what changes have been made in your recent update?
Sohan
-----Original Message-----
From: Mathieu Malaterre [mailto:mathieu.malaterre at kitware.com]
Sent: Thursday, July 13, 2006 10:40 PM
To: Ranjan, Sohan (GE, Research)
Cc: insight-users at itk.org
Subject: Re: [Insight-users] GDCM problems
Ranjan, Sohan (GE, Research) wrote:
> Hello.
>
> I had written code for registering images in DICOM format. The code worked well with ITK-2.4.
> However I switched over to ITK-2.6, and then my code went erratic. What I have noticed is
> that the problem is coming due to origin of the read image. If a DICOM image read by ITK-2.4
> read the origin as, say (X,Y,Z), the same image origin read by ITK-2.6 reports it as (X, -Y, Z).
> Note the change in the sign of the y-corodinate. With this change, the corresponding points
> in the two image being registered becomes different, thus the whole MI computation goes
> haywire, and registration fails.
> I am sure many would have faced the same problem, so what is the solution?
Ranjan,
If you have a chance, could you try again with ITK CVS. I removed
something that has been discussed for a while about this issue. I
believe this would solve your problem.
Thanks
Mathieu
More information about the Insight-users
mailing list