[Insight-users] problem while loading corrupted files

Luis Ibanez luis.ibanez at kitware.com
Wed May 13 08:15:07 EDT 2009


Hi Jakub,


A couple of questions:


A) The corrupted JPEG files:
     With what software were they generated ?


B) Do you expect ITK to read the corrupted files ?
     or to throw exceptions when encountering them ?

C) Can you share one (or several) of those corrupted
     files so that we can attempt to replicate this
     behavior.


One thing that may be happening is that we may be
throwing an exception but not closing the file handles
that have been open so far....



      Thanks


              Luis


-------------------------------------------------------
On Wed, May 13, 2009 at 2:54 AM, Jakub Bican <jakub.bican at matfyz.cz> wrote:
> Hello,
>
> we built an image retrieval system and we encountered a problem. In
> the bunch of files we have to precess is a large number of corrupter
> jpeg files or files with zero length.
>
> We suspect the JPEG image reader class of ITK that it does not close
> file handle if it encounters some problem during file reading, because
> we run out of file handles on certain linux system after some time of
> system our execution.
>
> Do someone have an experience with such behavior?
>
> Thanks, Jakub
> _____________________________________
> 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