|
Algorithm 1: Proposed RAVA algorithm. |
|
RAVA(): I represents list of all the frames of a video, and M is the number of frames.
-
1:
-
2:
-
3:
for alldo
-
4:
-
5:
-
6:
for all
do
-
7:
-
8:
{Mask out foreground regions}
-
9:
-
10:
-
11:
{K is the number of pixels in this region }
-
12:
end for
-
13:
end for
-
14:
for alldo
-
15:
for all
do
-
16:
{N is the number of regions in the frame}
-
17:
-
18:
-
19:
end for
-
20:
end for
-
21:
-
22:
-
23:
-
24:
{IQA can be PSNR or SSIM}
|