public static class CropAndResize.Options extends Object
CropAndResize| Modifier and Type | Method and Description |
|---|---|
CropAndResize.Options |
extrapolationValue(Float extrapolationValue) |
CropAndResize.Options |
method(String method) |
public CropAndResize.Options method(String method)
method - A string specifying the sampling method for resizing. It can be either
`"bilinear"` or `"nearest"` and default to `"bilinear"`. Currently two sampling
methods are supported: Bilinear and Nearest Neighbor.public CropAndResize.Options extrapolationValue(Float extrapolationValue)
extrapolationValue - Value used for extrapolation, when applicable.Copyright © 2015–2019. All rights reserved.