[vtkusers] about vtkImageAccumulate

Prathamesh Kulkarni prathameshmkulkarni at gmail.com
Thu Jul 22 10:43:42 EDT 2010


Hello,

You can use vtkImageAccumulate with vtkImageStencil for achieving this. For
counting the number of pixels, there is
image_accumulate->GetNumberOfVoxels().

Prathamesh


Message: 24
Date: Thu, 22 Jul 2010 11:42:52 +0800
From: "myaqua1982" <myaqua1982 at 163.com>
Subject: [vtkusers] about vtkImageAccumulate
To: "vtkusers" <vtkusers at vtk.org>
Message-ID: <201007221142511561726 at 163.com
>
Content-Type: text/plain; charset="us-ascii"

Hi all:
I want to count the number of pixels of a BMP pic. Is vtkImageAccumulate
will do? And how can I use this function. And the pic has been segmented
already, I want to count the pixels of ROI .Please give me some advice.
Thank you very much!!!

2010-07-22



myaqua1982
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://www.vtk.org/pipermail/vtkusers/attachments/20100722/a8aa5c68/attachment-0001.htm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100722/7c3483d6/attachment.htm>


More information about the vtkusers mailing list