mercredi 4 avril 2018

assigning pixels as 0 and 1

remote sensing python:

is there a way to create a new band or array with DN values of only 0 and 1, based on conditional statements derived from DN values of two separate bands? for example, if values in band 4 => 11000 and values in band 11 <= 23000, set as 0, else set as 1.

Aucun commentaire:

Enregistrer un commentaire