IPMI-NWU / GD-ViG

3 stars 0 forks source link

gaussian_filter #4

Open youssefmohana opened 2 months ago

youssefmohana commented 2 months ago

What is value of sigma in creation of gaze map

SX-SS commented 2 months ago

Sigma is the variance in a Gaussian function. larger values of sigma indicate a flatter shape of the distribution. We use Gaussian blurring to convert the attention points to heat maps. When the following statement is executed, where sigma is equal to 5. Getting figure 1. cv2.GaussianBlur(fixation_array, (151, 151), 5, 25) fig1 When sigma is 25 get figure 2. fig2 When sigma is 50 get figure 3. fig3

youssefmohana commented 2 months ago

Thanks for help , need to ask sigma value 50 give performance good or model work with it as noise

SX-SS commented 2 months ago

Follow paper [1], we set sigma to 25 in the experiment. Whether the performance is the best when sigma is equal to 25 needs further experimental study.

[1]. Ma, Chong, et al. "Eye-gaze-guided vision transformer for rectifying shortcut learning." IEEE Transactions on Medical Imaging 42.11 (2023): 3384-3394.