CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] How to process CSV file with 2D image format?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2013, 05:48
Default How to process CSV file with 2D image format?
  #1
New Member
 
Join Date: May 2009
Posts: 4
Rep Power: 17
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFoam "Permission denied" and "command not found" problems. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 07:47
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 02:22
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


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