Module: tf.contrib.image
Stay organized with collections
Save and categorize content based on your preferences.
Ops for image manipulation.
API
This module provides functions for image manipulation; currently, chrominance
transforms (including changing saturation and hue) in YIQ space and
projective transforms (including rotation) are supported.
Image Segmentation Ops
Matching Ops
Random Dot Stereogram Ops
Functions
angles_to_projective_transforms(...)
: Returns projective transform(s) for the given angle(s).
bipartite_match(...)
: Find bipartite matching based on a given distance matrix.
compose_transforms(...)
: Composes the transforms tensors.
connected_components(...)
: Labels the connected components in a batch of images.
dense_image_warp(...)
: Image warping using per-pixel flow vectors.
flat_transforms_to_matrices(...)
: Converts tf.contrib.image
projective transforms to affine matrices.
interpolate_spline(...)
: Interpolate signal using polyharmonic interpolation.
matrices_to_flat_transforms(...)
: Converts affine matrices to tf.contrib.image
projective transforms.
rotate(...)
: Rotate image(s) counterclockwise by the passed angle(s) in radians.
single_image_random_dot_stereograms(...)
: Output a RandomDotStereogram Tensor for export via encode_PNG/JPG OP.
sparse_image_warp(...)
: Image warping using correspondences between sparse control points.
transform(...)
: Applies the given transform(s) to the image(s).
translate(...)
: Translate image(s) by the passed vectors(s).
translations_to_projective_transforms(...)
: Returns projective transform(s) for the given translation(s).
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-10-01 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-10-01 UTC."],[],[],null,["# Module: tf.contrib.image\n\n\u003cbr /\u003e\n\n|---------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/image/__init__.py) |\n\nOps for image manipulation.\n\n### API\n\nThis module provides functions for image manipulation; currently, chrominance\ntransforms (including changing saturation and hue) in YIQ space and\nprojective transforms (including rotation) are supported.\n\nImage Transformation `Ops`\n--------------------------\n\nImage Segmentation `Ops`\n------------------------\n\nMatching `Ops`\n--------------\n\nRandom Dot Stereogram `Ops`\n---------------------------\n\nFunctions\n---------\n\n[`angles_to_projective_transforms(...)`](../../tf/contrib/image/angles_to_projective_transforms): Returns projective transform(s) for the given angle(s).\n\n[`bipartite_match(...)`](../../tf/contrib/image/bipartite_match): Find bipartite matching based on a given distance matrix.\n\n[`compose_transforms(...)`](../../tf/contrib/image/compose_transforms): Composes the transforms tensors.\n\n[`connected_components(...)`](../../tf/contrib/image/connected_components): Labels the connected components in a batch of images.\n\n[`dense_image_warp(...)`](../../tf/contrib/image/dense_image_warp): Image warping using per-pixel flow vectors.\n\n[`flat_transforms_to_matrices(...)`](../../tf/contrib/image/flat_transforms_to_matrices): Converts [`tf.contrib.image`](../../tf/contrib/image) projective transforms to affine matrices.\n\n[`interpolate_spline(...)`](../../tf/contrib/image/interpolate_spline): Interpolate signal using polyharmonic interpolation.\n\n[`matrices_to_flat_transforms(...)`](../../tf/contrib/image/matrices_to_flat_transforms): Converts affine matrices to [`tf.contrib.image`](../../tf/contrib/image) projective transforms.\n\n[`rotate(...)`](../../tf/contrib/image/rotate): Rotate image(s) counterclockwise by the passed angle(s) in radians.\n\n[`single_image_random_dot_stereograms(...)`](../../tf/contrib/image/single_image_random_dot_stereograms): Output a RandomDotStereogram Tensor for export via encode_PNG/JPG OP.\n\n[`sparse_image_warp(...)`](../../tf/contrib/image/sparse_image_warp): Image warping using correspondences between sparse control points.\n\n[`transform(...)`](../../tf/contrib/image/transform): Applies the given transform(s) to the image(s).\n\n[`translate(...)`](../../tf/contrib/image/translate): Translate image(s) by the passed vectors(s).\n\n[`translations_to_projective_transforms(...)`](../../tf/contrib/image/translations_to_projective_transforms): Returns projective transform(s) for the given translation(s)."]]