[ITK-users] (no subject)

jose alejandro matute flores jmatuteflores at gmail.com
Wed Feb 17 11:42:14 EST 2016


Hi,

Take a look at using a histogram  [1] or simply iterate throughout the
image using fx. a const iterator [2] and aggregate whenever you find the
desired pixel value.

[1]
http://itk.org/Wiki/ITK/Examples/Statistics/HistogramToImageFilterGrayscale
[2] http://www.itk.org/Doxygen/html/classitk_1_1ImageConstIterator.html

Best,
Jose

On Wed, Feb 17, 2016 at 4:46 PM, meikolin saimara <kolin9105 at gmail.com>
wrote:

> hello guys, anyone can help me??
> I need a program in itk how to apply a number of black pixel value on
> image  in cmd. when we input this image in cmd(command promt) and then the
> output is a number of black pixel value.
> pleas help me.
>
> _____________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20160217/f8c56508/attachment.html>


More information about the Insight-users mailing list