class CursorMedianCalc extends CursorCalculation[Tile] with IntArrayTileResult with MedianModeCalculation
- Alphabetic
- By Inheritance
- CursorMedianCalc
- MedianModeCalculation
- IntArrayTileResult
- CursorCalculation
- FocalCalculation
- Resulting
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CursorMedianCalc(r: Tile, n: Neighborhood, bounds: Option[GridBounds[Int]], extent: Int, target: TargetCell)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addValue(v: Int): Unit
Adds a value to the internal array, grouping values together but not ordering them.
Adds a value to the internal array, grouping values together but not ordering them. If you call this after calling addValueOrdered, you'll probably break the ordering, so use one or the other. This one is faster, according to timing data.
- Definition Classes
- MedianModeCalculation
-
def
addValueOrdered(v: Int): Unit
Adds a value to the internal array, ordering the values.
Adds a value to the internal array, ordering the values. If you call addValue after calling this you'll probably break the ordering, so use one or the other. This one is slower, according to timing data.
- Definition Classes
- MedianModeCalculation
-
val
analysisArea: Option[GridBounds[Int]]
- Definition Classes
- CursorCalculation
-
val
arr: Array[Int]
- Definition Classes
- MedianModeCalculation
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
bounds: GridBounds[Int]
- Definition Classes
- FocalCalculation
-
def
calc(r: Tile, cursor: Cursor): Unit
- Definition Classes
- CursorMedianCalc → CursorCalculation
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
cols: Int
IntArrayTile that will be returned by the focal calculation
IntArrayTile that will be returned by the focal calculation
- Definition Classes
- IntArrayTileResult
-
val
copyOriginalValue: (Int, Int, Int, Int) ⇒ Unit
Copies original value to result, (focusCol: Int, focusRow: Int, resultCol: Int, rowRow: Int) => Unit
Copies original value to result, (focusCol: Int, focusRow: Int, resultCol: Int, rowRow: Int) => Unit
- Definition Classes
- IntArrayTileResult → Resulting
-
val
currArrMax: Int
- Definition Classes
- MedianModeCalculation
-
val
d2: Int
- Definition Classes
- MedianModeCalculation
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
execute(): Tile
- Definition Classes
- CursorCalculation → FocalCalculation
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
initArray(extent: Int): Unit
- Definition Classes
- MedianModeCalculation
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
median: Int
Calculates the median.
Calculates the median. If you use this, make sure you've been only calling addValueOrdered
- Definition Classes
- MedianModeCalculation
-
def
mode: Int
Calculates the mode.
Calculates the mode. Works with addValue or addValueOrdered
- Definition Classes
- MedianModeCalculation
-
val
modeValue: Int
- Definition Classes
- MedianModeCalculation
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
r: Tile
- Definition Classes
- FocalCalculation
-
def
removeValue(v: Int): Unit
- Definition Classes
- MedianModeCalculation
-
def
reset(): Unit
- Definition Classes
- MedianModeCalculation
-
def
result: IntArrayTile
- Definition Classes
- IntArrayTileResult → Resulting
-
val
resultTile: IntArrayTile
- Definition Classes
- IntArrayTileResult
-
val
rows: Int
- Definition Classes
- IntArrayTileResult
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
target: TargetCell
- Definition Classes
- FocalCalculation
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
traversalStrategy: TraversalStrategy
- Definition Classes
- CursorCalculation
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()