[Numpy-discussion] delete pixel from the raster image with specific range value

Elliot Hallmark Permafacture at gmail.com
Sat Oct 8 20:55:00 EDT 2016


What do you mean delete? Set to zero or NaN? You want an (N-1) dimensional
array of all the acceptable values from the N dimensional array?

Elliot
On Oct 8, 2016 5:11 PM, "Xristos Xristoou" <saxri89 at gmail.com> wrote:

> any idea how to delete pixel from the raster image with
> specific range value using numpy/scipy or gdal?
>
> for example i have a raster image with the
> 5 class :
>
> 1. 0-100
> 2. 100-200
> 3. 200-300
> 4. 300-500
> 5. 500-1000
>
> and i want to delete class 1 range value
> or maybe i want to delete class 1,2,4,5 if i need only class 3
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> https://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20161008/547922ff/attachment.html>


More information about the NumPy-Discussion mailing list