On Tue, Jul 02, 2013 at 10:09:00AM -0700, Kiarash Zamani Aghaie wrote:
> I had a simple question. Suppose that we have an AFM image. We process
> it using Gwyddion (cropping, rotation, flattening, etc). Can you tell
> me how I can export the resulting topography to a file that can be
> easily imported in Origin, Sigmaplot, or MATLAB?

I can't advise concerning these particular programs as I don't use any
of them.  Generally, export in native formats of proprietary software
such as .opj is unlikely to appear in Gwyddion.  If such software can
read an open/standard format the export to this format can be
implemented.

But it should be easy to teach Matlab to read GSF

    http://gwyddion.net/documentation/user-guide-en/gsf.html

(or a similar format) for someone familiar with Matlab (in my opinion).

> I tried saving the
> file as a .txt file, but the result is just a series of numbers
> separated by space, and it is hard to figure out what is x, y, or z in
> that file.

It is very easy to sort them out because there is no x and no y.  The
data are sampled in a regular grid so the file contains only the values
(z), coordinates would be redundant.  Each line represents one line of
the image.  The pixel and physical dimensions can be written to the
optional header, if requested in the export dialog.

Export in a text XYZ format is possible, I suppose.  Two XYZ formats can
already be exported: GXYZF which is a binary format and VTK which is
intended for visualisation and the data are normalised in a way not
suitable for further processing.  So they might not suit you.

Regards,

Yeti


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to