Fwd: RE: [vtkusers] Profile an image?
Amy Henderson
amy.henderson at kitware.com
Thu Feb 3 13:39:01 EST 2005
I'm forwarding this back to the VTK Users list.
>From: "Beau Sapach" <beau.sapach at ualberta.ca>
>To: "'Amy Henderson'" <amy.henderson at kitware.com>
>Subject: RE: [vtkusers] Profile an image?
>Date: Thu, 3 Feb 2005 11:35:36 -0700
>X-Mailer: Microsoft Office Outlook, Build 11.0.5510
>Thread-Index: AcUKHX5YQw3mI+amSZG147wWuoqUFAAAR/uw
>X-NAS-Bayes: #0: 0; #1: 1
>X-NAS-Classification: 0
>X-NAS-MessageID: 3048
>X-NAS-Validation: {31391EF3-B3AC-4F12-94D8-DC2DA45E9526}
>
>Thanks! One thing I'm not clear on is that the points along the line may
>not fall exactly on points within the dataset, so I'm assuming the filter
>will interpolate values to match the resolution of the line, but is there
>any way of getting the exact point values of all points directly on either
>side of the line?
>
>Beau
>
>-----Original Message-----
>From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf
>Of Amy Henderson
>Sent: Thursday, February 03, 2005 11:21 AM
>To: vtkusers at vtk.org
>Subject: Re: [vtkusers] Profile an image?
>
>Use vtkLineSource to create a line with the 2 selected end points. (The
>Resolution variable will determine at how many evenly-spaced points along
>the line you will sample the image.) Then use vtkProbeFilter with your
>image data as the Input and the output of vtkLineSource as the Source.
>
>- Amy
>
>At 12:56 PM 2/3/2005, Beau Sapach wrote:
> >Hello everyone,
> >
> >I'd like to be able to draw a line over an image and then plot a profile of
> >the scalars that the line intersects with. Drawing the line etc is easy,
> >basically I need a function that takes the 2 end points of the line and
> >returns the points and scalars that the line intersects, does such a
> >function already exist?
> >
> >----------------------------------------
> >Beau Sapach
> >Network Administrator
> >Biomedical Engineering
> >University of Alberta
> >Phone: (780) 492-8098
> >Fax: (780) 492-8259
> >Email: beau.sapach at ualberta.ca
> >----------------------------------------
> >
> >_______________________________________________
> >This is the private VTK discussion list.
> >Please keep messages on-topic. Check the FAQ at:
> >http://www.vtk.org/Wiki/VTK_FAQ
> >Follow this link to subscribe/unsubscribe:
> >http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the 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