<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cordia New";
        panose-1:2 11 3 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Grande";
        panose-1:2 11 6 0 4 5 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:"Calibri Light",sans-serif;
        color:#2F5496;
        font-weight:normal;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Calibri Light",sans-serif;
        color:#2F5496;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I have written a module to prune branches of a 3-D Skeleton using ITK’s
</span><span lang="EN" style="font-size:11.0pt">BinaryPruningImageFilter. The filter is returning unexpected pruned results for a 3-D skeleton input.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-size:11.0pt">The <a href="https://itk.org/Doxygen/html/classitk_1_1BinaryPruningImageFilter.html">
doxygen page</a> for the filter states that –<o:p></o:p></span></p>
<p style="line-height:16.5pt;background:white"><i><span style="font-size:9.0pt;font-family:"Lucida Grande",sans-serif;color:black">“The algorithm is the N-dimensional version of that given for two dimensions in: Rafael C. Gonzales and Richard E. Woods. Digital <a href="https://itk.org/Doxygen/html/classitk_1_1Image.html" title="Templated n-dimensional image class. "><b><span style="color:#4665A2;text-decoration:none">Image</span></b></a> Processing.
 Addison Wesley, 491-494, (1993).”<o:p></o:p></span></i></p>
<p style="line-height:16.5pt;background:white"><span style="font-size:9.0pt;font-family:"Lucida Grande",sans-serif;color:black">But, from the source code of
</span><span lang="EN">BinaryPruningImageFilter it appears that pruning is being performed considering 2-D neighbors only and hence does not support 3-D. Can someone please confirm this?<o:p></o:p></span></p>
<p style="line-height:16.5pt;background:white"><span lang="EN">Thanks.<o:p></o:p></span></p>
<p style="line-height:16.5pt;background:white"><span lang="EN">-Anchit<o:p></o:p></span></p>
<p style="line-height:16.5pt;background:white"><span lang="EN"><o:p> </o:p></span></p>
<p style="line-height:16.5pt;background:white"><span style="font-size:9.0pt;font-family:"Lucida Grande",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
</body>
</html>