ImageProperties.Builder

public static abstract class ImageProperties.Builder

Builder for ImageProperties. Different image objects may require different properties. See the detais below:

    TensorBuffer:
  • Mandatory proterties: height / width / colorSpaceType. The shape of the TensorBuffer object will not be used to determine image height and width.

Public Constructors

Public Methods

Inherited Methods

boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Constructors

public Builder ()

Public Methods

public ImageProperties build ()

public abstract ImageProperties.Builder setColorSpaceType (ColorSpaceType colorSpaceType)

Parameters
colorSpaceType

public abstract ImageProperties.Builder setHeight (int height)

Parameters
height

public abstract ImageProperties.Builder setWidth (int width)

Parameters
width