Visualizing multi-band satellite images in Python

preview_player
Показать описание

Code:

from osgeo import gdal
import numpy as np

def scaleMinMax(x):
def scaleCCC(x):
def scaleStd(x):

r = ds.GetRasterBand(4).ReadAsArray()
g = ds.GetRasterBand(3).ReadAsArray()
b = ds.GetRasterBand(2).ReadAsArray()

ds = None

rMinMax = scaleMinMax(r)
gMinMax = scaleMinMax(g)
bMinMax = scaleMinMax(b)

rCCC = scaleCCC(r)
gCCC = scaleCCC(g)
bCCC = scaleCCC(b)

rStd = scaleStd(r)
gStd = scaleStd(g)
bStd = scaleStd(b)

Рекомендации по теме
Комментарии
Автор

Just the tutorial i was looking for. Thank You for such easy to understand tutorial.

RahulSingh-qzkx
Автор

Your contents is exactly what I want to do and know, plotting given tiff on python. Thanks your great helpful tutorial.

tsenght
Автор

Thank you. Keep up the good work of posting such good material.

anantharamaniyer
Автор

Great video! There are so few good tutorials on these topics for beginners. Can I ask which keyboard you use? I really like the sound of the key strokes.

chrisa
Автор

I really need this video, can you tell me what are the librarys used for split and merge the tiff images without losing the property of tiff images?

shubhamkedar
Автор

Hello
I need are working composite rgb meteosat 8

عبداللهالسامرائي-ضث
join shbcf.ru