The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Volume and Shifting help
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

tsleighbuilder

USA
2 Posts

Posted - 01/28/2015 :  4:31:18 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

tsleighbuilder

USA
2 Posts

Posted - 01/30/2015 :  5:40:10 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

lkb0221

China
497 Posts

Posted - 02/04/2015 :  5:32:26 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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).
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000