Hints to create a known deformation image - Deformable Image registration?

View: New views
10 Messages — Rating Filter:   Alert me  

Hints to create a known deformation image - Deformable Image registration?

by motes motes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would like to test my BSplineDeformable registration method with a
known deformation field. Currently I apply the BSplineWarping1.cxx
example to the fixed image and use the output as the moving image. As
input image I use lena:

http://stochastix.files.wordpress.com/2008/07/lena-sjooblom.jpg

But are there better motives that illustrate the deformation better
(like a chess board, salt/pebber image etc)?

And is it possible to create a more detailed know deformation instead
of only changing the 8*8 deformation vectors in the text input file to
the warper?
_____________________________________
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

Re: Hints to create a known deformation image - Deformable Image registration?

by Luis Ibanez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Motes,

1) Lena is certainly not the best motif for evaluating a deformable
     registration process. You may want to use a grid image with
     about four time the density of lines of the BSpline grid, and
     lines that are more than 2 pixels apart.

     The reason why you want lines to be more than 2 pixels apart
     is to avoid aliasing when you resample the image using the
     deformation field.

2) You could create such image by using GIMP

       a) Open Gimp
       b) create a new image,
       c) Select Filters --> Render--> Pattern --> Grid
       d) save the image


3)  Yes, you can make more detailed initial deformation...
       but you have to initialize all the coefficients.

       It may be desirable to generate those initial numbers
        from a program...


    Regards,


          Luis


--------------------------------------------------------------------

On Fri, Oct 30, 2009 at 2:25 PM, motes motes <mort.motes@...> wrote:

> I would like to test my BSplineDeformable registration method with a
> known deformation field. Currently I apply the BSplineWarping1.cxx
> example to the fixed image and use the output as the moving image. As
> input image I use lena:
>
> http://stochastix.files.wordpress.com/2008/07/lena-sjooblom.jpg
>
> But are there better motives that illustrate the deformation better
> (like a chess board, salt/pebber image etc)?
>
> And is it possible to create a more detailed know deformation instead
> of only changing the 8*8 deformation vectors in the text input file to
> the warper?
> _____________________________________
> 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
>
_____________________________________
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

Re: Hints to create a known deformation image - Deformable Image registration?

by Nicholas Tustison :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Luis, Motes,

Another possibility you might want to consider

http://public.kitware.com/Insight/Doxygen/html/classitk_1_1GridImageSource.html

Nick


On Nov 1, 2009, at 6:06 PM, Luis Ibanez wrote:

> Hi Motes,
>
> 1) Lena is certainly not the best motif for evaluating a deformable
>     registration process. You may want to use a grid image with
>     about four time the density of lines of the BSpline grid, and
>     lines that are more than 2 pixels apart.
>
>     The reason why you want lines to be more than 2 pixels apart
>     is to avoid aliasing when you resample the image using the
>     deformation field.
>
> 2) You could create such image by using GIMP
>
>       a) Open Gimp
>       b) create a new image,
>       c) Select Filters --> Render--> Pattern --> Grid
>       d) save the image
>
>
> 3)  Yes, you can make more detailed initial deformation...
>       but you have to initialize all the coefficients.
>
>       It may be desirable to generate those initial numbers
>        from a program...
>
>
>    Regards,
>
>
>          Luis
>
>
> --------------------------------------------------------------------
>
> On Fri, Oct 30, 2009 at 2:25 PM, motes motes <mort.motes@...>  
> wrote:
>> I would like to test my BSplineDeformable registration method with a
>> known deformation field. Currently I apply the BSplineWarping1.cxx
>> example to the fixed image and use the output as the moving image. As
>> input image I use lena:
>>
>> http://stochastix.files.wordpress.com/2008/07/lena-sjooblom.jpg
>>
>> But are there better motives that illustrate the deformation better
>> (like a chess board, salt/pebber image etc)?
>>
>> And is it possible to create a more detailed know deformation instead
>> of only changing the 8*8 deformation vectors in the text input file  
>> to
>> the warper?
>> _____________________________________
>> 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
>>
> _____________________________________
> 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

_____________________________________
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

Re: Hints to create a known deformation image - Deformable Image registration?

by motes motes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks both of you. But should the optimizer not have something to
move in to find the peak of the cost function? I have previously used
a white image with a single black box and the result was very poor
when using eg. gradient based optimizer.

I was thinking that the same problem would occur if I made a white
image with a black grid.




On Mon, Nov 2, 2009 at 12:17 AM, Nicholas Tustison <ntustison@...> wrote:

> Hi Luis, Motes,
>
> Another possibility you might want to consider
>
> http://public.kitware.com/Insight/Doxygen/html/classitk_1_1GridImageSource.html
>
> Nick
>
>
> On Nov 1, 2009, at 6:06 PM, Luis Ibanez wrote:
>
>> Hi Motes,
>>
>> 1) Lena is certainly not the best motif for evaluating a deformable
>>    registration process. You may want to use a grid image with
>>    about four time the density of lines of the BSpline grid, and
>>    lines that are more than 2 pixels apart.
>>
>>    The reason why you want lines to be more than 2 pixels apart
>>    is to avoid aliasing when you resample the image using the
>>    deformation field.
>>
>> 2) You could create such image by using GIMP
>>
>>      a) Open Gimp
>>      b) create a new image,
>>      c) Select Filters --> Render--> Pattern --> Grid
>>      d) save the image
>>
>>
>> 3)  Yes, you can make more detailed initial deformation...
>>      but you have to initialize all the coefficients.
>>
>>      It may be desirable to generate those initial numbers
>>       from a program...
>>
>>
>>   Regards,
>>
>>
>>         Luis
>>
>>
>> --------------------------------------------------------------------
>>
>> On Fri, Oct 30, 2009 at 2:25 PM, motes motes <mort.motes@...> wrote:
>>>
>>> I would like to test my BSplineDeformable registration method with a
>>> known deformation field. Currently I apply the BSplineWarping1.cxx
>>> example to the fixed image and use the output as the moving image. As
>>> input image I use lena:
>>>
>>> http://stochastix.files.wordpress.com/2008/07/lena-sjooblom.jpg
>>>
>>> But are there better motives that illustrate the deformation better
>>> (like a chess board, salt/pebber image etc)?
>>>
>>> And is it possible to create a more detailed know deformation instead
>>> of only changing the 8*8 deformation vectors in the text input file to
>>> the warper?
>>> _____________________________________
>>> 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
>>>
>> _____________________________________
>> 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
>
>
_____________________________________
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

Re: Hints to create a known deformation image - Deformable Image registration?

by Luis Ibanez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Motes,

I thought that you were looking for an image to deform,
by applying to it the deformation field resulting from
a deformable registration process.

You are correct in that a grid image will be a poor input
for a deformable registration process.


      Regards,


           Luis


---------------------------------------------------
On Sun, Nov 1, 2009 at 6:27 PM, motes motes <mort.motes@...> wrote:

> Thanks both of you. But should the optimizer not have something to
> move in to find the peak of the cost function? I have previously used
> a white image with a single black box and the result was very poor
> when using eg. gradient based optimizer.
>
> I was thinking that the same problem would occur if I made a white
> image with a black grid.
>
>
>
>
> On Mon, Nov 2, 2009 at 12:17 AM, Nicholas Tustison <ntustison@...> wrote:
>> Hi Luis, Motes,
>>
>> Another possibility you might want to consider
>>
>> http://public.kitware.com/Insight/Doxygen/html/classitk_1_1GridImageSource.html
>>
>> Nick
>>
>>
>> On Nov 1, 2009, at 6:06 PM, Luis Ibanez wrote:
>>
>>> Hi Motes,
>>>
>>> 1) Lena is certainly not the best motif for evaluating a deformable
>>>    registration process. You may want to use a grid image with
>>>    about four time the density of lines of the BSpline grid, and
>>>    lines that are more than 2 pixels apart.
>>>
>>>    The reason why you want lines to be more than 2 pixels apart
>>>    is to avoid aliasing when you resample the image using the
>>>    deformation field.
>>>
>>> 2) You could create such image by using GIMP
>>>
>>>      a) Open Gimp
>>>      b) create a new image,
>>>      c) Select Filters --> Render--> Pattern --> Grid
>>>      d) save the image
>>>
>>>
>>> 3)  Yes, you can make more detailed initial deformation...
>>>      but you have to initialize all the coefficients.
>>>
>>>      It may be desirable to generate those initial numbers
>>>       from a program...
>>>
>>>
>>>   Regards,
>>>
>>>
>>>         Luis
>>>
>>>
>>> --------------------------------------------------------------------
>>>
>>> On Fri, Oct 30, 2009 at 2:25 PM, motes motes <mort.motes@...> wrote:
>>>>
>>>> I would like to test my BSplineDeformable registration method with a
>>>> known deformation field. Currently I apply the BSplineWarping1.cxx
>>>> example to the fixed image and use the output as the moving image. As
>>>> input image I use lena:
>>>>
>>>> http://stochastix.files.wordpress.com/2008/07/lena-sjooblom.jpg
>>>>
>>>> But are there better motives that illustrate the deformation better
>>>> (like a chess board, salt/pebber image etc)?
>>>>
>>>> And is it possible to create a more detailed know deformation instead
>>>> of only changing the 8*8 deformation vectors in the text input file to
>>>> the warper?
>>>> _____________________________________
>>>> 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
>>>>
>>> _____________________________________
>>> 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
>>
>>
>
_____________________________________
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

Re: Hints to create a known deformation image - Deformable Image registration?

by Luis Ibanez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nick,

Thanks for pointing this out.

It is a much better option than my suggestion for using GIMP.


     Thanks

           Luis


----------------------------------------------------------------
On Sun, Nov 1, 2009 at 6:17 PM, Nicholas Tustison <ntustison@...> wrote:

> Hi Luis, Motes,
>
> Another possibility you might want to consider
>
> http://public.kitware.com/Insight/Doxygen/html/classitk_1_1GridImageSource.html
>
> Nick
>
>
> On Nov 1, 2009, at 6:06 PM, Luis Ibanez wrote:
>
>> Hi Motes,
>>
>> 1) Lena is certainly not the best motif for evaluating a deformable
>>    registration process. You may want to use a grid image with
>>    about four time the density of lines of the BSpline grid, and
>>    lines that are more than 2 pixels apart.
>>
>>    The reason why you want lines to be more than 2 pixels apart
>>    is to avoid aliasing when you resample the image using the
>>    deformation field.
>>
>> 2) You could create such image by using GIMP
>>
>>      a) Open Gimp
>>      b) create a new image,
>>      c) Select Filters --> Render--> Pattern --> Grid
>>      d) save the image
>>
>>
>> 3)  Yes, you can make more detailed initial deformation...
>>      but you have to initialize all the coefficients.
>>
>>      It may be desirable to generate those initial numbers
>>       from a program...
>>
>>
>>   Regards,
>>
>>
>>         Luis
>>
>>
>> --------------------------------------------------------------------
>>
>> On Fri, Oct 30, 2009 at 2:25 PM, motes motes <mort.motes@...> wrote:
>>>
>>> I would like to test my BSplineDeformable registration method with a
>>> known deformation field. Currently I apply the BSplineWarping1.cxx
>>> example to the fixed image and use the output as the moving image. As
>>> input image I use lena:
>>>
>>> http://stochastix.files.wordpress.com/2008/07/lena-sjooblom.jpg
>>>
>>> But are there better motives that illustrate the deformation better
>>> (like a chess board, salt/pebber image etc)?
>>>
>>> And is it possible to create a more detailed know deformation instead
>>> of only changing the 8*8 deformation vectors in the text input file to
>>> the warper?
>>> _____________________________________
>>> 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
>>>
>> _____________________________________
>> 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
>
>
_____________________________________
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

Re: Hints to create a known deformation image - Deformable Image registration?

by motes motes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 2, 2009 at 12:54 AM, Luis Ibanez <luis.ibanez@...> wrote:
> Hi Motes,
>
> I thought that you were looking for an image to deform,
> by applying to it the deformation field resulting from
> a deformable registration process.


I would like to compare the deformation field resulting from the
deformable registration process with a known deformation field. As I
understand this is one way to analyse the quality of the registration
process. But maybe I can do something like this:


1) Make a known deformation of Lena.
2) Apply this known deformation to a regular grid resulting in GRID_KNOWN.
3) Use the known deformation of Lena as the moving image in the
registration process.
4) Apply the resulting deformation field to a regular grid resulting
in GRID_REGISTERED.
5) Compare GRID_KNOWN with GRID_REGISTERED.



>
> You are correct in that a grid image will be a poor input
> for a deformable registration process.
>      Regards,
>
>
>           Luis
>
>
> ---------------------------------------------------
> On Sun, Nov 1, 2009 at 6:27 PM, motes motes <mort.motes@...> wrote:
>> Thanks both of you. But should the optimizer not have something to
>> move in to find the peak of the cost function? I have previously used
>> a white image with a single black box and the result was very poor
>> when using eg. gradient based optimizer.
>>
>> I was thinking that the same problem would occur if I made a white
>> image with a black grid.
>>
>>
>>
>>
>> On Mon, Nov 2, 2009 at 12:17 AM, Nicholas Tustison <ntustison@...> wrote:
>>> Hi Luis, Motes,
>>>
>>> Another possibility you might want to consider
>>>
>>> http://public.kitware.com/Insight/Doxygen/html/classitk_1_1GridImageSource.html
>>>
>>> Nick
>>>
>>>
>>> On Nov 1, 2009, at 6:06 PM, Luis Ibanez wrote:
>>>
>>>> Hi Motes,
>>>>
>>>> 1) Lena is certainly not the best motif for evaluating a deformable
>>>>    registration process. You may want to use a grid image with
>>>>    about four time the density of lines of the BSpline grid, and
>>>>    lines that are more than 2 pixels apart.
>>>>
>>>>    The reason why you want lines to be more than 2 pixels apart
>>>>    is to avoid aliasing when you resample the image using the
>>>>    deformation field.
>>>>
>>>> 2) You could create such image by using GIMP
>>>>
>>>>      a) Open Gimp
>>>>      b) create a new image,
>>>>      c) Select Filters --> Render--> Pattern --> Grid
>>>>      d) save the image
>>>>
>>>>
>>>> 3)  Yes, you can make more detailed initial deformation...
>>>>      but you have to initialize all the coefficients.
>>>>
>>>>      It may be desirable to generate those initial numbers
>>>>       from a program...
>>>>
>>>>
>>>>   Regards,
>>>>
>>>>
>>>>         Luis
>>>>
>>>>
>>>> --------------------------------------------------------------------
>>>>
>>>> On Fri, Oct 30, 2009 at 2:25 PM, motes motes <mort.motes@...> wrote:
>>>>>
>>>>> I would like to test my BSplineDeformable registration method with a
>>>>> known deformation field. Currently I apply the BSplineWarping1.cxx
>>>>> example to the fixed image and use the output as the moving image. As
>>>>> input image I use lena:
>>>>>
>>>>> http://stochastix.files.wordpress.com/2008/07/lena-sjooblom.jpg
>>>>>
>>>>> But are there better motives that illustrate the deformation better
>>>>> (like a chess board, salt/pebber image etc)?
>>>>>
>>>>> And is it possible to create a more detailed know deformation instead
>>>>> of only changing the 8*8 deformation vectors in the text input file to
>>>>> the warper?
>>>>> _____________________________________
>>>>> 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
>>>>>
>>>> _____________________________________
>>>> 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
>>>
>>>
>>
>
_____________________________________
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

Re: Hints to create a known deformation image - Deformable Image registration?

by motes motes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 2, 2009 at 12:06 AM, Luis Ibanez <luis.ibanez@...> wrote:

> Hi Motes,
>
> 1) Lena is certainly not the best motif for evaluating a deformable
>     registration process. You may want to use a grid image with
>     about four time the density of lines of the BSpline grid, and
>     lines that are more than 2 pixels apart.
>
>     The reason why you want lines to be more than 2 pixels apart
>     is to avoid aliasing when you resample the image using the
>     deformation field.


I am still a bit confused about this suggestion. Do you suggestion to
use the grid image as input to the registration process?

Why is Lena not a good example? I have made a deformable version of
the original Lena which I use as a moving image. I thought that the
more varying intensities an image contains the higher the chance of
alignment.
_____________________________________
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

Re: Hints to create a known deformation image - Deformable Image registration?

by Luis Ibanez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Nov 3, 2009 at 7:56 AM, motes motes <mort.motes@...> wrote:

> On Mon, Nov 2, 2009 at 12:06 AM, Luis Ibanez <luis.ibanez@...> wrote:
>> Hi Motes,
>>
>> 1) Lena is certainly not the best motif for evaluating a deformable
>>     registration process. You may want to use a grid image with
>>     about four time the density of lines of the BSpline grid, and
>>     lines that are more than 2 pixels apart.
>>
>>     The reason why you want lines to be more than 2 pixels apart
>>     is to avoid aliasing when you resample the image using the
>>     deformation field.
>
>
> I am still a bit confused about this suggestion. Do you suggestion to
> use the grid image as input to the registration process?
>
> Why is Lena not a good example? I have made a deformable version of
> the original Lena which I use as a moving image. I thought that the
> more varying intensities an image contains the higher the chance of
> alignment.
>
-------------------------------------------------------------------------------------

Hi Motes,

1) Nope, I wasn't suggesting to use the grid image as input
    to the registration process. On the contrary, I meant to
    discourage you from doing so.

    The grid image is good for illustrating the effect of the
    resulting deformation field.

    Typically what you want to do is to take two real images
    register them, and the use the resulting deformation field
    to resample the grid image. This will give you an idea of
    the deformation that is applied to the moving image when
    mapped in to the coordinate system of the fixed image.


2) Lenna is not a good example, "if" your real goal is to
    perform registration of medical images.

    The reason is that the spatial distribution of intensities in
    the image of Lenna is quite different from what you see
    in a medical image.

    Lenna's image has large regions where the interaction of
    the skin normal with lightning result in gradual variation
    of intensity.  This type of intensity gradient is rare in medical
    images of internal organs (except maybe when due to the
    inhomogeneity of the field in an MRI image).


 Regards,


       Luis
_____________________________________
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

Re: Hints to create a known deformation image - Deformable Image registration?

by motes motes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the detailed description! I know use the resulting
deformation field from the registration process on a regular grid to
get an impression of the deformation field. It works fine and gives a
good impression.

On Fri, Nov 6, 2009 at 10:34 PM, Luis Ibanez <luis.ibanez@...> wrote:

> On Tue, Nov 3, 2009 at 7:56 AM, motes motes <mort.motes@...> wrote:
>> On Mon, Nov 2, 2009 at 12:06 AM, Luis Ibanez <luis.ibanez@...> wrote:
>>> Hi Motes,
>>>
>>> 1) Lena is certainly not the best motif for evaluating a deformable
>>>     registration process. You may want to use a grid image with
>>>     about four time the density of lines of the BSpline grid, and
>>>     lines that are more than 2 pixels apart.
>>>
>>>     The reason why you want lines to be more than 2 pixels apart
>>>     is to avoid aliasing when you resample the image using the
>>>     deformation field.
>>
>>
>> I am still a bit confused about this suggestion. Do you suggestion to
>> use the grid image as input to the registration process?
>>
>> Why is Lena not a good example? I have made a deformable version of
>> the original Lena which I use as a moving image. I thought that the
>> more varying intensities an image contains the higher the chance of
>> alignment.
>>
> -------------------------------------------------------------------------------------
>
> Hi Motes,
>
> 1) Nope, I wasn't suggesting to use the grid image as input
>    to the registration process. On the contrary, I meant to
>    discourage you from doing so.
>
>    The grid image is good for illustrating the effect of the
>    resulting deformation field.
>
>    Typically what you want to do is to take two real images
>    register them, and the use the resulting deformation field
>    to resample the grid image. This will give you an idea of
>    the deformation that is applied to the moving image when
>    mapped in to the coordinate system of the fixed image.
>
>
> 2) Lenna is not a good example, "if" your real goal is to
>    perform registration of medical images.
>
>    The reason is that the spatial distribution of intensities in
>    the image of Lenna is quite different from what you see
>    in a medical image.
>
>    Lenna's image has large regions where the interaction of
>    the skin normal with lightning result in gradual variation
>    of intensity.  This type of intensity gradient is rare in medical
>    images of internal organs (except maybe when due to the
>    inhomogeneity of the field in an MRI image).
>
>
>  Regards,
>
>
>       Luis
>
_____________________________________
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