[vtkusers] Merging/combining vtkImageHistogramStatistics from multiple images

David Gobbi david.gobbi at gmail.com
Thu Oct 20 10:49:43 EDT 2016


On Thu, Oct 20, 2016 at 1:31 AM, Elvis Stansvik <
elvis.stansvik at orexplore.com> wrote:

>
> I know I can just sum the histogram arrays (available as a
> vtkTypeIdArray through vtkImageHistogramStatistics::GetHistogram), but
> I thought I should ask first: Is there some built-in way of "merging"
> several vtkImageHistogramStatistics? Or some other better approach
> which I haven't thought of?
>

Summing the arrays is the way to go, vtkImageHistogramStatistics takes a
single image input.

 - David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161020/29c47e3c/attachment.html>


More information about the vtkusers mailing list