[Insight-users] Read DICOM series and write DICOM series

Luis Ibanez luis.ibanez at kitware.com
Tue Mar 31 20:10:49 EDT 2009


Hi Raffaele,


                                  Congratulations !


You just found a bug in ITK.   :-)


Please add a bug report to the MANTIS bug tracker:

            http://public.kitware.com/Bug/my_view_page.php


We will take care of the bug....

In the meantime,
you can avoid the problem by editing the file

         Insight/Code/Common/itkImageBase.txx

and in the lines:  188-191:

  if (vnl_determinant(this->m_Direction.GetVnlMatrix()) == 0.0)
    {
    itkExceptionMacro(<< "Bad direction, determinant is 0. Direction
is " << this->m_Direction);
    }


Comment out the line with the itkExceptionMacro.

Then recompile...
(it will take a while, since this class is used almost everywhere).

Note that this is not a real solution to the bug, but simply a work
around so you can continue using ITK.


       Regards,


               Luis


-------------------------------------------------------------------------------------------------------
On Tue, Mar 24, 2009 at 6:59 PM, raf.califano at libero.it
<raf.califano at libero.it> wrote:
> Hi,
> i read a DICOM series and then i write it how a DICOM series.
> i use the itkImageSerieWriter<ImageType3D,imageType2d> to write
> but when i try to write the DICOM series i get the follow error:
> Description: itk::Error: Image(024DFCE0): Bad Direction , determinat is 0.
> Direction is 1 0
> 0 0
> Help me please.
> Sorry for my English.
> The best regards
>
> Raffaele
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list