[Insight-users] Thanks, Another Question

Luis Ibanez luis.ibanez at kitware.com
Sun Jun 20 09:00:20 EDT 2010


Hi Rahil

1) Before you start measuring computation time,
    please make sure that you configured ITK to
    build for "Release". This is done by running
    CMake and setting the variable

                   CMAKE_BUILD_TYPE

2)  Regarding the time for building the pyramid,
     170 seconds looks a bit too long...

     How many resolution levels are you using ?
     What is the subsampling schedule ?



  Please let us know,


       Thanks


             Luis

-------------------------------------------
On Sun, Jun 20, 2010 at 8:28 AM, raheleh m <meshgolok at yahoo.com> wrote:

> Dear Mr. Ibanez
>
> Thanks a lot for your attention and help. Actually, I have another question
> and I would be really grateful
> if you could please help me with this one too. I am using Multi Resolution
> Registration method of itk, and my data size is 512*512*200. The prepare
> pyramids function takes about 170 seconds, but the optimization loop is
> fast, about 12 seconds. The total registration time is about 202 seconds. Is
> this normal, or I miss something? How can I reduce the time of prepare
> pyramids? I know it is a lot to ask and I appreciate it a lot.
>
> Thanks in advance,
> Sincerely Yours
>
> Rahil Meshgolok
>
> ------------------------------
> *From:* Luis Ibanez <luis.ibanez at kitware.com>
> *To:* raheleh m <meshgolok at yahoo.com>
> *Cc:* itk <Insight-users at itk.org>
> *Sent:* Thu, June 17, 2010 8:40:41 PM
> *Subject:* Re: Permute Order in MultiResMIRegistration
>
>
> Hi Rahil,
>
>
> Please read the documentation of the class at:
>
> http://public.kitware.com/Insight/Doxygen/html/classitk_1_1FlipImageFilter.html
>
>       "The image is flipped across axes for which array[i] is true."
>
>
> http://public.kitware.com/Insight/Doxygen/html/classitk_1_1PermuteAxesImageFilter.html
>
>      "The elements of the array must be a rearrangement
>       of the numbers from 0 to ImageDimension - 1.
>
>      "The i-th axis of the output image corresponds with
>        the order[i]-th axis of the input image."
>
> If you pass [0 1 2] as parameter, then the output image will be identical
> to the input image.  If you pass [1 0 2] then the output image will use as
> X axis, what used to be the Y axis of the input image, and will use as
> Y axis, what used to be the X axis of the input image.
>
>
> Note that in general, you should NOT use the flip / permute
> filters. Particularly not if you are using medical data.
>
>
>      Regards,
>
>
>           Luis
>
>
> -------------------------------------------------------------------------
> On Mon, Jun 14, 2010 at 8:12 AM, raheleh m <meshgolok at yahoo.com> wrote:
>
>> *Greetings!
>> *
>> I am using ITK Registration. I would be really grateful if you could
>> please let me know the meaning of permute order and flip axes arrays. I mean
>> when permute order is [0 1 2] what is the order of axes? what about [2 0 1]?
>> Does the first array mean (x,y,z) and the second (z,x,y)? I have the same
>> question about flip axes.
>>
>> Thanks in advance
>> Rahil Meshgolok
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100620/f9b3845a/attachment.htm>


More information about the Insight-users mailing list