CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ParaView

How to process CSV file with 2D image format?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 24, 2013, 04:48
Default How to process CSV file with 2D image format?
  #1
New Member
 
Join Date: May 2009
Posts: 4
Rep Power: 8
showerlin is on a distinguished road
Dear friends,

I'm new to ParaView.
I'm trying to utilize ParaView to visualize 3D surface re-constructed by series of 2D laser profile scan. Unfortunately, the native CSV file generated from the sensor software is stored all z data in a 2D array (i.e. row# = x-axis, column#=y-axis).

I could read the CSV file into ParaView and see the data table, unfortunately, I cannot move forward because I cannot convert the data table into points, I need a format with (x,y,z) as column and each row represent a point.

Is there a easy way to process this type of CSV format?
(to take the row# as x value, and column# as y value, and plot the surface of z-height?)

I spend couple hours searching on the web looking for solution, but so far no easy way to do this... either it need to involve vtk reader plugin development, or phython scripting...

I'm looking for easier way to perform this task...
if I cannot avoid those steps, could anyone advice which way is easier to implement? (vtk reading plugin requires cmake complie..., VS phython requires some other enviormental setup).

Thanks again for the big help!

Regards,
-Showerlin
showerlin is offline   Reply With Quote

Reply

Tags
csv, image, paraview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Native Meshers: blockMesh 2 March 14, 2012 10:56
Version 15 on Mac OS X gschaider OpenFOAM Installation 120 December 2, 2009 11:23
Compiling gmshFoam with OpenFOAM-1.5 BlGene Open Source Meshers: Gmsh, Netgen, CGNS, ... 10 August 6, 2009 04:26
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


All times are GMT -4. The time now is 13:06.