<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>

<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr"><span style="color: rgb(68, 68, 68); font-size: 15px; line-height: 21.299999237060547px; background-color: rgb(255, 255, 255);">Hello everybody,</span><div style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><br></div><div style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">I would need your help on one thing. I have a 3D binary image coming from a binary thresholding. Now, considering the set of four-connected voxels, I need to find all the voxels that do not belong to these sets, but are 4-neighbors of a voxel belonging to this set. I also need to do it for different images obtained using different thresholds in the binary thresholding. Do you know if there is a fast way to do so? I tried creating a label map and then looking for all the voxels that do not belong to a label object and are next to a label voxel, but it takes a really long time. Especially for thresholds that give me many label objects.</div><div style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><br></div><div style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">I really appreciate your help!!</div><div style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><br></div><div style="line-height: 21.299999237060547px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">Niels</div></div>
                                          </div></body>
</html>