Stay organized with collections
Save and categorize content based on your preferences.
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 2020-04-20 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 2020-04-20 UTC."],[],[],null,["# Image Ops\n=========\n\nSummary\n-------\n\n| ### Classes ||\n|-------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|\n| [tensorflow::ops::AdjustContrast](/versions/r2.0/api_docs/cc/class/tensorflow/ops/adjust-contrast) | Adjust the contrast of one or more images. |\n| [tensorflow::ops::AdjustHue](/versions/r2.0/api_docs/cc/class/tensorflow/ops/adjust-hue) | Adjust the hue of one or more images. |\n| [tensorflow::ops::AdjustSaturation](/versions/r2.0/api_docs/cc/class/tensorflow/ops/adjust-saturation) | Adjust the saturation of one or more images. |\n| [tensorflow::ops::CombinedNonMaxSuppression](/versions/r2.0/api_docs/cc/class/tensorflow/ops/combined-non-max-suppression) | Greedily selects a subset of bounding boxes in descending order of score,. |\n| [tensorflow::ops::CropAndResize](/versions/r2.0/api_docs/cc/class/tensorflow/ops/crop-and-resize) | Extracts crops from the input image tensor and resizes them. |\n| [tensorflow::ops::CropAndResizeGradBoxes](/versions/r2.0/api_docs/cc/class/tensorflow/ops/crop-and-resize-grad-boxes) | Computes the gradient of the crop_and_resize op wrt the input boxes tensor. |\n| [tensorflow::ops::CropAndResizeGradImage](/versions/r2.0/api_docs/cc/class/tensorflow/ops/crop-and-resize-grad-image) | Computes the gradient of the crop_and_resize op wrt the input image tensor. |\n| [tensorflow::ops::DecodeAndCropJpeg](/versions/r2.0/api_docs/cc/class/tensorflow/ops/decode-and-crop-jpeg) | Decode and Crop a JPEG-encoded image to a uint8 tensor. |\n| [tensorflow::ops::DecodeBmp](/versions/r2.0/api_docs/cc/class/tensorflow/ops/decode-bmp) | Decode the first frame of a BMP-encoded image to a uint8 tensor. |\n| [tensorflow::ops::DecodeGif](/versions/r2.0/api_docs/cc/class/tensorflow/ops/decode-gif) | Decode the frame(s) of a GIF-encoded image to a uint8 tensor. |\n| [tensorflow::ops::DecodeJpeg](/versions/r2.0/api_docs/cc/class/tensorflow/ops/decode-jpeg) | Decode a JPEG-encoded image to a uint8 tensor. |\n| [tensorflow::ops::DecodePng](/versions/r2.0/api_docs/cc/class/tensorflow/ops/decode-png) | Decode a PNG-encoded image to a uint8 or uint16 tensor. |\n| [tensorflow::ops::DrawBoundingBoxes](/versions/r2.0/api_docs/cc/class/tensorflow/ops/draw-bounding-boxes) | Draw bounding boxes on a batch of images. |\n| [tensorflow::ops::DrawBoundingBoxesV2](/versions/r2.0/api_docs/cc/class/tensorflow/ops/draw-bounding-boxes-v2) | Draw bounding boxes on a batch of images. |\n| [tensorflow::ops::EncodeJpeg](/versions/r2.0/api_docs/cc/class/tensorflow/ops/encode-jpeg) | JPEG-encode an image. |\n| [tensorflow::ops::EncodeJpegVariableQuality](/versions/r2.0/api_docs/cc/class/tensorflow/ops/encode-jpeg-variable-quality) | JPEG encode input image with provided compression quality. |\n| [tensorflow::ops::EncodePng](/versions/r2.0/api_docs/cc/class/tensorflow/ops/encode-png) | PNG-encode an image. |\n| [tensorflow::ops::ExtractGlimpse](/versions/r2.0/api_docs/cc/class/tensorflow/ops/extract-glimpse) | Extracts a glimpse from the input tensor. |\n| [tensorflow::ops::ExtractJpegShape](/versions/r2.0/api_docs/cc/class/tensorflow/ops/extract-jpeg-shape) | Extract the shape information of a JPEG-encoded image. |\n| [tensorflow::ops::HSVToRGB](/versions/r2.0/api_docs/cc/class/tensorflow/ops/h-s-v-to-r-g-b) | Convert one or more images from HSV to RGB. |\n| [tensorflow::ops::NonMaxSuppression](/versions/r2.0/api_docs/cc/class/tensorflow/ops/non-max-suppression) | Greedily selects a subset of bounding boxes in descending order of score,. |\n| [tensorflow::ops::NonMaxSuppressionV2](/versions/r2.0/api_docs/cc/class/tensorflow/ops/non-max-suppression-v2) | Greedily selects a subset of bounding boxes in descending order of score,. |\n| [tensorflow::ops::NonMaxSuppressionV3](/versions/r2.0/api_docs/cc/class/tensorflow/ops/non-max-suppression-v3) | Greedily selects a subset of bounding boxes in descending order of score,. |\n| [tensorflow::ops::NonMaxSuppressionV4](/versions/r2.0/api_docs/cc/class/tensorflow/ops/non-max-suppression-v4) | Greedily selects a subset of bounding boxes in descending order of score,. |\n| [tensorflow::ops::NonMaxSuppressionV5](/versions/r2.0/api_docs/cc/class/tensorflow/ops/non-max-suppression-v5) | Greedily selects a subset of bounding boxes in descending order of score,. |\n| [tensorflow::ops::NonMaxSuppressionWithOverlaps](/versions/r2.0/api_docs/cc/class/tensorflow/ops/non-max-suppression-with-overlaps) | Greedily selects a subset of bounding boxes in descending order of score,. |\n| [tensorflow::ops::QuantizedResizeBilinear](/versions/r2.0/api_docs/cc/class/tensorflow/ops/quantized-resize-bilinear) | Resize quantized `images` to `size` using quantized bilinear interpolation. |\n| [tensorflow::ops::RGBToHSV](/versions/r2.0/api_docs/cc/class/tensorflow/ops/r-g-b-to-h-s-v) | Converts one or more images from RGB to HSV. |\n| [tensorflow::ops::ResizeArea](/versions/r2.0/api_docs/cc/class/tensorflow/ops/resize-area) | Resize `images` to `size` using area interpolation. |\n| [tensorflow::ops::ResizeBicubic](/versions/r2.0/api_docs/cc/class/tensorflow/ops/resize-bicubic) | Resize `images` to `size` using bicubic interpolation. |\n| [tensorflow::ops::ResizeBilinear](/versions/r2.0/api_docs/cc/class/tensorflow/ops/resize-bilinear) | Resize `images` to `size` using bilinear interpolation. |\n| [tensorflow::ops::ResizeNearestNeighbor](/versions/r2.0/api_docs/cc/class/tensorflow/ops/resize-nearest-neighbor) | Resize `images` to `size` using nearest neighbor interpolation. |\n| [tensorflow::ops::SampleDistortedBoundingBox](/versions/r2.0/api_docs/cc/class/tensorflow/ops/sample-distorted-bounding-box) | Generate a single randomly distorted bounding box for an image. |\n| [tensorflow::ops::SampleDistortedBoundingBoxV2](/versions/r2.0/api_docs/cc/class/tensorflow/ops/sample-distorted-bounding-box-v2) | Generate a single randomly distorted bounding box for an image. |\n| [tensorflow::ops::ScaleAndTranslate](/versions/r2.0/api_docs/cc/class/tensorflow/ops/scale-and-translate) | TODO: add doc. |"]]