Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package apache
    Definition Classes
    org
  • package spark
    Definition Classes
    apache
  • package ml

    DataFrame-based machine learning APIs to let users quickly assemble and configure practical machine learning pipelines.

    DataFrame-based machine learning APIs to let users quickly assemble and configure practical machine learning pipelines.

    Definition Classes
    spark
  • package image
    Definition Classes
    ml
  • ImageSchema
o

org.apache.spark.ml.image

ImageSchema

object ImageSchema

Defines the image schema and methods to read and manipulate images.

Annotations
@Since( "2.3.0" )
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImageSchema
  2. AnyRef
  3. 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() @HotSpotIntrinsicCandidate()
  6. val columnSchema: StructType

    Schema for the image column: Row(String, Int, Int, Int, Int, Array[Byte])

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def getData(row: Row): Array[Byte]

    Gets the image data

    Gets the image data

    returns

    The image data

  11. def getHeight(row: Row): Int

    Gets the height of the image

    Gets the height of the image

    returns

    The height of the image

  12. def getMode(row: Row): Int

    Gets the OpenCV representation as an int

    Gets the OpenCV representation as an int

    returns

    The OpenCV representation as an int

  13. def getNChannels(row: Row): Int

    Gets the number of channels in the image

    Gets the number of channels in the image

    returns

    The number of channels in the image

  14. def getOrigin(row: Row): String

    Gets the origin of the image

    Gets the origin of the image

    returns

    The origin of the image

  15. def getWidth(row: Row): Int

    Gets the width of the image

    Gets the width of the image

    returns

    The width of the image

  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. val imageFields: Array[String]
  18. val imageSchema: StructType

    DataFrame with a single column of images named "image" (nullable)

  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val javaOcvTypes: Map[String, Int]

    (Java-specific) OpenCV type mapping supported

  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. val ocvTypes: Map[String, Int]

    (Scala-specific) OpenCV type mapping supported

  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. val undefinedImageType: String
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Members