|
Algorithm 1 The Proposed DPSO Method |
-
1:
Input: Set of candidate channels: ; Number of output channels: n; Pattern .
-
2:
Output: Selected ordered set of n channels; Decided demosaicing order .
-
3:
Initialization:
-
4:
Generate population and velocity
-
5:
-
6:
for
j = 1 … G do
-
7:
for
i = 1 … P do
-
8:
-
9:
-
10:
-
11:
-
12:
end for
-
13:
-
14:
end for
-
15:
return
n ordered channels , demosaicing order ;
|