How to export AFM image to a data matrix?

10 ビュー (過去 30 日間)
BHARAT CHARAN GOUD MARUPALLI
BHARAT CHARAN GOUD MARUPALLI 2023 年 2 月 15 日
回答済み: George Heath 2024 年 10 月 9 日
I have exported .mi file of AFM data to .jpeg format using gwyddion software. I have attached the image. In this image, each pixel contains z-axis values or surface topography values (color coded). The maximum height of particles is 18 nm and minimum is 0. I would like to export this image into a 3D data matrix which contains information about X, Y and Z-axes values. Can anyone help to find a way?

回答 (2 件)

Amith
Amith 2024 年 8 月 12 日
Hi Bharat,
There is no direct way to import image data or AFM data into MATLAB, but it has options to import csv files using the csvread function or the readmatrix function.
Hope this helps!

George Heath
George Heath 2024 年 10 月 9 日
Hi Bharat,
There are MATLAB scripts avalible to open .gwy files, so I would export your .mi file from gwyddion as a .gwy image file and then use the open_gwychannel avalible here:
or
The open_gwychannel function will open files saved in gwyddion. If you download the script and then run:
[im, meta] = open_gwychannel(filename)
Replacing 'filename' with the filename eg:
[im, meta] = open_gwychannel('Testdata.gwy');
The output varible 'im' will be your image as a 2D matrix with z values in each field. Meta will list some meta data linked to the image.

カテゴリ

Help Center および File ExchangeHistorical Contests についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by