Reading and extracting values from a hdr satellite image
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have 20 satellite images with .hdr format. I need to import them in Matlab and extract soil moisture values for certain pixels from them. I used hdrread function but it gives the radiance error. I could open the images with Envi software so I think they are envi hdr types. I found a function called enviread/envihdrread in 'File exchange' but they also dont work. I used notepad to open the header of the file and the information is as follow:
ENVIdescription = {image }
samples = 726
lines = 656
bands = 1
header offset = 0
file type = ENVI Standard
data type = 2
interleave = bsq
sensor type = Unknown
byte order = 1
data ignore value = 0.0
map info = {Geographic Lat/Lon, 1, 1, 14.9012000, 42.5260000, 0.0052, 0.0052, WGS-84}
coordinate system string = {GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]}
wavelength units = Unknown
band names = {image }
But I cannot see the 656 lines of information from this image in Notepad. I need to import all these files and read the soil moisture for each pixel in them. Can I get some advice on how to open these images and extract soil moisture values from them? I attach some of the images. Thanks.
0 comentarios
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!