“…Take Q f av as user favorite shot. 10: end procedure user-specified preference vector, and S N (C j , q) is the similarity vector between query q and each photo C j in the preferred style set of the user C. The computational detail of the composition and matching steps has been explained in Algorithm 2 and inspired from (Diyanat et al, 2011;Farhat et al, 2011Farhat et al, , 2012Farhat and Ghaemmaghami, 2014).…”