object HistogramMatching
Uses the approach given here: http://fourier.eng.hmc.edu/e161/lectures/contrast_transform/node3.html
- Alphabetic
- By Inheritance
- HistogramMatching
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
apply[T <: AnyVal](tile: MultibandTile, targetHistograms: Seq[histogram.Histogram[T]]): MultibandTile
Given a MultibandTile, and a sequence of target geotrellis.raster.histogram.Histogram objects, this function produces a tile whose bands have been respectively matched to the target histograms.
Given a MultibandTile, and a sequence of target geotrellis.raster.histogram.Histogram objects, this function produces a tile whose bands have been respectively matched to the target histograms.
- tile
The source tile
- targetHistograms
The target histograms for the bands of the output tile
- returns
The histogram-matched tile
-
def
apply[T1 <: AnyVal, T2 <: AnyVal](tile: MultibandTile, sourceHistograms: Seq[histogram.Histogram[T1]], targetHistograms: Seq[histogram.Histogram[T2]]): MultibandTile
Given a MultibandTile, a sequence of source geotrellis.raster.histogram.Histogram objects (ostensibly those of the bands of the tile), and a sequence of target histograms, this function produces a tile whose bands have been respectively matched to the target histograms.
Given a MultibandTile, a sequence of source geotrellis.raster.histogram.Histogram objects (ostensibly those of the bands of the tile), and a sequence of target histograms, this function produces a tile whose bands have been respectively matched to the target histograms.
- tile
The source tile
- sourceHistograms
The ostensible histograms of the bands of the tile
- targetHistograms
The target histograms for the bands of the output tile
- returns
The histogram-matched tile
-
def
apply[T <: AnyVal](tile: Tile, targetHistogram: histogram.Histogram[T]): Tile
Given a Tile and a target geotrellis.raster.histogram.Histogram, this function produces a tile whose histogram has been matched to the target histogram.
Given a Tile and a target geotrellis.raster.histogram.Histogram, this function produces a tile whose histogram has been matched to the target histogram.
- tile
The source tile
- targetHistogram
The target histogram of the output tile
- returns
The histogram-matched tile
-
def
apply[T1 <: AnyVal, T2 <: AnyVal](tile: Tile, sourceHistogram: histogram.Histogram[T1], targetHistogram: histogram.Histogram[T2]): Tile
Given a Tile, a source geotrellis.raster.histogram.Histogram (ostensibly that of the tile), and a target histogram, this function produces a tile whose histogram has been matched to the target histogram.
Given a Tile, a source geotrellis.raster.histogram.Histogram (ostensibly that of the tile), and a target histogram, this function produces a tile whose histogram has been matched to the target histogram.
- tile
The source tile
- sourceHistogram
The ostensible histogram of the tile
- targetHistogram
The target histogram of the output tile
- returns
The histogram-matched tile