[vtkusers] Add vtkImageGradientMagnitude output to vtkXYPlotActor

David Gobbi david.gobbi at gmail.com
Fri Dec 5 13:21:54 EST 2014


Hi Lizeth,

This is just a guess on my part, but I think that you have to pass the
data through the vtkAttributeDataToFieldData filter in order to make
data arrays visible to the vtkXYPlotActor.

 - David


On Fri, Dec 5, 2014 at 10:46 AM, Lizeth Castellanos <
castellanoslizan at gmail.com> wrote:

> Hello vtk-users!
>
> I'm using vtkImageGradientMagnitude and  vtkImageLaplacian filters to
> obtain  the gradient and laplacian of an image. This works very well and I
> can see the results in the images.
>
> Now, I want to plot the gradient mangitude and the laplacian. (Gradient in
> my x-axis and the probability density on my y-axis, and the same
> respectively for plot the Laplacian)
>
> Could someone tell me how to add the vtkImageGradientMagnitude and
>  vtkImageLaplacian outputs to vtkXYPlotActor ?
>
> Thanks!
>
> -Lizeth
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141205/a893ff0e/attachment.html>


More information about the vtkusers mailing list