[ITK] [ITK-users] Counting the number of pixels with specific color

karolkc karolkc at gmail.com
Fri Apr 15 13:37:47 EDT 2016


Hello,

I would like to ask if there is a function in ITK that could count the
number of pixels with specific color.

I have already used Region Growing filter for segmentation, then I created
an image containing white pixels on black background presenting my segmented
region. 

Now I'd like to calculate the volume of this region. The simplest way is
just to calculate the number of white pixels. But how?

Do you have any ideas or suggestions?

Best Regards!



--
View this message in context: http://itk-users.7.n7.nabble.com/Counting-the-number-of-pixels-with-specific-color-tp37028.html
Sent from the ITK - Users mailing list archive at Nabble.com.
_____________________________________
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.php

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://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list