Type gen_image_ops
Namespace tensorflow.python.ops.gen_image_ops
Methods
- adjust_contrast
- adjust_contrast_dyn
- adjust_contrast_eager_fallback
- adjust_contrast_eager_fallback_dyn
- adjust_contrastv2
- adjust_contrastv2
- adjust_contrastv2_dyn
- adjust_contrastv2_eager_fallback
- adjust_contrastv2_eager_fallback_dyn
- adjust_hue
- adjust_hue_dyn
- adjust_hue_eager_fallback
- adjust_hue_eager_fallback_dyn
- adjust_saturation
- adjust_saturation_dyn
- adjust_saturation_eager_fallback
- adjust_saturation_eager_fallback_dyn
- combined_non_max_suppression
- combined_non_max_suppression_dyn
- combined_non_max_suppression_eager_fallback
- combined_non_max_suppression_eager_fallback_dyn
- crop_and_resize
- crop_and_resize_eager_fallback
- crop_and_resize_eager_fallback
- crop_and_resize_eager_fallback
- crop_and_resize_eager_fallback
- crop_and_resize_eager_fallback_dyn
- crop_and_resize_grad_boxes
- crop_and_resize_grad_boxes_dyn
- crop_and_resize_grad_boxes_eager_fallback
- crop_and_resize_grad_boxes_eager_fallback
- crop_and_resize_grad_boxes_eager_fallback_dyn
- crop_and_resize_grad_image
- crop_and_resize_grad_image_dyn
- crop_and_resize_grad_image_eager_fallback
- crop_and_resize_grad_image_eager_fallback
- crop_and_resize_grad_image_eager_fallback_dyn
- decode_and_crop_jpeg_eager_fallback
- decode_and_crop_jpeg_eager_fallback
- decode_and_crop_jpeg_eager_fallback
- decode_and_crop_jpeg_eager_fallback
- decode_and_crop_jpeg_eager_fallback_dyn
- decode_bmp_eager_fallback
- decode_bmp_eager_fallback_dyn
- decode_gif_eager_fallback
- decode_gif_eager_fallback_dyn
- decode_jpeg_eager_fallback
- decode_jpeg_eager_fallback
- decode_jpeg_eager_fallback
- decode_jpeg_eager_fallback
- decode_jpeg_eager_fallback_dyn
- decode_png_eager_fallback
- decode_png_eager_fallback_dyn
- draw_bounding_boxes
- draw_bounding_boxes_dyn
- draw_bounding_boxes_eager_fallback
- draw_bounding_boxes_eager_fallback_dyn
- draw_bounding_boxes_v2
- draw_bounding_boxes_v2_dyn
- draw_bounding_boxes_v2_eager_fallback
- draw_bounding_boxes_v2_eager_fallback_dyn
- encode_jpeg_eager_fallback
- encode_jpeg_eager_fallback
- encode_jpeg_eager_fallback
- encode_jpeg_eager_fallback
- encode_jpeg_eager_fallback
- encode_jpeg_eager_fallback
- encode_jpeg_eager_fallback
- encode_jpeg_eager_fallback
- encode_jpeg_eager_fallback
- encode_jpeg_eager_fallback
- encode_jpeg_eager_fallback
- encode_jpeg_eager_fallback
- encode_jpeg_eager_fallback
- encode_jpeg_eager_fallback
- encode_jpeg_eager_fallback
- encode_jpeg_eager_fallback
- encode_jpeg_eager_fallback_dyn
- encode_jpeg_variable_quality
- encode_jpeg_variable_quality_dyn
- encode_jpeg_variable_quality_eager_fallback
- encode_jpeg_variable_quality_eager_fallback_dyn
- encode_png_eager_fallback
- encode_png_eager_fallback_dyn
- extract_glimpse
- extract_glimpse_dyn
- extract_glimpse_eager_fallback
- extract_glimpse_eager_fallback
- extract_glimpse_eager_fallback_dyn
- extract_jpeg_shape_eager_fallback
- extract_jpeg_shape_eager_fallback_dyn
- hsv_to_rgb_eager_fallback
- hsv_to_rgb_eager_fallback_dyn
- non_max_suppression
- non_max_suppression
- non_max_suppression
- non_max_suppression_dyn
- non_max_suppression_eager_fallback
- non_max_suppression_eager_fallback
- non_max_suppression_eager_fallback
- non_max_suppression_eager_fallback_dyn
- non_max_suppression_v2
- non_max_suppression_v2_dyn
- non_max_suppression_v2_eager_fallback
- non_max_suppression_v2_eager_fallback_dyn
- non_max_suppression_v3
- non_max_suppression_v3_dyn
- non_max_suppression_v3_eager_fallback
- non_max_suppression_v3_eager_fallback_dyn
- non_max_suppression_v4
- non_max_suppression_v4_dyn
- non_max_suppression_v4_eager_fallback
- non_max_suppression_v4_eager_fallback_dyn
- non_max_suppression_v5
- non_max_suppression_v5_dyn
- non_max_suppression_v5_eager_fallback
- non_max_suppression_v5_eager_fallback_dyn
- non_max_suppression_with_overlaps
- non_max_suppression_with_overlaps_dyn
- non_max_suppression_with_overlaps_eager_fallback
- non_max_suppression_with_overlaps_eager_fallback_dyn
- quantized_resize_bilinear
- quantized_resize_bilinear_dyn
- quantized_resize_bilinear_eager_fallback
- quantized_resize_bilinear_eager_fallback_dyn
- random_crop
- random_crop_dyn
- random_crop_eager_fallback
- random_crop_eager_fallback_dyn
- resize_area_eager_fallback
- resize_area_eager_fallback_dyn
- resize_bicubic
- resize_bicubic
- resize_bicubic_dyn
- resize_bicubic_eager_fallback
- resize_bicubic_eager_fallback_dyn
- resize_bicubic_grad
- resize_bicubic_grad_dyn
- resize_bicubic_grad_eager_fallback
- resize_bicubic_grad_eager_fallback_dyn
- resize_bilinear
- resize_bilinear
- resize_bilinear_dyn
- resize_bilinear_eager_fallback
- resize_bilinear_eager_fallback_dyn
- resize_bilinear_grad
- resize_bilinear_grad_dyn
- resize_bilinear_grad_eager_fallback
- resize_bilinear_grad_eager_fallback_dyn
- resize_nearest_neighbor
- resize_nearest_neighbor
- resize_nearest_neighbor_dyn
- resize_nearest_neighbor_eager_fallback
- resize_nearest_neighbor_eager_fallback_dyn
- resize_nearest_neighbor_grad
- resize_nearest_neighbor_grad_dyn
- resize_nearest_neighbor_grad_eager_fallback
- resize_nearest_neighbor_grad_eager_fallback_dyn
- rgb_to_hsv_eager_fallback
- rgb_to_hsv_eager_fallback_dyn
- sample_distorted_bounding_box
- sample_distorted_bounding_box
- sample_distorted_bounding_box
- sample_distorted_bounding_box
- sample_distorted_bounding_box
- sample_distorted_bounding_box
- sample_distorted_bounding_box
- sample_distorted_bounding_box
- sample_distorted_bounding_box_dyn
- sample_distorted_bounding_box_eager_fallback
- sample_distorted_bounding_box_eager_fallback
- sample_distorted_bounding_box_eager_fallback
- sample_distorted_bounding_box_eager_fallback
- sample_distorted_bounding_box_eager_fallback
- sample_distorted_bounding_box_eager_fallback
- sample_distorted_bounding_box_eager_fallback
- sample_distorted_bounding_box_eager_fallback
- sample_distorted_bounding_box_eager_fallback_dyn
- sample_distorted_bounding_box_v2
- sample_distorted_bounding_box_v2
- sample_distorted_bounding_box_v2
- sample_distorted_bounding_box_v2
- sample_distorted_bounding_box_v2_dyn
- sample_distorted_bounding_box_v2_eager_fallback
- sample_distorted_bounding_box_v2_eager_fallback_dyn
- scale_and_translate
- scale_and_translate_dyn
- scale_and_translate_eager_fallback
- scale_and_translate_eager_fallback
- scale_and_translate_eager_fallback_dyn
- scale_and_translate_grad
- scale_and_translate_grad_dyn
- scale_and_translate_grad_eager_fallback
- scale_and_translate_grad_eager_fallback
- scale_and_translate_grad_eager_fallback_dyn
Properties
- adjust_contrast_eager_fallback_fn
- adjust_contrast_fn
- adjust_contrastv2_eager_fallback_fn
- adjust_contrastv2_fn
- adjust_hue_eager_fallback_fn
- adjust_hue_fn
- adjust_saturation_eager_fallback_fn
- adjust_saturation_fn
- combined_non_max_suppression_eager_fallback_fn
- combined_non_max_suppression_fn
- crop_and_resize_eager_fallback_fn
- crop_and_resize_fn
- crop_and_resize_grad_boxes_eager_fallback_fn
- crop_and_resize_grad_boxes_fn
- crop_and_resize_grad_image_eager_fallback_fn
- crop_and_resize_grad_image_fn
- decode_and_crop_jpeg_eager_fallback_fn
- decode_bmp_eager_fallback_fn
- decode_gif_eager_fallback_fn
- decode_jpeg_eager_fallback_fn
- decode_png_eager_fallback_fn
- draw_bounding_boxes_eager_fallback_fn
- draw_bounding_boxes_fn
- draw_bounding_boxes_v2_eager_fallback_fn
- draw_bounding_boxes_v2_fn
- encode_jpeg_eager_fallback_fn
- encode_jpeg_variable_quality_eager_fallback_fn
- encode_jpeg_variable_quality_fn
- encode_png_eager_fallback_fn
- extract_glimpse_eager_fallback_fn
- extract_glimpse_fn
- extract_jpeg_shape_eager_fallback_fn
- hsv_to_rgb_eager_fallback_fn
- non_max_suppression_eager_fallback_fn
- non_max_suppression_fn
- non_max_suppression_v2_eager_fallback_fn
- non_max_suppression_v2_fn
- non_max_suppression_v3_eager_fallback_fn
- non_max_suppression_v3_fn
- non_max_suppression_v4_eager_fallback_fn
- non_max_suppression_v4_fn
- non_max_suppression_v5_eager_fallback_fn
- non_max_suppression_v5_fn
- non_max_suppression_with_overlaps_eager_fallback_fn
- non_max_suppression_with_overlaps_fn
- quantized_resize_bilinear_eager_fallback_fn
- quantized_resize_bilinear_fn
- random_crop_eager_fallback_fn
- random_crop_fn
- resize_area_eager_fallback_fn
- resize_bicubic_eager_fallback_fn
- resize_bicubic_fn
- resize_bicubic_grad_eager_fallback_fn
- resize_bicubic_grad_fn
- resize_bilinear_eager_fallback_fn
- resize_bilinear_fn
- resize_bilinear_grad_eager_fallback_fn
- resize_bilinear_grad_fn
- resize_nearest_neighbor_eager_fallback_fn
- resize_nearest_neighbor_fn
- resize_nearest_neighbor_grad_eager_fallback_fn
- resize_nearest_neighbor_grad_fn
- rgb_to_hsv_eager_fallback_fn
- sample_distorted_bounding_box_eager_fallback_fn
- sample_distorted_bounding_box_fn
- sample_distorted_bounding_box_v2_eager_fallback_fn
- sample_distorted_bounding_box_v2_fn
- scale_and_translate_eager_fallback_fn
- scale_and_translate_fn
- scale_and_translate_grad_eager_fallback_fn
- scale_and_translate_grad_fn
Public static methods
Tensor adjust_contrast(IGraphNodeBase images, IGraphNodeBase contrast_factor, IGraphNodeBase min_value, IGraphNodeBase max_value, string name)
object adjust_contrast_dyn(object images, object contrast_factor, object min_value, object max_value, object name)
object adjust_contrast_eager_fallback(IGraphNodeBase images, IGraphNodeBase contrast_factor, IGraphNodeBase min_value, IGraphNodeBase max_value, string name, Context ctx)
object adjust_contrast_eager_fallback_dyn(object images, object contrast_factor, object min_value, object max_value, object name, object ctx)
Tensor adjust_contrastv2(IGraphNodeBase images, IGraphNodeBase contrast_factor, PythonFunctionContainer name)
Tensor adjust_contrastv2(IGraphNodeBase images, IGraphNodeBase contrast_factor, string name)
object adjust_contrastv2_dyn(object images, object contrast_factor, object name)
object adjust_contrastv2_eager_fallback(IGraphNodeBase images, IGraphNodeBase contrast_factor, string name, Context ctx)
object adjust_contrastv2_eager_fallback_dyn(object images, object contrast_factor, object name, object ctx)
Tensor adjust_hue(IGraphNodeBase images, IGraphNodeBase delta, string name)
Adjust hue of RGB images. This is a convenience method that converts an RGB image to float
representation, converts it to HSV, add an offset to the hue channel, converts
back to RGB and then back to the original data type. If several adjustments
are chained it is advisable to minimize the number of redundant conversions. `image` is an RGB image. The image hue is adjusted by converting the
image(s) to HSV and rotating the hue channel (H) by
`delta`. The image is then converted back to RGB. `delta` must be in the interval `[-1, 1]`.
Parameters
-
IGraphNodeBase
images -
IGraphNodeBase
delta - float. How much to add to the hue channel.
-
string
name - A name for this operation (optional).
Returns
-
Tensor
- Adjusted image(s), same shape and DType as `image`. Usage Example: ```python >> import tensorflow as tf >> x = tf.random.normal(shape=(256, 256, 3)) >> tf.image.adjust_hue(x, 0.2) ```
object adjust_hue_dyn(object images, object delta, object name)
Adjust hue of RGB images. This is a convenience method that converts an RGB image to float
representation, converts it to HSV, add an offset to the hue channel, converts
back to RGB and then back to the original data type. If several adjustments
are chained it is advisable to minimize the number of redundant conversions. `image` is an RGB image. The image hue is adjusted by converting the
image(s) to HSV and rotating the hue channel (H) by
`delta`. The image is then converted back to RGB. `delta` must be in the interval `[-1, 1]`.
Parameters
-
object
images -
object
delta - float. How much to add to the hue channel.
-
object
name - A name for this operation (optional).
Returns
-
object
- Adjusted image(s), same shape and DType as `image`. Usage Example: ```python >> import tensorflow as tf >> x = tf.random.normal(shape=(256, 256, 3)) >> tf.image.adjust_hue(x, 0.2) ```
object adjust_hue_eager_fallback(IGraphNodeBase images, IGraphNodeBase delta, string name, Context ctx)
object adjust_hue_eager_fallback_dyn(object images, object delta, object name, object ctx)
Tensor adjust_saturation(IGraphNodeBase images, IGraphNodeBase scale, string name)
Adjust saturation of RGB images. This is a convenience method that converts RGB images to float
representation, converts them to HSV, add an offset to the saturation channel,
converts back to RGB and then back to the original data type. If several
adjustments are chained it is advisable to minimize the number of redundant
conversions. `image` is an RGB image or images. The image saturation is adjusted by
converting the images to HSV and multiplying the saturation (S) channel by
`saturation_factor` and clipping. The images are then converted back to RGB.
Parameters
-
IGraphNodeBase
images -
IGraphNodeBase
scale -
string
name - A name for this operation (optional).
Returns
-
Tensor
- Adjusted image(s), same shape and DType as `image`. Usage Example: ```python >> import tensorflow as tf >> x = tf.random.normal(shape=(256, 256, 3)) >> tf.image.adjust_saturation(x, 0.5) ```
object adjust_saturation_dyn(object images, object scale, object name)
Adjust saturation of RGB images. This is a convenience method that converts RGB images to float
representation, converts them to HSV, add an offset to the saturation channel,
converts back to RGB and then back to the original data type. If several
adjustments are chained it is advisable to minimize the number of redundant
conversions. `image` is an RGB image or images. The image saturation is adjusted by
converting the images to HSV and multiplying the saturation (S) channel by
`saturation_factor` and clipping. The images are then converted back to RGB.
Parameters
-
object
images -
object
scale -
object
name - A name for this operation (optional).
Returns
-
object
- Adjusted image(s), same shape and DType as `image`. Usage Example: ```python >> import tensorflow as tf >> x = tf.random.normal(shape=(256, 256, 3)) >> tf.image.adjust_saturation(x, 0.5) ```