I wrote a little class that uses lambda to allow the programmer to
define inline a function for the adaptor to apply to the pixels:

https://github.com/daviddoria/ITKAdditions/tree/master/LambdaImageAdaptor

I just thought I'd share. In the future when ITK requires c++11, this
could be a nice thing to provide.

David
_______________________________________________
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.php

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

Reply via email to