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, DotnetWrappable, 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. DotnetWrappable
  7. RWrappable
  8. PythonWrappable
  9. BaseWrappable
  10. HasOutputCol
  11. HasInputCol
  12. Transformer
  13. PipelineStage
  14. Logging
  15. Params
  16. Serializable
  17. Serializable
  18. Identifiable
  19. AnyRef
  20. 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. def dotnetAdditionalMethods: String
    Definition Classes
    DotnetWrappable
  20. def dotnetClass(): String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  21. lazy val dotnetClassName: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  22. lazy val dotnetClassNameString: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  23. lazy val dotnetClassWrapperName: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  24. lazy val dotnetCopyrightLines: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  25. def dotnetExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  26. def dotnetExtraMethods: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  27. lazy val dotnetInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  28. def dotnetMLReadWriteMethods: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  29. lazy val dotnetNamespace: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  30. lazy val dotnetObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  31. def dotnetParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  32. def dotnetParamGetters: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  33. def dotnetParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  34. def dotnetParamSetters: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  35. def dotnetWrapAsTypeMethod: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  36. val emptyStages: Array[Map[String, Any]]
  37. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  39. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  40. def explainParams(): String
    Definition Classes
    Params
  41. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  42. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  43. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  44. 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.

  45. def gaussianKernel(apertureSize: Int, sigma: Double): ImageTransformer.this.type
  46. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  47. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  48. def getColorScaleFactor: Double
  49. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  50. def getInputCol: String

    Definition Classes
    HasInputCol
  51. def getNormalizeMean: Array[Double]
  52. def getNormalizeStd: Array[Double]
  53. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  54. def getOutputCol: String

    Definition Classes
    HasOutputCol
  55. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  56. def getParamInfo(p: Param[_]): ParamInfo[_]
    Definition Classes
    BaseWrappable
  57. def getStages: Array[Map[String, Any]]
  58. def getTensorChannelOrder: String
  59. def getTensorElementType: DataType
  60. def getToTensor: Boolean
  61. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  62. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  63. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  64. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  65. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  66. val inputCol: Param[String]

    The name of the input column

    The name of the input column

    Definition Classes
    HasInputCol
  67. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  68. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  69. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  70. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  71. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  72. def logBase(methodName: String): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  73. def logClass(): Unit
    Definition Classes
    BasicLogging
  74. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  75. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  76. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  77. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  78. def logErrorBase(methodName: String, e: Exception): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  79. def logFit[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  80. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  81. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  82. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  83. def logPredict[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  84. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  85. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  86. def logTrain[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  87. def logTransform[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  88. def logVerb[T](verb: String, f: ⇒ T): T
    Definition Classes
    BasicLogging
  89. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  90. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  91. def makeDotnetFile(conf: CodegenConfig): Unit
    Definition Classes
    DotnetWrappable
  92. def makePyFile(conf: CodegenConfig): Unit
    Definition Classes
    PythonWrappable
  93. def makeRFile(conf: CodegenConfig): Unit
    Definition Classes
    RWrappable
  94. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  95. def normalize(mean: List[Double], std: List[Double], colorScaleFactor: Double): ImageTransformer.this.type

    For py4j invocation.

  96. def normalize(mean: Array[Double], std: Array[Double], colorScaleFactor: Double): ImageTransformer.this.type
  97. val normalizeMean: DoubleArrayParam
  98. val normalizeStd: DoubleArrayParam
  99. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  100. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  101. val outputCol: Param[String]

    The name of the output column

    The name of the output column

    Definition Classes
    HasOutputCol
  102. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  103. def pyAdditionalMethods: String
    Definition Classes
    PythonWrappable
  104. lazy val pyClassDoc: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  105. lazy val pyClassName: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  106. def pyExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  107. def pyExtraEstimatorMethods: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  108. lazy val pyInheritedClasses: Seq[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  109. def pyInitFunc(): String
    Definition Classes
    PythonWrappable
  110. lazy val pyInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    ImageTransformerPythonWrappable
  111. lazy val pyObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  112. def pyParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  113. def pyParamDefault[T](p: Param[T]): Option[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  114. def pyParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  115. def pyParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  116. def pyParamsArgs: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  117. def pyParamsDefaults: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  118. lazy val pyParamsDefinitions: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  119. def pyParamsGetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  120. def pyParamsSetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  121. def pythonClass(): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  122. def rClass(): String
    Attributes
    protected
    Definition Classes
    RWrappable
  123. def rDocString: String
    Attributes
    protected
    Definition Classes
    RWrappable
  124. def rExtraBodyLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  125. def rExtraInitLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  126. lazy val rFuncName: String
    Attributes
    protected
    Definition Classes
    RWrappable
  127. lazy val rInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    RWrappable
  128. def rParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    RWrappable
  129. def rParamsArgs: String
    Attributes
    protected
    Definition Classes
    RWrappable
  130. def rSetterLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  131. 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.

  132. def resize(height: Int, width: Int): ImageTransformer.this.type
  133. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  134. final def set(paramPair: ParamPair[_]): ImageTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  135. final def set(param: String, value: Any): ImageTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  136. final def set[T](param: Param[T], value: T): ImageTransformer.this.type
    Definition Classes
    Params
  137. def setColorScaleFactor(value: Double): ImageTransformer.this.type
  138. final def setDefault(paramPairs: ParamPair[_]*): ImageTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  139. final def setDefault[T](param: Param[T], value: T): ImageTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  140. def setInputCol(value: String): ImageTransformer.this.type

    Definition Classes
    HasInputCol
  141. def setNormalizeMean(value: Array[Double]): ImageTransformer.this.type
  142. def setNormalizeStd(value: Array[Double]): ImageTransformer.this.type
  143. def setOutputCol(value: String): ImageTransformer.this.type

    Definition Classes
    HasOutputCol
  144. def setStages(value: ArrayList[HashMap[String, Any]]): ImageTransformer.this.type
  145. def setStages(value: Array[Map[String, Any]]): ImageTransformer.this.type
  146. def setTensorChannelOrder(value: String): ImageTransformer.this.type
  147. def setTensorElementType(value: DataType): ImageTransformer.this.type
  148. def setToTensor(value: Boolean): ImageTransformer.this.type
  149. val stages: ArrayMapParam
  150. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  151. val tensorChannelOrder: Param[String]
  152. val tensorElementType: DataTypeParam
  153. val thisStage: Params
    Attributes
    protected
    Definition Classes
    BaseWrappable
  154. def threshold(threshold: Double, maxVal: Double, thresholdType: Int): ImageTransformer.this.type
  155. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  156. val toTensor: BooleanParam
  157. def transform(dataset: Dataset[_]): DataFrame
    Definition Classes
    ImageTransformer → Transformer
  158. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  159. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  160. def transformSchema(schema: StructType): StructType
    Definition Classes
    ImageTransformer → PipelineStage
  161. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  162. val uid: String
    Definition Classes
    ImageTransformerBasicLogging → Identifiable
  163. val ver: String
    Definition Classes
    BasicLogging
  164. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  165. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  166. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  167. def write: MLWriter
    Definition Classes
    ComplexParamsWritable → MLWritable

Inherited from BasicLogging

Inherited from ComplexParamsWritable

Inherited from MLWritable

Inherited from Wrappable

Inherited from DotnetWrappable

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