任何人都可以帮助生成热图 [英] Can anyone help in generating the heat maps

查看:83
本文介绍了任何人都可以帮助生成热图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为通过眼动追踪生成的坐标生成热图,我想保存它的数据并生成热图.....所以任何人请给我一个源代码它将是一个对我很有帮助...



我尝试过:



i wanted to produce the heat maps for the co ordinates that are generated through eye tracking i wanted to save the data of that and produce heat maps.....so any one please provide me a source code it will be a great helpful for me...

What I have tried:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;


namespace gaze_tracking_application
{
    
    
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {

        }

        private void pictureBox2_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
    }
}

推荐答案

引用:

所以任何人都请给我一个源代码,这将对我很有帮助...

so any one please provide me a source code it will be a great helpful for me...



是的,它肯定会有所帮助对你而言,我们不会让你工作。



我们不做你的家庭作业。

HomeWork不会测试你的技能在请求其他人做你的工作时,它会让你思考并帮助你的老师检查你对所学课程的理解,以及你应用它们时遇到的问题。

你的任何失败都会帮助你的老师发现你的弱点并设定补救措施。

所以,试一试,重读你的课程并开始工作。如果您遇到特定问题,请显示您的代码并解释这个问题,我们可能会提供帮助。



Trmrmbrt:Google是您的朋友。



作为程序员,你的工作是创建算法来解决特定的问题,你不能依赖别人永远为你做,所以有你将不得不学习如何做的时间。而且越快越好。

当你要求解决方案时,就像试图通过培训其他人来学习开车一样。

创建算法基本上是找到数学并做出必要的调整以适应你的实际问题。


Yes, it will certainly be helpful for you, but we will not do you work.

We do not do your HomeWork.
HomeWork is not set to test your skills at begging other people to do your work, it is set to make you think and to help your teacher to check your understanding of the courses you have taken and also the problems you have at applying them.
Any failure of you will help your teacher spot your weaknesses and set remedial actions.
So, give it a try, reread your lessons and start working. If you are stuck on a specific problem, show your code and explain this exact problem, we might help.

Trmrmbrt: Google is your friend.

As programmer, your job is to create algorithms that solve specific problems and you can't rely on someone else to eternally do it for you, so there is a time where you will have to learn how to. And the sooner, the better.
When you just ask for the solution, it is like trying to learn to drive a car by having someone else training.
Creating an algorithm is basically finding the maths and make necessary adaptation to fit your actual problem.


谷歌搜索是你的朋友:免费c#winform热图 - Google [ ^ ]



使用上述搜索在几秒钟内找到:Live Charts - Heat Series [ ^ ]
Google Search is your friend: free c# winform heatmap - Google[^]

Found this in a matter of seconds using the above search: Live Charts - Heat Series[^]


Hitbox heat地图不难创建。这是一个指南:



1.记录地点和频率

2.根据热图中的颜色数计算步数等级

3.覆盖透明PictureBox

4.在记录位置绘制半透明圆圈,计算出等级颜色(冷到热)以反映凉爽/热度评级。

5.不要忘记添加热图渐变色标,勾勒出hitcount数据范围。
Hitbox heatmaps are not hard to create. Here is a guide:

1. Record where and how often
2. calculate the steps based on the number of colors in your heatmap grades
3. overlay a transparent PictureBox
4. draw semi-transparent circles at the recorded locations with the calculated grade color (cool to hot) to reflect the coolness/hotness rating.
5. Don't forget to add the heatmap gradient color scales outlining the hitcount data ranges.


这篇关于任何人都可以帮助生成热图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆