2

I have a database that holds data of eyetracking on some videos.

I export those data to an int[,] input matrix for this issue. And then try to create a heatmap.

What I get so far is something like this: enter image description here

and now I will try to use some gaussian smoothening functions to get a more heatmap like image. but when I used some applications to blur my heatmap, the result is: enter image description here

but this is not actually what I want it to be. I want something like the heatmaps that you see when you google it, e.g.:

enter image description here

How can I create a "Heatmap" instead of my bitmap?

Ivan Sivak
  • 7,178
  • 3
  • 36
  • 42

1 Answers1

3

Instead of plotting points, have you tried plotting translucent circles (maybe 100 pixels in diameter) to see how that looks? Resultant opacity can be converted into blue/green/yellow/red.

Richard Ev
  • 52,939
  • 59
  • 191
  • 278
  • This is the right approach. Probably, his graphics library can't do that because the color rounds to zero but he can implement this himself. – usr Aug 26 '16 at 14:11