How can I read a .ras file?

Respuestas (1)

Stephen23
Stephen23 el 23 de Jun. de 2016
Editada: Stephen23 el 23 de Jun. de 2016

0 votos

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 comentarios

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

Iniciar sesión para comentar.

Categorías

Más información sobre Images en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 23 de Jun. de 2016

Comentada:

el 23 de Jun. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by