<div dir="ltr"><div><div><div>Hi Abdelkhalek,<br></div>in order to select a region of interest, you can have a look at itk::ExtractImageFilter [1] [2] and vtkExtractVOI [3]. If you do not wish to change the dimension of the output image, you can have a look at itk::RegionOfInterestImageFilter [4].<br></div><div><br></div>HTH,<br></div>JON HAITZ<br><br><div><div><br>[1] <a href="http://www.itk.org/Doxygen/html/classitk_1_1ExtractImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1ExtractImageFilter.html</a><br>[2] <a href="http://itk.org/Wiki/ITK/Examples/ImageProcessing/ExtractImageFilter">http://itk.org/Wiki/ITK/Examples/ImageProcessing/ExtractImageFilter</a><br>[3] <a href="http://www.vtk.org/doc/nightly/html/classvtkExtractVOI.html">http://www.vtk.org/doc/nightly/html/classvtkExtractVOI.html</a><br>[4] <a href="http://www.itk.org/Doxygen/html/classitk_1_1RegionOfInterestImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1RegionOfInterestImageFilter.html</a><br><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br></div></div></div></div></div>
<br><div class="gmail_quote">On 3 March 2016 at 09:18, Abdelkhalek Bakkari <span dir="ltr"><<a href="mailto:bakkari.abdelkhalek@hotmail.fr" target="_blank">bakkari.abdelkhalek@hotmail.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div dir="ltr"><font style="font-size:8pt" face="Times New Roman,sans-serif" color="#000000" size="1"><br></font>Hi !<div><br></div><div>I would like to add a Paint brush button to my interface. Its functionalities are :</div><div><br></div><div>- To select a region of interest using the mouse and to color it from a 2D slice.</div><div>- To show the region of interest in a 3D view.</div><div><br></div><div>My question is : </div><div><br></div><div>Which ITK and VTK functions I have to adopt in this case.</div><div><br></div><div>Best regards,<br><br><font face="Garamond" size="3">Abdelkhalek Bakkari</font><div><span style="line-height:14px"><font face="Garamond" size="3">Ph.D candidate in Computer Science</font></span></div><div><span style="line-height:20.8267px;background-color:rgb(255,255,255)"><font face="Garamond" size="3">Institute of Applied Computer Science</font></span></div><div><span style="line-height:18.4px"><font face="Garamond" size="3">Lodz University of Technology, Poland</font></span></div><div><br></div></div> </div></div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div></div>