[Insight-users] managed itk limitations

Carl Bateman Carl.Bateman at icr.ac.uk
Mon May 17 12:21:30 EDT 2010


Hi Dan,

thanks for getting back to me.

While I don't need colour mapping functions just yet, RegionOfInterest functionality is a requirement of the poject I'm woroking on.

Consequently, I'm looking into adding a wrapper to it. However, despite having read pp 31-33 in the ManagedITK article I'm still at a loss how to proceed. The article seems to be aimed at wrapping an external project rather than wrapping existing classes.

Which is the best way to proceed; treat RegionOfInterest as an external project or add it to the existing ManagedITK?
Do I need to create a dll project for it (including any dependencies), or does CMake take care of that?
Which set of filters, if any, would RegionOfInterest be part of?

TIA

Carl



>>> Dan Mueller <dan.muel at gmail.com> 29/04/2010 17:52 >>>
Hi Carl,

Indeed, the coverage of ManagedITK is far from complete. WrapITK has
much greater coverage.

> The vector type is supported, but not all vector functions are supported, eg VectorGradientMagnitudeImageFilter.
Correct, not all vector filters are wrapped. Feel free to add wrappers
for the filters you miss. I can give you access to the Google Code SVN
archive if you are interested in helping!

> In this latter case, if I needed to map a grayscale to colour, I presume that I would need to write my own mapping routine?
What sort of mapping routine do you want to use? You may be interested
in creating your own ManagedITK wrapper for
Code/Review/itkScalarToRGBColormapImageFilter (as described here
http://www.insight-journal.org/browse/publication/285).

To create you own wrappers, following the instructions on pp 31-33 in
the ManagedITK article here:
    http://manageditk.googlecode.com/files/ManagedITK-article.pdf 

Let us know if you need any further advice/help.

Cheers, Dan

On 29 April 2010 14:33, Carl Bateman <Carl.Bateman at icr.ac.uk> wrote:
> Hi
>
> After looking at coverage.txt and some experimentation, am I right in thinking that...
>
> The vector type is supported, but not all vector functions are supported, eg VectorGradientMagnitudeImageFilter.
>
> Similarly, itkImage_RGBUC3 and itkImage_RGBAUC3 are available, but not all related RGB functions are available, particularly, color mapping functions.
>
> In this latter case, if I needed to map a grayscale to colour, I presume that I would need to write my own mapping routine?
>
> Regards,
>
> Carl


The Institute of Cancer Research: Royal Cancer Hospital, a charitable Company Limited by Guarantee, Registered in England under Company No. 534147 with its Registered Office at 123 Old Brompton Road, London SW7 3RP.

This e-mail message is confidential and for use by the addressee only.  If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer and network.


More information about the Insight-users mailing list