[Insight-users] Support of IPP and IOP in ImageViewer.
Luis Ibanez
luis.ibanez at kitware.com
Wed Jul 23 11:27:38 EDT 2008
Hi Levy,
Thanks for the additional information.
Since you report that Slicer coordinates are correct
and the ImageViewer are not. It is reasonable to
assume that your images have a non-identity direction
(image orientation).
If you want to modify the code of the ImageViewer,
you should look for the Point clicking code in
InsightApplications/Auxiliary/FltkImageViewer/
SliceView.h
in particular at lines 879-880.
You may want to convert these values by using the
method
TransformIndexToPhysicalPoint
You should also replace itk::Image with itk::OrientedImage
in the code of
InsightApplications/ImageViewer
Regards,
Luis
----------------
yoav levy wrote:
> Hi Luis,
>
> Thanks!
>
> Regarding your response:
>
> 1. OK.
> 2. I am using GE's MRI to read my landmark's coordinates.
> 3,5. The Slicer3's coordinates-report is equivalent to the measurements
> on the MRI. In contrast, The ImageViewer's report is different.
>
>
> Thanks, Yoav
>
> On Mon, Jul 14, 2008 at 12:28 AM, Luis Ibanez <luis.ibanez at kitware.com
> <mailto:luis.ibanez at kitware.com>> wrote:
>
>
>
> Hi Yoav,
>
>
> 1) Please us the example application:
>
> Insight/Examples/IO/DicomSeriesReadImageWrite2.cxx
>
> to convert your DICOM series to MetaImage.
>
>
>
> 2) What tool are you using for checking the coordinates ?
>
> ParaView ?
> Slicer ?
>
>
> 3) We cannot confirm much about the coordinates differences
> that you are reporting, unless we have access to the
> DICOM series that you are using. Can you make it available ?
>
>
> 4) ITK is Open Source :-)
>
> You will find the most recent version of
> the ImageViewer under:
>
> InsightApplications/ImageViewer
>
>
> 5) Before concluding that the ImageViewer is using an
> incorrect coordinate system, you should load your
> DICOM dataset *and* the converted MHA image in an
> application that manages orientation correctly.
>
> The best application in this regard is Slicer
>
> http://www.slicer.org/
>
> Slicer will display correctly an image, by taking
> into account, both its origin, spacing and orientation.
>
>
> Please upload you DICOM image into Slicer and let us
> know what you find,
>
>
> Thanks
>
>
> Luis
>
>
>
> ----------------------
> yoav levy wrote:
>
>
>
> I am using the ImageViewer to explore 3D MRI images. The Images
> are taken from the MR in DICOM format and converted to ".mah"
> using ConvertBetweenFileFormats application.
> My problem: The coordinates reported by the ImageViewer do not
> match the coordinates reported by the MR. I found old massages,
> claiming that the ImageViewer ignores several tags.
> (http://www.itk.org/pipermail/insight-users/2006-April/017407.html).
> 1. Can you confirm my analysis (that the coordinates difference
> stems from ignoring tags such as IPP and IOP) ?
> 2. Can I find an improved version of ImageViewer somewere?
> 3. Suppose there is no solution to the ImageViewer problem, I
> should develop a workaround. In my application I import
> landmarks generated in another proprietary application. How can
> I transform those landmarks to the "wrong" coordinates presented
> by the ImageViewer?
>
>
> Thanks,
> Yoav
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org <mailto:Insight-users at itk.org>
> http://www.itk.org/mailman/listinfo/insight-users
>
>
More information about the Insight-users
mailing list