<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi Ajay,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I actually want to do the same thing and have some questions and some answers. I can share how I approach this problem at the minute. I use the Danielsson Distance map from ITK to calculate a distance transform. You would then have to extract local maxima from it, that correspond to your skeleton. This approach requires preprocessing to fill wholes, which can be done in itk via the iterative fill holes filter.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>My question:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I would like to have 1 voxel thin lines or even better: a discrete graph extracted.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Can anyone tell me (us) how to do this?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Best</DIV><DIV>Ruben</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>Am 24.05.2007 um 16:27 schrieb Ajay Sonar:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Hi All,</DIV><DIV> </DIV><DIV>I am new to ITK. Can anyone tell me if there is a way to extract the skeleton lines/center lines from a stack of image slices. I have a set of microCT images and i can get the surface or the voxel model from it in MATLAB. I need to extract the skeleton lines from it. I tried a few things but cannot get a single voxel width centerline.</DIV><DIV> </DIV><DIV> </DIV><DIV>Thanks,</DIV><DIV>Ajay.</DIV></SPAN></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>