[vtkusers] Merging/combining vtkImageHistogramStatistics from multiple images

Elvis Stansvik elvis.stansvik at orexplore.com
Thu Oct 20 12:27:21 EDT 2016


Den 20 okt. 2016 4:50 em skrev "David Gobbi" <david.gobbi at gmail.com>:
>
> 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.

Alright, thanks David.

Elvis

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


More information about the vtkusers mailing list