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, 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. SynapseMLLogging
  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. 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. def dotnetAdditionalMethods: String
    Definition Classes
    DotnetWrappable
  21. def dotnetClass(): String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  22. lazy val dotnetClassName: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  23. lazy val dotnetClassNameString: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  24. lazy val dotnetClassWrapperName: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  25. lazy val dotnetCopyrightLines: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  26. def dotnetExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  27. def dotnetExtraMethods: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  28. lazy val dotnetInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  29. def dotnetMLReadWriteMethods: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  30. lazy val dotnetNamespace: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  31. lazy val dotnetObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  32. def dotnetParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  33. def dotnetParamGetters: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  34. def dotnetParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  35. def dotnetParamSetters: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  36. def dotnetWrapAsTypeMethod: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  37. val emptyStages: Array[Map[String, Any]]
  38. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  40. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  41. def explainParams(): String
    Definition Classes
    Params
  42. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  43. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  44. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  45. 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.

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

    Definition Classes
    HasInputCol
  54. def getNormalizeMean: Array[Double]
  55. def getNormalizeStd: Array[Double]
  56. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  57. def getOutputCol: String

    Definition Classes
    HasOutputCol
  58. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  59. def getParamInfo(p: Param[_]): ParamInfo[_]
    Definition Classes
    BaseWrappable
  60. def getPayload(methodName: String, numCols: Option[Int], executionSeconds: Option[Double], exception: Option[Exception]): Map[String, String]
    Attributes
    protected
    Definition Classes
    SynapseMLLogging
  61. def getStages: Array[Map[String, Any]]
  62. def getTensorChannelOrder: String
  63. def getTensorElementType: DataType
  64. def getToTensor: Boolean
  65. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  66. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  67. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  68. val ignoreDecodingErrors: BooleanParam
  69. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  70. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  71. val inputCol: Param[String]

    The name of the input column

    The name of the input column

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

    For py4j invocation.

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

    The name of the output column

    The name of the output column

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

  136. def resize(height: Int, width: Int): ImageTransformer.this.type
  137. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  138. final def set(paramPair: ParamPair[_]): ImageTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  139. final def set(param: String, value: Any): ImageTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  140. final def set[T](param: Param[T], value: T): ImageTransformer.this.type
    Definition Classes
    Params
  141. def setAutoConvertToColor(value: Boolean): ImageTransformer.this.type
  142. def setColorScaleFactor(value: Double): ImageTransformer.this.type
  143. final def setDefault(paramPairs: ParamPair[_]*): ImageTransformer.this.type
    Attributes
    protected
    Definition Classes
    Params
  144. final def setDefault[T](param: Param[T], value: T): ImageTransformer.this.type
    Attributes
    protected[org.apache.spark.ml]
    Definition Classes
    Params
  145. def setIgnoreDecodingErrors(value: Boolean): ImageTransformer.this.type
  146. def setInputCol(value: String): ImageTransformer.this.type

    Definition Classes
    HasInputCol
  147. def setNormalizeMean(value: Array[Double]): ImageTransformer.this.type
  148. def setNormalizeStd(value: Array[Double]): ImageTransformer.this.type
  149. def setOutputCol(value: String): ImageTransformer.this.type

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

Inherited from SynapseMLLogging

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