object IfCell extends Serializable
Maps all cells matching cond
to Int trueValue
.
- Alphabetic
- By Inheritance
- IfCell
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
apply(r1: Tile, r2: Tile, cond: (Double, Double) ⇒ Boolean, trueValue: Double, falseValue: Double): Tile
Given a Double condition over two rasters, set the value of each cell in the output to a specified true or false value after testing the specified condition on the corresponding values in each of the two input rasters.
-
def
apply(r1: Tile, r2: Tile, cond: (Int, Int) ⇒ Boolean, trueValue: Int, falseValue: Int): Tile
Given a condition over two rasters, set the value of each cell in the output to a specified true or false value after testing the specified condition on the corresponding values in each of the two input rasters.
-
def
apply(r1: Tile, r2: Tile, cond: (Double, Double) ⇒ Boolean, trueValue: Double): Tile
Given a Double condition over two rasters, set the value of each cell in the output to a specified value if the condition is true given the corresponding values in each of the two input rasters.
-
def
apply(r1: Tile, r2: Tile, cond: (Int, Int) ⇒ Boolean, trueValue: Int): Tile
Given a condition over two rasters, set the value of each cell in the output to a specified value if the condition is true given the corresponding values in each of the two input rasters.
-
def
apply(r: Tile, cond: (Double) ⇒ Boolean, trueValue: Double, falseValue: Double): Tile
Set all values of output raster to one value or another based on whether a condition is true or false for Double values.
-
def
apply(r: Tile, cond: (Int) ⇒ Boolean, trueValue: Int, falseValue: Int): Tile
Set all values of output raster to one value or another based on whether a condition is true or false.
-
def
apply(r: Tile, cond: (Double) ⇒ Boolean, trueValue: Double): Tile
Maps all cells matching
cond
to DoubletrueValue
. -
def
apply(r: Tile, cond: (Int) ⇒ Boolean, trueValue: Int): Tile
Maps all cells matching
cond
to InttrueValue
.