|
Algorithm 3 Monte Carlo sample entropy based on UCB strategy |
Require: Sequence , template length m, threshold r,
Sample numbers and epoch numbers .
-
1:
procedure UCBMCSampEn()
-
2:
Set and ,
-
3:
for to do
-
4:
Set where and are selected on pixel coordinates with uniform distribution,
-
5:
Compute by calling SampEn2D(),
-
6:
Compute by calling SampEn2D(),
-
7:
Compute , ,
-
8:
Compute ,
-
9:
Compute ,
-
10:
Set ,
-
11:
Set ,
-
12:
for to do
-
13:
,
-
14:
,
|