[Insight-users] Adaptive Histogram Equalization Image Filter with 3D image

Concetta Piazzese aliens30586 at hotmail.it
Thu Oct 13 05:06:06 EDT 2011


Yes, there was an error with the output and now it works! Thanks karthik!

Date: Thu, 13 Oct 2011 10:21:41 +0530
Subject: Re: [Insight-users] Adaptive Histogram Equalization Image Filter with 3D image
From: karthik.krishnan at kitware.com
To: aliens30586 at hotmail.it
CC: insight-users at itk.org

I can only guess that your input and output images have been templated over images with different dimensions.

On Wed, Oct 12, 2011 at 10:01 PM, Concetta Piazzese <aliens30586 at hotmail.it> wrote:






Hi everyone,
I'm trying to use the Adaptive Histogram Equalization Image Filter with 3D image (mhd extension). I used the proper image template (3 Dimensions), but when i try to run the code, the filter throws an
exception in itkUnaryFunctorImageFilter.txx at line 105:

97   for (i=0; i < Superclass::InputImageDimension; ++i)
98      {

99        outputSpacing[i] = inputSpacing[i];
100       outputOrigin[i] = inputOrigin[i];
101       for (j=0; j < Superclass::OutputImageDimension; j++)

102         {
103         if (j < Superclass::InputImageDimension)
104           {

105           outputDirection[j][i] = inputDirection[j][i];
106           }
107        else

108          {
109          outputDirection[j][i] = 0.0;
110          }

111        }
112      }


and the exception:

Unhandled exception at 0x00285d01 in itkAdaptiveHistogramEqualizationImageFilterTest.exe: 0xC0000005: 
Access violation reading location 0x3fe00010. 


I can't understand what's the problem. Can you help me?
Concetta

 		 	   		  


_____________________________________

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.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



 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20111013/97f8964d/attachment.htm>


More information about the Insight-users mailing list