Class BandStats

java.lang.Object
types.generated.MeosObject
types.generated.BandStats

public class BandStats extends MeosObject
What a raster band's pixels amount to, taken in one pass: how many pixels hold a value and their sum, mean, standard deviation, least and greatest, the record PostGIS's ST_SummaryStats states. Raster.summaryStats answers one and the summaryStats aggregate gathers one over rasters; MEOS registers it in no enum, so it names no temptype.
  • Constructor Details

    • BandStats

      public BandStats(jnr.ffi.Pointer inner)
  • Method Details

    • count

      public long count()
      count, through MEOS bandstats_count.
    • sum

      public Double sum()
      sum, through MEOS bandstats_sum.
    • mean

      public Double mean()
      mean, through MEOS bandstats_mean.
    • stddev

      public Double stddev()
      stddev, through MEOS bandstats_stddev.
    • min

      public Double min()
      min, through MEOS bandstats_min.
    • max

      public Double max()
      max, through MEOS bandstats_max.
    • in

      public static BandStats in(String str)
      in, through MEOS bandstats_in.
    • out

      public String out()
      out, through MEOS bandstats_out.
    • copy

      public BandStats copy()
      copy, through MEOS bandstats_copy.
    • toString

      public String toString()
      The text MEOS writes this value as.
      Overrides:
      toString in class Object