[vtkusers] Extract region with vtkTracerInteractorStyleImage
Fabian Torres
dae.wong at gmail.com
Thu Aug 15 10:21:19 EDT 2013
Hie Dean.
I´m actually looking at this example
http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Widgets/Testing/Cxx/TestImageTracerWidget.cxx?root=VTK&content-type=text/plain
I think here is how to use the classes you told me. I hope this works.
Thanks for your response.
On Thu, Aug 15, 2013 at 8:38 AM, Dean Inglis <inglis.dl at gmail.com> wrote:
> Hi Fabian,
>
> have a look at classes inheriting from vtkImageStencilAlgorithm that
> generate vtkImageStencilData.
> You can use the vtkImageStencilData with vtkImageStencil to do
> inside/outside masking.
>
> Dean
>
>
> On Wed, Aug 14, 2013 at 6:31 PM, Fabian Torres <dae.wong at gmail.com> wrote:
>
>> Sorry the name is vtkInteractorStyleImage.
>> vtkTracerInteractorStyleImage is the name of my class.
>>
>>
>> On Wed, Aug 14, 2013 at 4:08 PM, David Doria <daviddoria at gmail.com>wrote:
>>
>>> Are you sure you typed the class name correctly?
>>> 'vtkTracerInteractorStyleImage' is not a class in VTK as far as I can
>>> tell: http://www.vtk.org/doc/nightly/html/classes.html
>>>
>>> David
>>>
>>>
>>> On Wed, Aug 14, 2013 at 12:32 PM, Fabian Torres <dae.wong at gmail.com>
>>> wrote:
>>> > Hi all.
>>> >
>>> > I have a class that inherits from vtkTracerInteractorStyleImage. This
>>> class allows the user to draw closed lines in an image and extract the
>>> vtkPath and vtkPoints every time the class catches a tracerEvent.
>>> >
>>> > My problem is that I want to extract the value of every pixel inside
>>> the drew region. How can I do this using the information from the obtained
>>> vtkPath or vtkPoints.
>>> >
>>> > Thnanks all
>>> > _______________________________________________
>>> > 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
>>>
>>
>>
>>
>> --
>> Fabián Torres Robles
>> Maestria en Ciencias en Ingeniería Electrónica
>> Ingeniería en Sistemas Electrónicos
>> tel. 58081280, 0445534661338
>> e-mail fabian.trobles at gmail.com, dae.wong at gmail.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://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>
--
Fabián Torres Robles
Maestria en Ciencias en Ingeniería Electrónica
Ingeniería en Sistemas Electrónicos
tel. 58081280, 0445534661338
e-mail fabian.trobles at gmail.com, dae.wong at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130815/9763c9be/attachment.htm>
More information about the vtkusers
mailing list