[Insight-users] Using Java wrapped itkMultiResolutionImageRegistrationMethodF3F3

Pablo D. Burstein pablob at grasp.cis.upenn.edu
Wed Feb 9 11:14:38 EST 2005


Hi,

I am writing a program which uses 
itkMultiResolutionImageRegistrationMethodF3F3. The following example code:

itkMultiResolutionImageRegistrationMethodF3F3 m_Registrator= 
itkMultiResolutionImageRegistrationMethodF3F3.itkMultiResolutionImageRegistrationMethodF3F3_New().GetPointer();
itkMeanSquaresImageToImageMetricF3F3 
m_Metric=itkMeanSquaresImageToImageMetricF3F3.itkMeanSquaresImageToImageMetricF3F3_New().GetPointer();
m_Registrator.SetMetric(m_Metric);

results in an EXCEPTION_ACCESS_VIOLATION (from the native).

This happens with any Setter function of the Multi or Mono resolution 
versions of the ImageRegistrationMethodF3F3 classes, and even when using 
itkMultiResolutionImageRegistrationMethodF3F3_Pointer (instead of 
itkMultiResolutionImageRegistrationMethodF3F3) as well.

Any suggestions?

Thank you,
Pablo



More information about the Insight-users mailing list