[Insight-users] ITK_USE_OPTIMIZED_REGISTRATION_METHODS

michiel mentink michael.mentink at st-hughs.ox.ac.uk
Thu Mar 25 14:09:07 EDT 2010


Hi Luis,

I tried compiling with enabled Review but the registration algorithm then
crashed with
all kinds of buffer overflows etc, so I reverted back to 'normal'.

I will try again soon as I'm also trying to get a debug and release version
of itk running.

I don't really have any plans with a GPU, I'm just looking at different
possibilities of
speeding up the registration.

cheers, Michael

On Thu, Mar 18, 2010 at 4:58 PM, Luis Ibanez <luis.ibanez at kitware.com>wrote:

> Hi Michiel,
>
>
> 1) Yes, there are other interesting options that become
>     available when you turn ON  the Review directory.
>
>     unfortunately they are not documented.
>
>     You can find them by diving into the top level
>      CMakeLists.txt file, and searching for REVIEW
>
>     They are:
>
> a) ITK_USE_REVIEW_STATISTICS
> b) ITK_USE_OPTIMIZED_REGISTRATION_METHODS
> c) ITK_USE_CONSOLIDATED_MORPHOLOGY
> d) ITK_USE_TRANSFORM_IO_FACTORIES
>
>
>
> 2)  ITK doesn't currently support GPUs.
>
>      However, there are multiple groups working on
>     GPU support that gets integrated with ITK.
>
>     Do you have something particular in mind ?
>
>
>
>   Regards,
>
>
>          Luis
>
>
> --------------------------------------------------------------------
> On Mon, Mar 8, 2010 at 6:54 AM, michiel mentink
> <michael.mentink at st-hughs.ox.ac.uk> wrote:
> > Dear Luis,
> >
> > thank you, instead of going to the binary directory, I went to the source
> > directory,
> > then built ITK and then did a build install. Compiling and building went
> > okay after a few tries.
> >
> > 1) I did however see some comment in the build about having to use
> adjusted
> > function calls
> >     in order to profit from the improved registration methods.
> >    "add some new calls to these components." There are two examples in
> the
> > /review directory,
> >     but I couldn't really find anything useful there. Is there some more
> > documentation available
> >     somewhere?
> >
> > 2) Are there any other interesting options that come available when
> > "use_review" is enabled?
> >    Is there documentation about that somewhere?
> >
> > 3) Now that optimization comes up, are there any options for GPU use in
> ITK?
> >
> > cheers,
> >
> > Michael
> >
> > On Sat, Mar 6, 2010 at 7:19 PM, Luis Ibanez <luis.ibanez at kitware.com>
> wrote:
> >>
> >> Hi Michiel,
> >>
> >>
> >> 1) You enable this variable by rerunning CMake in the
> >>     binary directory of ITK, and going to the "Advanced"
> >>     mode.
> >>
> >>
> >> 2)  You must first enable the variable
> >>
> >>                 ITK_USE_REVIEW
> >>
> >>     Then you will see the option
> >>
> >>     ITK_USE_OPTIMIZED_REGISTRATION_METHODS
> >>
> >>
> >> 3) This flag enables the use of Multi-Threaded metrics,
> >>     that will take advantage of your multi-processor, and
> >>     multi-core machines. In principle, your registrations
> >>     will run N-times faster, where N is equal to the number
> >>     of physical cores in your computer.
> >>
> >>
> >> 4)  One of the pitfalls is increased memory consumption.
> >>
> >>     You should monitor your memory use as your use
> >>     these classes.
> >>
> >>
> >>
> >>    Regards,
> >>
> >>
> >>            Luis
> >>
> >>
> >> ---------------------------------------------------------------
> >> On Thu, Mar 4, 2010 at 11:38 AM, michiel mentink
> >> <michael.mentink at st-hughs.ox.ac.uk> wrote:
> >> >
> >> > Browsing through a registration example, I found the variable
> >> > ITK_USE_OPTIMIZED_REGISTRATION_METHODS
> >> > that enables multithreading.
> >> >
> >> > Where is that variable set? In CMakeLists.txt?
> >> > The advantage I presume is increased speed. Are there any pitfalls?
> >> >
> >> > cheers, Michael
> >> >
> >> > _____________________________________
> >> > Powered by www.kitware.com
> >> >
> >> > Visit other Kitware open-source projects at
> >> > http://www.kitware.com/opensource/opensource.html
> >> >
> >> > Kitware offers ITK Training Courses, for more information visit:
> >> > http://www.kitware.com/products/protraining.html
> >> >
> >> > Please keep messages on-topic and check the ITK FAQ at:
> >> > http://www.itk.org/Wiki/ITK_FAQ
> >> >
> >> > Follow this link to subscribe/unsubscribe:
> >> > http://www.itk.org/mailman/listinfo/insight-users
> >> >
> >> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100325/3b9268c8/attachment-0001.htm>


More information about the Insight-users mailing list