keystoneml.nodes.images

RandomPatcher

case class RandomPatcher(numPatches: Int, patchSizeX: Int, patchSizeY: Int, seed: Long = 12334L) extends FunctionNode[RDD[Image], RDD[Image]] with Product with Serializable

Extract uniformly random patches from an image

numPatches

number of random patches to extract

patchSizeX

size of each patch along xDim

patchSizeY

size of each patch along yDim

returns

numPatches images of size patchSizeX x patchSizeY

Linear Supertypes
Product, Equals, FunctionNode[RDD[Image], RDD[Image]], Serializable, Serializable, (RDD[Image]) ⇒ RDD[Image], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RandomPatcher
  2. Product
  3. Equals
  4. FunctionNode
  5. Serializable
  6. Serializable
  7. Function1
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RandomPatcher(numPatches: Int, patchSizeX: Int, patchSizeY: Int, seed: Long = 12334L)

    numPatches

    number of random patches to extract

    patchSizeX

    size of each patch along xDim

    patchSizeY

    size of each patch along yDim

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def andThen[A](g: (RDD[Image]) ⇒ A): (RDD[Image]) ⇒ A

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. def apply(in: RDD[Image]): RDD[Image]

    Definition Classes
    RandomPatcher → Function1
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def compose[A](g: (A) ⇒ RDD[Image]): (A) ⇒ RDD[Image]

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  18. val numPatches: Int

    number of random patches to extract

  19. val patchSizeX: Int

    size of each patch along xDim

  20. val patchSizeY: Int

    size of each patch along yDim

  21. def randomPatchImage(in: Image): Iterator[Image]

  22. val rnd: Random

  23. val seed: Long

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    Function1 → AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from FunctionNode[RDD[Image], RDD[Image]]

Inherited from Serializable

Inherited from Serializable

Inherited from (RDD[Image]) ⇒ RDD[Image]

Inherited from AnyRef

Inherited from Any

Ungrouped