Perform shear operation on an image (y-axis)

img_shear_y(image, level, replace)

Arguments

image

A 3D image Tensor.

level

A float denoting shear element along x-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.