trait Neighborhood extends Serializable

A definition of the shape and size of the neighborhood (or kernel) to be used in a focal operation.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Neighborhood
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val extent: Int

    How many cells past the focus the bounding box goes.

    How many cells past the focus the bounding box goes. (e.g., 1 for 3x3 square)

  2. abstract val hasMask: Boolean

    Whether or not this neighborhood has a mask the cursor of it's bounding box

Concrete Value Members

  1. def mask(col: Int, row: Int): Boolean

    Overridden to define the mask of Neighborhoods that have one col and row treat the mask as a raster, that is, (0,0) is the upper left corner, and (extent*2+1,extent*2+1) is the lower right corner

  2. def toString(): String
    Definition Classes
    Neighborhood → AnyRef → Any