[vtkusers] displaying histogram using vtkImageAccumulate
Prathamesh Kulkarni
prathameshmkulkarni at gmail.com
Tue Jul 20 10:44:13 EDT 2010
Hello all,
I want to be able to display histogram of a part of an image. Following is
what I did so far:
image_accumulate->SetInput(vtkImageData);
image_accumulate->SetStencil(vtkImageStencilData);
image_accumulate->Update();
histogram_image = image_accumulate->GetOutput();
histogram_image->Update();
When I cast the histogram image to unsigned char and render it using
vtkImageActor, I see a blank white image. Am I missing something here?
Thanks,
Prathamesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100720/d05f41e6/attachment.htm>
More information about the vtkusers
mailing list