geotrellis.raster.op.stats

StatsMethodExtensions

implicit class StatsMethodExtensions extends StatsMethods

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StatsMethodExtensions
  2. StatsMethods
  3. TileMethods
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StatsMethodExtensions(tile: Tile)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def arrayHistogram(size: Int): ArrayHistogram

    Implements a histogram in terms of an array of the given size.

    Implements a histogram in terms of an array of the given size. The size provided must be less than or equal to the number of distinct values in the Tile.

    Definition Classes
    StatsMethods
    Note

    Tiles with a double type (TypeFloat, TypeDouble) will have their values rounded to integers when making the Histogram.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def classBreaks(numBreaks: Int): Array[Int]

    Generate quantile class breaks for a given raster.

    Generate quantile class breaks for a given raster.

    Definition Classes
    StatsMethods
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def doubleHistogram(significantDigits: Int): Histogram

    Create a histogram from double values in a raster.

    Create a histogram from double values in a raster.

    FastMapHistogram only works with integer values, which is great for performance but means that, in order to use FastMapHistogram with double values, each value must be multiplied by a power of ten to preserve significant fractional digits.

    For example, if you want to save one significant digit (2.1 from 2.123), set sigificantDigits to 1, and the histogram will save 2.1 as "21" by multiplying each value by 10. The multiplier is 10 raised to the power of significant digits (e.g. 1 digit: 10, 2 digits: 100, and so on).

    Important: Be sure that the maximum value in the rater multiplied by 10 ^ significantDigits does not overflow Int.MaxValue (2, 147, 483, 647).

    significantDigits

    Number of significant digits to preserve by multiplying

    Definition Classes
    StatsMethods
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. def histogram: Histogram

    Contains several different operations for building a histograms of a raster.

    Contains several different operations for building a histograms of a raster.

    Definition Classes
    StatsMethods
    Note

    Tiles with a double type (TypeFloat, TypeDouble) will have their values rounded to integers when making the Histogram.

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def standardDeviations(factor: Double = 1.0): Tile

    Calculate a raster in which each value is set to the standard deviation of that cell's value.

    Calculate a raster in which each value is set to the standard deviation of that cell's value.

    returns

    Tile of TypeInt data

    Definition Classes
    StatsMethods
    Note

    Currently only supports working with integer types. If you pass in a Tile with double type data (TypeFloat, TypeDouble) the values will be rounded to Ints.

  22. def statistics: Statistics

    Determine statistical data for the given histogram.

    Determine statistical data for the given histogram.

    This includes mean, median, mode, stddev, and min and max values.

    Definition Classes
    StatsMethods
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. val tile: Tile

    Definition Classes
    StatsMethodExtensionsTileMethods
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StatsMethods

Inherited from TileMethods

Inherited from AnyRef

Inherited from Any

Ungrouped