[Insight-users] ITK_USE_OPTIMIZED_REGISTRATION_METHODS
Luis Ibanez
luis.ibanez at kitware.com
Thu Mar 25 14:57:05 EDT 2010
Hi Michiel,
The multi-threaded registration metrics have been
heavily tested for more than two years now.
They are run Nightly on many of our Dashboard machines:
http://public.kitware.com/dashboard.php?name=itk
One of the common issues is that with their default
settings, they are very demanding in memory.
The first suspect here is that your available RAM may
not be enough for running these classes with their default
settings, and that you will have to turn off some of their
options.
---
Could you please elaborate more on the errors
that you found when running your registration ?
In particular:
1) Image data (for both fixed and moving images)
origin, spacing, number of pixels
2) How much RAM do you have ?
3) Please post to the list the *exact* error
message that you get when you run the
registration.
Thanks
Luis
--------------------------------------------------
On Thu, Mar 25, 2010 at 2:09 PM, michiel mentink
<michael.mentink at st-hughs.ox.ac.uk> wrote:
> 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
>> >> >
>> >> >
>> >
>> >
>
>
More information about the Insight-users
mailing list