3

我有两张图片。在其中一张图片中,我的眼睛位于中间位置,而在另一张图片中,它位于左侧。如何确定我的眼睛是在左边还是在右边?

我正在使用 MATLAB。这有什么功能吗?

4

5 回答 5

3

一个简单的解决方案是尝试使用圆形霍夫变换来检测虹膜。

你可以在那里找到很多材料。仅举几例,这两个文件交换提交:

于 2009-11-05T14:29:22.657 回答
2

这听起来像是在 MATLAB 中实现的眼动追踪,这是一个相当流行的研究课题。

如果您想要更详细的答案,请回答以下问题:

  1. 你知道第一张图片中你眼睛的坐标吗?
  2. 两个图像之间有什么样的运动?旋转/平移/缩放/...?
  3. 你希望这是实时的吗?
  4. 图片的分辨率是多少?
  5. 除了你的眼睛之外,图像中还会有更多的眼睛吗?
于 2009-11-05T13:27:40.097 回答
1

如果您愿意在一个图像中选择眼睛,您可以使用模板匹配在其他图像中找到它(例如,您可以在视频的第一帧中标记它,然后在所有其他帧中找到它)。

查看matlab中的normxcor2函数: http ://www.nd.edu/~hpcc/solaris8_usr_local/src/matlab6.1/help/toolbox/images/normxcorr2.html

这种技术对于恒定的光照变化是稳健的,但如果眼睛的外观在您从中获取模板的图像和您正在搜索的图像之间发生显着变化,则将失败。

If you are going to search for the eye in a lot of frames (for example, eye tracking from a webcam) then you should look at stronger techniques such as the Kalman Filter or the Particle Filter (aka Condensation Filter in computer vision)

于 2009-11-07T14:22:11.010 回答
0

By using Color Distance Maps, the skin and non skin area can be differentiated and thus the non skin area contains the iris. From the iris, the whole eye could be detected. Hope it works.

于 2012-12-04T03:12:45.983 回答
0

You should also have a look at Eye Ball Detection in MATLAB , they have detected eyes first and then detected the EyeBall.

于 2017-05-25T07:57:26.703 回答