Class/Object

com.intel.analytics.bigdl.transform.vision.image.augmentation

RandomCropper

Related Docs: object RandomCropper | package augmentation

Permalink

class RandomCropper extends FeatureTransformer

Random cropper on uniform distribution with fixed height & width

Linear Supertypes
FeatureTransformer, Transformer[ImageFeature, ImageFeature], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RandomCropper
  2. FeatureTransformer
  3. Transformer
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RandomCropper(cropWidth: Int, cropHeight: Int, mirror: Boolean, cropperMethod: CropperMethod = CropRandom, channels: Int = 3)

    Permalink

    cropWidth

    width cropped to

    cropHeight

    height cropped to

    mirror

    whether mirror

    cropperMethod

    crop method

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ->[C](other: Transformer[ImageFeature, C]): Transformer[ImageFeature, C]

    Permalink
    Definition Classes
    FeatureTransformerTransformer
  4. def ->(other: FeatureTransformer): FeatureTransformer

    Permalink
    Definition Classes
    FeatureTransformer
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def apply(imageFrame: ImageFrame): ImageFrame

    Permalink
    Definition Classes
    FeatureTransformer
  7. def apply(prev: Iterator[ImageFeature]): Iterator[ImageFeature]

    Permalink
    Definition Classes
    FeatureTransformerTransformer
  8. def apply(dataset: RDD[ImageFeature])(implicit evidence: ClassTag[ImageFeature]): RDD[ImageFeature]

    Permalink

    Apply this transformer to rdd

    Apply this transformer to rdd

    Definition Classes
    Transformer
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. val buffer: Array[Float]

    Permalink
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def cloneTransformer(): Transformer[ImageFeature, ImageFeature]

    Permalink
    Definition Classes
    Transformer
  13. def enableIgnoreException(): RandomCropper.this.type

    Permalink

    catch the exception of the transformer to avoid crashing.

    catch the exception of the transformer to avoid crashing.

    Definition Classes
    FeatureTransformer
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def setOutKey(key: String): RandomCropper.this.type

    Permalink

    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
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def transform(feature: ImageFeature): ImageFeature

    Permalink

    transform feature

    transform feature

    feature

    ImageFeature

    returns

    ImageFeature

    Definition Classes
    FeatureTransformer
  27. def transformMat(feature: ImageFeature): Unit

    Permalink

    transform mat

    transform mat

    Attributes
    protected
    Definition Classes
    RandomCropperFeatureTransformer
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FeatureTransformer

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped