![]() |
volcamcore
2019 march
Biblioteca volcamcore
|
Clase para el manejo de los registros/archivos de imágenes y de sus parámetros en un periodo de tiempo determinado. Más...
#include <QObject>
#include <QtWidgets>
#include <QtSql>
#include "conf_stndevices.h"
#include "imagepro_all.h"
#include "timeseries_analysis.h"
Ir al código fuente de este archivo.
Clases | |
struct | ImgsWC |
class | Imagenes_WC |
Clase para el manejo de los registros/archivos de imágenes y de sus parámetros en un periodo de tiempo determinado.
Con esta clase, es posible buscar imágenes desde una ruta de archivos o desde una base de datos (geodata)
y obtener la información de cada una de estas imágenes en la estructura ImgsWC
Además es posible obtener la estructura ImgsWC_params (imagepro_all.h) para la vigencia de las imágenes
Para aprender a usar esta clase puedes ejecutar la función getHelp()
Help to use Imagenes_WC.h
This class is based on a structure called ImgsWC (images web cams)
When you use this class you should work with this structure
This structure contains the follow fields:
QString stations; Stations stored at one structure splitted by ;
QList of int ids; List of ids getted from database or randomly
QList of QDateTime datetime; List of datetime getted from database or image names on the catalog structure
QStringList path; List of path getted from database or the catalog structure
QStringList second_path; List of second_path getted from database or the catalog structure
QStringList station; List of station getted from database or the catalog structure
QStringList edition; List of edition (general or selection) optinos edditable to specify if you want to make a processing on this image
QList of int paramsrelated_id; List of paramsrelated_id. Parameters getted from Conf_StnDevices.h using the imagepro_all.h structure
QStringList classification; List of classification data in json format
DB: Set the Db_geodata data base structure if you will use data base
Then, use the function getImageWCList_db to get the image list from data base
Catalog: Use the function getImageWCList to get the image list from the catalog files structure
Use the function getImgsWC_params to get a ImgsWC_params structure that is an important related to the image list
Use the function getImageWCList_text to get a text of the complete image list in a csv formatted string
Use the function saveImagesWCList to save file with the complete image list in a Text(csv formatted file) or Json formatted file or a json Binary file
Use the function getImageWCList_json to read a file with a image list in a Text(csv formatted file) or Json formatted file or a json Binary file
Example to get imgwc:
Example to get imgwc_params: