Elaboradar  0.1
 Tutto Classi Namespace File Funzioni Variabili Tipi enumerati (enum) Gruppi
void elaboradar::Assets::write_subimage ( const radarelab::Matrix2D< unsigned char > &  image,
unsigned  image_side,
std::string  algos,
const char *  dir_env_var,
const char *  ext,
const char *  desc 
)

Write an image in a raw file in ${dir_env_var}, with the acquisition date as file name and the given extension.

Image matrix is tranformed in out_image(x,image.cols()-1-y) = image(y, x);

Parametri
[in]image- Matrix2D to be written
[in]image_side- write only the square central part of the original image, with this size in pixels of the image side
[in]algos- Algorithms applied during processing (i.e. BB_VPR_CLASS)
[in]dir_env_var- file path
[in]ext- file extension
[out]desc- used to get better error messages.