[Insight-users] transfer functions..

Luis Ibanez luis.ibanez at kitware.com
Wed Jun 23 13:50:02 EDT 2004

Hi Kalphathi,

ITK doesn't have the built-in notion of transfer functions.

This is mostly a visualization concept. You could however easily
implement such functionalities by using the itk::UnaryFunctorFilter
in the case of the pure intensity color mapping, and by using the
itk::BinaryFunctionImageFilter for the combined intensity & gradient
color mapping.

You may find interesting to look at the use of this filter in the
WatershedSegmentation1.cxx example in


You could also combine a set of RecursiveGradientImageFilter
in order to feed a multi-input functor image filter.

ImageAdaptors are also a good option for implementing transfer
fuctions, in particular if you are concerned about memory consumption.

For a discussion on the use of ImageAdaptors, you may want to look
at the SoftwareGuide


Chapter 12, pdf-page 521.



Kalpathi R Subramanian wrote:

> Folks:
> Beyond just linear color mapping of data values, are there any other
> transfer function
> capability in VTK or ITK?  In particular, are there any implementations
> of Kindleman's multi-dimensional transfer functions (using directional
> derivatives)?
> Thanks.
>     == krs
> --
> K.R.Subramanian                        Phone: (704) 687-4872
> Department of Computer Science         FAX:   (704) 687-4893
> UNC Charlotte, CARC 311                Email: krs at uncc.edu
> Charlotte, NC 28223-0001               Web: http://www.cs.uncc.edu/~krs
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users

More information about the Insight-users mailing list