Object

com.microsoft.ml.spark.schema

ImageSchema

Related Doc: package schema

Permalink

object ImageSchema

Linear Supertypes
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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val columnSchema: StructType

    Permalink

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

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def getBytes(row: Row): Array[Byte]

    Permalink
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getHeight(row: Row): Int

    Permalink
  13. def getOCVType(img: BufferedImage): Int

    Permalink

    Returns the OCV type (int) of the passed-in image

  14. def getPath(row: Row): String

    Permalink
  15. def getType(row: Row): Int

    Permalink
  16. def getWidth(row: Row): Int

    Permalink
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def isImage(df: DataFrame, column: String): Boolean

    Permalink

    Check if the dataframe column contains images (i.e.

    Check if the dataframe column contains images (i.e. has imageSchema)

  19. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def safeRead(bytes: Array[Byte]): Option[BufferedImage]

    Permalink
  24. val schema: StructType

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

    Permalink
    Definition Classes
    AnyRef
  26. def toBufferedImage(bytes: Array[Byte], w: Int, h: Int): BufferedImage

    Permalink
  27. def toBufferedImage(row: Row): BufferedImage

    Permalink
  28. def toSparkImage(image: BufferedImage, origin: Option[String] = None): Row

    Permalink

    Takes a Java BufferedImage and returns a Row Image (spImage).

    Takes a Java BufferedImage and returns a Row Image (spImage).

    image

    Java BufferedImage.

    returns

    Row image in spark.ml.image format with channels in BGR(A) order.

  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Members