https://doi.org/10.5201/ipol.2020.281
Raw File
Tip revision: d682b5a1798d817d2bc2716ee5b8cc95fb8bbe28 authored by Software Heritage on 26 September 2019, 00:00:00 UTC
ipol: Deposit 1364 in collection ipol
Tip revision: d682b5a
lib_amle_recsep.h
/* 
Original version: Copyright (c) 2019 Enric Meinhardt-Llopis <enric.meinhardt@cmla.ens-cachan.fr>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. 
*/

// extension by AMLE each channel of a color image
void amle_recursive_separable(
		float *out,        // pre-allocated pointer to output data
		float *in,         // input image with NANs to be filled-in
		float *guide,      // input guide image
		int w,             // width of images
		int h,             // height of images
		int pd,            // number of color channels
		int pd_guide,
		int niter,         // number of AMLE iterations at each scale
		int nscale,        // number of pyramid levels
		float lambda,      // lambda parameter
		float err_thresh,  // error threshold to stop itertions
		int dist_type,     // distance type
		int nn_type,       // neighborhood type
		int nn             // number of neighbors
		);
back to top