Files
motion/src/alg.hpp
2021-03-21 16:23:51 -06:00

40 lines
1.4 KiB
C++

/*
* This file is part of MotionPlus.
*
* MotionPlus is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* MotionPlus is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with MotionPlus. If not, see <https://www.gnu.org/licenses/>.
*
* Copyright 2020 MotionMrDave@gmail.com
*/
#ifndef _INCLUDE_ALG_H
#define _INCLUDE_ALG_H
struct ctx_coord;
void alg_locate_center_size(struct ctx_images *, int width, int height, struct ctx_coord *);
void alg_diff(struct ctx_cam *cam);
void alg_lightswitch(struct ctx_cam *cam);
void alg_switchfilter(struct ctx_cam *cam);
void alg_noise_tune(struct ctx_cam *cam, unsigned char *);
void alg_threshold_tune(struct ctx_cam *cam, int, int);
void alg_despeckle(struct ctx_cam *cam);
void alg_tune_smartmask(struct ctx_cam *cam);
void alg_update_reference_frame(struct ctx_cam *cam, int);
void alg_new_update_frame(ctx_cam *cam);
void alg_new_diff(ctx_cam *cam);
#endif /* _INCLUDE_ALG_H */