Hi Dan,<div><br></div><div>Thanks, for the reply. </div><div><br></div><div>I came across the top-hat filter in ITK, but it seems to lack the &quot;height&quot; control that HConcaveImageFilter provides. Or am I missing something? It seems like I would need a new filter - something like HBlackTopHatImageFilter - for what I&#39;m trying to do.</div>
<div><br></div><div>Taylor<br><br><div class="gmail_quote">On Mon, Feb 18, 2013 at 6:32 PM, Dan Mueller <span dir="ltr">&lt;<a href="mailto:dan.muel@gmail.com" target="_blank">dan.muel@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Taylor,<br>
<br>
The HConcaveImageFilter is a type of geodesic morphological image<br>
filter — it does not really have the concept of neighbourhood from a<br>
structuring element. The connectivity (4-connectivity, or<br>
8-connectivity aka fully connected) simply defines how the geodesic<br>
distance is computed (e.g. wave front is propagated to 4-neighbours or<br>
8-neighbours). See [1]: &quot;the h-dome [HConvexImageFilter]<br>
transformation extracts light structures **without involving any size<br>
or shape criterion**. The only parameter (h) is related to the height<br>
of these structures.&quot; (emphasis added)<br>
<br>
Perhaps you are more interested in a top-hat operation, which does<br>
employ a structuring element. See also [2].<br>
<a href="http://www.itk.org/Doxygen/html/classitk_1_1BlackTopHatImageFilter.html" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1BlackTopHatImageFilter.html</a><br>
<a href="http://www.itk.org/Doxygen/html/classitk_1_1WhiteTopHatImageFilter.html" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1WhiteTopHatImageFilter.html</a><br>
<br>
HTH<br>
<br>
Cheers, Dan<br>
<br>
[1] <a href="http://www.vincent-net.com/luc/papers/93ieeeip_recons.pdf" target="_blank">http://www.vincent-net.com/luc/papers/93ieeeip_recons.pdf</a><br>
[2] <a href="http://www.vincent-net.com/luc/papers/94mdekker_segm_chapter.pdf" target="_blank">http://www.vincent-net.com/luc/papers/94mdekker_segm_chapter.pdf</a><br>
<div><div class="h5"><br>
On 19 February 2013 09:08, Taylor Braun-Jones &lt;<a href="mailto:taylor@braun-jones.org">taylor@braun-jones.org</a>&gt; wrote:<br>
&gt; Hello insight-users,<br>
&gt;<br>
&gt; I&#39;m looking for a filter like itk::HConcaveImageFilter [1] except one that<br>
&gt; allows the neighbors to be defined more generally than just fully connected<br>
&gt; or not. I&#39;d like to be able to define the neighbors using a structuring<br>
&gt; element like itk::FlatStructuringElement::Annulus(...) [2] Does anything<br>
&gt; like this exist?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Taylor<br>
&gt;<br>
&gt; [1] <a href="http://www.itk.org/Doxygen/html/classitk_1_1HConcaveImageFilter.html" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1HConcaveImageFilter.html</a><br>
&gt; [2]<br>
&gt; <a href="http://www.itk.org/Doxygen/html/classitk_1_1FlatStructuringElement.html#a7311c2ea4ce8b46c376b0c97ed5434b2" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1FlatStructuringElement.html#a7311c2ea4ce8b46c376b0c97ed5434b2</a><br>

&gt;<br>
</div></div>&gt; _____________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt; <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br>
</blockquote></div><br></div>