calculate how many pixels that value equal to specified value ?

suzukisuzuki Global Mapper UserPosts: 8
hi,

i hava 32bits geotiff image. (each pixel data value range is 0 / 5 /10 / 15 / 20  ... / 100 )
if i can count how many pixels that value equal to a specified value ( ex. equal to 10 ) , by using globalmapper.
i just wanna know the " number of pixel " in this image that value equal 10.


Best Regards.

suzuki


Best Answers

  • bmg_bobbmg_bob Global Mapper Programmer Posts: 2,058
    Answer ✓
    Hello,

    You might be able to do this using a histogram. Select your layer, right-click and choose Metadata. Select the Histogram tab. I think that setting the Number of Bins to 20 ought to give you what you want, but you may need to tweak it a bit.

    Cheers,
    Bob
  • bmg_bobbmg_bob Global Mapper Programmer Posts: 2,058
    Answer ✓
    Hello,

    The graphing functions are not available via scripting.

    Cheers,
    Bob

Answers

Sign In or Register to comment.