Summary.ImageOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
Public Methods
abstract
int
|
getColorspace()
Valid colorspace values are
1 - grayscale
2 - grayscale + alpha
3 - RGB
4 - RGBA
5 - DIGITAL_YUV
6 - BGRA
int32 colorspace = 3;
|
abstract
com.google.protobuf.ByteString
|
|
abstract
int
|
|
abstract
int
|
|
Public Methods
public
abstract
int
getColorspace
()
Valid colorspace values are
1 - grayscale
2 - grayscale + alpha
3 - RGB
4 - RGBA
5 - DIGITAL_YUV
6 - BGRA
int32 colorspace = 3;
public
abstract
com.google.protobuf.ByteString
getEncodedImageString
()
Image data in encoded format. All image formats supported by
image_codec::CoderUtil can be stored here.
bytes encoded_image_string = 4;
public
abstract
int
getHeight
()
Dimensions of the image.
int32 height = 1;
public
abstract
int
getWidth
()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# Summary.ImageOrBuilder\n\npublic static interface **Summary.ImageOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [Summary.Image](/jvm/api_docs/java/org/tensorflow/proto/framework/Summary.Image), [Summary.Image.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/Summary.Image.Builder) |--------------------------------------------------------------------------------------------------|------------------------------------------| | [Summary.Image](/jvm/api_docs/java/org/tensorflow/proto/framework/Summary.Image) | Protobuf type `tensorflow.Summary.Image` | | [Summary.Image.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/Summary.Image.Builder) | Protobuf type `tensorflow.Summary.Image` | |||\n\n### Public Methods\n\n|-----------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract int | [getColorspace](/jvm/api_docs/java/org/tensorflow/proto/framework/Summary.ImageOrBuilder#getColorspace())() ``` Valid colorspace values are 1 - grayscale 2 - grayscale + alpha 3 - RGB 4 - RGBA 5 - DIGITAL_YUV 6 - BGRA ``` `int32 colorspace = 3;` |\n| abstract com.google.protobuf.ByteString | [getEncodedImageString](/jvm/api_docs/java/org/tensorflow/proto/framework/Summary.ImageOrBuilder#getEncodedImageString())() ``` Image data in encoded format. ``` |\n| abstract int | [getHeight](/jvm/api_docs/java/org/tensorflow/proto/framework/Summary.ImageOrBuilder#getHeight())() ``` Dimensions of the image. ``` |\n| abstract int | [getWidth](/jvm/api_docs/java/org/tensorflow/proto/framework/Summary.ImageOrBuilder#getWidth())() `int32 width = 2;` |\n\nPublic Methods\n--------------\n\n#### public abstract int\n**getColorspace**\n()\n\n\u003cbr /\u003e\n\n```\n Valid colorspace values are\n 1 - grayscale\n 2 - grayscale + alpha\n 3 - RGB\n 4 - RGBA\n 5 - DIGITAL_YUV\n 6 - BGRA\n \n```\n`int32 colorspace = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getEncodedImageString**\n()\n\n\u003cbr /\u003e\n\n```\n Image data in encoded format. All image formats supported by\n image_codec::CoderUtil can be stored here.\n \n```\n`bytes encoded_image_string = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getHeight**\n()\n\n\u003cbr /\u003e\n\n```\n Dimensions of the image.\n \n```\n`int32 height = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getWidth**\n()\n\n`int32 width = 2;`"]]