Thanks Kevin, that was the clue. And the solution leds to next problem. :-(<br>If I create a filter object I get some strange errors, all reference line 106 of itkLabelOverlayImageFilter.h:<br><br>error C2825: 'itk::LabelOverlayImageFilter<TInputImage,TLabelImage,TOutputImage>::OutputPixelType': must be a class or namespace when followed by '::'<br>
error C2039: 'ValueType' : is not a member of '`global namespace''<br>error C2146: syntax error : missing ',' before identifier 'ValueType'<br>error C2065: 'ValueType' : undeclared identifier<br>
error C2027: use of undefined type 'itk::Concept::BracketOperator'<br><br>What I did was this:<br><br>typedef itk::LabelOverlayImageFilter<ImageType,ImageType,ImageType> LabelOverlayImageFilterType;<br>
LabelOverlayImageFilterType::Pointer overlayer = LabelOverlayImageFilterType::New();<br><br>where ImageType is this:<br><br>typedef itk::Image< short, 3> ImageType;<br><br><br><br><div class="gmail_quote">2009/9/28 Kevin H. Hobbs <span dir="ltr"><<a href="mailto:hobbsk@ohiou.edu">hobbsk@ohiou.edu</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It looks like this filter is in the review directory.<br>
<br>
$ locate itkLabelOverlayImageFilter.h<br>
/home/kevin/kitware/Insight/Code/Review/itkLabelOverlayImageFilter.h<br>
<br>
To use it please set the cmake variable ITK_USE_REVIEW to ON when you<br>
configure ITK. I think it's an advanced variable so you'll have to hit<br>
't' to change it in ccmake.<br>
</blockquote></div><br>