[Insight-users] Strange fault in multiresolution registration
Luis Ibanez
luis.ibanez at kitware.com
Wed Aug 31 10:45:07 EDT 2005
Hi Richard,
The occasions where we have seen a similar exceptions
are when the image data has not been read correctly
into the code. This may or may not be your case.
You may want to double check that before getting into
the registration, your fixed and moving images are
read correctly from the fileformat that you are providing.
This can easily be done by adding writers directly at the
output of the readers for the Fixed and Moving images
respectively.
About the Update() problem,...
Question:
What version of ITK are you using ?
Please let us know,
Thanks
Luis
---------------------
Richard Beare wrote:
> Hi,
> I'm using a multiresolution registration approach from python and
> receiving some strange errors when I set the number of levels above 1.
> The error is below.
>
> I've tried compiling with and without the multi-thread option enabled.
> The python script is getting complicated and depends on some additional
> instantiations, but I'm happy to send it if anyone things it will help
> diagnose the problem.
>
> I've also found that registration.Update() doesn't do anything, while
> registration.StartRegistration() does.
>
> The host is linux, FC3 on amd64, gcc 3.4.
>
> Any ideas?
>
> Thanks
>
> ./registerSlices.py
> Traceback (most recent call last):
> File "./registerSlices.py", line 326, in ?
> main()
> File "./registerSlices.py", line 301, in main
> regPipe['registration'].StartRegistration()
> File
> "/scratch/richardb/local/lib/InsightToolkit/itkMultiResolutionImageRegistrationMethod.py",
> line 224, in StartRegistration
> def StartRegistration(*args): return
> _itkMultiResolutionImageRegistrationMethod.itkMultiResolutionImageRegistrationMethodUS2US2_Pointer_StartRegistration(*args)
> RuntimeError:
> /scratch/richardb/Build/Darcs/itk-mima2/Insight/Code/Common/itkMultiThreader.cxx:354:
> itk::ERROR: MultiThreader(0x1de71b0): Exception occurred during
> SingleMethodExecute
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list