case class RoiResize(normalized: Boolean = false) extends FeatureTransformer with Product with Serializable
resize the roi according to scale
- normalized
whether the roi is normalized, i.e. in range [0, 1]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RoiResize
- Product
- Equals
- FeatureTransformer
- Transformer
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
RoiResize(normalized: Boolean = false)
- normalized
whether the roi is normalized, i.e. in range [0, 1]
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(): RoiResize.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
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()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val normalized: Boolean
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setOutKey(key: String): RoiResize.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
transform(feature: ImageFeature): ImageFeature
transform feature
-
def
transformMat(feature: ImageFeature): Unit
transform mat
transform mat
- Definition Classes
- RoiResize → 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( ... )