จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การดำเนินการด้านรูปภาพ
สรุป
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# Image Ops\n=========\n\nSummary\n-------\n\n| ### Classes ||\n|-------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|\n| [tensorflow::ops::AdjustContrast](/versions/r2.1/api_docs/cc/class/tensorflow/ops/adjust-contrast) | Adjust the contrast of one or more images. |\n| [tensorflow::ops::AdjustHue](/versions/r2.1/api_docs/cc/class/tensorflow/ops/adjust-hue) | Adjust the hue of one or more images. |\n| [tensorflow::ops::AdjustSaturation](/versions/r2.1/api_docs/cc/class/tensorflow/ops/adjust-saturation) | Adjust the saturation of one or more images. |\n| [tensorflow::ops::CombinedNonMaxSuppression](/versions/r2.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/api_docs/cc/class/tensorflow/ops/decode-jpeg) | Decode a JPEG-encoded image to a uint8 tensor. |\n| [tensorflow::ops::DecodePng](/versions/r2.1/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.1/api_docs/cc/class/tensorflow/ops/draw-bounding-boxes) | Draw bounding boxes on a batch of images. |\n| [tensorflow::ops::DrawBoundingBoxesV2](/versions/r2.1/api_docs/cc/class/tensorflow/ops/draw-bounding-boxes-v2) | Draw bounding boxes on a batch of images. |\n| [tensorflow::ops::EncodeJpeg](/versions/r2.1/api_docs/cc/class/tensorflow/ops/encode-jpeg) | JPEG-encode an image. |\n| [tensorflow::ops::EncodeJpegVariableQuality](/versions/r2.1/api_docs/cc/class/tensorflow/ops/encode-jpeg-variable-quality) | JPEG encode input image with provided compression quality. |\n| [tensorflow::ops::EncodePng](/versions/r2.1/api_docs/cc/class/tensorflow/ops/encode-png) | PNG-encode an image. |\n| [tensorflow::ops::ExtractGlimpse](/versions/r2.1/api_docs/cc/class/tensorflow/ops/extract-glimpse) | Extracts a glimpse from the input tensor. |\n| [tensorflow::ops::ExtractJpegShape](/versions/r2.1/api_docs/cc/class/tensorflow/ops/extract-jpeg-shape) | Extract the shape information of a JPEG-encoded image. |\n| [tensorflow::ops::HSVToRGB](/versions/r2.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/api_docs/cc/class/tensorflow/ops/quantized-resize-bilinear) | Resize quantized `images` to `size` using quantized bilinear interpolation. |\n| [tensorflow::ops::RGBToHSV](/versions/r2.1/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.1/api_docs/cc/class/tensorflow/ops/resize-area) | Resize `images` to `size` using area interpolation. |\n| [tensorflow::ops::ResizeBicubic](/versions/r2.1/api_docs/cc/class/tensorflow/ops/resize-bicubic) | Resize `images` to `size` using bicubic interpolation. |\n| [tensorflow::ops::ResizeBilinear](/versions/r2.1/api_docs/cc/class/tensorflow/ops/resize-bilinear) | Resize `images` to `size` using bilinear interpolation. |\n| [tensorflow::ops::ResizeNearestNeighbor](/versions/r2.1/api_docs/cc/class/tensorflow/ops/resize-nearest-neighbor) | Resize `images` to `size` using nearest neighbor interpolation. |\n| [tensorflow::ops::SampleDistortedBoundingBox](/versions/r2.1/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.1/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.1/api_docs/cc/class/tensorflow/ops/scale-and-translate) | TODO: add doc. |"]]