[Insight-users] itk::ImageAdaptor problem

Chr. Rossmanith cr at neuro.ma.uni-heidelberg.de
Fri Apr 20 06:02:10 EDT 2012


Hi,

I'm working with RGB images and have already successfully used an 
ImageAdaptor with the RedPixelAccessor to calculate a histogram of the 
red channel.

Now I'd like to use the same logic to threshold the red channel but the 
program keeps segfaulting in Get() in itkDefaultPixelAccessorFunctor.h   
Is it a problem within my code (s. attachment) or are there filters 
which aren't compatible with ImageAdaptors?

Thank you for any hint.

Christina Rossmanith
--
Dept. of Neurology
University Medical Center Mannheim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120420/735b30cb/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkAdaptorTest.cxx
Type: text/x-c++src
Size: 1265 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120420/735b30cb/attachment.cxx>


More information about the Insight-users mailing list