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.4K All Categories
- 5.4K Features Discussion
- 314 Downloading Imagery
- 1.3K Elevation Data
- 377 Georeferencing Imagery Discussion
- 603 GM Script Language
- 49 User Scripts
- 112 GPS Features
- 394 Projection Questions
- 800 Raster Data
- 1.3K Vector Data
- 6.5K Support
- 161 Announcement and News
- 890 Bug Report
- 556 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 537 Other Discussion
- 128 GIS Data Sources
- 26 Global Mapper Showcase
- 224 How I use Global Mapper
- 104 Global Mapper Forum Website