Você está na página 1de 53

Universidad Nacional Federico Villarreal

Facultad de Ingeniera Ambiental, Geogrfica y


en Ecoturismo

Teledeteccin aplicando ENVI + IDL


Sesin III

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos

14/03/2017 1
Elaboracin de Script y
clculo de la Radianza
espectral en el IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

1. Ejecutamos ENVI + IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

2. Se desplegarn 2 ventanas, una de ENVI, y la otra de IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

3. Creacin de un Nuevo Archivo, para elaborar el Script

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

3. Ubicaremos la ruta, donde se encuentran nuestra Imagen Satelital.

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

3. Clic derecho en cada banda, luego hacer clic en propiedades


para encontrar su ubicacin.

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

4. Luego de copiar la ubicacin de la banda, no olvidar colocar:

5. Luego colocar lo siguiente:


,geotiff=GTMODELTYPEGEOKEY)

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

6. Seguir el mismo procedimiento para todas las bandas.

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

WRITE_TIFF, 'C:\Users\SOPORTE\Desktop\Alta_Santa\Radianza\radiancia_banda1.tif', L1,


geotiff = GTMODELTYPEGEOKEY, /FLOAT

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


Elaboracin de Script y
clculo de la Reflectancia

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


Reflectancia TOA
Ahora procederemos a transformar los valores de
Radianza Espectral, a valores de Reflectancia TOA.

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


Radianza espectral
90 - ngulo de elevacin
solar
Reflectancia TOA = 90 (ZUN_ELEVATION)

Irradiancia espectral solar Distancia Tierra-Sol en el


exoatmosfrica momento de la toma imagen,
expresada en unidades
astronmicas

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA REFLECTANCIA ESPECTRAL EN
EL IDL

Creacin de un Nuevo Archivo, para elaborar el Script

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA REFLECTANCIA ESPECTRAL EN
EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA REFLECTANCIA ESPECTRAL EN
EL IDL

En la carpeta donde se encuentra nuestra imagen, crearemos una nueva carpeta que
contendr las imgenes de reflectancia. Luego. ubicaremos la ruta donde se encuentran
las imgenes para llevarlas al IDL.

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA REFLECTANCIA ESPECTRAL EN
EL IDL

Ahora, ubicaremos la ruta de las imgenes, al igual como lo hicimos para calcular la
radianza.

L1=READ_TIFF('C:\Users\SOPORTE\Desktop\Alta_Santa\Radianza\radiancia_band
a1.tif', geotiff=GTMODELTYPEGEOKEY)

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


Valores de ESUN para
Clculo del valor
Landsat 5

Landsat
ESUN
5 TM
Banda 1 1983
Banda 2 1796
Banda 3 1536
Banda 4 1031
Banda 5 220
Banda 7 83.44

Fuente: Chander , 2009 = 90 (57.29132620)

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA REFLECTANCIA ESPECTRAL EN
EL IDL

Distancia Tierra-Sol en el momento de la toma imagen, expresada en unidades


astronmicas

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Distancia Tierra-Sol en el momento de la toma imagen, expresada en unidades


astronmicas

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Se escribe la formula, para el clculo de la reflectancia.

(!pi*L1*d^2)/(ESUN1*cos(teta*!pi/180.0))

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Finalmente se procede a guardar nuestros valores de reflectancia, siguiendo la ruta que


habamos establecido al inicio. Luego colocaremos el comando end

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos


ELABORACIN DE SCRIPT Y CLCULO DE LA RADIANZA ESPECTRAL EN EL IDL

Bach. Orlando Benites Flores Est. Vctor Gallo Ramos

Você também pode gostar