[vtkusers] 2D projections of 3D vtkImageData
Amy Squillacote
ahs at cfdrc.com
Thu May 1 11:40:14 EDT 2008
Hi Adrian,
I'm copying this back to the vtkusers list so other people can see this
clarification and help you find a solution. Please keep the discussion
on the list.
Thanks,
Amy
Adrian Albert wrote:
> Hi Amy,
>
>
> thanks again for replying!
> In fact, by projection I meant accumulating all data values from a N D
> object onto a N-1 D object. For example, for the 2D->1D case, this
> would mean accumulating (e.g., summing) all the values on the vertical
> axis from the 2D image corresponding to a certain value on the
> horizontal axis. The final image will be 1D and would store for each
> value on the horizontal axis the sum of the values corresponding to
> this value from the initial 2D image.
>
> In my case, I have a vtkImageData containing a 3D histogram (histogram
> depending on 3 variables) obtained with vtkImageAccumulate, which I
> would like to make 2D (i.e., get a 2D projection of it).
>
> I am browsing through the documentation, but so far I haven't found
> what I need....
>
>
> Adrian
>
> On Thu, May 1, 2008 at 3:20 PM, Amy Squillacote <ahs at cfdrc.com
> <mailto:ahs at cfdrc.com>> wrote:
>
> Have you looked at vtkCutter:
> http://www.vtk.org/doc/release/5.0/html/a01277.html?
>
> - Amy
>
> Adrian Albert wrote:
>
> Dear All
>
> I was wondering if there is a specialized class for making 2D
> projections out of 3D data, or more general to make N-1 D
> projections from N D data. Thus from a 1D line one would get a
> point, from a 2D image on would get a 1D line, and from a 3D
> volume one would get a 2D image.
>
> Any ideas?
>
> best,
> Adrian
>
> --
> ---------------------------------------------------
> Adrian Albert
> School of Engineering and Science
> Jacobs University Bremen
> Germany
> Tel.: 00494212003258
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>
>
>
> --
> Amy Squillacote Phone: (256) 726-4839
> Computer Scientist Fax: (256) 726-4806
> CFD Research Corporation Web: http://www.cfdrc.com
> 215 Wynn Drive, Suite 501
> Huntsville, AL 35805
>
>
>
>
>
> --
> ---------------------------------------------------
> Adrian Albert
> School of Engineering and Science
> Jacobs University Bremen
> Germany
> Tel.: 00494212003258
--
Amy Squillacote Phone: (256) 726-4839
Computer Scientist Fax: (256) 726-4806
CFD Research Corporation Web: http://www.cfdrc.com
215 Wynn Drive, Suite 501
Huntsville, AL 35805
More information about the vtkusers
mailing list