|
Algorithm 2 Two-dimensional Monte Carlo sample entropy (MCSampEn2D) |
-
Require: Sequence , template length m, threshold r,
Sample numbers and experimental rounds .
-
1:
procedure MCSampEn2D()
-
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:
,
-
8:
-
9:
,
-
10:
return
|