How can I read a .ras file?

Antworten (1)

Stephen23
Stephen23 am 23 Jun. 2016
Bearbeitet: Stephen23 am 23 Jun. 2016

0 Stimmen

Just use the inbuilt imread function, as it supports the SUN Raster file format.
The exact supported .ras file formats are described in detail.
So you simply need to do this:
A = imread(filename)

2 Kommentare

Omim
Omim am 23 Jun. 2016
I have tried doing this, but Matlab omits some values. The first pixels of the image are 0.
Stephen23
Stephen23 am 23 Jun. 2016
@Omim: please edit your question and upload the image using the paperclip button.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Images finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 23 Jun. 2016

Kommentiert:

am 23 Jun. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by