[vtkusers] Bug in vtkImageAccumulate?
Steve Boyd
boyd at biomed.ee.ethz.ch
Wed Jun 5 09:55:59 EDT 2002
Hi,
The problem seems to be whenever I send data of type double and int to
vtkImageAccumulate, but no problems with floats. It seems that the
pointer within the templated method of vtkImageAccumulate doesn't
resolve the doubles and floats correctly (and maybe other types that I
didn't try).
I've attached a modified version of vtkImageAccumulate called
vtkImageAccumulate2 that includes some terminal outputs at various
points of the histogram calculation, and a main program that runs the
class. I think this should re-create the bug for the case of ints.
Sincerely,
Steve
--
Steven Boyd, PhD
Institute for Biomedical Engineering
ETH and University Zuerich
Moussonstrasse 18
8044 Zuerich, Switzerland
tel. +41.1.632.4591 fax. +41.1.632.1214 boyd at biomed.ee.ethz.ch
-------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestHistogramBug.cxx
Type: application/x-unknown-content-type-cxxfile
Size: 1674 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020605/b3745fee/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkImageAccumulate2.cxx
Type: application/x-unknown-content-type-cxxfile
Size: 13290 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020605/b3745fee/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkImageAccumulate2.h
Type: application/x-unknown-content-type-hfile
Size: 5081 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020605/b3745fee/attachment-0002.bin>
More information about the vtkusers
mailing list