<div dir="ltr">Look at this class in ITKv4:<div>Filtering/ImageStatistics/include/itkLabelOverlapMeasuresImageFilter.h<br></div><div><br></div><div><div>/** \class LabelOverlapMeasuresImageFilter</div><div> * \brief Computes overlap measures between the set same set of labels of</div>
<div> * pixels of two images.  Background is assumed to be 0.</div><div> *</div><div> * This code was contributed in the Insight Journal paper:</div><div> * &quot;Introducing Dice, Jaccard, and Other Label Overlap Measures To ITK&quot;</div>
<div> * by Nicholas J. Tustison, James C. Gee</div><div> * <a href="http://hdl.handle.net/10380/3141">http://hdl.handle.net/10380/3141</a></div><div> * <a href="http://www.insight-journal.org/browse/publication/707">http://www.insight-journal.org/browse/publication/707</a></div>
<div> *</div><div> * \author Nicholas J. Tustison</div><div> * \sa LabelOverlapMeasuresImageFilter</div><div> *</div><div> * \ingroup ITKImageStatistics</div><div> * \ingroup MultiThreaded</div><div> */</div></div><div><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 27, 2013 at 8:45 AM, Denis Shamonin <span dir="ltr">&lt;<a href="mailto:dshamoni@gmail.com" target="_blank">dshamoni@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,<br>You could use <span></span><strong>computeoverlap</strong><span> program from the Open Source </span>ITKTools: <a href="https://github.com/ITKTools/ITKTools" target="_blank">https://github.com/ITKTools/ITKTools</a><br>

The <span></span><strong>computeoverlap</strong><span> source: <a href="https://github.com/ITKTools/ITKTools/tree/master/src/computeoverlap" target="_blank">https://github.com/ITKTools/ITKTools/tree/master/src/computeoverlap</a><br>

<br></span></div><span>Regard,<br>Denis Shamonin<br></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 27, 2013 at 2:38 PM, sidou_3D <span dir="ltr">&lt;<a href="mailto:draoua.ahmed@gmail.com" target="_blank">draoua.ahmed@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you for this code but I don&#39;t use Qt with ITK at now ,<br>
<br>
Can you explain me the execution of your code in itk with Qt please ?<br>
<br>
and when I compare two results segmentations that&#39;s what I get as little<br>
information comparing ?<br>
<br>
thanks<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-users.7.n7.nabble.com/How-to-compare-the-result-of-segmentation-with-ground-truth-tp31568p31582.html" target="_blank">http://itk-users.7.n7.nabble.com/How-to-compare-the-result-of-segmentation-with-ground-truth-tp31568p31582.html</a><br>


Sent from the ITK - Users mailing list archive at Nabble.com.<br>
<div><div>_____________________________________<br>
Powered by <a href="http://www.kitware.com" 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" 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" 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" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" 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" 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" 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" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>