[−][src]Module tch::vision::image
Utility functions to manipulate images.
Functions
load | Loads an image from a file. |
load_and_resize | Loads and resize an image, preserve the aspect ratio by taking a center crop. |
load_dir | Loads all the images in a director. |
resize | Resizes an image. |
resize_preserve_aspect_ratio | Resize an image, preserve the aspect ratio by taking a center crop. |
resize_preserve_aspect_ratio_hwc | |
save | Saves an image to a file. |