yuya-inagaki / web-saliency-map

Webpage saliency map
0 stars 1 forks source link

要素の顕著度の測定を密度基準に変更 #2

Open yuya-inagaki opened 3 years ago

yuya-inagaki commented 3 years ago

関連論文 Saliency Prediction for Mobile Interfaces

3.4.2 Element-level Saliency

We convert the pixel-level saliency maps into the UI element-level saliency maps.
For this, we compute the integral of the pixel-level saliency density over the area
covered by an element. This is followed by normalization over all elements to ensure
that the vector sums to 1. Given an UI with k elements, we represent the element
saliency map E = (E1, ..., Ek)', as vector of probabilities where Ej is the probability
of element j being fixated. In case one UI element overlaps another element, we
assign the saliency of the pixels in overlapping regions to the element on top.
Sample pixel-level and element-level saliency maps are presented in Figure 7.

ToDo

yuya-inagaki commented 3 years ago

計算方法 要素でカバーされる領域全体のピクセルレベルの顕著性密度の積分を計算

STEP

  1. キャンバス全体のピクセルレベルの顕著度の合計を計算する
  2. 要素内部のピクセルレベルの顕著度の合計を計算する
  3. 要素内部の顕著度 / (全ピクセルの顕著度 * ( 要素の面積 / 全面積) ) を要素の顕著度