public static class ExtractGlimpse.Options extends Object
ExtractGlimpse
Modifier and Type | Method and Description |
---|---|
ExtractGlimpse.Options |
centered(Boolean centered) |
ExtractGlimpse.Options |
noise(String noise) |
ExtractGlimpse.Options |
normalized(Boolean normalized) |
ExtractGlimpse.Options |
uniformNoise(Boolean uniformNoise) |
public ExtractGlimpse.Options centered(Boolean centered)
centered
- indicates if the offset coordinates are centered relative to
the image, in which case the (0, 0) offset is relative to the center
of the input images. If false, the (0,0) offset corresponds to the
upper left corner of the input images.public ExtractGlimpse.Options normalized(Boolean normalized)
normalized
- indicates if the offset coordinates are normalized.public ExtractGlimpse.Options uniformNoise(Boolean uniformNoise)
uniformNoise
- indicates if the noise should be generated using a
uniform distribution or a Gaussian distribution.public ExtractGlimpse.Options noise(String noise)
noise
- indicates if the noise should `uniform`, `gaussian`, or
`zero`. The default is `uniform` which means the the noise type
will be decided by `uniform_noise`.Copyright © 2022. All rights reserved.