using vol2surf with X Y Z F(X,Y,Z) data set
| dblanglais | February 8, 2010 - 12:51 | ||
|---|---|---|---|
|
I have a data set which represent the value of a parameter at various spots in a volume. The data was not acquired in a common Cartesian pattern which means that all the X,Y,Z are not equidistant. Thanks Denis |
|||


Joined: 2007-06-29
Location: United States
Hello Denis,
As your data are not sampled on a regular rectangular grid your first step is interpolation. Considering your response from last week I'm guessing you might have some problem with the interpolation unless I misunderstood what you meant by the cylindrical pattern. It might be best if you communicated with me directly; feel free to send me an experiment with sample data so I can have a better idea of what you are dealing with.
A.G.
WaveMetrics, Inc.
Joined: 2009-02-12
Location: United States
If I understand what you're saying, it sounds like you've got the data regularly sampled in Cartesian coordinates using some interpolation. However, vol2surf wants unsigned 8-bit data ("/B/U"). Your data sounds like it is unsigned word (16-bit, 2^16 = 65536). Hence, you must convert it. You can use Redimension for the conversion, but any values over 255 will get "chopped off." To preserve as much dynamic range as possible, the solution is to pre-scale your data to have no values over 255 before casting it into unsigned bytes. Maybe this will do the trick?...
I can't help you after that. Gizmo is above my pay grade.
Nick