Save the date! Google I/O returns May 18-20 Register now

Module: tfa.image

Additional image manipulation ops.

Functions

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

angles_to_projective_transforms(...): Returns projective transform(s) for the given angle(s).

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

compose_transforms(...): Composes the transforms tensors.

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 with random offset.

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.

translations_to_projective_transforms(...): Returns projective transform(s) for the given translation(s).