-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdmcswl1.h
More file actions
29 lines (24 loc) · 935 Bytes
/
dmcswl1.h
File metadata and controls
29 lines (24 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
* @file dmcswl1.h
* @brief Contour stencils weighted L1 demosaicing
* @author Pascal Getreuer <getreuer@gmail.com>
*
*
* Copyright (c) 2010-2011, Pascal Getreuer
* All rights reserved.
*
* This program is free software: you can use, modify and/or
* redistribute it under the terms of the simplified BSD License. You
* should have received a copy of this license along this program. If
* not, see <http://www.opensource.org/licenses/bsd-license.html>.
*/
#ifndef _DMCSWL1_H_
#define _DMCSWL1_H_
int CSWL1Demosaic(float *Image, int Width, int Height,
int RedX, int RedY, float Alpha, float Epsilon, float Sigma,
float Tol, int MaxIter, int ShowEnergy);
int DisplayContours(const float *Image, int Width, int Height,
int RedX, int RedY, const char *OutputFile);
void FitMosaicedStencils(int *Stencil,
const float *Input, int Width, int Height, int RedX, int RedY);
#endif /* _DMCSWL1_H_ */