[vtkusers] Retrieve window/level
Dean Inglis
inglis.dl at gmail.com
Wed Sep 3 08:27:23 EDT 2014
You could use vtkImageProperty's GetColorWindow, GetColorLevel methods:
http://www.vtk.org/doc/nightly/html/classvtkImageProperty.html
If you are using vtkImageActor you could do
double windowValue = myActor->GetProperty()->GetColorWindow()
regards,
Dean
On Wed, Sep 3, 2014 at 7:12 AM, flaviu2 via vtkusers <vtkusers at vtk.org>
wrote:
> This is what I meanning when I said:
>
>
> flaviu2 wrote
> > I have an vtkImageReslice, which according this post:
> >
> http://vtk.1045678.n5.nabble.com/A-new-way-to-look-at-images-td3352404.html
> > <
> http://vtk.1045678.n5.nabble.com/A-new-way-to-look-at-images-td3352404.html
> >
> > can automatically adjust window/level by mouse motion after left button
> is
> > pressed ... but how can I retrieve window/level values ?
>
> Is really automation, but how can i retrieve window/level information from
> vtkImageReslice ?
>
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Retrieve-window-level-tp5728524p5728551.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140903/090e9994/attachment.html>
More information about the vtkusers
mailing list