LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create Height field from 3D point cloud

Solved!
Go to solution

Hello,

 

There is a VI called: Create Height Field.vi to craete surface to 3D picture control.

 

"Converts a 2D array of values to a 3D height field and applies the height field to a 3D object that appears in a 3D scene."

 

This should be perfect for me ( this function interpolates the whole surface) but, I have 3D  [x,y,z] point cloud, where the coordinates are not equally spaced. As I understad this VI can display point cloud with equidistant coordinates. How can I use this tool to display my data?

 

I have tried the Create Mesh.vi to display my point cloud, but I really need the interpolated surface also. Could you give me some guide points where and how to do now?

 

Thanks in advance,

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 1 of 6
(3,574 Views)
Solution
Accepted by D60

Hi D60!

 

Sorry for the late reply.

 

Is your problem still unsolved?

 

If yes, I searched for some examples that use the Create Height Field VI.

I only found one example code on Community: https://decibel.ni.com/content/docs/DOC-4765

 

If your data points are not sampled on the same rate, you could use interpolation, to reach the same length.

I guess the easiest way is to use the Mathscript node for this, like in this eaxmple: http://zone.ni.com/reference/en-XX/help/371361F-01/lvtextmath/msfunc_interpolate/

Or this VI could be used for the same purpose: http://zone.ni.com/reference/en-XX/help/371361J-01/gmath/interpolate_2d/

 

Please let me know, if my suggestions helped. If you have any questions, please don't hesitate to post them.

 

Best Regards,

 

 

CLA, CLED
Message 2 of 6
(3,462 Views)

Dear Balázs,

 

I will check your suggestion and write a feedback soon.

 

Thanks for your help!

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 3 of 6
(3,439 Views)

Hi D60!

 

Were my suggestions useful? Could you solve the issue?

Do you have any other questions, relating to this topic?

 

Best Regards,

CLA, CLED
0 Kudos
Message 4 of 6
(3,403 Views)

Dear Balazs Nagy,

 

I was out of office and I totally forgot this issue, Sorry for that and thanks for the update.

Your suggestions about 2D interpolation seem OK and very useful.

 

Thank you so much and have a nice day!

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 5 of 6
(3,397 Views)

Hi D60!

 

I'm happy, that you could solve this issue using my suggestions.

 

Thanks for the feedback! Have a nice day too!

 

Bes Regards,

CLA, CLED
0 Kudos
Message 6 of 6
(3,394 Views)