Module tch::vision::image [−][src]
Expand description
Utility functions to manipulate images.
Functions
Loads an image from a file.
Loads and resize an image, preserve the aspect ratio by taking a center crop.
Loads and resize an image from memory, preserve the aspect ratio by taking a center crop.
Loads all the images in a director.
Loads an image from memory.
Resizes an image.
Resize an image, preserve the aspect ratio by taking a center crop.
Saves an image to a file.