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 "height" control that HConcaveImageFilter provides. Or am I missing something? It seems like I would need a new filter - something like HBlackTopHatImageFilter - for what I'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"><<a href="mailto:dan.muel@gmail.com" target="_blank">dan.muel@gmail.com</a>></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]: "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." (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 <<a href="mailto:taylor@braun-jones.org">taylor@braun-jones.org</a>> wrote:<br>
> Hello insight-users,<br>
><br>
> I'm looking for a filter like itk::HConcaveImageFilter [1] except one that<br>
> allows the neighbors to be defined more generally than just fully connected<br>
> or not. I'd like to be able to define the neighbors using a structuring<br>
> element like itk::FlatStructuringElement::Annulus(...) [2] Does anything<br>
> like this exist?<br>
><br>
> Thanks,<br>
> Taylor<br>
><br>
> [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>
> [2]<br>
> <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>
><br>
</div></div>> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
><br>
</blockquote></div><br></div>