|
OpenNN
Open-source neural networks library
|
#include "pch.h"Go to the source code of this file.
Namespaces | |
| namespace | opennn |
Functions | |
| Tensor3 | opennn::load_image (const filesystem::path &) |
| Loads an image from disk into a rank-3 (height, width, channels) tensor. | |
| void | opennn::load_image (const filesystem::path &, float *dst, Index expected_height, Index expected_width, Index expected_channels, bool divide_by_255=false) |
| Loads an image into a pre-allocated float buffer at the given shape. | |
| Tensor3 | opennn::resize_image (const Tensor3 &, Index, Index) |
| Returns a resized copy of an image at the requested height and width. | |
| void | opennn::reflect_image_horizontal (Tensor3 &) |
| Mirrors the image horizontally (left-right) in place. | |
| void | opennn::reflect_image_vertical (Tensor3 &) |
| Mirrors the image vertically (top-bottom) in place. | |
| void | opennn::rotate_image (const Tensor3 &, Tensor3 &, float) |
| Rotates the image by the given angle (radians) into the destination tensor. | |
| void | opennn::translate_image_x (const Tensor3 &, Tensor3 &, Index) |
| Translates the image along the X axis by the given number of pixels. | |
| void | opennn::translate_image_y (const Tensor3 &, Tensor3 &, Index) |
| Translates the image along the Y axis by the given number of pixels. | |