Skip to main content
. 2021 Jun 8;21(12):3953. doi: 10.3390/s21123953
Algorithm 1: Reduce the impact of illumination changes
Input: video framesI(p)(1pN), set THR_R  as threshold selected for peak point,
            THR_R as threshold selected for ME.
Output: store position of suspicious tampering point in S.
1: S = , C = 0 //C is the variable counter for peak point
2: for i=1;i<N;i++ do
3:   calculate OF  fluctuation feature ri and motion entropy ME
4:  if riTHR_Rthen
5:      add iinto S
6:      C+=1
7:  end if
8: end for
9: if C1
10:  if METHR_E then
11:   (a) return FORGED VIDEO
13:  (b) store S,C
14:  else run Algorithm 2
15:  end if
16:else return ORIGINAL VIDEO
17:end if