[Insight-users] [ITK Community] Opacity for 3D image
Luis Ibanez
luis.ibanez at kitware.com
Sat Dec 14 11:01:39 EST 2013
Massinissa,
Thanks for the update.
It looks like you are not catching the exception.
Please go back to the code, and around the Update method of the reader add
a try / catch block
try
{
reader->Update();
}
catch( itk::ExceptionObject & excp )
{
std::cerr << excp << std::endl;
}
[ See more details about this in the ITK Software Guide ]
The error that this will print in the console, will illuminate the source
of the problem
when reading the image.
Please share with the list the error message that you get in the console,
once you run your program with this try/catch block added.
Thanks
Luis
On Fri, Dec 13, 2013 at 11:45 PM, Massinissa Bandou <
Massinissa.Bandou at usherbrooke.ca> wrote:
> Hi Luis,
>
> I have done what you suggest and I got a pop up window saying:
>
> *itk::ImageFileReaderException at memory location 0x001deea8.*
>
> an arrow pointing at line 144 of itkImageFileReader.hxx
> * ImageFileReaderException e(__FILE__, __LINE__, msg.str().c_str(),
> ITK_LOCATION);
> throw e;*
>
> what's wrong with the preparation of the image??
>
> Massi
>
>
>
> --
> View this message in context:
> http://itk-users.7.n7.nabble.com/Opacity-for-3D-image-tp32950p32988.html
> Sent from the ITK - Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> 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
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20131214/2171f378/attachment-0001.htm>
More information about the Insight-users
mailing list