Module: tfa.image

View source on GitHub

Additional image manipulation ops.


color_ops module: Color operations.

compose_ops module: Compose Ops

cutout_ops module: Cutout op

distance_transform module: Distance transform ops.

distort_image_ops module: Python layer for distort_image_ops.

filters module

resampler_ops module: Python layer for Resampler.

transform_ops module: Image transform ops.

translate_ops module: Image translate ops.

utils module: Image util ops.


adjust_hsv_in_yiq(...): Adjust hue, saturation, value of an RGB image in YIQ color space.

blend(...): Blend image1 and image2 using factor.

connected_components(...): Labels the connected components in a batch of images.

cutout(...): Apply cutout ( to images.

dense_image_warp(...): Image warping using per-pixel flow vectors.

equalize(...): Equalize image(s)

euclidean_dist_transform(...): Applies euclidean distance transform(s) to the image(s).

gaussian_filter2d(...): Perform Gaussian blur on image(s).

interpolate_bilinear(...): Similar to Matlab's interp2 function.

interpolate_spline(...): Interpolate signal using polyharmonic interpolation.

mean_filter2d(...): Perform mean filtering on image(s).

median_filter2d(...): Perform median filtering on image(s).

random_cutout(...): Apply cutout ( to images.

random_hsv_in_yiq(...): Adjust hue, saturation, value of an RGB image randomly in YIQ color space.

resampler(...): Resamples input data at user defined coordinates.

rotate(...): Rotate image(s) counterclockwise by the passed angle(s) in radians.

sharpness(...): Change sharpness of image(s).

shear_x(...): Perform shear operation on an image (x-axis).

shear_y(...): Perform shear operation on an image (y-axis).

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).

translate_xy(...): Translates image in X or Y dimension.