[Insight-users] Efficiently comparing segmentation results

Nicholas Tustison ntustison at gmail.com
Wed Dec 8 14:41:21 EST 2010


Hi Neal,

Would this help?

http://www.insight-journal.org/browse/publication/707

Nick

On Dec 8, 2010, at 2:22 PM, Neal R. Harvey wrote:

> I am trying to write some code with which I can efficiently compare segmentation results with
> a known ground truth. There are several papers that describe interesting metrics for doing this.
> A common theme is finding intersection between segments.
> There seems to be most of the functionality within ITK for doing this, but I haven't been able to
> figure out how to do it effectively/efficiently.
> I want to be able to go through each region in a segmented image (i.e. the pixels that have the same
> value "i" in that image) and calculate the number of pixels within that region that intersect with
> each region in a ground truth image (i.e. the pixels that have the same value "j" in that image).
> I don't want to have to go through every pixel in the image and test to see if it is value "i"
> or "j", but want to have some way of limiting my processing to only those pixels that have the
> required values.
> I am sure that this should be possible within ITK, I just haven't been able to figure it out.
> If anyone has any suggestions, it would be very much appreciated.
> 
> Cheers
> 
> Harve
> 
> -- 
> HARVE (Neal R. Harvey)           Email: harve at lanl.gov
> ISR-2                            Phone: 505 667 9077
> Los Alamos National Laboratory   Fax: 505 664 0362
> Los Alamos, NM 87545, USA        Mail Stop: D-436
> The generation of random numbers is too important to be left to chance.
> 
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list