com.intel.analytics.bigdl.transform.vision.image.augmentation
ColorJitter
Companion object ColorJitter
class ColorJitter extends FeatureTransformer
Random adjust brightness, contrast, hue, saturation
- Alphabetic
- By Inheritance
- ColorJitter
- FeatureTransformer
- Transformer
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ColorJitter(brightnessProb: Double, brightnessDelta: Double, contrastProb: Double, contrastLower: Double, contrastUpper: Double, hueProb: Double, hueDelta: Double, saturationProb: Double, saturationLower: Double, saturationUpper: Double, randomChannelOrderProb: Double, shuffle: Boolean = false)
- brightnessProb
probability to adjust brightness
- brightnessDelta
brightness parameter
- contrastProb
probability to adjust contrast
- contrastLower
contrast lower parameter
- contrastUpper
contrast upper parameter
- hueProb
probability to adjust hue
- hueDelta
hue parameter
- saturationProb
probability to adjust saturation
- saturationLower
saturation lower parameter
- saturationUpper
saturation upper parameter
- randomChannelOrderProb
random order for different operation
- shuffle
shuffle the transformers
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
->[C](other: Transformer[ImageFeature, C]): Transformer[ImageFeature, C]
- Definition Classes
- FeatureTransformer → Transformer
-
def
->(other: FeatureTransformer): FeatureTransformer
- Definition Classes
- FeatureTransformer
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(imageFrame: ImageFrame): ImageFrame
- Definition Classes
- FeatureTransformer
-
def
apply(prev: Iterator[ImageFeature]): Iterator[ImageFeature]
- Definition Classes
- FeatureTransformer → Transformer
-
def
apply(dataset: RDD[ImageFeature])(implicit evidence: ClassTag[ImageFeature]): RDD[ImageFeature]
Apply this transformer to rdd
Apply this transformer to rdd
- Definition Classes
- Transformer
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
cloneTransformer(): Transformer[ImageFeature, ImageFeature]
- Definition Classes
- Transformer
-
def
enableIgnoreException(): ColorJitter.this.type
catch the exception of the transformer to avoid crashing.
catch the exception of the transformer to avoid crashing.
- Definition Classes
- FeatureTransformer
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setOutKey(key: String): ColorJitter.this.type
set the output key to store current transformed result if the key is not set, or same as default, then the transformed result will be overwritted by the following transformer
set the output key to store current transformed result if the key is not set, or same as default, then the transformed result will be overwritted by the following transformer
- key
output key
- Definition Classes
- FeatureTransformer
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
transform(feature: ImageFeature): ImageFeature
transform feature
-
def
transformMat(feature: ImageFeature): Unit
transform mat
transform mat
- Definition Classes
- ColorJitter → FeatureTransformer
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )