[vtkusers] writing a custom image loader

Oliver Kania ptw.freiburg at googlemail.com
Tue Jan 22 10:14:34 EST 2008


Hello and thanks,
We have points in the eucledian plane which are arranged like a regular
grid.
(evenly spaced)
We have a measured value for each point that should be interpreted as a
grey-scale or color
value.
How do I tie this to a vtkImageData ?

best regards,
Oliver

PS: we already ordered both VTK-books.

2008/1/22, burlen <burlen at apollo.sr.unh.edu>:
>
>  Hi, Oliver, writing an image loader is fairly strait forward but the
> details depend on the specifics of your data. Does your data have a regular
> Cartesian geometry? You first need to figure out which vtkDataSet best
> matches the geometry of your data. For instance using an vtkUnstructuredGrid
> where you could use vtkImageData would overly complicate things and
> adversely impact performance. A good deal of information can be found in the
> vtk users guide. In ver 4.2 of the user guide chap 5 has relevant info. If
> you plan to use VTK you would be well advised to obtain a copy.
> Burlen
>
>
>
> Oliver Kania wrote:
>
> Hello !
> Can someone provide a step by step guide on
> writing a custom image loader.
> We basically have 2D-point data with values attached to each point.
>
>
> Best regards, Oliver
>
> ------------------------------
>
> _______________________________________________
> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080122/215633d2/attachment.htm>


More information about the vtkusers mailing list