o

# HistogramEqualization 

#### object HistogramEqualization

Uses the approach given here: http://www.math.uci.edu/icamp/courses/math77c/demos/hist_eq.pdf

Linear Supertypes
Ordering
1. Alphabetic
2. By Inheritance
Inherited
1. HistogramEqualization
2. AnyRef
3. Any
1. Hide All
2. Show All
Visibility
1. Public
2. All

### Value Members

1. final def !=(arg0: Any)
Definition Classes
AnyRef → Any
2. final def ##(): Int
Definition Classes
AnyRef → Any
3. final def ==(arg0: Any)
Definition Classes
AnyRef → Any
4. def apply[T <: AnyVal](tile: MultibandTile, histograms: Seq[histogram.Histogram[T]])

Given a MultibandTile and a geotrellis.raster.histogram.Histogram for each of its bands, return a MultibandTile whose bands all have equalized histograms.

Given a MultibandTile and a geotrellis.raster.histogram.Histogram for each of its bands, return a MultibandTile whose bands all have equalized histograms.

tile

A multiband tile

histograms

A sequence of histograms, one for each band

returns

A multiband tile with improved contrast

5. def apply(tile: MultibandTile)

Given a MultibandTile, return a MultibandTile whose bands all have equalized histograms.

Given a MultibandTile, return a MultibandTile whose bands all have equalized histograms.

tile

A multiband tile

returns

A multiband tile with improved contrast

6. def apply[T <: AnyVal](tile: Tile, histogram: histogram.Histogram[T]): Tile

Given a Tile and a geotrellis.raster.histogram.Histogram, return a Tile with an equalized histogram.

Given a Tile and a geotrellis.raster.histogram.Histogram, return a Tile with an equalized histogram.

tile

A singleband tile

histogram

The histogram of the tile

returns

A singleband tile with improved contrast

7. def apply(tile: Tile): Tile

Given a Tile, return a Tile with an equalized histogram.

Given a Tile, return a Tile with an equalized histogram.

tile

A singleband tile

returns

A singleband tile with improved contrast

8. final def asInstanceOf[T0]: T0
Definition Classes
Any
9. def clone()
Attributes
protected[lang]
Definition Classes
AnyRef
Annotations
@throws( ... ) @native()
10. final def eq(arg0: AnyRef)
Definition Classes
AnyRef
11. def equals(arg0: Any)
Definition Classes
AnyRef → Any
12. def finalize(): Unit
Attributes
protected[lang]
Definition Classes
AnyRef
Annotations
@throws( classOf[java.lang.Throwable] )
13. final def getClass(): Class[_]
Definition Classes
AnyRef → Any
Annotations
@native()
14. def hashCode(): Int
Definition Classes
AnyRef → Any
Annotations
@native()
15. def intensityToCdf(cellType: CellType, cdf: Array[(Double, Double)])(x: Double)

Given a CellType and a CDF, this function produces a function that takes an intensity x to CDF(x).

Given a CellType and a CDF, this function produces a function that takes an intensity x to CDF(x).

cellType

The CellType in which the intensity x is given

cdf

The CDF

x

An intensity value which is mapped to CDF(x) by the returned function

returns

A function from Double => Double which maps x to CDF(x)

Annotations
@inline()
16. final def isInstanceOf[T0]
Definition Classes
Any
17. final def ne(arg0: AnyRef)
Definition Classes
AnyRef
18. final def notify(): Unit
Definition Classes
AnyRef
Annotations
@native()
19. final def notifyAll(): Unit
Definition Classes
AnyRef
Annotations
@native()
20. final def synchronized[T0](arg0: ⇒ T0): T0
Definition Classes
AnyRef
21. def toIntensity(cellType: CellType, x: Double)

Given a CellType and an intensity value in the unit interval, this function returns an corresponding intensity value appropriately scaled for the given cell type.

Given a CellType and an intensity value in the unit interval, this function returns an corresponding intensity value appropriately scaled for the given cell type.

Annotations
@inline()
22. def toString(): String
Definition Classes
AnyRef → Any
23. final def wait(): Unit
Definition Classes
AnyRef
Annotations
@throws( ... )
24. final def wait(arg0: Long, arg1: Int): Unit
Definition Classes
AnyRef
Annotations
@throws( ... )
25. final def wait(arg0: Long): Unit
Definition Classes
AnyRef
Annotations
@throws( ... ) @native()