Yes I suppose you could use the GreenPixelAccessor as the pixel acccessor for an itk::ImageAdaptor, which adapts an RGB image to a single channel image and plug the adaptor as the input to the connected threshold filter. Did you have issues with it ?
<br><br>-karthik<br><br><div><span class="gmail_quote">On 10/25/06, <b class="gmail_sendername">Barbara Krausz</b> &lt;<a href="mailto:bkrausz@web.de">bkrausz@web.de</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br clear="all">Hi,
<br>
<br>how can I use the ConnectedThresholdImageFilter with an RGB image?
I just want to consider the green channel. Can I use the
itk::GreenPixelAccessor?
<br><span class="sg">
<br>Barbara

</span><br>_______________________________________________<br>Insight-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">
http://www.itk.org/mailman/listinfo/insight-users</a><br><br><br></blockquote></div><br>