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

RandomCrop

class RandomCrop extends Crop

Random crop a cropWidth x cropHeight patch from an image. The patch size should be less than the image size.

Linear Supertypes
Crop, FeatureTransformer, Transformer[ImageFeature, ImageFeature], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RandomCrop
  2. Crop
  3. FeatureTransformer
  4. Transformer
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RandomCrop(cropWidth: Int, cropHeight: Int, isClip: Boolean)

    cropWidth

    width after crop

    cropHeight

    height after crop

    isClip

    whether to clip the roi to image boundaries

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    FeatureTransformer
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def apply(imageFrame: ImageFrame): ImageFrame

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

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

    Apply this transformer to rdd

    Apply this transformer to rdd

    dataset

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

    Definition Classes
    Any
  12. def clone(): AnyRef

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

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def generateRoi(feature: ImageFeature): BoundingBox

    how to generate crop roi

    how to generate crop roi

    feature

    image feature

    returns

    crop roi

    Definition Classes
    RandomCropCrop
  18. final def getClass(): Class[_]

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

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

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

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def setOutKey(key: String): RandomCrop.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
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

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

    transform feature

    transform feature

    feature

    ImageFeature

    returns

    ImageFeature

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

    transform mat

    transform mat

    Definition Classes
    CropFeatureTransformer
  29. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Crop

Inherited from FeatureTransformer

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped