Finding null values in raster file

Peter_GURS
Global Mapper User
in Raster Data
I have tiff raster files ( a lot of them...), they are in three bands (RGB). I need to find if there are 0 values in either of these bands. Is there any way to do that in Global Mapper?
Regards,
Peter
Comments
-
Hi Peter,
If you have a Global Mapper Pro license, the easiest way might be a short Python script to loop through the pixels in the layer and call GM_GetPixelColor to query the color of each pixel and see if any band has a value of 0.
Thanks,
Mike
Global Mapper Guru
Categories
- 12.6K All Categories
- 5.5K Features Discussion
- 337 Downloading Imagery
- 1.3K Elevation Data
- 379 Georeferencing Imagery Discussion
- 620 GM Script Language
- 52 User Scripts
- 113 GPS Features
- 405 Projection Questions
- 815 Raster Data
- 1.3K Vector Data
- 6.5K Support
- 171 Announcement and News
- 897 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 559 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 231 How I use Global Mapper
- 106 Global Mapper Forum Website