TW201624200A - Eyeball locating method and system - Google Patents

Eyeball locating method and system Download PDF

Info

Publication number
TW201624200A
TW201624200A TW103146641A TW103146641A TW201624200A TW 201624200 A TW201624200 A TW 201624200A TW 103146641 A TW103146641 A TW 103146641A TW 103146641 A TW103146641 A TW 103146641A TW 201624200 A TW201624200 A TW 201624200A
Authority
TW
Taiwan
Prior art keywords
point
image
iris
center
vertical
Prior art date
Application number
TW103146641A
Other languages
Chinese (zh)
Other versions
TWI515609B (en
Inventor
江知遠
繆紹綱
瑞奇 陳
陳映綱
Original Assignee
中原大學
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中原大學 filed Critical 中原大學
Priority to TW103146641A priority Critical patent/TWI515609B/en
Application granted granted Critical
Publication of TWI515609B publication Critical patent/TWI515609B/en
Publication of TW201624200A publication Critical patent/TW201624200A/en

Links

Abstract

The present disclosure provides an eyeball locating method and system to track the eyes. The eyeball locating method and system is better than the present commercialized products. Tracking the eyes is an important evidence to detect whether the user is looking at the screen, and the eyeball locating method and system is widely used in electronic industrial. Therefore, The eyeball locating method and system has its potential market.

Description

眼球定位方法及系統 Eyeball positioning method and system

本發明係關於一種眼球定位方法及系統,特別係關於一種藉由定位虹膜中心的方法,藉此而達到應用該眼球定位方法及系統在產業上的目的。 The present invention relates to an eyeball positioning method and system, and more particularly to a method for positioning an iris center, thereby achieving the industrial purpose of applying the eyeball positioning method and system.

近年網路科技日新月異,新世代的年輕人已經把休閒娛樂從電視轉移到網路上,利用平板電腦或智慧型手機放鬆自己已經成為天天都在做的事情,而在網路上打廣告也因此成為主流之一。在各個論壇的周圍空間,我們都會看到許多廣告看板的出現,每隔一陣子就會有新的廣告輪流播放,在看YouTube時,也會有廣告先出現在點選的影片前面,利用平板電腦的APP(Application)線上看電影或各國連續劇時,在播放前也會出現廣告,除了觀看影片或論壇網站上的廣告外,一些免付費的APP有些也會有廣 告出現在邊邊角角,開發者利用這些廣告就可以有收入,就像傳統的廣告會刊登在報章雜誌上,報紙廠商或雜誌廠商就可以利用廣告來增加收入,這也是主要收入之一,科技的進步也使得想刊登廣告的店家可以在打廣告時不只有電視或報章雜可以選,也可以選擇網路平台,但要怎樣確定使用者有在注意這些廣告,這就可以利用本研究來讓各種平台的使用者回饋廠商這些數據進行效益分析。 In recent years, Internet technology has been changing with each passing day. New generations of young people have shifted their entertainment from TV to the Internet. Relaxing with a tablet or smart phone has become a daily business, and advertising on the Internet has become mainstream. one. In the space around the forums, we will see a lot of billboards appearing. New ads will be played in rotation every other time. When watching YouTube, there will be ads appearing in front of the selected videos, using the tablet. When the computer's APP (Application) online watch movies or national serials, there will also be advertisements before the broadcast. In addition to watching the videos on the videos or forum websites, some of the free-to-pay apps will also have a wide range. Appears in the corners, developers can use these ads to have income, just as traditional advertisements will be published in newspapers and magazines, newspaper manufacturers or magazine manufacturers can use advertising to increase revenue, which is one of the main income. Advances in technology have also made it possible for shoppers who want to advertise to choose not only TV or newspapers, but also online platforms, but how to make sure that users are paying attention to these ads, this can be used to study Let users of various platforms give back to the vendors the data for benefit analysis.

在孩童學習的過程當中或許會出現一些障礙,像是比較難的字彙,會在這些字上面停留比較久的時間,或是在外語學習的過程當中遇到一些困難,可以利用本研究分析出學習者對於學習的困難處是在哪部分,而跟相同課程的同學有什麼不同的地方,透過落點位置進行凝視次數、凝視時間的比較進行分析,進而改善自身的學習情況,以達到更佳的學習效果。 There may be some obstacles in the process of children learning, such as difficult vocabulary, will stay on these words for a long time, or encounter some difficulties in the process of foreign language learning, you can use this study to analyze learning What is the difficulty of learning, and what is different from the students in the same course, through the comparison of the number of gaze and gaze time through the location of the placement, to improve their learning, in order to achieve better learning result.

人類在得到一些疾病的情況下是難以跟外界有效溝通,像是漸凍人患者,這些患者是腦部裡面中樞神經運動神經元退化,病人的表現是全身肌肉慢慢萎縮,包含無法言語,甚至呼吸功能也會全部退化,最後只能夠轉動眼睛,這些身心障礙者都是會比較不方便跟人互動,所以需要一些外在的輔助機制來進行幫助,在未來,如果有 廠商利用本研究配合相關設備,就可以幫助這些人進行對外溝通,更了解他們內心的想法或渴望,甚至可以幫助他們心理上的恢復,建立自信。此外,還有許多發展方向,像是行車安全分析,駕駛人在駕駛汽機車時是否有注意到巷口來車,換車道時是否有注意左邊或右邊後照鏡,是否會因為聽收音機或音樂而影響到視覺上的注意力,或許未來在考取駕照時也可以進行評分做參考,讓駕照確確實實的發給注意行車安全的駕駛,避免未來因車禍造成的傷害。 In the case of getting some diseases, human beings are difficult to communicate effectively with the outside world, such as patients with gradual freezing. These patients are degenerative of the central nervous motor neurons in the brain. The patient's performance is that the whole body muscles are slowly shrinking, including speechlessness, and even The respiratory function will also be completely degraded. In the end, only the eyes can be turned. These people with physical and mental disabilities are more inconvenient to interact with people, so some external auxiliary mechanisms are needed to help. In the future, if there is By using this research and related equipment, manufacturers can help these people communicate externally, understand their inner thoughts or desires, and even help them to recover psychologically and build confidence. In addition, there are many development directions, such as driving safety analysis. Does the driver notice the lanes when driving the steam locomotive, whether there is attention to the left or right rear mirror when changing lanes, whether it is because of listening to radio or music. It affects the visual attention, and may also be scored for reference in the future when the driver's license is obtained, so that the driver's license can be surely delivered to the safe driving of the driving, to avoid the damage caused by the accident in the future.

人眼是一項非常精密且複雜的器官,下面將簡單介紹一些以較常看到的結構組織,第一圖為眼睛構造圖。鞏膜(Sclera):就是一般稱為眼白的部分,為眼球最外面的一層,堅韌而不透明,他可保護眼球內部並維持眼球的形狀。虹膜(Iris):含有肌肉和色素,虹膜中心有一圓形開口,稱為瞳孔,瞳孔會因光線強弱而放大縮小,以便控制進入的光線。眼角膜(Cornea):眼角膜是眼睛前面透明的部分,會覆蓋虹膜、瞳孔及前房,正常是無色透明,可透過眼角膜看到虹膜的顏色。水晶體(Lens):水晶體介於虹膜之後玻璃體之前,位於瞳孔後面的扁平橢圓形透明形狀,具有細緻的囊袋,可以防止水房的水進入,厚薄可因韌帶的鬆緊而改變,以便調節屈光。角膜緣(Limbus):位於眼角膜和鞏膜的交界處,由於透明眼角膜逐漸崁入鞏膜內,所 以在眼球表面並沒有很明確的分界線,越年輕的人會越明顯,也沒有一定的寬度,越明顯的人也會比較具有吸引力。 The human eye is a very delicate and complex organ. The following is a brief introduction to some of the more commonly seen structures. The first picture is the eye structure. Sclera: It is the part of the eye white, which is the outermost layer of the eyeball. It is tough and opaque. It protects the inside of the eyeball and maintains the shape of the eyeball. Iris: Contains muscles and pigments. The center of the iris has a circular opening called the pupil. The pupil is enlarged and reduced by the intensity of the light to control the incoming light. Cornea: The cornea is the transparent part of the front of the eye that covers the iris, pupil, and anterior chamber. It is normally colorless and transparent, and the color of the iris can be seen through the cornea. Lens: The flat crystal oval shape behind the pupil after the iris is placed behind the iris. It has a fine pocket to prevent water from entering the water chamber. The thickness can be changed by the elasticity of the ligament to adjust the refraction. . Limbus: located at the junction of the cornea and the sclera, as the transparent cornea gradually breaks into the sclera, In the absence of a clear dividing line on the surface of the eye, the younger the person will be more obvious, and there is no certain width, the more obvious the person will be more attractive.

視覺注視研究大致上可以分成接觸式系統和非接觸式系統,會跟人體有所接觸的歸類為接觸式系統,由於接觸到人體就會造成一些物理傷害或有較大的潛在性風險,所以比較不建議使用,而非接觸式的系統相對之下是比較安全,也被許多研究單位採納做視覺注視追蹤的相關研究。此外,舒適度上,非接觸式系統也比較能讓受測者感到舒服。以下進一步介紹國內外所研發出的各種系統。 Visual gaze research can be roughly divided into contact systems and non-contact systems, which are classified as contact systems when they come into contact with the human body. Some physical damage or potential risks are caused by contact with the human body. Relatively not recommended, non-contact systems are relatively safe, and have been adopted by many research units for visual gaze tracking. In addition, in terms of comfort, the non-contact system is also more comfortable for the subject. The various systems developed at home and abroad are further described below.

眼電圖法(Electro-Oculography,EOG),眼電圖法是將受測者眼睛的上下左右皮膚貼上電極貼片,接收來自眼角膜與視網膜之間的電壓差,其原理把人類眼球視為一個圓形的電池,眼角膜中間為正極,視網膜為負極,在利用接收到的訊號差別來計算出眼球運動,以達到追蹤眼球運動的目的。第二圖為眼電圖法示意圖,總共要使用五個貼片,測量眼球水平移動的貼片貼在眼睛左右兩側,測量眼球垂直移動的貼片貼在其中一眼的上下兩邊,最後一個一片貼在額頭位置當作參考點,當眼球向右轉動時,電極間會有一個正的電壓差產生,向左轉動時電極間便會產生一個負的電壓差,以此電壓差的大小來判斷眼球上下 左右移動的角度。眼電圖法的優點在於價位不高,但缺點是因為人體的電阻會因為環境的變動而有所不同,像是角質的分泌會造成電壓不穩定。近年有Andreas Bulling等人利用此方法先抓取到三種眼部特徵,掃視、注視跟閉眼,再把重複的訊號歸類變成模型,分析五種辦公室裡常見的動作包含複製文章、閱讀文件、寫字、看影片、隨意閱覽以及什麼都不做,平均準確率為76.7%。 Electro-Oculography (EOG), the electro-optic method is to attach the upper and lower skin of the subject's eyes to the electrode patch, and receive the voltage difference between the cornea and the retina. The principle of the eye is the human eye. For a circular battery, the middle of the cornea is the positive pole, the retina is the negative pole, and the eye movement is calculated by using the difference of the received signals to achieve the purpose of tracking the eye movement. The second picture is a schematic diagram of the electro-oculogram method. A total of five patches are used. The patch for measuring the horizontal movement of the eyeball is attached to the left and right sides of the eye, and the patch for measuring the vertical movement of the eyeball is attached to the upper and lower sides of one of the eyes, and the last one is Sticking to the forehead position as a reference point, when the eyeball is turned to the right, there will be a positive voltage difference between the electrodes. When turning to the left, a negative voltage difference will be generated between the electrodes, and the voltage difference is judged by the magnitude of the voltage difference. Eyeball up and down The angle of movement to the left and right. The advantage of the electro-oculogram method is that the price is not high, but the disadvantage is that the resistance of the human body will be different due to environmental changes, such as the secretion of keratin, which will cause voltage instability. In recent years, Andreas Bulling and others have used this method to capture three kinds of eye features, squint, gaze and close the eyes, and then classify the repeated signals into models. Analyze the common actions in the five offices, including copying articles, reading documents, and writing. Words, movies, free reading, and nothing, the average accuracy rate is 76.7%.

搜尋線圈法(Search Coil),搜尋線圈法是讓受測者配戴特殊設計的軟式鏡片。如第三圖(a)所示,主要是在兩片軟式鏡片中間加入感應線圈,並且事先在眼球四周圍加上固定磁場,當受測者眼球運動時會帶動鏡片,感應線圈會因磁通量變化而產生感應電動勢,感應電動勢之大小即代表眼球偏轉之角度,將訊號放大後即可記錄眼球運動狀況。優點為準確度高,所以在醫療和心理研究上會使用到,但搜尋線圈法的量測方式很容易受到受測者當時眼球狀況的影響,如眼球的分泌物等,也因為是侵入式的方法,所以並不適合長期配戴,而且軟式鏡片具有雙層架構,會影響使用者的視力,所以也很少用於臨床上。這種搜尋線圈鏡片分成2D跟3D的形式,2D的用9圈漆包線組成,用來測量水平跟垂直的數據,3D的有兩環,每環用8圈漆包線組成,除了用來測量水平和垂直外,還可以測量扭轉 的數據。 Search Coil, search coil method is to let the subject wear a specially designed soft lens. As shown in the third figure (a), the induction coil is mainly placed in the middle of the two soft lenses, and a fixed magnetic field is applied around the eyeball in advance. When the eyeball of the subject moves, the lens is driven, and the induction coil changes due to the magnetic flux. The induced electromotive force is generated, and the magnitude of the induced electromotive force represents the angle of deflection of the eyeball, and the signal of the eyeball can be recorded after the signal is amplified. The advantage is high accuracy, so it will be used in medical and psychological research, but the measurement method of the search coil method is very susceptible to the eye condition of the subject at the time, such as the secretion of the eyeball, etc., and because it is invasive. The method is not suitable for long-term wear, and the soft lens has a two-layer structure, which affects the user's vision, so it is rarely used clinically. This search coil lens is divided into 2D and 3D forms. 2D is composed of 9 circles of enameled wire for measuring horizontal and vertical data. 3D has two rings, each ring is composed of 8 circles of enameled wire, except for measuring horizontal and vertical. In addition, you can measure the twist The data.

Purkinje影像追蹤法(Dual-Purkinje-image),Purkinje影像追蹤法(Dual-Purkinje-image)是利用當光線經過眼球組織時,由於眼睛各個組織折射率的不同,來產生光源的反射影像,這些光源的影像稱之為Purkinje-image,通常可以觀測到四組影像。其中第一種Purkinje-image是光源反射在角膜與眼球前空氣的表面,第四種Purkinje-image是反射於水晶體與眼球內部的表面,其他兩種Purkinje-image,由於反射量太小,通常忽略不計。此法便是檢測第一種及第四種Purkinje-image來偵測眼球運動情況。使用黑白攝影機擷取影像,光源為兩顆近紅外線LED燈往眼睛直接照射,擷取到如第三圖(b)的影像,利用圖像中Purkinje-image跟瞳孔中心位置的關係就可以推算出眼球視線的可能位置。 Purkinje image tracking method (Dual-Purkinje-image), Purkinje image tracking method (Dual-Purkinje-image) is used to generate a reflection image of the light source when the light passes through the eyeball tissue due to the difference in refractive index of each tissue of the eye. The image is called Purkinje-image and usually four images can be observed. The first type of Purkinje-image is the surface of the light reflected from the cornea and the air in front of the eye. The fourth type of Purkinje-image is the surface that is reflected in the crystal and the inside of the eye. The other two types of Purkinje-image are usually ignored because the amount of reflection is too small. Excluding. This method detects the first and fourth Purkinje-image to detect eye movements. The image is captured by a black-and-white camera. The light source is directly illuminated by two near-infrared LED lights. The image as shown in the third figure (b) can be derived by using the relationship between the Purkinje-image and the center position of the pupil in the image. The possible position of the eyeball sight.

瞳位追蹤法(Pupil Tracking),若系統採用紅外線或是近紅外線之光源來照射眼部時,則因為瞳孔對紅外線的反射性低,而虹膜對紅外線的反射性較高,所以會造成影像中瞳孔與虹膜的亮度差異變大,而虹膜與眼白之間的亮度差異變小。此與一般白色光源不同的特點,可使我們較易取出瞳孔的輪廓外圍。這種利用檢測瞳孔位置來判斷視線方向之追蹤技術稱為瞳位追蹤(Pupil Tracking)。由於虹膜內圍(即瞳孔輪廓)較虹膜外圍來的清晰明確, 且較不易被眼皮遮蔽到,因此瞳位追蹤相較於異色邊界地帶追蹤有較高的解析度。但紅外線在長期照射下對眼睛及皮膚具有一定的傷害,對眼睛的主要傷害為白內障、視網膜和角膜灼傷,以及在低強度光源下熱輻射所產生的熱壓,若照射的曝光量大於一個臨界值,都將對眼球造成傷害。 Pupil Tracking, if the system uses infrared or near-infrared light to illuminate the eye, the pupil is less reflective to infrared light, and the iris is more reflective to infrared light, so it will cause image The difference in brightness between the pupil and the iris becomes larger, and the difference in brightness between the iris and the white of the eye becomes smaller. This is different from the general white light source, which makes it easier to remove the contour of the pupil. This tracking technique that uses the position of the pupil to determine the direction of the line of sight is called Pupil Tracking. Since the inner circumference of the iris (ie, the pupil contour) is clearer than the outer periphery of the iris, It is less easily obscured by the eyelids, so the tracking of the position has a higher resolution than the tracking of the heterochromatic boundary zone. However, infrared rays have certain damage to the eyes and skin under long-term exposure. The main damage to the eyes is cataract, retinal and corneal burns, and the hot pressure generated by heat radiation under low-intensity light sources. If the exposure is greater than a critical value The value will cause damage to the eyeball.

紅外線眼動圖法(Infrared Oculography,IROG),此方法是將一排紅外線光源及紅外線接收器架設在鏡架上,以固定角度架設在虹膜四周,由於紅外線在黑色瞳孔處與虹膜處的反射效果比較低,所以大部分的光源會被吸收,而眼白的部分幾乎會將紅外線完全反射,所以可以利用紅外線光源在眼角膜邊緣的反射差異來做追蹤,紅外線接收器會將反射出來的紅外線光轉換成電流訊號,經差動放大上下左右信號之後便可藉由信號的大小來判斷眼球轉動的角度。這種技術的優點是便宜又方便使用,且不會受到外界光線強弱的影響,但缺點是近距離用紅外線對眼睛照射會使眼睛乾澀不舒服,且容易受到背景光的影響,長期使用會對眼睛組織有所傷害。 Infrared Oculography (IROG), which is a method of arranging a row of infrared light source and infrared receiver on the frame, and is placed around the iris at a fixed angle, because of the reflection effect of infrared rays on the black pupil and the iris. It is relatively low, so most of the light source will be absorbed, and the white part of the eye will almost completely reflect the infrared rays, so it can be traced by the difference of the reflection of the infrared light source at the edge of the cornea, and the infrared receiver will convert the reflected infrared light. After the current signal is obtained, the angle of the eyeball rotation can be judged by the magnitude of the signal after differentially amplifying the up, down, left and right signals. The advantage of this technology is that it is cheap and convenient to use, and is not affected by the intensity of external light, but the disadvantage is that the infrared radiation to the eyes at close range can make the eyes dry and uncomfortable, and is easily affected by the background light. Eye tissue is hurting.

異色邊界地帶處理法(Limbus Tracking)此類系統主要是利用光源進入眼球後所反射出來的影像。若是採用背景光或是一般的白色光源,則可利用眼白與黑色眼珠之間的天然差異,來檢測出虹膜邊界,稱為異色邊界地 帶追蹤技術(Limbus Tracking)。使用此方法的優點是不需要受到紅外線光源照射眼睛避免光對眼睛造成的物理傷害,但缺點是不容易清楚取出虹膜外圍,且上下邊界容易被上下眼皮所遮蔽,因此範圍有其限制。使用的異色邊界地帶處理法需要先以人工方式點選六個虹膜邊界,讓系統知道邊界的參數後去取最大值當閥值,在這閥值以下的像素可能為虹膜或瞳孔,也在非虹膜部分取六點後讓最小的參數當閥值,在這閥值以上的值可能為眼白或皮膚部分,每個受測人員都需要點選,這會造成受測者的不便。搜尋瞳孔中心位置的方法為計算可能為虹膜跟瞳孔的像素座標的重心位置,但在虹膜跟瞳孔裡面有時會因為反光的關係造成重心座標計算時有些像素座標被列為非虹膜或瞳孔而沒被計算到,這樣也影響了重心最後的座標,所以作者也提到此重心未必為瞳孔中心位置,但作者相信離瞳孔中心相當接近。 Limbus Tracking This type of system is mainly used to reflect the image reflected by the light source after entering the eyeball. If the background light or the general white light source is used, the natural difference between the white eye and the black eyeball can be used to detect the iris boundary, which is called the heterochromatic boundary. With Limbus Tracking. The advantage of using this method is that it does not need to be illuminated by the infrared light source to avoid physical damage caused by light to the eyes, but the disadvantage is that it is not easy to clearly take out the periphery of the iris, and the upper and lower boundaries are easily covered by the upper and lower eyelids, so the range is limited. The heterochromatic boundary zone processing method needs to manually select six iris boundaries, let the system know the parameters of the boundary and then take the maximum value as the threshold. The pixels below the threshold may be iris or pupil, and also After the six points of the iris are taken, the minimum parameter is used as the threshold. The value above the threshold may be the white of the eye or the skin part. Each subject needs to be selected, which may cause inconvenience to the subject. The method of searching the center of the pupil is to calculate the position of the center of gravity of the pixel coordinates that may be the iris and the pupil. However, in the iris and the pupil, sometimes the pixel coordinates are listed as non-iris or pupils due to the reflection of the center of gravity. It was calculated, which also affected the final coordinates of the center of gravity, so the author also mentioned that this center of gravity is not necessarily the center of the pupil, but the author believes that it is quite close to the center of the pupil.

另外也有許多眼睛追蹤的方法是使用霍夫圓偵測(Circular Hough Transform)去尋找眼睛裡的瞳孔位置,但此種方法大多有配合紅外線LED燈做使用,因為在紅外光線下的瞳孔會吸收大部份的紅外光線,虹膜跟眼白部分會反射較多的光線,造成瞳孔跟虹膜的交界處有很清楚的輪廓產生,故使用霍夫圓偵測會有不錯的效果。如果使用霍夫圓偵測去尋找異色邊界地帶會比較難找到正確的 虹膜,因為霍夫圓所偵測出的圓會取決於參數上的設定範圍,而每個人的虹膜大小都不一樣,所以在設定圓半徑的參數上要使用好幾個參數,這樣才不會因為受測者的不同就會偵測不到,但也因此造成影像中出現很多偵測出的圓,雖然找到可能的虹膜邊界,但在其他非虹膜邊界的地方系統也會誤判為圓。第四圖為使用霍夫圓偵測的結果,除了偵測到虹膜邊界外也偵測出其它明顯不代表虹膜圓的部分。 There are also many methods of eye tracking that use the Circle Hough Transform to find the pupil position in the eye, but most of these methods are used with infrared LED lights because the pupils in the infrared light will absorb large. Part of the infrared light, the iris and the white part of the eye will reflect more light, resulting in a clear outline of the junction between the pupil and the iris, so the use of Hough circle detection will have a good effect. If you use Hough Circle Detection to find a different color boundary zone, it will be more difficult to find the right one. Iris, because the circle detected by the Hough circle depends on the setting range on the parameter, and the iris size of each person is different, so you need to use several parameters in the parameter of setting the radius of the circle, so that it will not be because The difference between the subjects will not be detected, but it will cause many detected circles in the image. Although the iris boundary is found, the system will be misjudged as a circle at other non-iris boundaries. The fourth picture shows the results of using the Hough circle detection. In addition to detecting the iris boundary, other parts that are obviously not representative of the iris circle are detected.

上述的方法分別有價格高昂、受測者有可能受到的物理傷害、另外儀器本身會有過於龐大的體積,或使用紅外線使眼睛感到乾澀不舒服的缺點,仍為當前業界亟思改善之產業上的需求。 The above methods have the disadvantages of high price, physical damage that the test subject may be exposed to, the excessively large volume of the instrument itself, or the use of infrared rays to make the eyes feel dry and uncomfortable, and still be an industry improvement in the current industry. Demand.

此外,本發明所需的相關知識如,灰階化、空間濾波、二值化與三角形內心、外心及重心,有如下之簡易說明。 In addition, the relevant knowledge required by the present invention, such as grayscale, spatial filtering, binarization, and inner, outer and center of gravity of the triangle, is briefly explained as follows.

灰階化,較常用的影像色彩模型有以下幾種:RGB、YIQ、HSI、YUV及YCrCb。不同的色彩模型在不同的應用上會有不一樣的表現。在某些應用上通常會使用灰階影像(Gray Image)而非原本的RGB彩色影像來進行一些處理,因其可有效避免色彩變化的影響,並且在某程度上 降低資料量與處理時間。RGB彩色模型與YIQ彩色模型之間的轉換關係可用矩陣型態描述,如(1-1)式所示: 其中Y代表亮度(Luminance),I為彩色元素(Inphase),Q亦為彩色元素(Quadrature)。採用YIQ模型的好處是亮度Y以及與彩色元素相關的I與Q可被分離開。 Gray-scale, the more common image color models are as follows: RGB, YIQ, HSI, YUV, and YCrCb. Different color models will behave differently in different applications. In some applications, gray image (Gray Image) is used instead of the original RGB color image for some processing, because it can effectively avoid the influence of color change, and to some extent reduce the amount of data and processing time. The conversion relationship between the RGB color model and the YIQ color model can be described by a matrix type, as shown in (1-1): Where Y stands for Luminance, I is a color element (Inphase), and Q is also a color element (Quadrature). The benefit of using the YIQ model is that the luminance Y and the I and Q associated with the color elements can be separated.

空間濾波,在影像處理過程中,常常會用到一些空間濾波器來對影像進行影像濾波,而空間濾波器的最基本原理即是使用遮罩(mask)逐點對影像做處理。常使用的遮罩大小有3×3(如第五圖所示)、5×5或7×7,常見的空間濾波器則有增強濾波器以及平滑濾波器等。增強(sharpening)濾波器本質上是一個高通濾波器,它主要用來使影像的細節(detail)或邊緣(edge)更突顯,而達到影像增強的目的。常見的增強濾波器有三種:第一種是基本高通空間濾波器,它的做法是利用第六圖(a)之遮罩運算,並回傳運算結果至如第五圖中的P 5。此種濾波器的特性為,若遮罩中心點對應具有較大灰階度的像素值,則經此濾波後,此像素與旁邊像素之間的灰階度差異將被放大,反之,此遮罩對灰階度變化相當慢的平滑區域,其輸出將非常小。比較極端的狀況則是遮罩所涵蓋範圍內的灰階度都一樣時,則不管原來的灰階值有多大,其輸出將恆為零,意即此種遮罩有降低 整體影像平均值使影像整體變暗的缺點,且實際的輸出值會有負的可能,因此須做大小的調整。第二種是高頻加強濾波器,它的做法是利用圖第六圖(b)之遮罩運算(其中α為放大倍率),並回傳運算結果至P 5。此種濾波是先將原始影像乘上一個大於1的倍率再減去此影像經低通濾波後的結果。第三種則是差分(differential)型濾波器,它的做法是利用第七圖(a)與(b)之遮罩分別計算行與列之梯度分量。此種濾波器的主要用途是在影像分割中偵測物體邊緣,因為它可將影像物體之邊緣與其鄰近像素間的灰階度加以放大,達到突顯物體邊緣輪廓的影像增強效果。平滑濾波器本質上是一個低通濾波器,它主要目的在使影像模糊或降低高頻雜訊。對影像辨識的目的而言,使用平滑濾波器所造成的影像模糊可去除妨礙重要特徵擷取的小細節並使斷線相連。而對於脈衝型的高頻雜訊,平滑濾波器將可減輕此雜訊的效應。平滑濾波器主要有兩種:第一種是平均濾波器,它的做法是將遮罩內的像素值加總後平均,並回傳至P 5。其運算遮罩如第八圖所示,圖中顯示的是一個3×3的遮罩。一般而言,愈大的遮罩模糊效果愈強,相當於此濾波器的截止頻率愈來愈低,高頻部分被濾去愈多。第二種是中值濾波器,它的做法是將遮罩內所涵蓋的像素值由小到大排列,取出排列在中間的值回傳至P 5取代之。 Spatial filtering, in the image processing process, often uses some spatial filters to image the image, and the most basic principle of the spatial filter is to use a mask to process the image point by point. Commonly used mask sizes are 3×3 (as shown in the fifth figure), 5×5 or 7×7, and common spatial filters include enhancement filters and smoothing filters. The sharpening filter is essentially a high-pass filter, which is mainly used to make the detail or edge of the image more prominent, and achieve image enhancement. There are three common enhancement filters: the first is a basic high-pass spatial filter, which uses the mask operation of the sixth figure (a) and returns the operation result to P 5 as shown in the fifth figure. The characteristic of such a filter is that if the center point of the mask corresponds to a pixel value having a large gray scale, after this filtering, the gray scale difference between the pixel and the adjacent pixel will be enlarged, otherwise, the mask The cover will have a very small output for smooth areas where the grayscale changes quite slowly. In the more extreme case, when the gray scales in the coverage range are the same, regardless of the original gray scale value, the output will be zero, which means that the mask has a lower average image. The shortcomings of the overall darkening of the image, and the actual output value will have a negative possibility, so the size must be adjusted. The second type is a high-frequency enhancement filter, which uses the mask operation of Fig. 6(b) (where α is the magnification) and returns the operation result to P 5 . This filtering is to multiply the original image by a magnification greater than one and subtract the low-pass filtered result of the image. The third type is a differential type filter, which uses the masks of (a) and (b) of the seventh figure to calculate the gradient components of the rows and columns, respectively. The main purpose of this filter is to detect the edge of an object in image segmentation because it magnifies the grayscale between the edge of the image object and its neighboring pixels to achieve an image enhancement that highlights the edge contour of the object. The smoothing filter is essentially a low-pass filter whose primary purpose is to blur the image or reduce high-frequency noise. For the purpose of image recognition, image blurring caused by the use of a smoothing filter removes small details that impede the capture of important features and connects the broken lines. For pulsed high frequency noise, the smoothing filter will alleviate the effects of this noise. There are two main types of smoothing filters: the first is an averaging filter, which combines the pixel values in the mask and averages them back to P 5 . The calculation mask is shown in the eighth figure, which shows a 3×3 mask. In general, the larger the mask blur effect, the lower the cutoff frequency of the filter, and the more the high frequency portion is filtered out. The second is a median filter, which is to arrange the pixel values covered in the mask from small to large, and take out the value arranged in the middle and pass it back to P 5 instead.

二值化,在二值化中首先設定一個灰度值,凡 是影像本身灰度大於它的便令其為亮點(像素值255),而灰度值低於設定值的,便令其為暗點(像素值0),如此可得到一個二元的影像。如第九圖所示,取兩波峰間的波谷為門檻值(Threshold),T0,再針對灰階值大於此門檻值者二值化後令為255,小於或等於者則令為0。方程式(1-2)為二值化的公式定義: 其中Bb為二值化後的訊號,Ba為二值化前的訊號,T0為閥值,當Ba的值小於T0時,所有符合條件的Ba訊號就會視為0,當Ba的值大於等於T0時,所有符合條件的Ba訊號就會視為255,讓圖片變成只有黑白兩色。 Binarization, first set a gray value in binarization, any image whose gray level is larger than it will make it a bright spot (pixel value 255), and if the gray value is lower than the set value, it will be dark. Point (pixel value 0), this gives a binary image. As shown in the ninth figure, the valley between the two peaks is the Threshold value, T 0 , and then the binarization value is greater than 255 for the grayscale value greater than the threshold value, and less than or equal to 0. Equation (1-2) defines the formula for binarization: Where B b is the binarized signal, B a is the signal before binarization, T 0 is the threshold, and when the value of B a is less than T 0 , all the qualified B a signals are regarded as 0. When the value of B a is greater than or equal to T 0 , all eligible B a signals are treated as 255, making the picture black and white only.

三點測圓法,外心,所有的三角形也都有外接圓,其圓心則稱為外心。在三角形的每一邊做垂直平分線可以得到一個交匯點,這點就是外心,如第十圖,其中圓心到三頂點的距離都會等長且等於圓的半徑,外心座標為O(x,y),其中The three-point circle method, the outer core, all triangles also have circumscribed circles, and the center of the circle is called the outer core. Making a vertical bisector on each side of the triangle gives a junction. This is the outer core. As shown in the tenth figure, the distance from the center of the circle to the three vertices is equal to the radius of the circle, and the outer centroid is O ( x, y ), where , .

鑒於上述之發明背景,為了符合產業上的需求,本發明提供一種眼球定位方法及系統以解決目前產業上所面臨的問題,同時提升眼球定位方法及系統之技術。 In view of the above-mentioned background of the invention, in order to meet the needs of the industry, the present invention provides an eyeball positioning method and system for solving the problems currently faced by the industry, and at the same time improving the technique of the eyeball positioning method and system.

本發明是以一種眼動儀適合所有的情況,要依照特定的需求來設計要使用的眼動儀,所以此系統設定了一些固定的條件,像是光源的強度、螢幕擺放位置及攝影機擺放位置,此系統沒有使用到紅外線LED燈去強化虹膜跟眼白交界處的差異,所以在後面使用了一些眼球的對稱特性去彌補系統在抓取眼球的不足處。系統在一開始就直接設定好關注區域(ROI;regions of interest),這樣就不需要再用其他方法尋找眼睛部位後再設定成ROI,造成系統上的不穩定,接下來對擷取到的影像進行灰階化處理,簡化ROI處的影像資訊,在獲取灰階化的資訊後,再對此灰階影像進行濾波減少不必要的雜訊,最後利用影像分割門檻化(Thresholding)的方式濾除不必要的資訊,再利用三點成單獨一圓的特性在虹膜邊界中劃出圓,並判斷這三點所畫出的圓是否合理,如果不合理捨去不用。 The present invention is suitable for all situations in an eye tracker, and the eye tracker to be used is designed according to specific needs, so the system sets certain fixed conditions, such as the intensity of the light source, the position of the screen, and the camera pendulum. In the position, this system does not use infrared LED lights to strengthen the difference between the iris and the white-white junction, so the symmetry of some eyeballs is used later to make up for the system's lack of eyeballs. The system directly sets the region of interest (ROI) at the beginning, so that there is no need to find other parts of the eye to set the ROI, which causes instability on the system, and then the captured image. Gray-scale processing is performed to simplify the image information at the ROI. After obtaining the gray-scale information, the gray-scale image is filtered to reduce unnecessary noise, and finally filtered by means of image partitioning (Thresholding). Unnecessary information, then use the characteristics of three points into a single circle to draw a circle in the iris boundary, and judge whether the circle drawn by these three points is reasonable, if not reasonable to leave.

根據本發明之一目的提供一種眼球定位系統,該眼球定位系統包含:一顯示幕,該顯示幕係為提供受測者觀看用;一攝影機,該攝影機係為具可調式支撐棒連結在支架上;與一運算處理裝置,該算處理裝置係為用以藉由該攝影機接收一收錄影像,然後進行一設定關注區 域,係為從該收錄影像中依設定區域擷取一右擷取影像與左擷取影像,進行一灰階化將該右擷取影像與該左擷取影像變成一右單純影像與一左單純影像,進行一濾波將該右單純影像與該左單純影像的雜訊去除變成一右濾波影像與一左濾波影像,進行一二值化將該右濾波影像與該左濾波影像變成一右二值影像與一左二值影像,進行一虹膜中心估測,藉由該右二值影像與該左二值影像中取三點,分別形成三角形的外接圓,並推估出一右虹膜中心與一左虹膜中心,進行一螢幕注視點估測,藉由該右虹膜中心與該左虹膜中心兩者至少其中之一推估出螢幕注視點位置。 According to an aspect of the present invention, an eyeball positioning system is provided. The eyeball positioning system includes: a display screen for providing a subject for viewing; and a camera having an adjustable support rod attached to the bracket. And an arithmetic processing device for receiving a recorded image by the camera, and then performing a setting of the attention area The field is obtained by extracting a right captured image and a left captured image from the recorded image, and performing grayscaled to change the right captured image and the left captured image into a right simple image and a left a simple image, performing a filtering to remove the noise of the right simple image and the left simple image into a right filtered image and a left filtered image, performing a binarization, and converting the right filtered image and the left filtered image into a right second The value image and the left binary image are subjected to an iris center estimation, wherein the right binary image and the left binary image are taken from three points to form a triangular circumcircle, and a right iris center is estimated. At the left iris center, a screen fixation point estimate is performed, and the position of the gaze point is estimated by at least one of the right iris center and the left iris center.

根據上述本發明之另一樣態,其中上述之眼球定位系統包含:一支架,該支架係為用以穩定受測者頭部。 According to another aspect of the invention described above, the eyeball positioning system comprises: a bracket for stabilizing the head of the subject.

根據上述本發明之另一樣態,其中上述之顯示幕係為接收與顯示該運算處理裝置提供之訊息,並且攝影機的解析度係為1280x720像素。 According to another aspect of the invention described above, the display screen is for receiving and displaying the information provided by the arithmetic processing device, and the resolution of the camera is 1280 x 720 pixels.

根據本發明之一目的提供一種眼球定位方法,該眼球定位方法包含:進行一開啟視訊,藉以接收一收錄影像;進行一設定關注區域,係為從該收錄影像中依設定區域擷取一右擷取影像與一左擷取影像;進行一灰階化,將該右擷取影像與該左擷取影像轉變成一右單純影像與一左單純影像;進行一濾波,將該右單純影像與該左單純影像的雜訊去除變成一右濾波影像與一左濾波影像;進 行一二值化,將該右濾波影像與該左濾波影像變成一右二值影像與一左二值影像;與進行一虹膜中心估測,藉由該右二值影像與該左二值影像中取三點,分別形成三角形的外接圓,並推估出一右虹膜中心與一左虹膜中心。 According to an aspect of the present invention, an eyeball positioning method includes: performing an open video to receive a recorded image; and performing a setting of a focus area by extracting a right image from the recorded image according to the set region. Taking the image and capturing the image from the left; performing a grayscale transformation, converting the right captured image and the left captured image into a right simple image and a left simple image; performing a filtering, the right simple image and the left The noise removal of the simple image becomes a right filtered image and a left filtered image; Performing a binarization, converting the right filtered image and the left filtered image into a right binary image and a left binary image; and performing an iris center estimation by using the right binary image and the left binary image Three points are taken to form a triangular circumcircle, and a right iris center and a left iris center are estimated.

根據上述本發明之另一樣態,其中上述之眼球定位方法包含:進行一螢幕注視點估測,藉由該右虹膜中心與該左虹膜中心兩者至少其中之一位置推估出螢幕注視點位置。 According to another aspect of the present invention, the eyeball positioning method includes: performing a gaze point estimation, and estimating a position of the gaze point by at least one of the right iris center and the left iris center .

根據上述本發明之另一樣態,其中上述之開啟視訊中接收之收錄影像係為(2000~800)x(1500~300)像素的解析度,其中,一組實施範例係為1280x720像素,並且,收錄影像係為一固定臉部之範圍。 According to another aspect of the present invention, the received image received in the above-mentioned open video is a resolution of (2000 to 800) x (1500 to 300) pixels, wherein a set of embodiments is 1280 x 720 pixels, and The included image is a range of fixed faces.

根據上述本發明之另一樣態,其中上述之設定關注區域係為從該收錄影像中,直接設定一右關注區域與一左關注區域之大小以及之間的位置,然後依該右關注區域與該左關注區域之大小以及之間的位置,擷取該右擷取影像與該左擷取影像,其中,設定右關注區域與左關注區域固定大小為(600~120)x(300~60)像素,再配合鏡頭距離人臉的距離,依照每個人的不同再對鏡頭做調整至抓取到角膜緣,這個大小剛好不會把眉毛包含在裡面,在外圍也不會把鬢角框到,兩個關注區域之間也有一定的距離可把鼻梁排除在關注區域外面,在設定的過程中頭部係為 固定住。 According to another aspect of the present invention, the setting of the attention area is to directly set a size of a right focus area and a left focus area from the recorded image, and then the position between the right focus area and the right focus area. The size of the left focus area and the position between the left focus area and the left capture image, wherein the right focus area and the left focus area are set to a fixed size of (600~120) x (300~60) pixels. Then, in accordance with the distance of the lens from the face, adjust the lens to the corneal edge according to the difference of each person. This size just does not contain the eyebrows, and the corners are not framed at the periphery. There is also a certain distance between the areas of interest to exclude the bridge of the nose from the area of interest. During the setting process, the head is fix.

根據上述本發明之另一樣態,其中上述之關注區域係為240x120像素。 According to another aspect of the invention described above, the above-mentioned region of interest is 240 x 120 pixels.

根據上述本發明之另一樣態,其中上述該右擷取影像與該左擷取影像變成該右單純影像與該左單純影像。在該收錄影像資訊為全彩影像,經由Y=R×0.299+G×0.587+B×0.114式轉換為灰階資訊,只剩下亮度的資訊,其中Y代表亮度,RGB分別代表紅、綠與藍的色度大小,其中,一組實施範例係為轉換過後的亮度的資訊是從全黑的0到全白的255。 According to another aspect of the present invention, the right captured image and the left captured image become the right simple image and the left simple image. The recorded image information is a full-color image, which is converted into gray-scale information by Y = R × 0.299 + G × 0.587 + B × 0.114, leaving only the brightness information, where Y represents brightness and RGB represents red, green and The chromaticity of blue, in which a set of embodiments is the information of the converted brightness from 0 to all black 255.

根據上述本發明之另一樣態,其中上述之該右單純影像與該左單純影像的雜訊,藉由式去除變成該右濾波影像與該左濾波影像。 According to another aspect of the present invention, the noise of the right simple image and the left simple image is versus The mode removal becomes the right filtered image and the left filtered image.

根據上述本發明之另一樣態,其中上述之該右濾波影像與該左濾波影像,係為藉由大於一二值化門檻值呈現出一黑點,小於該二值化門檻值呈現出一白點,分別轉化成該右二值影像與該左二值影像。 According to another aspect of the present invention, the right filtered image and the left filtered image are represented by a threshold value greater than a binarization threshold, and a threshold value less than the binarization threshold is presented. Points are respectively converted into the right binary image and the left binary image.

根據上述本發明之另一樣態,其中上述之二值 化門檻值係為20。 According to another aspect of the invention described above, wherein the two values are The threshold value is 20.

根據上述本發明之另一樣態,其中上述之右二值影像尋找虹膜中心的方法如下面步驟:步驟一,從該右二值影像找到黑點最多的且最靠鼻子的垂直線係為一右第一垂直線;步驟二,從該右第一垂直線出發往鼻子側找到第一條白點最多的垂直線係為一右第二垂直線;步驟三,由該右第二垂直線往右耳朵側找到第一個黑點為一右第一確定點;步驟四,在右二值影像中最低之黑點為一右最低點;步驟五,利用該右第一確定點和該右最低點連線的中間點找到水平線係為一右第一水平線;步驟六,由該右第一水平線和該右第一垂直線的交點沿該右第一水平線往鼻子側找,終點為該右第一水平線和該右第二垂直線的交點,線上的最後一個黑點即為一右第二確定點;步驟七,再由該右第一水平線往該右二值影像右耳朵側移動找第一條白點最多的垂直線係為一右第三垂直線;步驟八,從該右第三垂直線往右二值影像鼻子側找到第一個黑點即為一右第三確定點;步驟九,由該右第一確定點、該右第二確定點及該右第三確定點所構成的一右三角形外接圓,其圓心即為一右虹膜中心。 According to another aspect of the present invention, the method for finding the center of the iris in the right binary image is as follows: Step 1: Find the vertical line with the most black points and the most nose from the right binary image. The first vertical line; step two, starting from the right first vertical line to the nose side to find the first vertical line of the white point is a right second vertical line; step three, the right second vertical line to the right The ear side finds the first black point as a right first certain point; in step 4, the lowest black point in the right binary image is a right lowest point; in step 5, the right first determined point and the right lower point are utilized The middle point of the connection finds the horizontal line as a right first horizontal line; in step 6, the intersection of the right first horizontal line and the right first vertical line is found along the right first horizontal line toward the nose side, and the end point is the right first The intersection of the horizontal line and the second right vertical line, the last black point on the line is a right second certain point; in step 7, the right first horizontal line moves to the right ear side of the right binary image to find the first line The vertical line with the most white points is a right Vertical line; step eight, from the right third vertical line to the right side of the right binary image to find the first black point is a right third determination point; step nine, the right first determination point, the right second A right triangle circumscribed circle formed by the determined point and the right third determined point, the center of which is a right iris center.

根據上述本發明之另一樣態,其中上述之左二值影像尋找虹膜中心的方法如下面步驟:步驟一,從該左二值影像找到黑點最多的且最靠鼻子的一左第一垂直線;步 驟二,從該左第一垂直線出發往鼻子側找到第一條白點最多的垂直線係為一左第二垂直線;步驟三,由該左第二垂直線往左耳朵側找到第一個黑點為一左第一確定點;步驟四,在該左二值影像中最低之黑點為一左最低點;步驟五,利用該左第一確定點和該左最低點連線的中間點找到水平線係為一左第一水平線;步驟六,由該左第一水平線和該右第一垂直線的交點沿該左第一水平線往鼻子側找,終點為該左第一水平線和該左第二垂直線的交點,線上的最後一個黑點即為一左第二確定點;步驟七,再由該左第一水平線往該左二值影像左耳朵側移動找到第一條白點最多的垂直線係為一左第三垂直線;步驟八,從該左第三垂直線往該左二值影像鼻子側找到該第一個黑點即為一左第三確定點;步驟九,由該左第一確定點、該左第二確定點及該左第三確定點所構成的一左三角形外接圓,其圓心即為一左虹膜中心。 According to another aspect of the present invention, the method for finding the iris center in the left binary image is as follows: Step 1: Find the left first vertical line with the black point and the most nose from the left binary image. ;step In the second step, the vertical line from the left first vertical line to the nose side to find the first white point is the second second vertical line; in the third step, the left second vertical line finds the first to the left ear side. The black point is a left first certain point; in step 4, the lowest black point in the left binary image is a left lowest point; in step 5, the middle of the left first determined point and the left lowest point is used. Point to find the horizontal line is a left first horizontal line; in step 6, the intersection of the left first horizontal line and the right first vertical line is found along the left first horizontal line toward the nose side, and the end point is the left first horizontal line and the left The intersection of the second vertical line, the last black point on the line is the second second determination point; in step 7, the left first horizontal line moves to the left ear side of the left binary image to find the first white point. The vertical line is a left third vertical line; in step 8, the first black point is found from the left third vertical line to the nose side of the left binary image, which is a left third determined point; a left first determined point, the left second determined point, and the left third determined point Left into a triangle circumscribed circle whose center is the center of a left iris.

根據上述本發明之另一樣態,其中上述之右三角形外接圓該與左三角形外接圓的半徑大於關注區域之寬度(600~120)像素的三分之一,然後進行設定關注區域。 According to another aspect of the present invention, the radius of the right triangle circumscribed circle and the left triangle circumscribed circle is larger than one third of the width of the region of interest (600 to 120), and then the attention area is set.

根據上述本發明之另一樣態,其中上述之右三角形外接圓與該左三角形外接圓的半徑小於關注區域之寬度(600~120)像素的三分之一,然後進行一螢幕注視點估測。 According to another aspect of the invention described above, wherein the radius of the right triangle circumscribed circle and the left triangle circumscribed circle is less than one third of the width of the region of interest (600-120), and then a screen fixation point estimation is performed.

根據上述本發明之另一樣態,其中上述之右三角形外接圓的半徑小於關注區域之寬度(600~120)像素的三分之一,並且該左三角形外接圓的半徑大於關注區域之寬度(600~120)像素的三分之一,然後進行一左映射補償;該左映射補償之步驟如下:步驟一,計算該右虹膜中心點的垂直方向位置與該右第一確定點的垂直方向位置之差值為一右垂直差距;步驟二,計算該右虹膜中心點的水平方向位置與該右第一確定點的水平方向位置之差值為一右水平差距;步驟三,以該左第一確定點的垂直方向位置為出發點移動該右垂直差距,再往左耳朵側移動該右水平差距即可得到一推估左虹膜中心。 According to another aspect of the present invention, the radius of the right triangle circumscribed circle is less than one third of the width of the region of interest (600-120), and the radius of the left triangle circumscribed circle is greater than the width of the region of interest (600) ~120) one-third of the pixel, and then performing a left mapping compensation; the left mapping compensation step is as follows: Step one, calculating the vertical direction position of the right iris center point and the vertical direction position of the right first determining point The difference is a right vertical gap; in step 2, the difference between the horizontal direction position of the right iris center point and the horizontal direction position of the right first determined point is calculated as a right horizontal difference; and step 3 is determined by the left first The vertical position of the point moves the right vertical gap from the starting point, and then moves the right horizontal gap to the left ear side to obtain a estimated left iris center.

根據上述本發明之另一樣態,其中上述之左三角形外接圓的半徑小於關注區域之寬度(600~120)像素的三分之一,並且該右三角形外接圓的半徑大於關注區域之寬度(600~120)像素的三分之一,然後進行一右映射補償;該右映射補償之步驟如下:步驟一,計算該左虹膜中心點的垂直方向位置與該左第一確定點的垂直方向位置之差值為一左垂直差距;步驟二,計算該左虹膜中心點的水平方向位置與該左第一確定點的水平方向位置之差值為一左水平差距;步驟三,以該右第一確定點的垂直方向位置為出發點移動該左垂直差距,再往右耳朵側移動該左水平差距即可得到一推估右虹膜中心。 According to another aspect of the present invention, the radius of the left triangle circumscribed circle is less than one third of the width of the region of interest (600-120), and the radius of the right triangle circumscribed circle is greater than the width of the region of interest (600) ~120) one-third of the pixel, and then performing a right map compensation; the right map compensation step is as follows: Step one, calculating the vertical direction position of the left iris center point and the vertical position of the left first determination point The difference is a left vertical gap; in step 2, the difference between the horizontal position of the left iris center point and the horizontal position of the left first determined point is calculated as a left horizontal difference; and step 3 is determined by the right first The vertical position of the point moves the left vertical gap from the starting point, and then moves the left horizontal gap to the right ear side to obtain a estimated right iris center.

根據上述本發明之另一樣態,其中上述之螢幕注視點估測,藉由一種線性放大法,利用該右虹膜中心與該左虹膜中心至少其中之一位置推估出螢幕注視點位置。 According to another aspect of the invention described above, wherein the screen fixation point estimation is performed, the position of the gaze point of the screen is estimated by at least one of the center of the right iris and the center of the left iris by a linear amplification method.

根據上述本發明之另一樣態,其中上述之線性放大法,係為藉由預先量測出一虹膜中心觀看螢幕四邊之定點時,該虹膜中心之位置與該螢幕四邊之定點位置之關係,再藉此由其他該虹膜中心之位置,推估觀看螢幕中所在位置。 According to another aspect of the present invention, the linear amplification method is to determine the relationship between the position of the center of the iris and the position of the four sides of the screen by pre-measuring the center of an iris to view the fixed points on the four sides of the screen. Thereby, the position of the viewing screen is estimated by the position of the other iris center.

100‧‧‧眼球定位方法 100‧‧‧ eye positioning method

110‧‧‧開啟視訊 110‧‧‧Open video

120‧‧‧設定關注區域(ROI) 120‧‧‧Set Area of Interest (ROI)

130‧‧‧灰階化 130‧‧‧ Grayscale

140‧‧‧濾波 140‧‧‧ Filter

150‧‧‧二值化 150‧‧‧ Binarization

160‧‧‧虹膜中心估測 160‧‧‧Iris Center Estimate

164L‧‧‧左映射補償 164L‧‧‧left mapping compensation

164R‧‧‧右映射補償 164R‧‧‧right mapping compensation

170‧‧‧螢幕注視點估測 170‧‧‧ Screen gaze estimation

210‧‧‧收錄影像 210‧‧‧Included images

120R‧‧‧右關注區域 120R‧‧‧right area of interest

120L‧‧‧左關注區域 120L‧‧‧Left area of interest

220R‧‧‧右擷取影像 220R‧‧‧Image captured right

220L‧‧‧左擷取影像 220L‧‧‧ Left capture image

230R‧‧‧右單純影像 230R‧‧‧right simple image

230L‧‧‧左單純影像 230L‧‧‧ Left Simple Image

240R‧‧‧右濾波影像 240R‧‧‧right filtered image

240L‧‧‧左濾波影像 240L‧‧‧left filter image

250R‧‧‧右二值影像 250R‧‧‧Right binary image

250L‧‧‧左二值影像 250L‧‧‧left binary image

311R‧‧‧右第一垂直線 311R‧‧‧right first vertical line

312R‧‧‧右第二垂直線 312R‧‧‧Right second vertical line

313R‧‧‧右第三垂直線 313R‧‧‧Right third vertical line

321R‧‧‧右第一水平線 321R‧‧‧Right first horizontal line

331R‧‧‧右第一確定點 331R‧‧‧The first fixed point on the right

332R‧‧‧右第二確定點 332R‧‧‧ second right point

333R‧‧‧右第三確定點 333R‧‧‧ third right point

334R‧‧‧右虹膜中心 334R‧‧‧Right Iris Center

335R‧‧‧右三角形外接圓 335R‧‧‧Right triangle circumscribed circle

336R‧‧‧推估右虹膜中心點 336R‧‧‧ Estimated right iris center point

341R‧‧‧右最低點 341R‧‧‧The lowest point

311L‧‧‧左第一垂直線 311L‧‧‧Left first vertical line

312L‧‧‧左第二垂直線 312L‧‧‧ second vertical line

313L‧‧‧左第三垂直線 313L‧‧‧Left third vertical line

321L‧‧‧左第一水平線 321L‧‧‧Left first horizontal line

331L‧‧‧左第一確定點 331L‧‧‧Lead first point

332L‧‧‧左第二確定點 332L‧‧‧ second second determination point

333L‧‧‧左第三確定點 333L‧‧‧Left third fixed point

334L‧‧‧左虹膜中心 334L‧‧‧Left Iris Center

335L‧‧‧左三角形外接圓 335L‧‧‧Left triangle circumscribed circle

336L‧‧‧推估左虹膜中心點 336L‧‧‧ Estimated left iris center point

341L‧‧‧左最低點 341L‧‧‧Last lowest point

351R‧‧‧右垂直差距 351R‧‧‧Right vertical gap

352R‧‧‧右水平差距 352R‧‧‧Right level gap

351L‧‧‧左垂直差距 351L‧‧‧ Left vertical gap

352L‧‧‧左水平差距 352L‧‧‧Left level gap

400‧‧‧眼球定位系統 400‧‧‧Eye positioning system

405‧‧‧支架 405‧‧‧ bracket

407‧‧‧顯示幕 407‧‧‧ display screen

410‧‧‧攝影機 410‧‧‧ camera

420‧‧‧運算處理裝置 420‧‧‧Operation processing device

第一圖係為角膜緣(Limbus)示意圖;第二圖係為眼電圖法裝置示意圖;第三圖(a)係為搜尋線圈法示意圖;第三圖(b)係為近紅外線LED燈反射後所呈現的影像;第四圖係為利用霍夫圓偵測進行虹膜邊界偵測的結果,(a)右眼(b)左眼;第五圖係為遮罩示意圖;第六圖係為增強濾波器之運算遮罩,(a)基本高通空間濾波之遮罩(b)高頻加強濾波器之遮罩;第七圖係為梯度分量之運算遮罩,(a)行方向,(b)列方向; 第八圖係為平均濾波器之運算遮罩;第九圖係為二值化概念圖;第十圖係為三角形的外接圓及外心;第十一圖係為本發明之一較佳實施方法之步驟流程圖;第十二圖係為本發明之一較佳實施方法,直接在擷取的影像中設定固定的ROI示意圖;第十三圖係為本發明之一較佳實施方法,所使用的濾波器,(a)右眼濾波器(b)左眼濾波器;第十四圖係為本發明之一較佳實施方法,使用濾波器的效果,(a)右眼的灰階影像(b)濾波後的影像;第十五圖係為本發明之一較佳實施方法,二值化的效果。(a)濾波後的影像(b)二值化後的影像;第十六圖係為本發明之一較佳實施方法,右二值影像尋找虹膜中心的方法的示意圖;第十七圖係為本發明之一較佳實施方法,由右二值影像尋找虹膜中心的方法所構成的右眼虹膜中心估測點的示意圖;第十八圖係為本發明之一較佳實施方法,左二值影像尋找虹膜中心的方法的示意圖;第十九圖係為本發明之一較佳實施方法,由左二值影像尋找虹膜中心的方法所構成的做眼虹膜中心估測點的示意圖; 第二十圖係為本發明之一較佳實施方法,左映射補償的方法的示意圖;第二十一圖係為本發明之一較佳實施方法,右映射補償的方法的示意圖;第二十二圖係為本發明之一較佳實施方法,邊界點圖的示意圖;與第二十三圖係為本發明之一較佳實施方法,測試擷取成功率的螢幕上五點圖的分佈位置的示意圖;與第二十四圖係為本發明之一較佳實施系統的示意圖。 The first figure is a schematic diagram of the limbus (Limbus); the second figure is a schematic diagram of the electro-oculogram device; the third figure (a) is a schematic diagram of the search coil method; the third figure (b) is a near-infrared LED light reflection. The image presented later; the fourth image is the result of iris boundary detection using Hough circle detection, (a) the right eye (b) the left eye; the fifth picture is the mask schematic; the sixth picture is The arithmetic mask of the enhancement filter, (a) the mask of the basic high-pass spatial filtering (b) the mask of the high-frequency enhancement filter; the seventh diagram is the operation mask of the gradient component, (a) the row direction, (b ) column direction; The eighth picture is the arithmetic mask of the averaging filter; the ninth picture is the binarization concept picture; the tenth picture is the circumscribed circle and the outer center of the triangle; the eleventh figure is a preferred implementation of the present invention A flow chart of the steps of the method; a twelfth figure is a preferred embodiment of the present invention, which directly sets a fixed ROI diagram in the captured image; and a thirteenth figure is a preferred embodiment of the present invention. Filter used, (a) right-eye filter (b) left-eye filter; fourteenth embodiment is a preferred embodiment of the present invention, using the effect of the filter, (a) gray-scale image of the right eye (b) Filtered image; The fifteenth figure is a preferred embodiment of the present invention, the effect of binarization. (a) filtered image (b) binarized image; FIG. 16 is a schematic diagram of a method for finding the center of the iris in the right binary image according to a preferred embodiment of the present invention; A preferred embodiment of the present invention is a schematic diagram of a right eye iris center estimation point formed by a method for finding an iris center from a right binary image; and an eighteenth diagram is a preferred embodiment of the present invention, the left binary value A schematic diagram of a method for finding an iris center in an image; a nineteenth diagram is a schematic diagram of a method for estimating an iris center formed by a method for finding an iris center from a left binary image according to a preferred embodiment of the present invention; FIG. 20 is a schematic diagram of a method for compensating left mapping according to a preferred embodiment of the present invention; FIG. 11 is a schematic diagram of a preferred embodiment of the present invention, and a method for compensating right mapping; 2 is a schematic diagram of a preferred embodiment of the present invention, a schematic diagram of a boundary point diagram; and a twenty-third diagram is a preferred embodiment of the present invention, and the distribution position of the five-point diagram on the screen of the success rate of the test is tested. The schematic diagram of the twenty-fourth embodiment is a schematic diagram of a preferred embodiment of the present invention.

第二十五圖係為本發明之一較佳實施系統的示意圖。 The twenty-fifthth diagram is a schematic view of a preferred embodiment of the present invention.

本發明在此所探討的是一種眼球定位方法及系統。為了能徹底地瞭解本發明,將在下列的描述中提出詳盡的原料、步驟和應用。顯然地,本發明的施行並未限定於該領域之技藝者所熟習的特殊細節。另一方面,眾所周知的原料或步驟並未描述於細節中,以避免造成本發明不必要之限制。本發明的範例會詳細描述如下,然而除了這些詳細描述之外,本發明還可以廣泛地施行在其他的範例中,且本發明的範圍不受限定,其以之後的專利範圍為準。 The present invention is directed to an eyeball positioning method and system. In order to thoroughly understand the present invention, detailed materials, steps, and applications will be set forth in the following description. Obviously, the practice of the invention is not limited to the specific details that are apparent to those skilled in the art. On the other hand, well-known materials or steps are not described in detail to avoid unnecessarily limiting the invention. The present invention will be described in detail below, but the present invention may be widely practiced in other examples, and the scope of the present invention is not limited by the scope of the following patents.

根據本發明之一較佳實施例,如第十一圖所示,本發明提供一眼球定位方法100,眼球定位方法100包含:進行一開啟視訊110,藉以接收一收錄影像210,然後進行一設定關注區域(ROI)120,係為從收錄影像210中依設定區域擷取一右擷取影像220R與左擷取影像220L,進行一灰階化130把右擷取影像220R與左擷取影像220L變成一右單純影像230R與一左單純影像230L,進行一濾波140把一右單純影像230R與一左單純影像230L的雜訊去除變成一右濾波影像240R與一左濾波影像240L,進行一二值化150把一右濾波影像240R與一左濾波影像240L變成一 右二值影像250R與一左二值影像250L。進行一虹膜中心估測160,藉由右二值影像250R與左二值影像250L中分別取三點,分別形成三角形的外接圓,並推估出一右虹膜中心334R與一左虹膜中心334L,進行一螢幕注視點估測170,藉由一右虹膜中心與一左虹膜中心兩者至少其中之一推估出螢幕注視點。 According to a preferred embodiment of the present invention, as shown in FIG. 11 , the present invention provides an eyeball positioning method 100. The eyeball positioning method 100 includes: performing an open video 110 to receive a recorded image 210, and then performing a setting. The area of interest (ROI) 120 is obtained by capturing a right captured image 220R and a left captured image 220L from the recorded image 210, and performing a grayscaled 130 right captured image 220R and a left captured image 220L. The image becomes a right simple image 230R and a left simple image 230L, and a filtering 140 is performed to remove the noise of a right simple image 230R and a left simple image 230L into a right filtered image 240R and a left filtered image 240L, and a binary value is performed. 150 turns a right filtered image 240R and a left filtered image 240L into one The right binary image 250R and the left binary image 250L. Performing an iris center estimation 160, respectively, by taking three points in the right binary image 250R and the left binary image 250L, respectively forming a triangular circumcircle, and estimating a right iris center 334R and a left iris center 334L, A screen gaze point estimate 170 is performed to estimate the gaze point by at least one of a right iris center and a left iris center.

根據上述之實施例,其中,開啟視訊110中接收之收錄影像210係為(2000~800)x(1500~300)像素的解析度,其中,一組實施範例係為1280x720像素。並且,收錄影像210係為一固定臉部之範圍。 According to the above embodiment, the recorded image 210 received in the open video 110 is a resolution of (2000~800) x (1500~300) pixels, wherein one set of embodiments is 1280x720 pixels. Moreover, the recorded image 210 is a range of fixed faces.

根據上述之實施例,其中,設定關注區域120係為從收錄影像210中,直接設定一右關注區域120R與一左關注區域120L之大小以及之間的位置,然後依右關注區域120R與左關注區域120L之大小以及之間的位置,擷取一右擷取影像220R與左擷取影像220L,其中,設定右關注區域120R與左關注區域120L固定大小為(600~120)x(300~60)像素,如第十二圖,再配合鏡頭距離人臉的距離,依照每個人的不同再對鏡頭做調整至抓取到角膜緣。這個大小剛好不會把眉毛包含在裡面,在外圍也不會把鬢角框到,兩個ROI之間也有一定的距離可把鼻梁排除在ROI外面。在設定的過程中因為頭部是固定住的,所以在只要把眼部區域放進ROI裡就可以確定只在眼睛固定的周圍區域 做處理。其中,一組實施範例係為240x120像素。 According to the above embodiment, the set focus area 120 is configured to directly set the size of a right focus area 120R and a left focus area 120L and the position between the left and right focus areas 120L from the recorded image 210, and then follow the right focus area 120R and the left focus. The size of the area 120L and the position between the right and left capture images 220R and the left focus image 120L are set to be fixed (600~120) x (300~60). ) Pixel, as shown in the twelfth figure, and then match the distance of the lens from the face, and adjust the lens to grab the limbus according to each person's difference. This size is just not included in the eyebrows, and the corners are not framed at the periphery. There is also a certain distance between the two ROIs to exclude the nose from the ROI. Since the head is fixed during the setting process, it is possible to determine only the surrounding area where the eyes are fixed by placing the eye area into the ROI. Do the processing. Among them, a set of implementation examples is 240x120 pixels.

根據上述之實施例,其中,進行一灰階化130把右擷取影像220R與左擷取影像220L變成一右單純影像230R與左單純影像230L。在攝影機擷取的影像資訊為全彩影像,也就是由紅藍綠三種顏色所組成的影像,但為了減少運算時間跟運算量,本方法把彩色資訊經由(2-1)式轉換為灰階資訊,也就是只剩下亮度的資訊,其轉換過後的強度值是從全黑的0到全白的255。 According to the above embodiment, a grayscale 130 is performed to change the right captured image 220R and the left captured image 220L into a right simple image 230R and a left simple image 230L. The image information captured by the camera is a full-color image, that is, an image composed of three colors of red, blue and green, but in order to reduce the calculation time and the amount of calculation, the method converts the color information into gray scale via (2-1). Information, that is, only the information of the brightness, the converted intensity value is from 0 to all black 255.

Y=R×0.299+G×0.587+B×0.114 (2-1) Y = R × 0.299 + G × 0.587 + B × 0.114 (2-1)

根據上述之實施例,其中,進行一濾波140把右單純影像230R與左單純影像230L的雜訊去除變成一右濾波影像240R與左濾波影像240L,如第十三圖所示,其中第十三圖(a)右眼濾波器(b)左眼濾波器。每個人的虹膜形狀都接近圓形,所以此濾波器適用於絕大部分的人。因為攝影機位置在雙眼中間靠近眉心的前方,所以濾波器設計用來去除皮膚及加強虹膜內側邊緣的完整性。濾波前的影像如第十四(a)圖,濾波完後的影像如第十四(b)圖,其中保留了虹膜內緣和部分的外緣資料。 According to the above embodiment, a filtering 140 is performed to remove the noise of the right simple image 230R and the left simple image 230L into a right filtered image 240R and a left filtered image 240L, as shown in the thirteenth figure, wherein the thirteenth Figure (a) Right eye filter (b) Left eye filter. Everyone's iris shape is close to a circle, so this filter is suitable for most people. Because the camera is positioned in the middle of the eye near the front of the eyebrow, the filter is designed to remove the skin and enhance the integrity of the inner edge of the iris. The image before filtering is as shown in the fourteenth (a) picture, and the filtered image is as shown in the fourteenth (b) picture, in which the outer edge of the iris and the outer edge of the part are retained.

根據上述之實施例,其中,進行一二值化150把右濾波影像240R與左濾波影像240L分別轉化成二維座標圖像一右二值影像250R與左二值影像250L,從濾波完後的圖中可以看到大部份的皮膚都被濾波器濾掉了,只剩下 虹膜部分,且中間有一些因為反光的關係造成影像破損,所以在本方法中使用二值化門檻值T0,大於二值化門檻值T0呈現出一黑點,小於於二值化門檻值T0呈現出一白點,其中,一組實施範例係為利用下面(2-2)式把所有不是純白色的像素凸顯成全黑,如第十五圖所示(a)濾波後的影像(b)二值化後的影像,其中,一組實施範例係為二值化門檻值20。 According to the above embodiment, a binarization 150 is performed to convert the right filtered image 240R and the left filtered image 240L into a two-dimensional coordinate image, a right binary image 250R and a left binary image 250L, respectively. It can be seen that most of the skin is filtered by the filter, only the iris part is left, and some of the image is damaged due to the reflective relationship. Therefore, the binarization threshold T 0 is used in the method. A threshold value T 0 greater than the binarization threshold exhibits a black dot, and a threshold value smaller than the binarization threshold T 0 presents a white point, wherein a set of embodiments is to use the following formula (2-2) to treat all the pixels that are not pure white. The pixels are highlighted in full black, as shown in Fig. 15 (a) filtered image (b) binarized image, wherein a set of embodiments is a binarization threshold of 20.

根據上述之實施例,其中,進行一虹膜中心估測170,藉由右二值影像250R與左二值影像250L中取三點,形成三角形的外接圓,推估出一虹膜中心。 According to the above embodiment, an iris center estimation 170 is performed, and three points of the right binary image 250R and the left binary image 250L are used to form a triangular circumcircle, and an iris center is estimated.

根據上述之實施例,其中,如第十六圖與第十七圖所示所示,右二值影像250R尋找虹膜中心的方法如下面步驟: According to the above embodiment, as shown in the sixteenth and seventeenth views, the method of finding the center of the iris by the right binary image 250R is as follows:

步驟一,從右二值影像250R找到黑點最多的(黑點最多係為像素值總和最低)且最靠鼻子的一右第一垂直線311R。 Step one: Find the black point from the right binary image 250R (the black point is at most the sum of the pixel values) and the right first vertical line 311R of the nose.

步驟二,從右第一垂直線311R出發往鼻子側找到第一條白點最多的一右第二垂直線312R,其中,一組實施範例係為像素值全為255的一右第二垂直線312R。 Step 2, starting from the right first vertical line 311R and finding the right second vertical line 312R with the largest white point on the nose side, wherein one set of embodiments is a right second vertical line with a pixel value of 255. 312R.

步驟三,由右第二垂直線312R往耳朵側找到 第一個黑點為一右第一確定點331R。 Step three, found by the right second vertical line 312R to the ear side The first black dot is a right first certain point 331R.

步驟四,在右二值影像250R中最低之黑點為一右最低點341R。 In step four, the lowest black point in the right binary image 250R is a right lowest point 341R.

步驟五,利用右第一確定點331R和右最低點341R連線的中間點找到水平線一右第一水平線321R。 In step five, the horizontal line and the right first horizontal line 321R are found by using the middle point of the line connecting the right first determining point 331R and the right lowest point 341R.

步驟六,由右第一水平線321R和右第一垂直線311R的交點沿右第一水平線321R往鼻子側找,終點為右第一水平線321R和右第二垂直線312R的交點,線上的最後一個黑點即為一右第二確定點332R。 Step 6. The intersection of the right first horizontal line 321R and the right first vertical line 311R is found along the right first horizontal line 321R toward the nose side, and the end point is the intersection of the right first horizontal line 321R and the right second vertical line 312R, the last line on the line. The black dot is a right second determination point 332R.

步驟七,再由右第一水平線321R往右二值影像250R耳朵側移動找到第一條白點最多的垂直線一右第三垂直線313R,其中,一組實施範例係為像素值全為255的垂直線一右第三垂直線313R。 In step 7, the right first horizontal line 321R moves to the right side of the right binary image 250R to find the first vertical line and the right third vertical line 313R. One set of embodiments is that the pixel value is 255. The vertical line is a right third vertical line 313R.

步驟八,從右第三垂直線313R往右二值影像250R鼻子側找到第一個黑點即為一右第三確定點333R。 Step 8: Finding the first black point from the right third vertical line 313R to the nose side of the right binary image 250R is a right third determining point 333R.

步驟九,由右第一確定點331R、右第二確定點332R及右第三確定點333R所構成的一右三角形外接圓335R,其圓心即為一右虹膜中心334R。 Step IX, a right triangle circumcircle 335R formed by the right first determining point 331R, the right second determining point 332R and the right third determining point 333R, the center of which is a right iris center 334R.

根據上述之實施例,其中,如第十八圖與第十九圖所示所示,左二值影像250L尋找虹膜中心的方法如下面步驟: According to the above embodiment, as shown in FIG. 18 and FIG. 19, the method of finding the center of the iris by the left binary image 250L is as follows:

步驟一,從左二值影像250L找到全黑的(全黑係為像素值總和最低)且最靠鼻子的一左第一垂直線311L。 In step one, the all-black (all black is the sum of the pixel values) and the left first vertical line 311L of the nose are found from the left binary image 250L.

步驟二,從左第一垂直線311L出發往鼻子側找到第一條白點最多的一左第二垂直線312L,其中,一組實施範例係為像素值全為255的一左第二垂直線312L。 Step 2, starting from the left first vertical line 311L and finding the first left second vertical line 312L with the largest white point on the nose side, wherein one set of embodiments is a left second vertical line with a pixel value of 255. 312L.

步驟三,由左第二垂直線312L往耳朵側找到第一個黑點為一左第一確定點331L。 In step three, the first black point is found by the left second vertical line 312L toward the ear side as a left first certain point 331L.

步驟四,在左二值影像250L中最低之黑點為一左最低點341L。 In step four, the lowest black point in the left binary image 250L is a left lowest point 341L.

步驟五,利用左第一確定點331L和左最低點341L連線的中間點找到水平線一左第一水平線321L。 In step five, the horizontal line and the left first horizontal line 321L are found by using the middle point of the line connecting the left first determining point 331L and the left lowest point 341L.

步驟六,由左第一水平線321L和右第一垂直線311L的交點沿左第一水平線321L往鼻子側找,終點為左第一水平線321L和左第二垂直線312L的交點,線上的最後一個黑點即為一左第二確定點332L。 Step 6. The intersection of the left first horizontal line 321L and the right first vertical line 311L is found along the left first horizontal line 321L toward the nose side, and the end point is the intersection of the left first horizontal line 321L and the left second vertical line 312L, and the last line on the line. The black dot is a left second determination point 332L.

步驟七,再由左第一水平線321L往左二值影像250L耳朵側移動找到第一條白點最多的垂直線一左第三垂直線313L,其中,一組實施範例係為像素值全為255的垂直線一左第三垂直線313L。 Step 7: moving from the left first horizontal line 321L to the left binary image 250L to the ear side to find the first vertical line and the left third vertical line 313L, wherein one set of embodiments is that the pixel value is all 255. The vertical line is a left third vertical line 313L.

步驟八,從左第三垂直線313L往左二值影像250L鼻子側找到第一個黑點即為一左第三確定點333L。 Step 8: Finding the first black point from the left third vertical line 313L to the nose side of the left binary image 250L is a left third determining point 333L.

步驟九,由左第一確定點331L、左第二確定點332L及左第三確定點333L所構成的一左三角形外接圓335L,其圓心即為一左虹膜中心334L。 Step 9: A left triangle circumcircle 335L formed by the left first determined point 331L, the left second determined point 332L, and the left third determined point 333L, the center of which is a left iris center 334L.

根據上述之實施例,其中,右三角形外接圓335R與左三角形外接圓335L的半徑大於關注區域之寬度(600~120)像素的三分之一,然後進行設定關注區域(ROI)120。 According to the above embodiment, wherein the radius of the right triangle circumscribed circle 335R and the left triangle circumscribed circle 335L is larger than one third of the width (600 to 120) pixels of the region of interest, and then the region of interest (ROI) 120 is set.

根據上述之實施例,其中,一組實施範例係為右三角形外接圓335R與左三角形外接圓335L的半徑大於關注區域之寬度240像素的三分之一,然後進行設定關注區域(ROI)120。 According to the above embodiment, a set of embodiments is such that the radius of the right triangle circumscribed circle 335R and the left triangle circumscribed circle 335L is greater than one third of the width of the region of interest 240 pixels, and then the region of interest (ROI) 120 is set.

根據上述之實施例,其中,右三角形外接圓335R與左三角形外接圓335L的半徑小於關注區域之寬度(600~120)像素的三分之一,然後進行一螢幕注視點估測170。 According to the above embodiment, wherein the radius of the right triangle circumcircle 335R and the left triangle circumcircle 335L is less than one third of the width (600 to 120) pixels of the region of interest, then a screen gaze point estimate 170 is performed.

根據上述之實施例,其中,一組實施範例係為右三角形外接圓335R與左三角形外接圓335L的半徑小於關注區域之寬度240像素的三分之一,然後進行一螢幕注視點估測170。 According to the above embodiment, a set of embodiments is such that the radius of the right triangle circumscribed circle 335R and the left triangle circumscribed circle 335L is less than one third of the width of the region of interest 240 pixels, and then a screen gaze point estimate 170 is performed.

根據上述之實施例,其中,右三角形外接圓335R的半徑小於關注區域之寬度(600~120)像素的三分之一,並且左三角形外接圓335L的半徑大於關注區域之寬度 (600~120)像素的三分之一,然後進行一左映射補償164L。 According to the above embodiment, wherein the radius of the right triangle circumcircle 335R is less than one third of the width of the region of interest (600-120), and the radius of the left triangle circumcircle 335L is greater than the width of the region of interest One-third of the (600~120) pixels, then a left-mapped compensation of 164L.

根據上述之實施例,其中,一組實施範例係為右三角形外接圓335R的半徑小於關注區域之寬度240像素的三分之一,並且左三角形外接圓335L的半徑大於關注區域之寬度240像素的三分之一,然後進行一左映射補償164L。 According to the above embodiment, wherein a set of embodiments is such that the radius of the right triangle circumcircle 335R is less than one third of the width of the region of interest 240 pixels, and the radius of the left triangle circumcircle 335L is greater than the width of the region of interest of 240 pixels. One third, then perform a left mapping compensation of 164L.

根據上述之實施例,其中,左三角形外接圓335L的半徑小於關注區域之寬度(600~120)像素的三分之一,並且右三角形外接圓335R的半徑大於關注區域之寬度(600~120)像素的三分之一,然後進行一右映射補償164R。 According to the above embodiment, wherein the radius of the left triangle circumcircle 335L is less than one third of the width of the region of interest (600-120), and the radius of the right triangle circumscribed circle 335R is greater than the width of the region of interest (600-120) One-third of the pixel is then subjected to a right mapping compensation 164R.

根據上述之實施例,其中,一組實施範例係為左三角形外接圓335L的半徑小於關注區域之寬度240像素的三分之一,並且右三角形外接圓335R的半徑大於關注區域之寬度240像素的三分之一,然後進行一右映射補償164R。 According to the above embodiment, wherein a set of embodiments is such that the radius of the left triangle circumcircle 335L is less than one third of the width of the region of interest 240 pixels, and the radius of the right triangle circumcircle 335R is greater than the width of the region of interest of 240 pixels. One third, then perform a right map compensation 164R.

根據上述之實施例,其中,如第二十圖,左映射補償164L之步驟如下: According to the above embodiment, wherein, as in the twentieth diagram, the steps of the left map compensation 164L are as follows:

步驟一,計算右虹膜中心點334R的垂直方向位置與右第一確定點331R的垂直方向位置之差值為一右垂直差距351R。 In step 1, the difference between the vertical direction position of the right iris center point 334R and the vertical direction position of the right first determination point 331R is calculated as a right vertical gap 351R.

步驟二,計算右虹膜中心點334R的水平方向位置與右第一確定點331R的水平方向位置之差值為一右水 平差距352R。 Step 2, calculating a difference between the horizontal direction position of the right iris center point 334R and the horizontal direction position of the right first determination point 331R is a right water Flat gap 352R.

步驟三,以左第一確定點331L的垂直方向位置為出發點移動該右垂直差距351R,再往左耳朵側移動該右水平差距352R即可得到一推估左虹膜中心點336L。 In step 3, the right vertical gap 351R is moved with the vertical position of the left first determined point 331L as a starting point, and the right horizontal gap 352R is moved to the left ear side to obtain a estimated left iris center point 336L.

步驟四,以推估左虹膜中心點336L到左第一確定點331L的距離為半徑畫圓即可得到推估的左眼虹膜邊界。 In step four, the estimated left eye iris boundary is obtained by estimating the distance from the left iris center point 336L to the left first determining point 331L as a radius.

根據上述之實施例,其中,如第二十一圖,右映射補償164R之步驟如下: According to the above embodiment, wherein, as in the twenty-first figure, the steps of the right mapping compensation 164R are as follows:

步驟一,計算左虹膜中心點334L的垂直方向位置與左第一確定點331L的垂直方向位置之差值為一左垂直差距351L。 In step 1, the difference between the vertical direction position of the left iris center point 334L and the vertical direction position of the left first determination point 331L is calculated as a left vertical gap 351L.

步驟二,計算左虹膜中心點334L的水平方向位置與左第一確定點331L的水平方向位置之差值為一左水平差距352L。 In step two, the difference between the horizontal direction position of the left iris center point 334L and the horizontal direction position of the left first determination point 331L is calculated as a left horizontal difference 352L.

步驟三,以右第一確定點331R的垂直方向位置為出發點移動該左垂直差距351L,再往右耳朵側移動該左水平差距352L即可得到一推估右虹膜中心點336R。 In step 3, the left vertical gap 351L is moved from the vertical position of the right first determined point 331R as the starting point, and the left horizontal gap 352L is moved to the right ear side to obtain a estimated right iris center point 336R.

步驟四,以推估右虹膜中心點336R到右第一確定點331R的距離為半徑畫圓即可得到推估的右眼虹膜邊界。 In step four, the estimated right iris boundary is obtained by estimating the distance from the right iris center point 336R to the right first determined point 331R as a radius.

根據上述之實施例,其中,進行一螢幕注視點 估測170,藉由一種線性放大法,利用虹膜中心之位置推估出螢幕注視點。 According to the above embodiment, wherein a screen fixation point is performed Estimate 170, using a linear amplification method, using the position of the center of the iris to estimate the gaze point of the screen.

根據上述之實施例,其中上述之線性放大法,係為一藉由預先量測出一虹膜中心觀看螢幕四邊之定點時,該虹膜中心之位置與該螢幕四邊之定點之關係,再藉此由其他該虹膜中心之位置,推估觀看螢幕中所在位置。 According to the above embodiment, the linear amplification method is a relationship between the position of the center of the iris and the fixed point of the four sides of the screen when the center of the screen is viewed by an iris center in advance. The location of the other iris center is estimated to be in the position of the viewing screen.

根據上述之實施例,其中,上述之線性放大法係為在螢幕中顯示如第二十二圖所示的幾個注視取樣點,一組實施範例係為假定所考慮的螢幕大小為1280x720像素。在雙眼觀看最上邊界(8號位置)和最下邊界(2號位置)時,記錄虹膜中心座標分別為P p8(x p8 ,y p8)和P p2(x p2 ,y p2),並計算8號和2號y座標的虹膜中心像素差值,這邊稱為Δy;接著觀看最左邊界(4號位置)和最右邊界(6號位置)時,記錄虹膜中心座標分別為P p4(x p4 ,y p4)和P p6(x p6 ,y p6),並計算4號和6號x座標的虹膜中心像素差值,這邊稱為Δx;最後在觀看中間點時也記錄下虹膜中心座標P c (x c ,y c )。接著利用(2-3)式和(2-4)式計算換算比例,再以(2-5)和(2-6)式分別換算出眼睛視線落點P'(x',y')和對應的虹膜中心P(x,y)之間的x座標與y座標之間的關係。 According to the above embodiment, wherein the above linear amplification method is to display several gaze sampling points as shown in the twenty-second diagram on the screen, a set of embodiments assumes that the screen size considered is 1280 x 720 pixels. When the uppermost boundary (position 8) and the lowermost boundary (position 2) are viewed by both eyes, the central coordinates of the iris are recorded as P p 8 ( x p 8 , y p 8 ) and P p 2 ( x p 2 , y, respectively). p 2 ), and calculate the iris center pixel difference between the 8th and 2nd y coordinates, which is called Δ y ; then, when viewing the leftmost boundary (position 4) and the rightmost boundary (position 6), the iris is recorded. The central coordinates are P p 4 ( x p 4 , y p 4 ) and P p 6 ( x p 6 , y p 6 ), respectively, and calculate the iris center pixel difference between the 4th and 6th x coordinates, which is called Δ x ; finally at the middle point of viewing The iris center coordinates P c ( x c , y c ) are also recorded. Then calculate the conversion ratio using equations (2-3) and (2-4), and then convert the eye line of sight P' ( x', y' ) and (2-6) and (2-6) respectively. The relationship between the x coordinate and the y coordinate between the corresponding iris centers P ( x, y ).

其中R x 為水平方向的換算率,R y 為垂直方向的換算率。 Where R x is the conversion ratio in the horizontal direction, and R y is the conversion ratio in the vertical direction.

根據上述之一組實施範例虹膜邊界偵測成功率如下分別說明。 The success rate of iris boundary detection according to one of the above embodiments is as follows.

根據本發明之另一較佳實施例,如第二十四圖所示,本發明提供一眼球定位系統400,眼球定位系統400包含:一支架405,該支架405係為穩定受測者頭部。一顯示幕407,該顯示幕407係為提供受測者觀看用。一攝影機410,該攝影機410係為具可調式支撐棒連結在支架405上。一運算處理裝置420,該算處理裝置420係為用以藉由該攝影機410接收一收錄影像210,然後進行一設定關注區域(ROI)120,係為從收錄影像210中依設定區域擷取一右擷取影像220R與左擷取影像220L,進行一灰階化130把右擷取影像220R與左擷取影像220L變成一右單純影像230R與一左單純影像230L,進行一濾波140把一右單純影像230R與一左單純影像230L的雜訊去除變成一右濾波影像240R與一左濾波影像240L,進行一二值化150把一右 濾波影像240R與一左濾波影像240L變成一右二值影像250R與一左二值影像250L。進行一虹膜中心估測170,藉由一右二值影像250R與一左二值影像250L中取三點,分別形成三角形的外接圓,並推估出一右虹膜中心334R與一左虹膜中心334L,進行一螢幕注視點估測170,藉由一右虹膜中心與一左虹膜中心兩者至少其中之一推估出螢幕注視點。 According to another preferred embodiment of the present invention, as shown in FIG. 24, the present invention provides an eyeball positioning system 400. The eyeball positioning system 400 includes a bracket 405 for stabilizing the head of the subject. . A display screen 407 is provided for viewing by a subject. A camera 410 is attached to the bracket 405 with an adjustable support bar. An arithmetic processing device 420 is configured to receive a recorded image 210 by the camera 410, and then perform a set focus area (ROI) 120, which is obtained from the recorded image 210 according to the set area. Right capture image 220R and left capture image 220L, perform a grayscale 130. Turn right capture image 220R and left capture image 220L into a right simple image 230R and a left simple image 230L, perform a filtering 140 to a right The noise removal of the simple image 230R and the left simple image 230L becomes a right filtered image 240R and a left filtered image 240L, and a binarization 150 is performed. The filtered image 240R and the left filtered image 240L become a right binary image 250R and a left binary image 250L. An iris center estimation 170 is performed, and three points of a right binary image 250R and a left binary image 250L are respectively formed to form a triangular circumcircle, and a right iris center 334R and a left iris center 334L are estimated. A screen gaze point estimate 170 is performed to estimate the gaze point by at least one of a right iris center and a left iris center.

根據上述之一組實施範例,支架405利用放置在下巴位置的水平儀,調整支架405下方四個支撐腳的高低,就可讓支撐頭部的橫桿達到水平,如第二十五圖所示。在實驗前可以依照受測者覺得舒適的高度再配合椅子跟螢幕進行調整。 According to one of the above embodiments, the bracket 405 adjusts the height of the four support legs below the bracket 405 by using a level placed at the chin position, so that the crossbar supporting the head can be level, as shown in Fig. 25. Before the experiment, it can be adjusted according to the height that the subject feels comfortable with the chair and the screen.

偵測成功的定義為兩眼都有虹膜邊界,包含一眼成功擷取另一眼用映射補償法去推估,也就是兩眼都有中心點的座標資訊。(2-7)式用來計算出成功率S 1The detection success is defined as the iris boundary of both eyes, including one eye successfully taking another eye mapping compensation method to estimate, that is, the coordinate information of the center point of both eyes. The formula (2-7) is used to calculate the success rate S 1 .

受測者為五人,在距離螢幕50公分處觀看螢幕上的五個點,每個人每秒抓取10幀,每點抓取10秒,5點總共會有500幀,實驗計算方式會排除受測者閉眼時的影像,所以有效的影像總數有可能小於500幀。在1280x720大小的螢幕上的五個點如第二十三圖所示,每個受測者在 各點的成功率呈現在表1中。實驗結果顯示,五位受測者中有兩位在有效的影像中的所有影像都有兩隻眼睛的數據,也就是100%的偵測成功率,包含擷取眼和映射補償眼。另外三位受測者中,扣除掉閉眼時的影像計算為無效的影像外,沒有數據的影像都發生在看左邊點跟右邊點時,但成功率都有在96%以上。此外,每位受測者注視各點的平均成功率也都在99%以上。若以每一點為單位來分析時,各點也都有97%以上的成功機率。以總體來計算,也就是以所有的有效影像來計算,成功率也都達到99.75%。偵測失敗的可能原因為閉眼過程中造成微量的殘影,且眼睛在擷取的影像中眼皮是張開比較多的情況,殘影經過前處理後虹膜呈現較多破損,造成偵測失敗。 The testee is five people, watching five points on the screen at a distance of 50 cm from the screen. Each person grabs 10 frames per second, grabs 10 seconds per point, and has 500 frames at 5 points. The experimental calculation method will be excluded. The image of the subject when the subject is closed, so the total number of valid images may be less than 500 frames. Five points on a 1280x720 screen, as shown in Figure 23, each subject is The success rate of each point is presented in Table 1. The experimental results showed that two of the five subjects had data on both eyes in all of the images in the effective image, which is 100% detection success rate, including the captured eye and the mapped compensation eye. Among the other three subjects, images with no data were counted as invalid images, and images without data occurred at the left and right points, but the success rate was over 96%. In addition, the average success rate of each subject's attention to each point is also above 99%. If analyzed in units of each point, each point has a probability of success of more than 97%. Calculated by the whole, it is calculated by all effective images, and the success rate is also 99.75%. The possible cause of the detection failure is that a slight amount of residual image is caused during the process of closing the eye, and the eyelids are opened more in the captured image, and the iris is more damaged after the residual image is processed, resulting in detection failure.

雙眼皆擷取到的成功率,在實驗中會有三種結果產生,第一種為兩隻眼睛都各自成功擷取到虹膜邊界,這就是本段所要呈現的結果,第二種為一隻眼睛成功擷取,第二隻眼睛用映射補償的方式去推算出虹膜邊界在哪裡,第三種為都沒有擷取到任何一隻眼睛。實驗是用上一節所使用的五點圖,以(8)式計算成功擷取率,表2為五位受測者的測試結果。 The success rate of both eyes is obtained. In the experiment, there will be three results. The first one is that each of the two eyes successfully captures the iris boundary. This is the result of this paragraph. The second one is a The eye succeeded, and the second eye used map compensation to estimate where the iris boundary was. The third one did not capture any of the eyes. The experiment is based on the five-point chart used in the previous section, and the success rate is calculated by (8). Table 2 shows the test results of five subjects.

可以看到五位受測者在不同位置上都有一些失敗的情況,總體來說失敗集中在注視左邊點和右邊點時,但最低也有87%的成功率,最高則為100%。每位受測者在五個點上的平均也都有96%以上的成功擷取率,每個點分別來看也有95%以上的成功率,總體來算也可達98.39%的成功擷取率。一隻眼睛失敗的可能原因為受測者雙眼未達到水平,造成其中一眼睫毛的陰影和眼睛內角或外角的雜訊連在一起造成不合理的情況導致偵測失敗。 It can be seen that the five subjects have some failures in different positions. In general, the failure focuses on the left and right points, but the lowest is 87% success rate, and the highest is 100%. Each of the subjects has an average success rate of more than 96% at five points. Each point has a success rate of more than 95%, and the overall calculation can reach 98.39%. rate. The possible cause of failure of one eye is that the subject's eyes are not level, causing the shadow of one eyelash and the noise of the inner or outer corner of the eye to be connected together, causing unreasonable conditions and causing detection failure.

出現映射補償眼的機率,這一節所要呈現的是一隻眼擷取成功,另一隻眼用映射補償的方式去推估虹膜邊界時的機率。受測者為五人,利用五點圖做實驗,機率P的計算方式如(2-9)式,結果呈現在表3中。 The probability of mapping compensating eyes appears. This section presents one eye successfully and the other eye uses the map compensation method to estimate the probability of the iris boundary. The subjects were five, and the five-point chart was used for the experiment. The probability P was calculated as (2-9), and the results are shown in Table 3.

這一節為出現映射補償眼的機率,可以跟上面兩小節相互呼應。當一隻眼成功擷取,另一隻眼沒被擷取到時就會產生映射補償眼。數據顯示也都集中在左邊點和右邊點,最高機率13%發生在當4號受測者看下面的點時,這是因為該受測者的眼睫毛比較長,加上鏡頭擺放位置的關係,在往下看時上眼皮會自然往下移動,導致陰影的部分比較多而產生不合理的虹膜大小出現,所以就以映射補償的方式替代。每一位受測者產生映射補償眼的機率都在4%以下。以每個點來看,扣除掉4號和5號受測者後,最高和次高機率發生在左眼和右眼,這是因為攝影機擺放位置為眉心前方,當往左或往右看時一定會有一隻眼睛遠離攝影機,遠離攝影機的這隻眼睛就比較可能會產生映射補償作用,但以每一點來看最高的機率也都在4%以下,最後 以全部有效幀數來計算,得到有1.35%的機率會產生映射補償眼。 This section is the probability of the map compensating eye, which can echo the two subsections above. When one eye is successfully captured and the other eye is not captured, a mapping compensation eye is generated. The data display is also concentrated on the left and right points. The highest probability of 13% occurs when the 4th subject sees the following point. This is because the subject's eyelashes are longer and the position of the lens is placed. When looking down, the upper eyelids will naturally move down, resulting in more shadows and an unreasonable size of the iris, so it is replaced by mapping compensation. The probability that each subject produces a map compensation eye is below 4%. At each point of view, after deducting the 4th and 5th subjects, the highest and second highest chances occur in the left and right eyes. This is because the camera is placed in front of the eyebrow and when looking left or right. There must be one eye away from the camera. The eye that is far away from the camera is more likely to have a map compensation effect, but the highest chance of each point is below 4%. Calculated by the total number of valid frames, a probability of 1.35% will result in a map compensation eye.

視線落點估測的準確性,視線落點的估測是利用雙眼ROI的座標資訊相加後除以二再以線性放大法映射到螢幕上,一樣是用五點圖去做實驗,並利用(2-12)式和(2-13)式計算映射點座標跟測試點座標的水平誤差和垂直誤差。表4為五位受測者觀看五個測試點的平均誤差,每一個測試點在受測者自行確定專心注視後紀錄10次觀看的座標,再以此10筆數據做計算。 The accuracy of the line-of-sight estimation, the estimation of the line-of-sight point is obtained by adding the coordinate information of the binocular ROI, dividing it by two and then mapping it to the screen by linear amplification, and using the five-point chart to do the experiment, and The horizontal and vertical errors of the mapped point coordinates and the test point coordinates are calculated using equations (2-12) and (2-13). Table 4 shows the average error of five test points viewed by five subjects. Each test point records the coordinates of 10 observations after the subject himself determines to concentrate on watching, and then calculates the data with 10 data.

其中H 6 為水平誤差,V 6 為垂直誤差。結果分別顯示於表4與表5 中。 Where H 6 is the horizontal error and V 6 is the vertical error. The results are shown in Tables 4 and 5, respectively.

表4顯示水平方向的誤差,其中可以發現左邊點和右邊點的誤差比較大,平均接近7%,而在上下點的誤差是4%左右,當眼睛看左或看右時x座標的變動是比較劇烈的,y座標比較不會變動,所以在計算水平誤差時會比較大。表5顯示垂直方向的誤差,可以發現大部分是上下點的誤差比較大,平均為4%到6%,而左右點是3%以內,當眼睛看上或下時y座標的變化比較劇烈,x座標比較不會改變,所以看上下點時垂直誤差會比較大。整體水平方向的平均誤差為4.5%,垂直方向平均誤差為3.5%。 Table 4 shows the error in the horizontal direction. It can be found that the error of the left and right points is relatively large, and the average is close to 7%, while the error at the upper and lower points is about 4%. When the eye looks left or right, the change of the x coordinate is More dramatic, the y coordinate will not change, so it will be larger when calculating the horizontal error. Table 5 shows the error in the vertical direction. It can be found that most of the errors of the upper and lower points are relatively large, with an average of 4% to 6%, and the left and right points are within 3%. When the eyes are up or down, the change of the y coordinate is more severe. The x coordinate comparison will not change, so the vertical error will be larger when looking at the up and down points. The average error in the overall horizontal direction is 4.5%, and the average error in the vertical direction is 3.5%.

接下來的視線落點是以單眼ROI的資訊做實驗,並分成左眼和右眼,分別以1280x720的長方形五點圖和720x720的正方形五點圖做對照,再分別計算出水平誤差和垂直誤差。結果分別顯示於表6到表13中。 The next line of sight is based on the information of the single-eye ROI and is divided into the left and right eyes. The rectangular five-point diagram of 1280x720 and the five-point diagram of 720x720 are used to compare the horizontal and vertical errors. . The results are shown in Tables 6 to 13, respectively.

表6和表7的實驗差別在於觀察的視窗是長方形或是正方形,皆以右眼的座標資訊做視線落點實驗並計算其水平誤差。其中可以發現在表6中觀看右邊點時誤差明顯變比較大,這是因為看右邊點時鏡頭離右眼的外緣是最遠的,造成在外緣變形比較多,映射到螢幕上的誤差也變比較大,而最小的誤差在看中間點時出現,這是因為在做線性放大法時需要以中間點當基礎點往四周去做計算,矯正時就有在中間點做紀錄,所以誤差較小。表7是以正方形五點圖做實驗,也是在看右邊點時的水平誤差比較大,但比起觀看長方形五點圖右邊點的誤差時也降低了一些,這是因為正方形的右邊點比起長方形的右邊點要來的 靠近左側,也就是攝影機在虹膜外緣所擷取到的資料會比較完整一些。最小的誤差也是出現在觀看中間點的時候,這也是因為校正時就有看中間點做校正,在實驗中觀看中間點的誤差就會比較小一些。 The experimental difference between Table 6 and Table 7 is that the observed window is rectangular or square. The coordinates of the right eye are used for the line-of-sight experiment and the horizontal error is calculated. It can be found that the error is significantly larger when viewing the right point in Table 6. This is because the outer edge of the right eye is the farthest when looking at the right point, resulting in more deformation on the outer edge, and the error mapped to the screen is also The change is relatively large, and the smallest error occurs when looking at the intermediate point. This is because when doing the linear amplification method, it is necessary to calculate the intermediate point as the base point to the periphery. When correcting, there is a record at the intermediate point, so the error is better. small. Table 7 is an experiment with a square five-point diagram. It is also a large horizontal error when looking at the right point, but it is also lower than the error of viewing the right point of the rectangular five-point diagram. This is because the right side of the square is compared with The right side of the rectangle is coming Close to the left, that is, the information captured by the camera on the outer edge of the iris will be more complete. The smallest error is also present when viewing the intermediate point. This is also because the correction is performed when the intermediate point is corrected, and the error in viewing the intermediate point in the experiment is smaller.

表8和表9的差別在於觀察的視窗是長方形的或正方形的,實驗皆以右眼資訊做視線落點偵測,計算其垂直誤差。在長方形五點圖中可以看到誤差值最大的落在上點和下點,正方形五點圖也有一樣的結果,這是因為在長方形跟正方形五點圖中這兩點是在同一個位置,跟寬是沒有關係的,而在左邊點和右邊點的垂直誤差可以觀察出長方形跟正方形五點圖有差不多的結果,這是因為在看左邊點跟右邊點時水平座標變動會比較大,垂直座標的變動比較微小,所以差距並不大。而誤差最小皆落在中間點,因為長方形跟正方形五點圖都要在中間點做校正,也會是落點誤差最小的點。 The difference between Table 8 and Table 9 is that the observed window is rectangular or square. The experiment uses the right eye information to make the line of sight detection and calculate the vertical error. In the rectangular five-point diagram, we can see that the maximum error value falls on the upper point and the lower point. The square five-point diagram also has the same result. This is because the two points in the rectangle and the square five-point diagram are in the same position. It has nothing to do with width, but the vertical error of the left and right points can observe that the rectangle has a similar result to the square five-point diagram. This is because the horizontal coordinate changes will be larger and vertical when looking at the left and right points. The change in coordinates is relatively small, so the gap is not large. The minimum error is at the middle point, because the rectangle and the square five-point map should be corrected at the middle point, and the point where the drop point error is the smallest.

表10和表11是用左眼的座標資訊觀看長方形和正方形五點圖注視落點的水平誤差,在表10和表11誤差最大皆落在看左邊點時發生,但正方形五點圖又比長方形五點圖的誤差來的小1個百分點,有這些變化是因為正方形五點的的左邊點位置會比長方形五點圖的左邊點更靠近中間,在用右眼座標資訊做落點實驗時也有相同的推論。而有些誤差最小的落在觀看上點或下點,這是因為在觀看這兩點時水平方向的移動量不大所造成,但平均誤差最小的皆落在觀看中間點時。 Tables 10 and 11 show the horizontal error of the rectangular and square five-point graphs with the coordinate information of the left eye. The maximum error in Tables 10 and 11 occurs when the left point is seen, but the square five-point map is The error of the rectangular five-point diagram is 1% smaller. These changes are because the left point of the square five points is closer to the middle than the left point of the rectangular five-point diagram. When using the right eye coordinate information to do the drop point experiment There are also the same inferences. Some of the smallest errors fall on the upper or lower point of view. This is because the amount of movement in the horizontal direction is small when viewing these two points, but the smallest average error falls when viewing the intermediate point.

表12和表13是注視落點在長方形五點圖和正方形五點圖的垂直誤差,可以觀察到兩個表的最大誤差出現在觀看上點跟下點時,這是因為這兩個點在兩種五點圖的位置是一樣的,且在觀看上點跟下點時的垂直座標移動比較劇烈,水平座標幾乎不太有變動,而在觀看左邊點跟右邊點的垂直誤差兩表的結果是差不多的,因為在觀看這兩點時變動比較劇烈的是水平座標,垂直座標變動較小, 最小誤差皆落在觀看中間點時發生。 Table 12 and Table 13 are the vertical errors of the gaze point on the rectangular five-point diagram and the square five-point diagram. It can be observed that the maximum error of the two tables appears when viewing the upper point and the lower point, because these two points are The positions of the two five-point diagrams are the same, and the vertical coordinate movements when viewing the upper point and the lower point are more severe, the horizontal coordinates are hardly changed, and the results of the vertical errors of the left and right points are observed. It’s about the same, because when you watch these two points, the horizontal coordinates are more dramatic, and the vertical coordinates change less. The smallest error occurs when viewing the intermediate point.

表14為異色邊界法和三點測圓法的誤差比較表。異色邊界法需以手動的人工方式在異色邊界靠近虹膜 部分點選六個像素並取最大的像素值為參數,接著也是以人工方式在異色邊界靠近眼白的部分點選六個像素並取像素值最小的為參數,再以此兩個參數設為閥值去做異色邊界和眼白及虹膜的分水嶺,最後找出虹膜區域後取座標重心當作虹膜中心點,且每個受測者皆需要點選後產生屬於自己的參數。本發明所提出的三點測圓法完全以自動的方式即可偵測出角膜緣,對於不同受測者的虹膜進行偵測皆可使用三點測圓法。在論文[王俊雄,使用CCD影像之快速視向偵測系統及肢障人機介面應用,國立清華大學電機工程學系研究所碩士論文,1998]中以異色邊界法所得的實驗結果顯示平均水平誤差為19.1%,平均垂直誤差為18.3%,而三點測圓法所得的實驗結果顯示平均水平誤差為4.5%,平均垂直誤差為3.5%。在實驗方法上,異色邊界法和三點測圓法都是以攝影機直接擷取臉部影像,此外,異色邊界法是以身體倚靠椅背固定後進行實驗,而三點測圓法是使用架子固定住頭部後進行,最後也都使用線性放大法進行注視落點估測。但要注意兩者中所用實驗的影像並不相同,螢幕大小也不同,故結果僅供參考,不代表公平的實際差距。雖然如此,但大致可看出本文所提方法的優異表現。 Table 14 is a table of error comparisons between the heterochromatic boundary method and the three-point circle method. The heterochromatic boundary method needs to be manually applied to the iris at the heterochromatic boundary. Partially select six pixels and take the largest pixel value as a parameter. Then, manually select six pixels in the part of the heterochromatic border near the white of the eye and take the pixel value as the minimum parameter, and then set the two parameters as the valve. Values are used to make the color boundary and the watershed of the eye white and the iris. Finally, after finding the iris area, the coordinate center of gravity is taken as the center point of the iris, and each subject needs to click to generate its own parameters. The three-point circle method proposed by the invention can detect the limbus completely in an automatic manner, and the three-point circle method can be used for detecting the iris of different subjects. In the paper [Wang Junxiong, the rapid visual detection system using CCD image and the application of the human interface of the disabled, the master's thesis of the Institute of Electrical Engineering, National Tsinghua University, 1998], the experimental results obtained by the heterochromatic boundary method show the average horizontal error. At 19.1%, the average vertical error is 18.3%, and the experimental results obtained by the three-point circle method show an average horizontal error of 4.5% and an average vertical error of 3.5%. In the experimental method, the heterochromatic boundary method and the three-point circle method directly capture the facial image by the camera. In addition, the heterochromatic boundary method is performed after the body is fixed against the back of the chair, and the three-point circle method uses the shelf. After the head is fixed, the linear magnification method is used to estimate the gaze drop point. However, it should be noted that the images used in the experiments are not the same, and the screen size is different. Therefore, the results are for reference only and do not represent a fair actual gap. Nevertheless, the excellent performance of the proposed method can be seen roughly.

表14.本文所提方法與另一方法所得平均誤差的比較。 Table 14. Comparison of the average error obtained by the method proposed herein and another method.

綜上所述,本發明之眼球定位方法及系統,較目前市面上產品偵測率高,本發明改善了舊有眼球定位方法及系統之缺點,具有明顯之市場價值。顯然地,依照上面實施例中的描述,本發明可能有許多的修正與差異。因此需在其附加的權利請求項之範圍內加以理解,除上述詳細描述外,本發明還可以廣泛地在其他的實施例中施行。上述僅為本發明之較佳實施例而已,並非用以限定本發明之申請專利範圍;凡其它未脫離本發明所揭示之精神下所完成的等效改變或修飾,均應包含在下述申請專利範圍內。 In summary, the eyeball positioning method and system of the present invention has higher detection rate than the current product on the market, and the invention improves the shortcomings of the old eyeball positioning method and system, and has obvious market value. Obviously, many modifications and differences may be made to the invention in light of the above description. It is therefore to be understood that within the scope of the appended claims, the invention may be The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the claims of the present invention; all other equivalent changes or modifications which are not departing from the spirit of the present invention should be included in the following claims. Within the scope.

100‧‧‧眼球定位方法 100‧‧‧ eye positioning method

110‧‧‧開啟視訊 110‧‧‧Open video

120‧‧‧設定關注區域 120‧‧‧Set the area of interest

130‧‧‧灰階化 130‧‧‧ Grayscale

140‧‧‧濾波 140‧‧‧ Filter

150‧‧‧二值化 150‧‧‧ Binarization

160‧‧‧虹膜中心估測 160‧‧‧Iris Center Estimate

164L‧‧‧左映射補償 164L‧‧‧left mapping compensation

164R‧‧‧右映射補償 164R‧‧‧right mapping compensation

170‧‧‧螢幕注視點估測 170‧‧‧ Screen gaze estimation

Claims (20)

一種眼球定位系統,該眼球定位系統包含:一顯示幕,該顯示幕係為提供受測者觀看用;一攝影機,該攝影機係為具可調式支撐棒連結在支架上;與一運算處理裝置,該算處理裝置係為用以藉由該攝影機接收一收錄影像,然後進行一設定關注區域,係為從該收錄影像中依設定區域擷取一右擷取影像與左擷取影像,進行一灰階化將該右擷取影像與該左擷取影像變成一右單純影像與一左單純影像,進行一濾波將該右單純影像與該左單純影像的雜訊去除變成一右濾波影像與一左濾波影像,進行一二值化將該右濾波影像與該左濾波影像變成一右二值影像與一左二值影像,進行一虹膜中心估測,藉由該右二值影像與該左二值影像中取三點,分別形成三角形的外接圓,並推估出一右虹膜中心與一左虹膜中心,進行一螢幕注視點估測,藉由該右虹膜中心與該左虹膜中心兩者至少其中之一推估出螢幕注視點位置。 An eyeball positioning system, comprising: a display screen for providing a subject for viewing; a camera, the camera is connected with an adjustable support rod on the support; and an arithmetic processing device, The processing device is configured to receive a recorded image by the camera, and then perform a setting of the attention area, by extracting a right captured image and a left captured image according to the set region from the recorded image, and performing a gray The grading transforms the right captured image and the left captured image into a right simple image and a left simple image, and performs a filtering to remove the right simple image and the left simple image noise into a right filtered image and a left Filtering the image, performing a binarization, and converting the right filtered image and the left filtered image into a right binary image and a left binary image, and performing an iris center estimation by using the right binary image and the left binary value Three points are taken from the image to form a circumscribed circle of the triangle, and a right iris center and a left iris center are estimated to perform a screen fixation point estimation, by the right iris center and the left rainbow Both the center of the screen at least one of the gaze point position conjecture. 根據申請專利範圍第1項之眼球定位系統,其中上述之眼球定位系統包含:一支架,該支架係為用以穩定受測者頭部。 The eyeball positioning system according to claim 1, wherein the eyeball positioning system comprises: a bracket for stabilizing the head of the subject. 根據申請專利範圍第1項之眼球定位系統,其中上述之顯示幕係為接收與顯示該運算處理裝置提供之訊息,並且攝影機的解析度係為1280x720像素。 According to the eyeball positioning system of claim 1, wherein the display screen is for receiving and displaying the information provided by the arithmetic processing device, and the resolution of the camera is 1280 x 720 pixels. 一種眼球定位方法,該眼球定位方法包含:進行一開啟視訊,藉以接收一收錄影像;進行一設定關注區域,係為從該收錄影像中依設定區域擷取一右擷取影像與一左擷取影像;進行一灰階化,將該右擷取影像與該左擷取影像轉變成一右單純影像與一左單純影像;進行一濾波,將該右單純影像與該左單純影像的雜訊去除變成一右濾波影像與一左濾波影像;進行一二值化,將該右濾波影像與該左濾波影像變成一右二值影像與一左二值影像;與進行一虹膜中心估測,藉由該右二值影像與該左二值影像中取三點,分別形成三角形的外接圓,並推估出一右虹膜中心與一左虹膜中心。 An eyeball positioning method includes: performing an open video to receive a recorded image; and performing a setting of the attention area by extracting a right captured image and a left capture from the recorded image Image; performing a grayscale transformation, converting the right captured image and the left captured image into a right simple image and a left simple image; performing a filtering to remove the right simple image and the left simple image noise into a right filtered image and a left filtered image; performing a binarization, converting the right filtered image and the left filtered image into a right binary image and a left binary image; and performing an iris center estimation by using the The right binary image and the left binary image take three points, respectively forming a triangular circumcircle, and estimating a right iris center and a left iris center. 根據申請專利範圍第1項之眼球定位方法,其中上述眼球定位方法包含:進行一螢幕注視點估測,藉由該右虹膜中心與該左虹膜中心兩者至少其中之一位置推估出螢幕注視 點位置。 According to the eyeball positioning method of claim 1, wherein the eyeball positioning method comprises: performing a gaze point estimation, and estimating the gaze by at least one of the position of the right iris center and the left iris center Point location. 根據申請專利範圍第1、4項之眼球定位方法,其中上述之開啟視訊中接收之收錄影像係為(2000~800)x(1500~300)像素的解析度,其中,一組實施範例係為1280x720像素,並且,收錄影像係為一固定臉部之範圍。 According to the eyeball positioning method of the first and fourth aspects of the patent application scope, the received image received in the above-mentioned open video is a resolution of (2000~800) x (1500~300) pixels, wherein a set of implementation examples is 1280x720 pixels, and the included image is a range of fixed faces. 根據申請專利範圍第1、4項之眼球定位方法,其中上述之設定關注區域係為從該收錄影像中,直接設定一右關注區域與一左關注區域之大小以及之間的位置,然後依該右關注區域與該左關注區域之大小以及之間的位置,擷取該右擷取影像與該左擷取影像,其中,設定右關注區域與左關注區域固定大小為(600~120)x(300~60)像素,再配合鏡頭距離人臉的距離,依照每個人的不同再對鏡頭做調整至抓取到角膜緣,這個大小剛好不會把眉毛包含在裡面,在外圍也不會把鬢角框到,兩個關注區域之間也有一定的距離可把鼻梁排除在關注區域外面,在設定的過程中頭部係為固定住。 According to the eyeball positioning method of the first and fourth aspects of the patent application, wherein the setting of the attention area is to directly set the size of a right focus area and a left focus area from the recorded image, and then the position The size of the right focus area and the left focus area and the position between the right focus area and the left view image are captured, wherein the right focus area and the left focus area are set to a fixed size of (600~120) x ( 300~60) pixels, and then the distance from the lens to the face, according to each person's different adjustments to the lens to grab the limbus, this size just does not contain the eyebrows inside, will not be the corners Framed, there is also a certain distance between the two areas of interest to exclude the bridge of the nose from the area of interest, and the head is fixed during the set process. 根據申請專利範圍第7項之眼球定位方法,其中上述之關注區域係為240x120像素。 According to the eyeball positioning method of claim 7, wherein the above-mentioned area of interest is 240 x 120 pixels. 根據申請專利範圍第1、4項之眼球定位方法,其中該右擷 取影像與該左擷取影像變成該右單純影像與該左單純影像。在該收錄影像資訊為全彩影像,經由Y=R×0.299+G×0.587+B×0.114式轉換為灰階資訊,只剩下亮度的資訊,其中Y代表亮度,RGB分別代表紅、綠與藍的色度大小,其中,一組實施範例係為轉換過後的亮度的資訊是從全黑的0到全白的255。 According to the eyeball positioning method of the first and fourth aspects of the patent application, the right captured image and the left captured image become the right simple image and the left simple image. The recorded image information is a full-color image, which is converted into gray-scale information by Y = R × 0.299 + G × 0.587 + B × 0.114, leaving only the brightness information, where Y represents brightness and RGB represents red, green and The chromaticity of blue, in which a set of embodiments is the information of the converted brightness from 0 to all black 255. 根據申請專利範圍第1、4項之眼球定位方法,其中上述之該右單純影像與該左單純影像的雜訊,藉由式去除變成該右濾波影像與該左濾波影像。 According to the eyeball positioning method of the first and fourth aspects of the patent application, wherein the right simple image and the left simple image noise are used by versus The mode removal becomes the right filtered image and the left filtered image. 根據申請專利範圍第1、4項之眼球定位方法,其中上述之該右濾波影像與該左濾波影像,係為藉由大於一二值化門檻值呈現出一黑點,小於該二值化門檻值呈現出一白點,分別轉化成該右二值影像與該左二值影像。 According to the eyeball positioning method of the first and fourth aspects of the patent application, wherein the right filtered image and the left filtered image are represented by a threshold value greater than a binarization threshold, which is smaller than the binarization threshold. The value presents a white point, which is converted into the right binary image and the left binary image, respectively. 根據申請專利範圍第11項之眼球定位方法,其中上述之二值化門檻值係為20。 According to the eyeball positioning method of claim 11, wherein the above-mentioned binarization threshold is 20. 根據申請專利範圍第1、4項之眼球定位方法,其中上述之右二值影像尋找虹膜中心的方法如下面步驟:步驟一,從該右二值影像找到黑點最多的且最靠鼻子的垂直線係為一右第一垂直線;步驟二,從該右第一垂直線出發往鼻子側找到第一條白點最多的垂直線係為一右第二垂直線;步驟三,由該右第二垂直線往右耳朵側找到第一個黑點為一右第一確定點;步驟四,在右二值影像中最低之黑點為一右最低點;步驟五,利用該右第一確定點和該右最低點連線的中間點找到水平線係為一右第一水平線;步驟六,由該右第一水平線和該右第一垂直線的交點沿該右第一水平線往鼻子側找,終點為該右第一水平線和該右第二垂直線的交點,線上的最後一個黑點即為一右第二確定點;步驟七,再由該右第一水平線往該右二值影像右耳朵側移動找到第一條白點最多的垂直線係為一右第三垂直線;步驟八,從該右第三垂直線往右二值影像鼻子側找到第一個黑點即為一右第三確定點;步驟九,由該右第一確定點、該右第二確定點及該右第三確定點所構成的一右三角形外接圓,其圓心即為一右虹膜中心。 According to the eyeball positioning method of the first and fourth aspects of the patent application, the method for finding the center of the iris by the right binary image is as follows: Step 1: Find the most black point and the most vertical of the nose from the right binary image. The line is a right first vertical line; in step 2, the vertical line from the right first vertical line to the nose side to find the first white point is a right second vertical line; step three, by the right The second vertical line finds the first black point as the right first certain point on the right ear side; in step 4, the lowest black point in the right binary image is the right lowest point; step 5, using the right first certain point The middle point of the line connecting the right lowest point is found to be a right first horizontal line; in step 6, the intersection of the right first horizontal line and the right first vertical line is found along the right first horizontal line toward the nose side, and the end point For the intersection of the right first horizontal line and the right second vertical line, the last black point on the line is a right second certain point; in step 7, the right first horizontal line goes to the right binary image right ear side Move to find the first white point The straight line is a right third vertical line; in step 8, the first black point is found from the right third vertical line to the right side of the right binary image as a right third determining point; step nine, the right first A right triangle circumscribed circle formed by the determined point, the right second determined point and the right third determined point, the center of which is a right iris center. 根據申請專利範圍第1、4項之眼球定位方法,其中上述之左二值影像尋找虹膜中心的方法如下面步驟:步驟一,從該左二值影像找到黑點最多的且最靠鼻子的一左第一垂直線;步驟二,從該左第一垂直線出發往鼻子側找到第一條 白點最多的垂直線係為一左第二垂直線;步驟三,由該左第二垂直線往左耳朵側找到第一個黑點為一左第一確定點;步驟四,在該左二值影像中最低之黑點為一左最低點;步驟五,利用該左第一確定點和該左最低點連線的中間點找到水平線係為一左第一水平線;步驟六,由該左第一水平線和該右第一垂直線的交點沿該左第一水平線往鼻子側找,終點為該左第一水平線和該左第二垂直線的交點,線上的最後一個黑點即為一左第二確定點;步驟七,再由該左第一水平線往該左二值影像左耳朵側移動找到第一條白點最多的垂直線係為一左第三垂直線;步驟八,從該左第三垂直線往該左二值影像鼻子側找到該第一個黑點即為一左第三確定點;步驟九,由該左第一確定點、該左第二確定點及該左第三確定點所構成的一左三角形外接圓,其圓心即為一左虹膜中心。 According to the eyeball positioning method of the first and fourth aspects of the patent application, the method for finding the center of the iris by the left binary image is as follows: Step 1: Find the one with the most black spots and the most nose from the left binary image. The first vertical line on the left; step two, starting from the first vertical line on the left, find the first line on the side of the nose The vertical line with the most white point is a left second vertical line; in step 3, the first black point is found by the left second vertical line to the left ear side as a left first certain point; step four, in the left two The lowest black point in the value image is the left lowest point; in step 5, the horizontal line is used as the left first horizontal line by using the middle point of the left first determined point and the left lowest point connection; step six, by the left The intersection of a horizontal line and the right first vertical line is found along the left first horizontal line toward the nose side, and the end point is the intersection of the left first horizontal line and the left second vertical line, and the last black point on the line is one left Two determining points; step seven, and then moving from the left first horizontal line to the left ear side of the left binary image to find the first vertical line of the white point is a left third vertical line; step eight, from the left The third vertical line finds the first black point on the nose side of the left binary image as a left third determination point; step IX, the left first determination point, the left second determination point, and the left third determination point A left triangle circumscribed by a point, the center of which is a left iris . 根據申請專利範圍第1、4項之眼球定位方法,其中上述之右三角形外接圓該與左三角形外接圓的半徑大於關注區域之寬度(600~120)像素的三分之一,然後進行設定關注區域。 According to the eyeball positioning method of the first and fourth aspects of the patent application scope, wherein the radius of the circumscribed circle of the right triangle and the radius of the circumscribed circle of the left triangle is greater than one third of the width of the region of interest (600 to 120), and then setting attention region. 根據申請專利範圍第1、4項之眼球定位方法,其中上述之右三角形外接圓與該左三角形外接圓的半徑小於關注區域 之寬度(600~120)像素的三分之一,然後進行一螢幕注視點估測。 According to the eyeball positioning method of the first and fourth aspects of the patent application scope, wherein the radius of the right triangle circumscribed circle and the left triangle circumscribed circle is smaller than the attention area One-third of the width (600~120) pixels, and then a screen gaze point estimate. 根據申請專利範圍第13、14項之眼球定位方法,其中上述之右三角形外接圓的半徑小於關注區域之寬度(600~120)像素的三分之一,並且該左三角形外接圓的半徑大於關注區域之寬度(600~120)像素的三分之一,然後進行一左映射補償;該左映射補償之步驟如下:步驟一,計算該右虹膜中心點的垂直方向位置與該右第一確定點的垂直方向位置之差值為一右垂直差距;步驟二,計算該右虹膜中心點的水平方向位置與該右第一確定點的水平方向位置之差值為一右水平差距;步驟三,以該左第一確定點的垂直方向位置為出發點移動該右垂直差距,再往左耳朵側移動該右水平差距即可得到一推估左虹膜中心。 According to the eyeball positioning method of claim 13, the radius of the circumscribed circle of the right triangle is less than one third of the width of the region of interest (600~120), and the radius of the circumscribed circle of the left triangle is larger than the focus. The width of the region (600~120) is one-third of the pixel, and then a left map compensation is performed; the left map compensation step is as follows: Step 1: Calculate the vertical direction position of the right iris center point and the right first certain point The difference between the vertical position is a right vertical gap; in step 2, the difference between the horizontal position of the right iris center point and the horizontal position of the right first determined point is calculated as a right horizontal difference; The vertical position of the left first determined point moves the right vertical gap as a starting point, and then moves the right horizontal gap to the left ear side to obtain a estimated left iris center. 根據申請專利範圍第13、14項之眼球定位方法,其中上述之左三角形外接圓的半徑小於關注區域之寬度(600~120)像素的三分之一,並且該右三角形外接圓的半徑大於關注區域之寬度(600~120)像素的三分之一,然後進行一右映射補償;該右映射補償之步驟如下:步驟一,計算該左虹膜中心點的垂直方向位置與該左第一確定點的垂直方向位置之差值為一左垂直差距;步驟二,計算該左虹膜中心點 的水平方向位置與該左第一確定點的水平方向位置之差值為一左水平差距;步驟三,以該右第一確定點的垂直方向位置為出發點移動該左垂直差距,再往右耳朵側移動該左水平差距即可得到一推估右虹膜中心。 According to the eyeball positioning method of claim 13 and 14, wherein the radius of the left triangle circumscribed circle is less than one third of the width of the region of interest (600-120), and the radius of the right triangle circumscribed circle is larger than the focus The width of the region (600~120) is one-third of the pixel, and then a right map compensation is performed; the right map compensation step is as follows: Step 1: Calculate the vertical direction position of the left iris center point and the left first determination point The difference between the vertical position is a left vertical gap; in step two, the left iris center point is calculated The difference between the horizontal direction position and the horizontal position of the left first determined point is a left horizontal difference; in step 3, the left vertical gap is moved with the vertical direction position of the right first determined point as a starting point, and then to the right ear Move the left horizontal gap to the side to get a estimated right iris center. 根據申請專利範圍第1、4項之眼球定位方法,其中上述之螢幕注視點估測,藉由一種線性放大法,利用該右虹膜中心與該左虹膜中心至少其中之一位置推估出螢幕注視點位置。 According to the eyeball positioning method of the first and fourth aspects of the patent application, wherein the above-mentioned screen fixation point estimation is performed by using a linear amplification method, using at least one of the right iris center and the left iris center to estimate the screen annotation. Viewpoint location. 根據申請專利範圍第1、4項之眼球定位方法,其中上述之線性放大法,係為藉由預先量測出一虹膜中心觀看螢幕四邊之定點時,該虹膜中心之位置與該螢幕四邊之定點位置之關係,再藉此由其他該虹膜中心之位置,推估觀看螢幕中所在位置。 According to the eyeball positioning method of the first and fourth aspects of the patent application, wherein the above linear amplification method is to measure the position of the center of the iris and the four sides of the screen by pre-measuring an iris center to view the fixed points on the four sides of the screen. The positional relationship is then used to estimate the location of the viewing screen from the location of the other iris center.
TW103146641A 2014-12-31 2014-12-31 Eyeball locating method and system TWI515609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103146641A TWI515609B (en) 2014-12-31 2014-12-31 Eyeball locating method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103146641A TWI515609B (en) 2014-12-31 2014-12-31 Eyeball locating method and system

Publications (2)

Publication Number Publication Date
TWI515609B TWI515609B (en) 2016-01-01
TW201624200A true TW201624200A (en) 2016-07-01

Family

ID=55640287

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103146641A TWI515609B (en) 2014-12-31 2014-12-31 Eyeball locating method and system

Country Status (1)

Country Link
TW (1) TWI515609B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI630507B (en) * 2017-09-25 2018-07-21 仁寶電腦工業股份有限公司 Gaze detection, identification and control method
CN112906596A (en) * 2021-03-03 2021-06-04 杭州电子科技大学 Iris center positioning method based on low-resolution optical camera

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI716959B (en) * 2019-08-07 2021-01-21 華南商業銀行股份有限公司 System of product promotion using image tracking and method of the same
TWI748858B (en) * 2019-08-07 2021-12-01 華南商業銀行股份有限公司 System of product promotion using image tracking and method of the same
TWI748857B (en) * 2019-08-07 2021-12-01 華南商業銀行股份有限公司 System of product promotion using image tracking and method of the same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI630507B (en) * 2017-09-25 2018-07-21 仁寶電腦工業股份有限公司 Gaze detection, identification and control method
US10437330B2 (en) 2017-09-25 2019-10-08 Compal Electronics, Inc. Gaze detection, identification and control method
US10488923B1 (en) 2017-09-25 2019-11-26 Compal Electronics, Inc. Gaze detection, identification and control method
CN112906596A (en) * 2021-03-03 2021-06-04 杭州电子科技大学 Iris center positioning method based on low-resolution optical camera

Also Published As

Publication number Publication date
TWI515609B (en) 2016-01-01

Similar Documents

Publication Publication Date Title
CN106056092B (en) The gaze estimation method for headset equipment based on iris and pupil
TWI515609B (en) Eyeball locating method and system
Hammoud Passive eye monitoring: Algorithms, applications and experiments
Otero-Millan et al. Knowing what the brain is seeing in three dimensions: A novel, noninvasive, sensitive, accurate, and low-noise technique for measuring ocular torsion
KR20200063173A (en) Digital therapeutic corrective glasses
CN104809424B (en) Method for realizing sight tracking based on iris characteristics
de Almeida et al. Computational methodology for automatic detection of strabismus in digital images through Hirschberg test
CN111933275A (en) Depression evaluation system based on eye movement and facial expression
US20230022921A1 (en) System and method for analyzing corneal lesion using anterior ocular segment image, and computer-readable recording medium
CN111494177A (en) Vision training method considering visual development of both eyes
Nair et al. RIT-Eyes: Rendering of near-eye images for eye-tracking applications
CN109917908B (en) Image acquisition method and system of AR glasses
CN115670370A (en) Retina imaging method and device for removing vitreous opacity spots of fundus image
Bhatia et al. A review on eye tracking technology
TW201124917A (en) Alignment method and alignment apparatus of pupil or facial characteristics
CN105760848A (en) Pupil positioning method based on annular template convolution
Gronenschild et al. The use of faces as stimuli in neuroimaging and psychological experiments: A procedure to standardize stimulus features
JP5829850B2 (en) Pupil measurement device
CN108231165A (en) A kind of auxiliary system of eye disease diagnosis
Karaaslan et al. A new method based on deep learning and image processing for detection of strabismus with the Hirschberg test
Mariakakis et al. Ocular symptom detection using smartphones
Arai Computer input system based on gaze vector estimation with iris center detection from face images acquired with a Web camera allowing user movement
US11776315B2 (en) Appearance based dominant eye selector systems and methods for gaze estimation from passive imagery
Quang et al. Mobile traumatic brain injury assessment system
CN113080844B (en) Visual inspection and visual training device for preferential retina areas

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees