public static abstract class
ImageProperties.Builder
Builder for ImageProperties
. Different image objects may require different properties.
See the detais below:
- Mandatory proterties: height / width / colorSpaceType. The shape of the TensorBuffer object will not be used to determine image height and width.
TensorBuffer
:
Public Constructors
Builder()
|
Public Methods
ImageProperties |
build()
|
abstract ImageProperties.Builder |
setColorSpaceType(ColorSpaceType colorSpaceType)
|
abstract ImageProperties.Builder |
setHeight(int height)
|
abstract ImageProperties.Builder |
setWidth(int width)
|
Inherited Methods
Public Constructors
public Builder ()
Public Methods
public abstract ImageProperties.Builder setColorSpaceType (ColorSpaceType colorSpaceType)
Parameters
colorSpaceType |
---|