Packages

object ImageTransformer extends DefaultParamsReadable[ImageTransformer] with Serializable

Pipelined image processing.

Linear Supertypes
Serializable, Serializable, DefaultParamsReadable[ImageTransformer], MLReadable[ImageTransformer], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImageTransformer
  2. Serializable
  3. Serializable
  4. DefaultParamsReadable
  5. MLReadable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def convertToTensor(matrices: Array[Mat]): Array[Array[Array[Double]]]

    Convert channel matrices to tensor in the shape of (C * H * W)

  7. def decodeImage(decodeMode: String)(r: Any): Option[(String, Mat)]

    Convert Spark image representation to OpenCV format.

  8. def encodeImage(path: String, image: Mat): Row

    Convert from OpenCV format to Dataframe Row.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def extractChannels(channelOrder: String)(image: Mat): Array[Mat]

    Extract channels from image.

  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def load(path: String): ImageTransformer
    Definition Classes
    ImageTransformer → MLReadable
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def normalizeChannels(means: Option[Array[Double]], stds: Option[Array[Double]], scaleFactor: Option[Double])(channels: Array[Mat]): Array[Mat]

    Normalize each channel.

  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def processImage(stages: Seq[ImageTransformerStage])(image: Mat): Mat

    Apply all OpenCV transformation stages to a single image.

    Apply all OpenCV transformation stages to a single image. Break on OpenCV errors.

  22. def read: MLReader[ImageTransformer]
    Definition Classes
    DefaultParamsReadable → MLReadable
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from DefaultParamsReadable[ImageTransformer]

Inherited from MLReadable[ImageTransformer]

Inherited from AnyRef

Inherited from Any

Ungrouped