CUV
0.9.201304091348
|
Functions | |
template<class V , class M > | |
void | cuv::libs::cimg::show (const tensor< V, host_memory_space, M > &m, const std::string &name) |
show an image stored in a tensor | |
template<class V , class M > | |
void | cuv::libs::cimg::load (tensor< V, host_memory_space, M > &m, const std::string &name) |
load an image in a tensor | |
template<class V , class M > | |
void | cuv::libs::cimg::save (tensor< V, host_memory_space, M > &m, const std::string &name) |
save an image stored in a tensor |
void cuv::libs::cimg::load | ( | tensor< V, host_memory_space, M > & | m, |
const std::string & | name | ||
) |
load an image in a tensor
the image will be either a 2d tensor or a 3d-tensor where the 1st dimension has size 3 (color).
m | the image |
name | name of the file |
void cuv::libs::cimg::save | ( | tensor< V, host_memory_space, M > & | m, |
const std::string & | name | ||
) |
save an image stored in a tensor
the image has to be either a 2d tensor or a 3d-tensor where the 1st dimension has size 3 (color).
m | the image |
name | name of the file |
void cuv::libs::cimg::show | ( | const tensor< V, host_memory_space, M > & | m, |
const std::string & | name | ||
) |
show an image stored in a tensor
the image has to be either a 2d tensor or a 3d-tensor where the 1st dimension has size 3 (color).
m | the image |
name | name of the window |