[vtkusers] Histogram
shekharc
Shekhar.Chandra at sci.monash.edu.au
Thu Mar 5 16:41:25 EST 2009
Hi Aytekin,
That is the correct example. vtkImageAccumulate will calculate the
histogram and use vtkXYPlotActor to display the actual histogram once
calculated (pass accumulate class into it).
HTH
Cheers
Shakes
Aytekin Vargun wrote:
> Hi,
> I want to construct and display a histogram using VTK/C++ from some
> numeric data in an XML file.
>
>
> I see that there is a test file called:
> ImageAccumulate.cxx
> <http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Imaging/Testing/Cxx/ImageAccumulate.cxx?root=VTK&content-type=text/plain>
>
> but this program does not display any histograms. From what I read for
> vtkImageAccumulate
> <http://www.vtk.org/doc/nightly/html/classvtkImageAccumulate.html>
> class it should be possible to do this.
>
> Can somebody help me to make necessary changes to make it more usable?
> Or suggest any other way of getting histograms in VTK.
>
> I appreciate your help.
> Aytekin
>
> --
> My web page: http://www.cs.rpi.edu/~vargua
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list