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

Concetta Piazzese aliens30586 at hotmail.it
Wed Oct 12 12:31:53 EDT 2011


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

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


More information about the Insight-users mailing list