[Insight-developers] FW: Motion estimation itk::DemonsRegistrationFilter

Satish Kumar B.G satish at compusol.in
Thu Jan 20 02:37:19 EST 2011


Thanks Luis, that's working.
How do we grab individual frames if we have to apply filters (say itkRecursiveGaussianImageFilter) to each frame 
In memory, before writing them back as a single file? 
We need to be able to apply algorithms for subtraction, get feature image etc by processing these frames.
Is this the right approach (grabbing each frame and processing) while dealing with multi-frame DICOM files?

Regards
- Satish

-----Original Message-----
From: Luis Ibanez [mailto:luis.ibanez at kitware.com] 
Sent: Tuesday, January 18, 2011 8:54 PM
To: Satish Kumar B.G
Cc: insight-developers at itk.org
Subject: Re: [Insight-developers] Motion estimation itk::DemonsRegistrationFilter

HI Satish,

If you have a multi-frame DICOM image in a single file,
you can read it directly with the ImageFileReader as a
3D volume.


You don't need to use the ImageSeriesReader.


We exercise that funcionality regularly in IGSTK.

Use the ImageSeriesReader only if you have a
collection of individual files, each one containing
a 2D slice out of a 3D dataset.

You will find examples in the ITK Software Guide

http://www.itk.org/ItkSoftwareGuide.pdf



    Luis


----------------------------------------------------------------
On Thu, Jan 13, 2011 at 8:31 AM, Satish Kumar B.G <satish at compusol.in> wrote:
> Hi
>
> I have managed to use the curves2dextractor as a library in my console-app. Thanks Luis.
> It gave us a good start.
> Just a question, I see the extractor uses itk::ImageFileReader in order to read and write the DICOM files.
> itk::ImageFileReader will only read image data from a single file I guess. But we need to read and process image data
> from a single multi-frame DICOM file or series of DICOM files (frame-per-file) in a folder.
> Can we use itk::ImageSeriesReader for this? What will be the impact on the extractor? Do we need to loop through
> the image-frames applying the filters on each and then write the series back to a single file?
>
> Regards
> - Satish
>
> -----Original Message-----
> From: Luis Ibanez [mailto:luis.ibanez at kitware.com]
> Sent: Tuesday, January 11, 2011 6:05 PM
> To: Satish
> Cc: insight-developers at itk.org
> Subject: Re: [Insight-developers] Motion estimation itk::DemonsRegistrationFilter
>
> Hi Satish,
>
> The DemonsRegistrationFilter will help you detect motion,
> *only* if the objects that are moving have an overlap between
> two consecutive frames.
>
> (or if you blur them enough for them to become overlapped).
>
> This is the basis of "optical flow" methods.
>
> You may want to look at this presentation:
> http://www.na-mic.org/Wiki/images/6/67/Insight-DeformableRegistration-Demons.ppt
>
>
> So,
> the question becomes: are the catheters moving at a speed
> that is slow enough for them to have overlapping edges
> between two consecutive frames ?
>
> ---
>
> If these are catheters that are sliding inside blood vessels,
> you may want to rather detect them as tubular artifacts and
> track their ending points.
>
> See for example:
> http://www.itk.org/ITK/applications/Curve2DExtraction.html
>
>
> ---
>
>
> About the integration between ITK and OpenCV,
>
> As part of the preparation for ITKv4, we are working
> on a software bridge between these two toolkits:
>
> http://www.itk.org/Wiki/ITK_Release_4/A2D2_Projects/Video_Bridge
>
> It should be ready by June, and will be presented
> in a tutorial at the upcoming CVPR 2011 conference.
>
>
>     Luis
>
>
> ------------------------------------------------------------
> On Tue, Jan 11, 2011 at 1:39 AM, Satish <Satish at compusol.in> wrote:
>> Hi
>>
>>
>>
>> We are having to read a multi-frame DICOM from a XA modality (2D),
>> containing catheters in motion.
>>
>> Then we need to detect catheter-tip movement.
>>
>> Will itk::DemonsRegistrationFilter help in detecting the movement? What are
>> the other options?
>>
>> Is there a way to integrate itk with opencv for the same?
>>
>>
>>
>> Regards,
>>
>> Satish Kumar B.G
>>
>>
>>
>> Technical Architect
>>
>> COMPUSOL
>>
>>
>>
>> _______________________________________________
>> 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://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-developers
>>
>>
>
>



More information about the Insight-developers mailing list