Packages

class ImageTransformer extends Transformer with HasInputCol with HasOutputCol with Wrappable with ComplexParamsWritable with BasicLogging

Image processing stage. Please refer to OpenCV for additional information

Linear Supertypes
BasicLogging, ComplexParamsWritable, MLWritable, Wrappable, RWrappable, PythonWrappable, BaseWrappable, HasOutputCol, HasInputCol, Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImageTransformer
  2. BasicLogging
  3. ComplexParamsWritable
  4. MLWritable
  5. Wrappable
  6. RWrappable
  7. PythonWrappable
  8. BaseWrappable
  9. HasOutputCol
  10. HasInputCol
  11. Transformer
  12. PipelineStage
  13. Logging
  14. Params
  15. Serializable
  16. Serializable
  17. Identifiable
  18. AnyRef
  19. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ImageTransformer()
  2. new ImageTransformer(uid: String)

    uid

    The id of the module

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def blur(height: Double, width: Double): ImageTransformer.this.type
  7. def centerCrop(height: Int, width: Int): ImageTransformer.this.type
  8. lazy val classNameHelper: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  9. final def clear(param: Param[_]): ImageTransformer.this.type
    Definition Classes
    Params
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def colorFormat(format: Int): ImageTransformer.this.type
  12. val colorScaleFactor: DoubleParam
  13. def companionModelClassName: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  14. def copy(extra: ParamMap): Transformer
    Definition Classes
    ImageTransformer → Transformer → PipelineStage → Params
  15. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  16. lazy val copyrightLines: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  17. def crop(x: Int, y: Int, height: Int, width: Int): ImageTransformer.this.type
  18. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  19. val emptyStages: Array[Map[String, Any]]
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  22. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  23. def explainParams(): String
    Definition Classes
    Params
  24. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  25. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  26. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. def flip(flipCode: Int): ImageTransformer.this.type

    Flips the image

    Flips the image

    flipCode

    is a flag to specify how to flip the image: - 0 means flipping around the x-axis (i.e. up-down) - positive value (for example, 1) means flipping around y-axis (left-right) - negative value (for example, -1) means flipping around both axes (diagonally) See OpenCV documentation for details.

  28. def gaussianKernel(apertureSize: Int, sigma: Double): ImageTransformer.this.type
  29. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  30. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def getColorScaleFactor: Double
  32. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  33. def getInputCol: String

    Definition Classes
    HasInputCol
  34. def getNormalizeMean: Array[Double]
  35. def getNormalizeStd: Array[Double]
  36. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  37. def getOutputCol: String

    Definition Classes
    HasOutputCol
  38. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  39. def getStages: Array[Map[String, Any]]
  40. def getTensorChannelOrder: String
  41. def getTensorElementType: DataType
  42. def getToTensor: Boolean
  43. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  44. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  45. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  46. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  47. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  48. val inputCol: Param[String]

    The name of the input column

    The name of the input column

    Definition Classes
    HasInputCol
  49. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  50. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  51. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  52. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  53. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  54. def logBase(methodName: String): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  55. def logClass(): Unit
    Definition Classes
    BasicLogging
  56. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  57. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  58. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  59. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def logErrorBase(methodName: String, e: Exception): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  61. def logFit[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  62. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  63. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  64. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  65. def logPredict[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  66. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  67. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  68. def logTrain[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  69. def logTransform[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  70. def logVerb[T](verb: String, f: ⇒ T): T
    Definition Classes
    BasicLogging
  71. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  72. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  73. def makePyFile(conf: CodegenConfig): Unit
    Definition Classes
    PythonWrappable
  74. def makeRFile(conf: CodegenConfig): Unit
    Definition Classes
    RWrappable
  75. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  76. def normalize(mean: List[Double], std: List[Double], colorScaleFactor: Double): ImageTransformer.this.type

    For py4j invocation.

  77. def normalize(mean: Array[Double], std: Array[Double], colorScaleFactor: Double): ImageTransformer.this.type
  78. val normalizeMean: DoubleArrayParam
  79. val normalizeStd: DoubleArrayParam
  80. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  81. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  82. val outputCol: Param[String]

    The name of the output column

    The name of the output column

    Definition Classes
    HasOutputCol
  83. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  84. def pyAdditionalMethods: String
    Definition Classes
    PythonWrappable
  85. lazy val pyClassDoc: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  86. lazy val pyClassName: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  87. def pyExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  88. def pyExtraEstimatorMethods: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  89. lazy val pyInheritedClasses: Seq[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  90. def pyInitFunc(): String
    Definition Classes
    PythonWrappable
  91. lazy val pyInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    ImageTransformerPythonWrappable
  92. lazy val pyObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  93. def pyParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  94. def pyParamDefault[T](p: Param[T]): Option[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  95. def pyParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  96. def pyParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  97. def pyParamsArgs: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  98. def pyParamsDefaults: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  99. lazy val pyParamsDefinitions: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  100. def pyParamsGetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  101. def pyParamsSetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  102. def pythonClass(): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  103. def rClass(): String
    Attributes
    protected
    Definition Classes
    RWrappable
  104. def rDocString: String
    Attributes
    protected
    Definition Classes
    RWrappable
  105. def rExtraBodyLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  106. def rExtraInitLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  107. lazy val rFuncName: String
    Attributes
    protected
    Definition Classes
    RWrappable
  108. lazy val rInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    RWrappable
  109. def rParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    RWrappable
  110. def rParamsArgs: String
    Attributes
    protected
    Definition Classes
    RWrappable
  111. def rSetterLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  112. def resize(size: Int, keepAspectRatio: Boolean): ImageTransformer.this.type

    If keep aspect ratio is set to true, the shorter side of the image will be resized to the specified size.

  113. def resize(height: Int, width: Int): ImageTransformer.this.type
  114. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  115. final def set(paramPair: ParamPair[_]): ImageTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  116. final def set(param: String, value: Any): ImageTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  117. final def set[T](param: Param[T], value: T): ImageTransformer.this.type
    Definition Classes
    Params
  118. def setColorScaleFactor(value: Double): ImageTransformer.this.type
  119. final def setDefault(paramPairs: ParamPair[_]*): ImageTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  120. final def setDefault[T](param: Param[T], value: T): ImageTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  121. def setInputCol(value: String): ImageTransformer.this.type

    Definition Classes
    HasInputCol
  122. def setNormalizeMean(value: Array[Double]): ImageTransformer.this.type
  123. def setNormalizeStd(value: Array[Double]): ImageTransformer.this.type
  124. def setOutputCol(value: String): ImageTransformer.this.type

    Definition Classes
    HasOutputCol
  125. def setStages(value: Array[Map[String, Any]]): ImageTransformer.this.type
  126. def setTensorChannelOrder(value: String): ImageTransformer.this.type
  127. def setTensorElementType(value: DataType): ImageTransformer.this.type
  128. def setToTensor(value: Boolean): ImageTransformer.this.type
  129. val stages: ArrayMapParam
  130. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  131. val tensorChannelOrder: Param[String]
  132. val tensorElementType: DataTypeParam
  133. def threshold(threshold: Double, maxVal: Double, thresholdType: Int): ImageTransformer.this.type
  134. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  135. val toTensor: BooleanParam
  136. def transform(dataset: Dataset[_]): DataFrame
    Definition Classes
    ImageTransformer → Transformer
  137. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  138. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  139. def transformSchema(schema: StructType): StructType
    Definition Classes
    ImageTransformer → PipelineStage
  140. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  141. val uid: String
    Definition Classes
    ImageTransformerBasicLogging → Identifiable
  142. val ver: String
    Definition Classes
    BasicLogging
  143. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  144. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  145. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  146. def write: MLWriter
    Definition Classes
    ComplexParamsWritable → MLWritable

Inherited from BasicLogging

Inherited from ComplexParamsWritable

Inherited from MLWritable

Inherited from Wrappable

Inherited from RWrappable

Inherited from PythonWrappable

Inherited from BaseWrappable

Inherited from HasOutputCol

Inherited from HasInputCol

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

param

setParam

Ungrouped