/** * @file filter.h * @brief various filtering algorithm definitions * @author Patrick Roth - roth@stettbacher.ch * @copyright Stettbacher Signal Processing AG * * @remarks * *
* This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ** */ #ifndef _FILTER_H #define _FILTER_H #if defined(__cplusplus) || defined(c_plusplus) extern "C" { #endif void filter_sobel_3s16(int16_t *img_sobel, const int16_t *img_in, const int height, const int width, const int skip_ch1, const int skip_ch2, const int skip_ch3) ; void filter_gauss_3s16(int16_t *img_gauss, const int16_t *img_in, const int height, const int width, int kernel_size, const float spread, const int skip_ch1, const int skip_ch2, const int skip_ch3); void filter_binary_3s16(int8_t *img_bin, const int16_t *img_in, const int height, const int width, const int16_t threshold, const int8_t bin_value, const int skip_ch1, const int skip_ch2, const int skip_ch3); #if defined(__cplusplus) || defined(c_plusplus) } // extern "C" #endif #endif // _FILTER_H