Packages

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

Image processing stage. Please refer to OpenCV for additional information

Linear Supertypes
SynapseMLLogging, 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. SynapseMLLogging
  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. val autoConvertToColor: BooleanParam
  7. def blur(height: Double, width: Double): ImageTransformer.this.type
  8. def centerCrop(height: Int, width: Int): ImageTransformer.this.type
  9. lazy val classNameHelper: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  10. final def clear(param: Param[_]): ImageTransformer.this.type
    Definition Classes
    Params
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. def colorFormat(format: Int): ImageTransformer.this.type
  13. val colorScaleFactor: DoubleParam
  14. def companionModelClassName: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  15. def copy(extra: ParamMap): Transformer
    Definition Classes
    ImageTransformer → Transformer → PipelineStage → Params
  16. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  17. lazy val copyrightLines: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  18. def crop(x: Int, y: Int, height: Int, width: Int): ImageTransformer.this.type
  19. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  20. val emptyStages: Array[Map[String, Any]]
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  23. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  24. def explainParams(): String
    Definition Classes
    Params
  25. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  26. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  27. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. 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.

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

    Definition Classes
    HasInputCol
  37. def getNormalizeMean: Array[Double]
  38. def getNormalizeStd: Array[Double]
  39. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  40. def getOutputCol: String

    Definition Classes
    HasOutputCol
  41. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  42. def getParamInfo(p: Param[_]): ParamInfo[_]
    Definition Classes
    BaseWrappable
  43. def getPayload(methodName: String, numCols: Option[Int], executionSeconds: Option[Double], exception: Option[Exception]): Map[String, String]
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  44. def getStages: Array[Map[String, Any]]
  45. def getTensorChannelOrder: String
  46. def getTensorElementType: DataType
  47. def getToTensor: Boolean
  48. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  49. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  50. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  51. val ignoreDecodingErrors: BooleanParam
  52. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  53. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  54. val inputCol: Param[String]

    The name of the input column

    The name of the input column

    Definition Classes
    HasInputCol
  55. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  56. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  57. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  58. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  59. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  60. def logBase(info: Map[String, String], featureName: Option[String]): Unit
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  61. def logBase(methodName: String, numCols: Option[Int], executionSeconds: Option[Double], featureName: Option[String]): Unit
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  62. def logClass(featureName: String): Unit
    Definition Classes
    SynapseMLLogging
  63. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  64. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  65. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  66. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  67. def logErrorBase(methodName: String, e: Exception): Unit
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  68. def logFit[T](f: ⇒ T, columns: Int): T
    Definition Classes
    SynapseMLLogging
  69. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  70. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  71. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  72. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  73. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  74. def logTransform[T](f: ⇒ T, columns: Int): T
    Definition Classes
    SynapseMLLogging
  75. def logVerb[T](verb: String, f: ⇒ T, columns: Option[Int] = None): T
    Definition Classes
    SynapseMLLogging
  76. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  77. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  78. def makePyFile(conf: CodegenConfig): Unit
    Definition Classes
    PythonWrappable
  79. def makeRFile(conf: CodegenConfig): Unit
    Definition Classes
    RWrappable
  80. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  81. def normalize(mean: List[Double], std: List[Double], colorScaleFactor: Double): ImageTransformer.this.type

    For py4j invocation.

  82. def normalize(mean: Array[Double], std: Array[Double], colorScaleFactor: Double): ImageTransformer.this.type
  83. val normalizeMean: DoubleArrayParam
  84. val normalizeStd: DoubleArrayParam
  85. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  86. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  87. val outputCol: Param[String]

    The name of the output column

    The name of the output column

    Definition Classes
    HasOutputCol
  88. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  89. def pyAdditionalMethods: String
    Definition Classes
    PythonWrappable
  90. lazy val pyClassDoc: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  91. lazy val pyClassName: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  92. def pyExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  93. def pyExtraEstimatorMethods: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  94. lazy val pyInheritedClasses: Seq[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  95. def pyInitFunc(): String
    Definition Classes
    PythonWrappable
  96. lazy val pyInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    ImageTransformerPythonWrappable
  97. lazy val pyObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  98. def pyParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  99. def pyParamDefault[T](p: Param[T]): Option[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  100. def pyParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  101. def pyParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  102. def pyParamsArgs: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  103. def pyParamsDefaults: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  104. lazy val pyParamsDefinitions: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  105. def pyParamsGetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  106. def pyParamsSetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  107. def pythonClass(): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  108. def rClass(): String
    Attributes
    protected
    Definition Classes
    RWrappable
  109. def rDocString: String
    Attributes
    protected
    Definition Classes
    RWrappable
  110. def rExtraBodyLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  111. def rExtraInitLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  112. lazy val rFuncName: String
    Attributes
    protected
    Definition Classes
    RWrappable
  113. lazy val rInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    RWrappable
  114. def rParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    RWrappable
  115. def rParamsArgs: String
    Attributes
    protected
    Definition Classes
    RWrappable
  116. def rSetterLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  117. 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.

  118. def resize(height: Int, width: Int): ImageTransformer.this.type
  119. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  120. final def set(paramPair: ParamPair[_]): ImageTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  121. final def set(param: String, value: Any): ImageTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  122. final def set[T](param: Param[T], value: T): ImageTransformer.this.type
    Definition Classes
    Params
  123. def setAutoConvertToColor(value: Boolean): ImageTransformer.this.type
  124. def setColorScaleFactor(value: Double): ImageTransformer.this.type
  125. final def setDefault(paramPairs: ParamPair[_]*): ImageTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  126. final def setDefault[T](param: Param[T], value: T): ImageTransformer.this.type
    Attributes
    protected[org.apache.spark.ml]
    Definition Classes
    Params
  127. def setIgnoreDecodingErrors(value: Boolean): ImageTransformer.this.type
  128. def setInputCol(value: String): ImageTransformer.this.type

    Definition Classes
    HasInputCol
  129. def setNormalizeMean(value: Array[Double]): ImageTransformer.this.type
  130. def setNormalizeStd(value: Array[Double]): ImageTransformer.this.type
  131. def setOutputCol(value: String): ImageTransformer.this.type

    Definition Classes
    HasOutputCol
  132. def setStages(jsonString: String): ImageTransformer.this.type
  133. def setStages(value: ArrayList[HashMap[String, Any]]): ImageTransformer.this.type
  134. def setStages(value: Array[Map[String, Any]]): ImageTransformer.this.type
  135. def setTensorChannelOrder(value: String): ImageTransformer.this.type
  136. def setTensorElementType(value: DataType): ImageTransformer.this.type
  137. def setToTensor(value: Boolean): ImageTransformer.this.type
  138. val stages: ArrayMapParam
  139. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  140. val tensorChannelOrder: Param[String]
  141. val tensorElementType: DataTypeParam
  142. val thisStage: Params
    Attributes
    protected
    Definition Classes
    BaseWrappable
  143. def threshold(threshold: Double, maxVal: Double, thresholdType: Int): ImageTransformer.this.type
  144. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  145. val toTensor: BooleanParam
  146. def transform(dataset: Dataset[_]): DataFrame
    Definition Classes
    ImageTransformer → Transformer
  147. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  148. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  149. def transformSchema(schema: StructType): StructType
    Definition Classes
    ImageTransformer → PipelineStage
  150. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  151. val uid: String
    Definition Classes
    ImageTransformerSynapseMLLogging → Identifiable
  152. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  153. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  154. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  155. def write: MLWriter
    Definition Classes
    ComplexParamsWritable → MLWritable

Inherited from SynapseMLLogging

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