LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3d surface animation

I have some TIFF image sequnce which is supposed to be a video. Corresponding to each Tif file, it is in nature a 2d array of numbers. 

 

I can plot any single image using 3D surface plot. However, how can I get a 3D surface plot animation? What I can think about is to get the 3d surface plot for each image and export them as a set of .png file (with the same view angle of the 3D plot) and connect them by ImageJ.

 

But how can I export the 3D surface plot result as a image first?

 

Thanks a lot 

0 Kudos
Message 1 of 4
(2,972 Views)

I dont think there is a direct method but you can use the invoke node  (get image) on the control reference to convert to image data then you can save the image data as a png using the write png file.

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 4
(2,969 Views)

Hi shuohuang,

 

"Get Image" Invoke node returns the image data of the whole control, including the decoration and palettes.

 

"Image to File" Invoke node only returns the image file of plot area, the 3D scene. If you need .png, you could save to .bmp first and convert the files to .png by functions in "Graphics Formats" sub palette.

0 Kudos
Message 3 of 4
(2,963 Views)

Thanks to both of you. I havent tried it yet, but it does sound like a solution.

 

 

0 Kudos
Message 4 of 4
(2,939 Views)