![]() |
ImagePulser V5.2.4
Simplification des images prises avec une webcam
|
Transformation de l'image codec-V1 en format PBM (codec P4) Plus de détails...
#include <stdio.h>#include <string.h>#include <stdlib.h>#include <iostream>#include <fstream>#include "opencv2/highgui.hpp"#include "opencv2/opencv.hpp"#include "opencv2/highgui/highgui.hpp"#include "opencv2/videoio.hpp"
Fonctions | |
| void | write_to_PBM (const std::string &input_image_path, const std::string &output_pbm_path) |
| Fonction pour écrire une image binaire dans un file_input PBM. | |
| int | main (int argc, char *argv[]) |
| Fonction principale pour transformer l'image codec-V1 du workflow automatic vers PBM. | |
Transformation de l'image codec-V1 en format PBM (codec P4)
| int main | ( | int | argc, |
| char * | argv[] ) |
Fonction principale pour transformer l'image codec-V1 du workflow automatic vers PBM.
| argc | Nombre d'arguments |
| argv | Tableau d'arguments |
| void write_to_PBM | ( | const std::string & | input_image_path, |
| const std::string & | output_pbm_path ) |
Fonction pour écrire une image binaire dans un file_input PBM.
| input_image_path | Chemin vers l'image d'entrée |
| output_pbm_path | Chemin vers le file_input PBM de sortie |