ScaleKeepAspect
struct
defined in module
DataAugmentation
ScaleKeepAspect(minlengths) <: ProjectiveTransform
Scales the shortest side of
item
to
minlengths
, keeping the original aspect ratio.
using
DataAugmentation
,
TestImages
image
=
testimage
(
"
lighthouse
"
)
tfm
=
ScaleKeepAspect
(
(
200
,
200
)
)
apply
(
tfm
,
Image
(
image
)
)
|>
showitems
There is
1
method for DataAugmentation.ScaleKeepAspect
:
The following pages link back here: