[Insight-users] Strange fault in multiresolution registration

Luis Ibanez luis.ibanez at kitware.com
Mon Sep 12 08:42:35 EDT 2005


Hi Richard,

Could you please post your Python script ?

   Thanks


     Luis


----------------------
Richard Beare wrote:
> Hi,
> 
> I think the image data is being read OK - I'm using the brain proton 
> density image from the example data set - if I set the number of pyramid 
> levels to one the procedure runs and produces output. My registration 
> settings aren't correct so it doesn't correct rotation using only this 
> first level.
> 
> I'm using Gaetian Lehman's darcs repository at 
> http://voxel.jouy.inra.fr/darcs/itk-mima2/ which is kept in synch with 
> the itk cvs repository (I'm using it because of the additional python 
> wrapper bindings). It may be a few days behind at the moment because 
> he's on holidays.
> 
> Thanks
> 
> 
> On 9/1/05, *Luis Ibanez* <luis.ibanez at kitware.com 
> <mailto:luis.ibanez at kitware.com>> wrote:
> 
> 
>     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 <mailto:Insight-users at itk.org>
>      > http://www.itk.org/mailman/listinfo/insight-users
>     <http://www.itk.org/mailman/listinfo/insight-users>
> 
> 




More information about the Insight-users mailing list