img_shear_x: Shear x-axis

img_shear_xR Documentation

Shear x-axis

Description

Perform shear operation on an image (x-axis)

Usage

img_shear_x(image, level, replace)

Arguments

image

A 3D image Tensor.

level

A float denoting shear element along y-axis

replace

A one or three value 1D tensor to fill empty pixels.

Value

Transformed image along X or Y axis, with space outside image filled with replace.


henry090/tfaddons documentation built on April 7, 2022, 11:27 p.m.