Author |
Topic  |
|
tsleighbuilder
USA
2 Posts |
Posted - 01/28/2015 : 4:31:18 PM
|
Hello so I have two issues that are giving me trouble. As a background I have 3D Scans of craters and these files are extremely large (22 million data points!). I want to do two things. 1. Shift the scans so that the deepest point is at 0,0,0 instead of whatever it turns out to be in the scan. 2. Determine the volume of the crater as in all of the stuff that was evacuated from the initial condition. Any help on these issues would be greatly appreciated. Thanks. |
|
lkb0221
China
497 Posts |
Posted - 01/29/2015 : 5:19:30 PM
|
Hi,
In what form are your data? XYZ? Matrix? The 1st one will be easily done in XYZ and the 2nd can only be done from graph or matrix. But considering the size of your data, it might be quite slow...
Zheng OriginLab |
Edited by - lkb0221 on 01/29/2015 5:20:15 PM |
 |
|
tsleighbuilder
USA
2 Posts |
Posted - 01/30/2015 : 5:40:10 PM
|
quote: Originally posted by lkb0221
Hi,
In what form are your data? XYZ? Matrix? The 1st one will be easily done in XYZ and the 2nd can only be done from graph or matrix. But considering the size of your data, it might be quite slow...
Zheng OriginLab
Hello, I made it in a matrix and created a surface with that. Thanks |
 |
|
lkb0221
China
497 Posts |
Posted - 02/04/2015 : 5:32:26 PM
|
You can find the min value of the matrix by some simple LT code, for example: range rr = 1; list(min(rr), rr)=; The result is the linear index of the cell. You can get the row and col index based on the size of the matrix. Then you can use the X/Y start/end value to calculate the coordinate of this point, and then modified the start/end value of X/Y to offset the min point to (0,0,#). After that, use set matrix value dialog to subtract the min value form the matrix. Then we got a new surface with min point at (0,0,0).
|
 |
|
|
Topic  |
|
|
|