Skip to main content
. 2022 Jul 22;22(15):5467. doi: 10.3390/s22155467
Algorithm 5 Calculating the utility of the photos
1:    Input: Local K-CoverPicTree
2:    Total utility = 0
3:    Call Algorithm 4
4:    for s = 1:S do
5:    for k = 1:K do
6:     if ((size of Photos(s, k) > 0)) then
7:       Total utility = Total utility + Area of sub-region × θ
8:     end if
9:    end for
10:   end for