img_shear_x {tfaddons}R 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.


[Package tfaddons version 0.10.0 Index]