Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

recording pixel value with Python script in ArcGIS 10.x

$
0
0
A scripting newbie question...

I'd like to write a Python script for ArcGIS 10.x that would record the pixel value for all pixels in a raster. Furthermore, I'd like to only record a given value once in the results. For example, if there are 23 values of 180 overall, only record one instance of that value.

The raster in question is 4-band so the results would have to include values for all pixels in each band, recorded separately by band. The Pixel Inspector tool (see image below) will show you the value per pixel (and surrounding pixels), but I'd like to record the values as described.

Any help and examples would be greatly appreciated. Thanks in advance.


Attachment 30411
Attached Thumbnails
Click image for larger version

Name:	GUID-DC9A60DB-F148-46E4-BB43-B61EAE043DFA-web.gif‎
Views:	N/A
Size:	12.1 KB
ID:	30411  

Viewing all articles
Browse latest Browse all 2485

Trending Articles