[Insight-users] [Insight-developers] Exception thrown in DenseFrequencyContainer

Bradley Lowekamp blowekamp at mail.nih.gov
Thu Nov 19 10:04:33 EST 2009


Hello,

You should look at the Statistics in the Review directory. It should take care of this problem. It is enabled by turning on a CMake flag during the building ok ITK.

Enjoy,
Brad

On Nov 17, 2009, at 6:18 AM, Iván Macía wrote:

> Dear all,
>  
> We have been experiencing problems with our software when moving to the latest versión of ITK (3.16). The problem seems to be that, when calculating the histogram of the volume, now itk::Statistics::DenseFrequencyContainer throws an exception. This case is very common, since most of the 3D CT images have voxels whose background value (16777216).
>  
> It was our problem not to catch that exception, but even if we catch it, I don’t see why the saturation of the histogram should interrupt the calculation, breaking the call stack, only because the background values, which are not very interesting for us, saturate the histogram.
>  
> I think the solution is to change the type for the total frequency of the container in order to have more capacity, since 3D images tend to be larger and larger and that number seems to be insufficient.
>  
> What do you think?
>  
> Thanks in advance
>  
> Iván
>  
> _______________________________________________________
> Iván Macía Oliver
> Investigador / Researcher
> eSalud & Aplicaciones Biomédicas / eHealth & Biomedical Applications
>  
> Vicomtech - Visual Interaction Communication Technologies
> Mikeletegi Pasealekua, 57 - Parque Tecnológico
> 20009 Donostia - San Sebastián - Spain
> Tel: +[34] 943 30 92 30
> Fax: +[34] 943 30 93 93
> e-mail: imacia at vicomtech.org
> http://www.vicomtech.org
>  
> *** member of INI-GraphicsNet ****
> www.inigraphics.net
> *** member of IK4 Research Alliance ****
> www.ik4.es
>  
> ----------------------------------------------------------
> Vicomtech is an ISO 9001:2000 certified institute
> ----------------------------------------------------------
>  
> Este mensaje se dirige exclusivamente a su destinatario. La información incluida en el presente correo es confidencial sometida a secreto profesional, especialmente en lo que respecta a los datos de carácter personal, cuya divulgación está prohibida, en virtud de la legislación vigente. Si usted no es el destinatario legítimo y lo ha recibido por error o tiene conocimiento del mismo por cualquier motivo, le rogamos que nos lo comunique por este medio y proceda a destruirlo o borrarlo. En todo caso abstengase de utilizar, reproducir, alterar, archivar o comunicar a terceros el presente mensaje así como los ficheros anexos, todo ello bajo pena de incurrir en responsabilidades legales. Cualquier opinión contenida en este correo es exclusiva de su autor y no representa necesariamente la opinión de ASOCIACIÓN CENTRO DE TECNOLOGÍAS DE INTERACCIÓN VISUAL Y COMUNICACIONES VICOMTech (en adelante Vicomtech) El emisor no garantiza la integridad, rapidez o seguridad del presente correo, ni se responsabiliza de posibles perjuicios derivados de la captura, incorporaciones de virus o cualesquiera otras manipulaciones efectuadas por terceros.
> Con motivo de la entrada en vigor de la Ley 34/2002, de 11 de julio, de Servicios de la Sociedad de la Información y de Comercio Electrónico, le informamos que pueden revocar en cualquier momento, de forma sencilla y gratuita, el consentimiento para la recepción de mensajes de vicomtech.org en info.lopd at vicomtech.org.
>  
>  
> <ATT00001..txt>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091119/198a29d8/attachment-0001.htm>


More information about the Insight-users mailing list