Back to Tensorflow

ImageProperties

tensorflow/lite/g3doc/api_docs/java/org/tensorflow/lite/support/image/ImageProperties.html

2.21.02.2 KB
Original Source

public abstract class ImageProperties

Represents the properties of an image object when being loaded to a TensorImage. See TensorImage.load(Bitmap). ImageProperties currently is only used with TensorBuffer.

Nested Classes

| class | ImageProperties.Builder | Builder for ImageProperties. |

Public Constructors

| | ImageProperties() |

Public Methods

| static ImageProperties.Builder | builder() | | abstract ColorSpaceType | getColorSpaceType() | | abstract int | getHeight() | | abstract int | getWidth() |

Inherited Methods

From class java.lang.Object

| 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 ImageProperties ()

Public Methods

public static ImageProperties.Builder builder ()

public abstract ColorSpaceType getColorSpaceType ()

public abstract int getHeight ()

public abstract int getWidth ()