[Insight-users] Bug in GradientVectorFlowImageFilter

Ivan Macia imacia at vicomtech.es
Sat, 6 Mar 2004 19:10:58 +0100


Hi

I have found what it seems like a bug in the file
itkGradientVectorFlowImageFilter.txx
The smartpointer m_LaplacianFilter is used in UpdatePixels( ) without
allocating memory for the filter so I got a big crash.

Adding this line at the beginning of the function InitFilterImage( ) solves
the matter

     m_LaplacianFilter = LaplacianFilterType::New();

Hope this helps
Later

Iván

________________________________

Iván Macía Oliver
Ing. Industrial
Ing. en Automática y Electrónica
Asociación VICOMTech
http://www.vicomtech.es
Paseo Mikeletegi 57, bajo
20.009 Donostia-San Sebastián
(Gipuzkoa) SPAIN
Tlfno: (00 34) 943 30 92 30
Fax: (00 34) 943 30 93 93
e-mail: imacia at vicomtech.es

***Member of INI-GraphicsNet***
http://www.inigraphics.net
_______________________________