<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi Louis,<br><br>Thank you for your answer. I'm currently working on some 3D tools. In this case this one:<br><br>- I use the mouse to create a square (by clicking 4 times on the 3D view)<br>- I create A frustrum (from the 2d square) and get the polydata of it<br>- voxalize this polydata<br>-
Apply a AND filter between the voxelized polydata and my STL (3D obect
in the 3D view) that whay I get the intersected cells...<br>- Apply filters on the freshly selected region (selected cells..)<br><br>in other words.. I would like to be able to select a part of my 3D objects and apply a filter only on this part...<br><br>So yes, as output I would like the full input input with the subregion modified.<br>I will try follow your steps and see if it can work<br><br>Regards,<br>Steve <br><br>> Date: Sun, 24 Jan 2010 10:10:44 -0500<br>> Subject: Re: [Insight-users] Apply filter only on a specific region ?<br>> From: luis.ibanez@kitware.com<br>> To: steve.harris18@hotmail.com<br>> CC: insight-users@itk.org<br>> <br>> Hi Steve,<br>> <br>> It depends....<br>> <br>> What exactly do you want at the output ?<br>> <br>> A) The full input input with the subregion modified ?<br>> <br>> or<br>> <br>> B) only the modified subregion ?<br>> <br>> ---<br>> <br>> If you want (A) you will have to use a pipeline<br>> such as:<br>> <br>> RegionOfInterestImageFilter<br>> MedianImageFilter<br>> PasteImageFilter<br>> <br>> If you want (B) you could use simply<br>> <br>> <br>> RegionOfInterestImageFilter<br>> MedianImageFilter<br>> <br>> or even use the SetRequrestedRegion()<br>> of the Median filter directly. Although<br>> this last option is not a recommended<br>> practice, unless you are very familiar<br>> with the inner-workings of the ITK pipeline.<br>> <br>> <br>> --<br>> <br>> On a side note:<br>> <br>> Why do you want to do such thing ? :-)<br>> <br>> From the pure image processing point of view,<br>> it doesn't seem to be a good operation. You<br>> will end up with an inconsistent image...<br>> <br>> <br>> <br>> Regards,<br>> <br>> <br>> Luis<br>> <br>> <br>> --------------------------------------<br>> On Fri, Jan 22, 2010 at 5:51 AM, dsdfdff sfdsf<br>> <steve.harris18@hotmail.com> wrote:<br>> > Hello itk user,<br>> ><br>> > I was wondering if it was possible to apply a filter only on a specific<br>> > region of an image (like setting a bundary region)?<br>> ><br>> > for example if I have a simple 3D image (let say 30x30x30) is it possible<br>> > for example to apply the mean filter<br>> > only on the region (15x15x15)?<br>> ><br>> > regards,<br>> > Steve<br>> ><br>> > ________________________________<br>> > Faites une bonne action avec Bing Solidaire ! C'est ici !<br>> > _____________________________________<br>> > Powered by www.kitware.com<br>> ><br>> > Visit other Kitware open-source projects at<br>> > http://www.kitware.com/opensource/opensource.html<br>> ><br>> > Kitware offers ITK Training Courses, for more information visit:<br>> > http://www.kitware.com/products/protraining.html<br>> ><br>> > Please keep messages on-topic and check the ITK FAQ at:<br>> > http://www.itk.org/Wiki/ITK_FAQ<br>> ><br>> > Follow this link to subscribe/unsubscribe:<br>> > http://www.itk.org/mailman/listinfo/insight-users<br>> ><br>> ><br>                                            <br /><hr />Vous cherchez l'intégrale des clips de Michael Jackson ? <a href='http://www.bing.com/videos/search?q=Michael+Jackson&FORM=MVDE6' target='_new'>Bing ! Trouvez !</a></body>
</html>