jactorch.transforms.coor.functional#

Functions

apply_affine_transform(x, y, matrix)

center_crop(img, coor, output_size)

crop(img, coor, i, j, h, w)

denormalize_coor(img, coor)

get_rotation_matrix(image, angle, crop, ...)

hflip(img, coor)

normalize_coor(img, coor)

pad(img, coor, padding[, mode, fill])

pad_multiple_of(img, coor, multiple[, mode, ...])

refresh_valid(img, coor[, force])

resize(img, coor, size[, interpolation])

resized_crop(img, coor, i, j, h, w, size[, ...])

rotate(img, coor, angle, resample, crop_, expand)

vflip(img, coor)

Functions

apply_affine_transform(x, y, matrix)[source]#
center_crop(img, coor, output_size)[source]#
crop(img, coor, i, j, h, w)[source]#
denormalize_coor(img, coor)[source]#
get_rotation_matrix(image, angle, crop, expand, center, translate)[source]#
hflip(img, coor)[source]#
normalize_coor(img, coor)[source]#
pad(img, coor, padding, mode='constant', fill=0)[source]#
pad_multiple_of(img, coor, multiple, mode='constant', fill=0)[source]#
refresh_valid(img, coor, force=False)[source]#
resize(img, coor, size, interpolation=Image.BILINEAR)[source]#
resized_crop(img, coor, i, j, h, w, size, interpolation=Image.BILINEAR)[source]#
rotate(img, coor, angle, resample, crop_, expand, center=None, translate=None)[source]#
vflip(img, coor)[source]#