[go: up one dir, main page]

TW200410037A - System and method for registering image of eyeglasses - Google Patents

System and method for registering image of eyeglasses Download PDF

Info

Publication number
TW200410037A
TW200410037A TW092105390A TW92105390A TW200410037A TW 200410037 A TW200410037 A TW 200410037A TW 092105390 A TW092105390 A TW 092105390A TW 92105390 A TW92105390 A TW 92105390A TW 200410037 A TW200410037 A TW 200410037A
Authority
TW
Taiwan
Prior art keywords
image
lens
glasses
aforementioned
mask
Prior art date
Application number
TW092105390A
Other languages
Chinese (zh)
Other versions
TWI230835B (en
Inventor
Takehiko Yoshida
Hisanobu Tada
Original Assignee
Vision Optic Co Ltd
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 Vision Optic Co Ltd filed Critical Vision Optic Co Ltd
Publication of TW200410037A publication Critical patent/TW200410037A/en
Application granted granted Critical
Publication of TWI230835B publication Critical patent/TWI230835B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Eyeglasses (AREA)
  • Image Analysis (AREA)
  • Image Input (AREA)

Abstract

The present invention provides a system for registering image of eyeglasses wherein any person can take an image of eyeglasses at a predetermined quality anytime, anywhere and the image of eyeglasses which can be combined with an image of the person can be obtained quickly at low cost. The system includes a shooting apparatus (10) for taking a front shot of eyeglasses, a shooting apparatus (100) for taking a crane shot of eyeglasses, and a computer (200) for generating an image data out of the front image which can be combined with an image of a person by image processing and registering it together with specifications of the eyeglasses. The image processing includes eyeglass boundary detecting processing for detecting boundary of the eyeglasses in a direction from background part toward eyeglass part and lens boundary detecting processing for estimating lens part from the detected eyeglass boundary and detecting boundary of lenses in a direction from the lens part toward the lens boundary part. The image processing generates a frame mask image and a lens mask image to be combined with the image of a person. The registered data is transmitted to an eyeglass ordering system (300) via a network.

Description

200410037 玖、發明說明: 【發明戶斤屬之技術領域3 發明領域 本發明是關於先對眼鏡架進行攝影,形成在電腦畫面 5 上能夠與人物影像合二爲一的影像資料並進行登錄的眼鏡 影像登錄系統以及眼鏡影像登錄方法,特別是關於形成與 登錄使用電腦進行眼鏡的銷售服務時所需要的影像資料的 眼鏡影像登錄系統以及眼鏡影像登錄方法。 t先前技術3 10 發明背景 到現在爲止’眼鏡的銷售是通過眼鏡的需求者去眼鏡 店,實際試戴眼鏡架,並從中挑選一副眼鏡架來進行的。 在此情形下,鏡片度數可通過檢測視力來決定,而鏡 片的顏色和眼鏡架則須實際試戴,有必要破認是否合適, 15 這樣一來,必須準備各種各樣的眼鏡架。 特別是在現在眼鏡架種類繁多,比方說有金屬鏡架、 塑膠鏡架、尼龍鏡架和兩點式鏡架,而且新的款式不斷産 生’所以在店晨要備齊所有品種的眼鏡架是困難的。 因此,如特開2001-350982所揭示的那樣,通過設置在 20店内的終鈿裝置,對眼鏡需求者的臉進行攝影,與預先儲 存的眼鏡架影像進行合成,顯示在電腦畫面上,這樣的話, 即便沒有實物的眼鏡架’也能挑選“意的眼鏡架。 由於網際網路等網路技術的發達,在網上開設假想的 店鋪’需求者訪問該假想店铺,不需要任何人手就能銷售 5 眼鏡的系統已經被開發出來了,即便這樣,從需求者的電 腦接受臉型影像,與事先儲存的眼鏡架影像合成在一起, 向需求者的電腦發送資訊,顯示在電腦畫面上,需求者能 夠從中選擇所希望的款式的眼鏡架,以上過程是不可少的。 在上述眼鏡銷售系統中,需求者的臉型影像資料比方 α兒,可使用通過數位相機拍攝,儲存在需求者的電腦中的 資料。 在這樣的眼鏡銷售系統,對於將眼鏡影像合成在人物 影像上,有必要事先將眼鏡架的影像資料以合成可能的形 悲進行登錄。 &這樣的影像資料可直接使用設計目艮鏡架時的電腦設計 資料,如沒有電腦設計資料,則有必要再次製圖,或者對 艮鏡架進行攝影,形成合成可能的影像資料。 、、疋再-人製圖在作業上不僅鼻返工,而且在製作現 場«製的眼鏡架要在鎖售店或因網路上的假想店内進行 接叉定貨那樣的迅速的處理是困難。 …對眼勒騎攝影,形成合成可能的影像資料的方法 來有必要進行以下作業。即攝影,從拍攝的影像中選 =適的f碌儲存在電腦巾,變換彳旨魏鏡架部分和鏡片 部分的資料。因爲以上的攝影和電腦處理需要專業知識和 熟練技術,所以迄今爲止^專輯科在攝 進行攝影,再由電腦影像處理專家對拍攝的影像資=行 電腦處理。 、 因此’攝影和電腦處理在需要花費相當的費用的同 時’有必㈣純鏡架,以上對崎低眼鏡㈣價格以及 進行迅速的銷售都是不利的。 本發明的主要目的是提供任何時候’在任何地方,任 何人都能以減本迅速鱗恥成可_f彡像資料的眼鏡 影像登錄系統以及影像登錄方法。 【智?^明内溶1】 發明概要 (軾隹甲請專利範 10 、τ的日艮鏡影像登錄糸統具 備拍攝眼鏡的影像的攝影裝置,形成合成用影像的合成用 影像形成裝置和登錄裝置。 …攝影裝置對眼鏡影像進行攝影,合成用影像形成裝置 ^成可σ成的衫像,登錄裝置對眼鏡架的諸元進行登錄, 任何人在任何時候,任何地方都能以低成本且迅速地得到 可和人物影像合成的影像資料。 15 ::在申請專利範圍第2項中的眼鏡影像登錄系統是 置^ f專利範圍第1項中的眼鏡影像登錄系統,攝影裝 上門f明裝置和攝像裝置’將眼鏡架放在攝影箱内,關 上門’對眼鏡影像進行攝影。 20 ^樣’不受相糕的料,任何人在任 何地f都能簡便地進行針對眼鏡影像的攝影。 觸3物嶋彡像登錄系統是 鏡影像登錄系統二申請專利範圍第2項中的眼 爾心衣置包含拍攝眼鏡正面影像的裝置。 犯夠取知合成正面人物影像的眼鏡影像。 7 i S載在”專利範圍第4項t的眼鏡影像登錄系統是 錢在申請專利範圍第!項至申請專利範圍第3項中的任何 I個眼鏡影像登錄系統,攝影裝置包含拍攝眼鏡的俯嗽影 像的裝置。 據此在眼鏡銷售系統能夠取得使用的眼鏡的外影 像。 ’200410037 (1) Description of the invention: [Technical field of the inventor's family 3 Field of the invention The present invention relates to glasses that first photograph a spectacle frame and form image data on a computer screen 5 that can be combined with a person's image and registered. An image registration system and a glasses image registration method, and more particularly, a glasses image registration system and a glasses image registration method for forming and registering image data required when a computer is used for sales service of glasses. t Prior Art 3 10 Background of the Invention Until now, the sales of spectacles have been carried out by the demander of the spectacles going to the spectacle store, actually trying on the spectacle frame, and selecting a pair of spectacle frames from it. In this case, the power of the lens can be determined by detecting vision, and the color of the lens and the spectacle frame must be actually tried on. It is necessary to check whether it is appropriate. 15 In this way, various spectacle frames must be prepared. Especially nowadays, there are many types of glasses frames, such as metal frames, plastic frames, nylon frames, and two-point frames, and new styles are constantly produced. difficult. Therefore, as disclosed in Japanese Patent Application Laid-Open No. 2001-350982, by using a terminal device installed in 20 stores, the face of the spectacles user is photographed, synthesized with a previously stored spectacle frame image, and displayed on a computer screen. Even if you do n’t have a physical spectacle frame, you can choose spectacle frames. Due to the development of Internet and other Internet technologies, you can open an imaginary shop on the Internet. 5 The glasses system has been developed. Even then, the face image is received from the computer of the customer, and it is combined with the image of the glasses frame stored in advance, and the information is sent to the computer of the customer and displayed on the computer screen. The customer can The above process is indispensable for selecting a desired type of spectacle frame. In the above-mentioned spectacles sales system, the facial image data of the demander, such as α, can be taken with a digital camera and stored in the demander's computer. In such a glasses sales system, it is necessary to synthesize glasses images on person images in advance. Register the image data of the spectacle frame as a possible composition. &Amp; Such image data can directly use the computer design data when designing the lens frame. If there is no computer design data, it is necessary to make a drawing again, or The frame is used for photography to form synthetic image data. 、, 疋, re-man drawing is not only nasal rework on the operation, but also on the production site «eyeglass frames made in the lock shop or imaginary shop on the Internet It is difficult to deal with the order as quickly as possible.… It is necessary to perform the following operations on the method of forming photosynthetic image data by taking pictures of the eyes and legs. That is to say, select the appropriate image from the captured images and store them in a computer towel. Transform the data of the frame part and lens part of Wei Wei. Because the above photography and computer processing require professional knowledge and proficient technology, so far ^ album section is taking photos, and then computer image processing experts will use the image data = Computer processing. Therefore, 'photographing and computer processing at the same time will cost a considerable amount of money' must have a pure frame, the above Saki's low glasses price and rapid sales are disadvantageous. The main purpose of the present invention is to provide glasses images registration that can be quickly and cost-effectively anytime, anywhere. System and image registration method. [Chi? ^ 明 内 融 1] Summary of the Invention (Japanese Patent No. 10, Patent No. 10, τ, Japanese lens mirror image registration system is provided with a photographing device that captures the image of glasses to form a composite image for composition The image forming device and the registration device are used to photograph the image of the glasses, the image forming device is used to synthesize the image of the shirt, and the registration device is used to register the elements of the glasses frame. Anyone, anytime, anywhere It is possible to obtain image data that can be synthesized with people's images at low cost and quickly. 15 :: The glasses image registration system in the second patent application scope is the glasses image registration system in the first patent scope, The camera is equipped with a door opening device and a camera device. 'Place the glasses frame in the camera box and close the door.' It is easy to take photos of eyeglasses without anybody's fancy material. The three-object image registration system is a mirror image registration system No. 2 in the scope of patent application No. 2 of the patent application, which includes a device for capturing frontal images of glasses. It is enough to know the spectacle image of the composite frontal image. 7 i S The glasses image registration system contained in item 4 of the “Patent Scope” is any I glasses image registration system in which the money is in the scope of patent application! Item 3 to the scope of patent application. This device is used to obtain an external image of the glasses used in the eyewear sales system.

…兄載在申請專利範圍第5項中的眼鏡影像登錄系統是 記載在申請專利範圍第J項至申請專利範圍第*項中的任何 一項的眼鏡影像⑽系統,合成用影像形成裝置具有包含 10眼鏡架遮罩影像和鏡片遮罩影像的形成的遮罩形成裝置。 ^根據被形成的眼鏡架遮罩影像,能夠用被拍攝的眼鏡 影像置換眼鏡架部分,根據形成的鏡片遮罩影像,將鏡片 部分和眼鏡的鏡片部分半透明地合成,能夠容易地合成人 物影像和眼鏡架。 15 5己載在申請專利範圍第6項中的眼鏡影像登錄系統是… The spectacle image registration system described in item 5 of the scope of patent application is a spectacle image recording system described in any one of the scope of application scope J to the scope of application scope *. 10 A mask forming device for forming a spectacle frame mask image and a lens mask image. ^ According to the formed spectacle frame mask image, the spectacle frame portion can be replaced with the photographed spectacle image. According to the formed lens mask image, the lens portion and the lens portion of the glasses are translucently synthesized, and the person image can be easily synthesized. And glasses frame. 15 5 The glasses image registration system that has been included in item 6 of the scope of patent application is

圮載在申請專利範圍第5項中的眼鏡影像登錄系統,遮罩形 成裝置包含眼鏡外周檢測裝置和鏡片外周檢測裝置,眼鏡 的外周和鏡片的外周形成眼鏡架遮罩影像,具有從鏡片的 外周形成鏡片遮罩影像的機能。 20 由眼鏡外周檢測裝置檢測出的眼鏡的外周顯示眼鏡的 外形’由鏡片外周檢測裝置檢測出的鏡片的外周顯示眼鏡 内的鏡片的範圍,可將被眼鏡的外周和鏡片的外周包圍的 部分看成是眼鏡的鏡架部分,可將被檢測出的鏡片的外周 所包圍的部分看成是眼鏡的鏡片部分。 8 根據這樣的影像處理,眼鏡架遮罩影像和鏡片遮罩影 像自動地形成,任何人都能容易地登錄合成用影像資料。 不僅是金屬眼鏡架和塑膠眼鏡架,還有像尼龍眼鏡架 和兩點式眼鏡架那樣的沒有鏡框或只有一部分鏡框的眼 鏡,不需要特別的資訊,就能自動地形成合成用影像資料。 記載在申請專利範圍第7項中的眼鏡影像登錄系統是 冗載在申請專利範圍第6項中的影像登錄系統,眼鏡外周檢 ’則裝置包含眼鏡邊界檢測裝置和鏡片邊界檢測裝置。 從眼鏡影像的背景部向眼鏡部位通過檢測眼鏡的邊界 能夠容易地檢測眼鏡的外周。根據檢測出的眼鏡的外周推 定眼鏡影像的鏡框部分,從鏡框部分的周邊附近向鏡片周 邊部檢測出邊界,抑制貼於鏡片部上之標簽與鏡片内之光 暈專的景> 響,容易地檢測出鏡片的外周。 >記載在申請專利範圍第8項中的眼鏡影像登錄系統是 記載在申請專利範圍第7項中的眼鏡影像登錄系統,眼鏡外 周檢測裝置包魏鏡邊界追蹤裝置和鏡μ邊界追縱裝置。 以由眼鏡邊界追蹤裝置檢測出的眼鏡的邊界爲出發點 依次檢測出附近的邊界並料追縱,㈣有效地檢㈣目 鏡的外周,即便是複雜的形狀的鏡框和眼鏡鼻架組: 時,也能正確地檢測出眼鏡的外周。 咐甲靖專利範圍第9項中的眼鏡影像 記載在中請專職嶋項至t請專利範嶋項中的心 一個眼鏡祕登⑽統,眼鏡㈣檢縣 任何 補全裝置和鏡料周補全裝置。 艮鏡外周 據此,在眼鏡外周檢測裝置和鏡片外周檢測裝置因邊 界不明了外周資料發生殘缺時,也能依據檢測出的外周資 料推定殘缺部的外周資料並進行補全。 貝 記載在申請專利範圍第10項中的眼鏡影像登錄系統是 d載在申請專利範圍第6項至申請專利範圍第9項中的任何 -個眼鏡影像登錄系統L卜周檢測裝置包含眼鏡外周 不正突起除去裝置和鏡片外周不正突起除去裝置。 。 據此,由於陰影等原因外周部産生不正突起的場合, 從檢測出的外周資料能推定突起部的外周資料,並除去不 正突起部。 記載在申請專利範圍第Η項中的眼鏡影像登錄系統是 記載在申請專利範圍第6項至申請專利範圍第1〇項中的任 何-個眼鏡影像登錄系統,料形成裝置包含眼鏡機種資 说取彳于裝置,眼鏡外周檢測裝置以及鏡片外周檢测裝置活 用由眼鏡機種資訊取得裴置取得的眼鏡的機種資訊,具有 檢測眼鏡的外周以及鏡片的外周的機能。 據此,即使眼鏡的外周以及鏡片的外周的檢測包含複 雜的機種,通過活職取得⑽鏡的機種資訊,能夠自動 的形成遮罩。 當刼作員判斷當初被形成的遮罩不合適的時候,可以 在畫面上藉由依眼鏡的機種選擇按鈕而再作成遮罩。 這樣在對應所用的機種的眼鏡是困難的場合,操作員 通過按機種選擇按鈕能容易地形成遮罩。 $載在中請專利範圍第u項巾㈣鏡影像登錄系統是 200410037 記載在申請專利範圍第5項至申請專利範圍第㈣的往何 -個眼鏡影絲m料形絲置包含左右比較補正 裝置。 據此,即便由於眼鏡架或鏡片有陰影等眼鏡架或鏡片 5遮罩影像的-部分産生不正部&的場合,也能予以糾正。 記載在申請專利範圍第i 3項中的眼鏡影像登錄系統是 記載在申請專利範圍第5項至申請專利範圍第㈣的佐何 -個眼鏡影像登m遮罩形成裝置包含遮罩手動編华 裝置。 本 10 據此,在自動地形成眼鏡架遮罩影像以及鏡片遮罩影 像是困難的場合,通過指定眼鏡影像的眼鏡架部分以及= 片部分,能夠通過手動編集眼鏡架遮罩影像以及鏡片遮罩 影像,修正自動形成的影像資料。 記載在申請專利範圍第14項中的眼鏡影像登錄系統是 15記載在申請專利範圍第5項至申請專利範圍第训的任何 -個眼鏡影像登錄n合錢影像形成裝置包含合成人 物影像和眼鏡影像的合成顯示裝置。 在拍攝現場進行合成人物影像和眼鏡影像的試驗,如 拍攝效果欠佳,可立即進行再次攝影,所以能夠提供高品 20質的合成用影像資料。 Α載在中請專利範圍第15項巾㈣鏡影像登錄系統是 記載在申請專利範圍第14項中的眼鏡影像登錄系統,合成 ”、、員示破置具有^曰疋鏡片的顏色和透過率的機能。 在合成人物影像和眼鏡影像時,因爲能夠指定鏡片的 11 須色和透過率,所以能夠根據合成的結果,變更商品的登 ,,彔内夺,也能進行再次攝影,能夠提供更高品質的合成用 影像資料。 …冗載在申請專㈣圍第丨6項巾的眼鏡影像登錄系統是 。己栽在中請專利範圍第14項或者中請專利範圍第15項中的 眼鏡影像登錄线,合賴示裝置具有調節眼鏡影像位置 的機能。 據此,在合成人物圖形和眼鏡影像時,因爲能夠變更 兩者間的相對位置,所以能夠設定合成時的最佳位置。 §己載在申請專利範圍第17項中的眼鏡影像登錄系統是 記栽在申請專利範圍第1項至申請專利範圍第16項中的任 何一個眼鏡影像登錄系統,登錄裝置具備讀取貼在鏡框部 分的標簽的標簽讀取裝置。 據此,因爲能夠通過自動地讀取印在眼鏡影像上的標 簽,進行商品登錄,所以能夠防止人爲的登錄失誤,能夠 更簡便地提供合成用影像資料。依據讀取的標簽資訊,進 行眼鏡外周檢測以及鏡片外周檢測,能抑制起因於陰影等 的誤檢測,能夠形成信賴性更高的遮罩。 據此,因爲能夠當場進行人物影像與眼鏡影像的合成 試驗,如攝影欠佳可以當場重新攝影,所以能夠提供高品 質的合成用影像資料。 記載在申請專利範圍第15項中的眼鏡影像登錄系統是 記載在申請專利範圍第14項中的眼鏡影像登錄系統,合成 顯示裝置具有指定鏡片顏色和透過率的機能。 200410037 據此,在合成眼鏡影像和人物影像時,因爲能夠指定 鏡片的顏色和透過率,可以根據合成的結果,變更商品的 登錄内容,或進行再攝影,能夠提供更高品質的合成用影 像資料。 5 記載在申請專利範圍第16項中的眼鏡影像登錄系統是 記載在申請專利範圍第14項或者申請專利範圍第15項中的 眼鏡影像登錄系統,合成顯示裝置具有調節眼鏡影像的位 置的機能。 據此,在合成人物影像和眼鏡影像時,因爲能夠變更 10 人物影像和眼鏡影像的相對位置,所以能夠設定合成時的 最佳位置。 記載在申請專利範圍第17項中眼鏡影像登錄系統是記 載在申請專利範圍第16項中的任何一個眼鏡影像登錄系 統,登錄裝置具備讀取標簽的標簽讀取裝置。 15 據此,因爲能夠自動讀取標簽進行商品登錄,所以能 夠防止人爲的登錄失誤,能夠更簡便地提供合成用影像資 料。以讀取的標簽資訊爲基礎進行眼鏡的外周檢測和鏡片 的外周檢測,抑制陰影等的誤檢測,形成信賴性更高的遮 罩。 20 記載在申請專利範圍第18項中的眼鏡影像登錄系統是 記載在申請專利範圍第1項至申請專利範圍第17項中的任 何一個眼鏡影像登錄系統,具備將被登錄的資料發送給眼 鏡銷售系統的通信裝置。 據此,因爲能夠以在線上之方式將登錄的資料提供給 13 200410037 眼鏡銷售系統,所以能夠更迅速更便宜地銷售眼鏡。 記載在申請專利範選第19項中的眼鏡影像登錄方法具The spectacle image registration system described in item 5 of the scope of patent application, the mask forming device includes a spectacle peripheral detection device and a lens perimeter detection device. The outer periphery of the glasses and the outer periphery of the lens form a spectacle frame mask image. The function of forming a lens mask image. 20 The outer periphery of the eyeglasses detected by the eyeglass peripheral detection device shows the shape of the eyeglasses. The outer periphery of the eyeglasses detected by the eyeglass peripheral detection device shows the range of the lenses in the eyeglasses. As the frame portion of the glasses, the portion surrounded by the outer periphery of the detected lens can be regarded as the lens portion of the glasses. 8 According to this image processing, the spectacle frame mask image and the lens mask image are automatically formed, and anyone can easily register the image data for synthesis. Not only metal frames and plastic frames, but also nylon frames and two-point frames, which have no or only a few frames, do not require special information and can automatically form composite image data. The eyeglass image registration system described in item 7 of the scope of patent application is an image registration system redundantly described in item 6 of the scope of patent application. The peripheral inspection of the eyeglasses includes a glasses boundary detection device and a lens boundary detection device. By detecting the boundary of the glasses from the background portion of the glasses image to the glasses portion, the outer periphery of the glasses can be easily detected. The frame portion of the spectacle image is estimated based on the detected periphery of the glasses, and the boundary is detected from the vicinity of the frame portion to the periphery of the lens, so that the label attached to the lens portion and the halo scene in the lens can be suppressed easily. Ground to detect the periphery of the lens. > The spectacle image registration system described in item 8 of the patent application scope is the spectacle image registration system described in item 7 of the patent application scope. The spectacle peripheral detection device includes a mirror boundary tracking device and a mirror μ boundary tracking device. Using the boundary of the glasses detected by the glasses boundary tracking device as a starting point, the nearby boundaries are sequentially detected and tracked, and the outer periphery of the eyepiece can be effectively detected, even if the frame and the nose frame of the complex shape are: The outer periphery of the glasses can be accurately detected. The glasses image in item 9 of Jiajing's patent scope shall be recorded in the full-time item in the patent application to the patent item in the patent application. A spectacle secret system, any inspection device for eyeglasses inspection, and any supplementary device for eyeglasses. According to this, when the peripheral data of the spectacles peripheral detection device and the lens peripheral detection device are incomplete due to unclear boundaries, the peripheral data of the defective part can also be estimated based on the detected peripheral data and supplemented. The eyeglasses image registration system described in item 10 of the scope of patent application is any of the eyeglasses image registration system described in item 6 of the scope of patent application to item 9 of the scope of patent application. The weekly detection device includes the outer periphery of the eyeglasses. The protrusion removing device and the lens irregular protrusion removing device. . Accordingly, when irregular protrusions occur on the outer periphery due to shading or the like, the outer periphery data of the protrusion can be estimated from the detected outer periphery data, and the irregular protrusion can be removed. The eyeglasses image registration system described in item (1) of the scope of patent application is any one of the eyeglasses image registration system described in item 6 of the scope of patent application to item 10 of the scope of patent application. The material forming device includes eyeglass machine information. Based on the device, the perimeter detection device for glasses and the perimeter detection device for lenses use the model information of glasses obtained by Pei Zhi, which has the function of detecting the periphery of glasses and the periphery of lenses. According to this, even if the detection of the outer periphery of the glasses and the outer periphery of the lens includes a complicated model, the model information of the mirror can be obtained through the job, and the mask can be automatically formed. When the operator judges that the mask that was originally formed is not suitable, he can create a mask on the screen by selecting the button according to the model of the glasses. In this case, when it is difficult to support the glasses of the model used, the operator can easily form a mask by pressing the model selection button. The article registered in the patent scope item u is registered in 200410037. It is described in the patent application scope item 5 to the patent application scope No.-a spectacle shadow silk m material shape wire placement including left and right comparison correction device . According to this, even if an erroneous portion & is generated in the-part of the image masked by the spectacle frame or lens 5 due to the spectacle frame or the lens having a shadow, it can be corrected. The spectacle image registration system described in item i 3 of the scope of patent application is described in the scope of the scope of application patent scope 5 to the scope of the scope of application patent scope-a spectacle image mask forming device including a mask manual editing device . According to this, when it is difficult to automatically form a spectacle frame mask image and a lens mask image, by specifying the spectacle frame portion and the lens portion of the spectacle image, it is possible to manually edit the spectacle frame mask image and the lens mask. Image, to correct the automatically formed image data. The eyeglasses image registration system described in item 14 of the scope of patent application is 15-any of the eyeglasses image registration described in item 5 of the scope of patent application to the scope of patent application training n the coin image forming device includes a synthetic person image and eyeglasses image Synthetic display device. Experiments were performed at the shooting site to synthesize images of people and glasses. If the shooting effect is not good, you can immediately take another shot, so it can provide high-quality 20-quality synthetic image data. Α is included in the patent scope of the 15th patent registration image registration system is registered in the scope of the patent application scope of the 14th registration of the eyeglasses image registration system, the "" When synthesizing people's images and glasses images, because the 11 beard colors and transmittance of the lenses can be specified, the product registration can be changed according to the result of the synthesis, and the photos can be taken again, which can provide more High-quality synthetic image data.… The spectacle image registration system redundantly included in the application No. 6 and 6 is a spectacle image filed in the patent application No. 14 or the patent application No. 15 The registration line and the display device have the function of adjusting the position of the glasses image. According to this, when the human figure and the glasses image are synthesized, the relative position between the two can be changed, so the optimal position at the time of composition can be set. The eyeglass image registration system in the scope of patent application No. 17 is a glasses image recorded in any of the scope of patent application No. 1 to the scope of patent application No. 16 In the registration system, the registration device is provided with a label reading device that reads the label attached to the frame portion. According to this, the product can be registered by automatically reading the label printed on the glasses image, thereby preventing human registration errors. It can more easily provide image data for synthesis. Based on the read tag information, the peripheral detection of glasses and the peripheral detection of lenses can suppress false detection due to shadows and the like, and can form a more reliable mask. Because it is possible to perform on-the-spot synthesis tests of people's images and glasses images, and if the photography is not good, it can be re-shot on the spot, so it can provide high-quality synthetic image data. The spectacle image registration system in the scope of application for patent No. 14 has a function to specify the color and transmittance of the lens in the composite display device. 200410037 According to this, when spectacle images and person images are synthesized, the color and transmittance of the lens can be specified. Change the registration content of the product based on the result of the synthesis, Re-photographing can provide higher-quality synthetic image data. 5 The eyeglass image registration system described in item 16 of the patent application scope is an eyeglass image described in item 14 of the patent application scope or item 15 of the patent application scope. Log in to the system and the composite display device has the function of adjusting the position of the glasses image. According to this, when the person image and the glasses image are combined, the relative position of the 10 person image and the glasses image can be changed, so the optimal position during the composition can be set. The spectacle image registration system described in item 17 of the scope of patent application is any spectacle image registration system described in item 16 of the scope of patent application, and the registration device includes a tag reading device that reads tags. 15 Because of this, it can automatically By reading the tag and registering the product, it is possible to prevent human registration errors, and it is possible to more easily provide image data for synthesis. Based on the read tag information, the peripheral detection of glasses and the peripheral detection of lenses are performed to suppress false detection such as shadows and form a more reliable mask. 20 The eyeglasses image registration system described in item 18 of the scope of patent application is an eyeglasses image registration system described in any one of the scope of patent application 1 to the scope of patent application 17, and has the function of sending registered data to the eyewear sales Communication device of the system. According to this, since the registered data can be provided to the eyewear sales system 13 200410037 online, eyewear can be sold more quickly and cheaply. Registration method of eyeglasses image described in item 19 of the patent application

備拍攝眼鏡的影像的步驟,對形成的合成用影像進行登錄 的步驟。 Y 5 13爲具備拍攝眼鏡影像,形成合成用影像,對形成的 影像進行登錄的步驟,所以任何人在任何時候,任何地方 都能低成本且迅速地得到合成可能的影像資料。 記載在申請專利範圍第2〇項中的眼鏡影像登錄方法是 記載在申請專利範圍第19項中的眼鏡影像登錄方法,形成 10合成用影像的步驟具有形成遮罩的步驟。 在合成時通過形成的眼鏡架遮罩能夠用被拍攝的眼鏡 影像置換眼鏡架部分,通過形成的鏡片遮罩影像將鏡片部 分和眼鏡的鏡片半透明地合成,在眼鏡銷售系統的人物影 像和眼鏡的合成能夠容易地進行。 15 記載在申請專利範圍第21項中的眼鏡影像登錄方法是 圮載在申請專利範圍第2〇項中的眼鏡影像登錄方法,形成 遮罩的步驟包含檢測眼鏡外周的步驟,檢測鏡片外周的步 驟,形成眼鏡架遮罩影像的步驟,形成鏡片遮罩影像的步 驟。 2 0 | 由眼鏡外周檢測步驟檢測出的眼鏡的外周顯示眼鏡的 外形’鏡片外周檢測步驟檢測出的鏡片的外周顯示眼鏡内 的鏡片的範圍’眼鏡的外周與鏡片的外周之間範圍是眼鏡 架部分’由鏡片的外周所包圍的是鏡片部分。 通過這樣的影像處理,眼鏡架遮罩影像和鏡片遮罩影 14 像自動地形成’任何人都能容㈣登錄合成用影像資料。 對於像尼4鏡架,兩點式鏡架那樣的鏡框只有一部分 或者沒有鏡_眼鏡架,不需要制的資訊也能自動地形 成合成用影像資料。 §己載在申請專利範圍第22項中的眼鏡影像登錄方法是 $己載在中請專利範圍第21射魏鏡影像登騎法,眼鏡 外周檢測步驟包含眼鏡的邊界檢測步驟,鏡片的外周檢測 步驟包含鏡框部分推定步驟和鏡片的邊界檢測步驟。 從眼鏡影像的背景部位向脊眼鏡部位檢測眼鏡的邊界 能容易地檢測出眼鏡的外周。從檢測出的眼鏡的外周推定 眼鏡影像的鏡片部位,從鏡片的周邊附近向著鏡片周邊部 檢測邊界,抑制貼在鏡片上的標簽等的影響,能夠容易地 檢測出鏡片的外周。 記載在申請專利範圍第2 3項中的眼鏡影像登錄方法是 記載在申請專利範圍第22項中的眼鏡影像登錄方法,眼鏡 外周檢測步驟包含以眼鏡邊界檢測步驟檢測出的邊界爲出 發點,依次檢測出附近的眼鏡邊界並進行追蹤的步驟,鏡 片外周檢測步驟包含以由鏡片外周檢測步驟檢測出的邊界 爲出發點依次檢測出附近的鏡片界限並進行追蹤的步驟。 因爲在眼鏡邊界檢測步驟以檢測出的邊界爲出發點依 次檢測出附近的眼鏡的界限並進行追蹤,所以能夠有效地 檢測出眼鏡的外周,即便是複雜形狀的鏡框和鼻架組合而 成的外形的場合也能正確地檢測出眼鏡的外周。因爲在鏡 片邊界檢測步驟以檢測出的邊界爲出發點依次檢測出附近 200410037 的鏡片的邊界並進行追蹤,所以能夠有效地檢測鏡片的外 周。 記載在申請專利範圍第24項中的眼鏡圖形登錄方法是 記載在申請專利範圍第21項至申請專利範圍第23項中的任 5何一個眼鏡影像登錄方法,眼鏡外周檢測步驟包含補全眼 鏡的外周殘缺部的步驟,鏡片的外周檢測步驟包含補全鏡 片的外周殘缺部的步驟。 據此,在眼鏡外周檢測步驟和鏡片外周檢測步驟,因 爲邊界不清晰等原因外周資料發生殘缺部分時,能根據被 仏測出的外周資料推定、補全殘缺部分的外周資料。 記載在申請專利範圍第25項中的眼鏡影像登錄方法是 記载在申請專利範圍第21項至申請專利範圍第24項的任何 個中的眼鏡影像登錄方法,眼鏡外周檢測步驟包含除去 被铋測出的眼鏡外周不正突起部分的步驟,鏡片外周檢測 15步驟包含除去被檢測出的鏡片外周不正突起部分的步驟。 據此,在眼鏡外周檢測步驟和鏡片外周檢測步驟由於 陰影等原因外周資料發生不正突起部分的時候,依據被檢 领出的外周資料能夠推定突起部分的外周資料並能除去不 正的突起部分。 20 ^ 冗載在申請專利範圍第26項中的眼鏡影像登錄方法是 記栽在申請專利範圍第21項至申請專利範圍第25項的任何 〜個中的眼鏡影像登錄方法,遮罩形成步驟包含取得眼鏡 的機種資訊的步驟裝置,眼鏡外周檢測步驟或者鏡片外周 檢測步驟包含利用眼鏡的機種資訊檢測眼鏡外周以及鏡片 16 外周的步驟。 據此’即便眼鏡的外周和鏡片的外周包含複雜的機 種’通過利職取得的眼鏡機種f訊,能自動祕成遮罩。 當刼作員認爲最初形成的遮罩不合適時,只要一按書 面上的機種選擇按鈕,遮罩就能被再次形成。 ~ 入據此,即便是對應於所有的種類的眼鏡是困難的場 3 ’操作S通過輔助性地按機種選擇按㈣能容易地形成 記載在申請專利範圍第27項中的眼鏡影像登錄方法是 · 5己载在申請專利範圍第20項至申請專利範圍第26項的任何 -個中的眼鏡影像登錄方法’遮軍形成步驟包含比較左右 的影像並予以補正的步驟。 據此,當眼鏡架遮罩影像或者鏡片遮罩影像的一部分 産生不正部分時能夠予以糾正。 記載在申請專利範圍第28項中的眼鏡影像登錄方法是 ㈣在申請專利範圍第20項至申請專利範圍第27項的任何 -項中的眼鏡影像登錄方法,鱗形成步驟包含編集鮮 · 20 據此,即便在自動形成眼鏡架遮罩影像以及鏡片遮罩 =像困難的場合,通過指定被拍攝的眼鏡架部分和鏡片部 分’能夠手卫編集賴架遮罩影像和㈣料影像,能夠 對自動形成的影像資料進行修正。 §己載在申請專利範圍第29項中的眼鏡影像登錄方法是 記载在中請專利範圍第19項至中請專利範圍第綱中的任 17 、可们眼鏡&像登錄方法,合成用影像形成步驟包含合成 I··、、員不預先登錄的人物影像和被拍攝的眼鏡影像的步驟。 據此,犯在拍攝眼鏡影像的現場進行人物影像和眼鏡 影像的合成,如拍攝不合適可當場進行重新拍攝,能提供 良好的品質的合成用影像資料。 』Z載在中π專利範圍第3G項中的眼鏡影像登錄裝置是 記載在中請專利範圍第29項中的眼鏡影像登錄襄置,具有 指定鏡片顏色和透過率的步驟。 據此,因爲在合成影像時能夠指定鏡片的顏色和透過 率,所以根據合成的結果,能夠對商品的登錄内容進行變 更’能夠重新攝影,能夠提供更高品質的合成用影像用資 料。 、 記載在申請專利範圍第31項中的眼鏡影像登錄方法是 記載在中請專利範圍第29項至中請專韻圍糾項中的任 何-項眼鏡影像登錄方法,顯示步驟具有調節眼鏡位置的 步驟。 據此,在當場合成人物影像和眼鏡影像時,因爲能夠 變更人物影像和眼鏡影像的相對位置能夠對合成時的最佳 位置進行設定。 記載在申請專利範圍第32項中的眼鏡影像登錄方法是 記載在帽專利範圍第19項至巾請專利範圍第綱的任何 -項中的眼鏡影像登錄方法,登錄裝置具有讀取標簽的步 據此,因絲夠自動標簽並進行商品麵,能夠 200410037 防止人爲的登錄失誤資訊能夠更簡便地提供合成” 資料。以讀取的標簽資訊爲基礎,進行眼鏡的外周和鏡片 的外周檢測,抑制陰影等誤檢測,能夠形成信賴性更 遮罩。 巧的 5 ^己載在申請專利範圍第33項中的眼鏡影像登錄方法是 ^己載在巾請翻範圍第19項至巾請專利範圍第32項的任何 一項中的眼鏡影像登錄方法,具備發送合成用影像資料的 步驟。 據此’能夠將登錄的資料以在線上之方式提供眼鏡銷 10售系統,所以能夠更迅速以更低成本銷售眼鏡。 本發明的上述目的、其他的目的、特徵以及優點參照 圖面進行說明。 圖式簡單說明 第1圖是與本發明的一實施形態有關的影像登錄系統 15 的構成圖。 第2圖是與本發明的一實施形態有關的影像登錄系統 的正面影像攝影裝置的圖解圖。 弟3圖是與本發明的一實施形態有關的眼鏡影像登錄 系統的正面影像攝影裝置的圖解圖。 20 第4圖是與本發明的一實施形態有關的影像登錄系統 的俯瞰影像攝影裝置的圖解圖。 第5圖是與本發明的一實施形態有關的眼鏡影像登錄 系統的電腦的全體處理的流程圖。 第6圖是與遮罩自動處理的一實施例有關的處理流程 19 200410037 圖。 第7圖是與眼鏡外周檢測處理的一實施例有關的處理 流程圖。 第8圖是與鏡片外周檢測處理的一實施例有關的處理 5 流程圖。 第9圖是與合成影像顯示處理的一實施例有關的處理 流程圖。 第10圖是與遮罩手動編集處理的一實施例有關的處理 流程圖。 10 第11圖是與資料登錄處理的一實施例有關的處理流程 圖。 第12圖是在眼鏡外周檢測處理的開始點的說明圖。 第13圖是在眼鏡以及鏡片的邊界追蹤處理的附近點的 說明圖。 15 第14圖是顯示眼鏡以及鏡片的邊界追蹤過程的說明 圖。 第15圖是與本發明的一實施形態有關的正面影像攝影 裝置的長手方向的斷面圖解圖。 第16圖是與本發明的一實施形態有關的正面影像攝影 20 裝置的攝影機一側觀看眼鏡圖解圖。 第17圖是顯示明確眼鏡的輪廓的照明的原理的說明 圖。 第18圖是顯示明確眼鏡的輪廓的照明的效果的說明 圖。 20 200410037 第19圖是顯示在本發明的一實施形態的正面影像攝影 裝置的眼鏡收容部側面的壁板22以及23的内面進行的灰色 處理的例子的說明圖。 第20圖是顯示在本發明的一實施形態的正面影像攝影 5 裝置的後面壁板25的内面進行的灰色處理的例子的說明 圖。 第21圖是顯示在本發明的一實施形態的正面影像攝影 裝置的照相機收容部前面壁板20的内面進行的濃淡處理的 例子的說明圖。 10 第22圖是顯示在本發明的一實施形態的正面影像攝影 裝置的開關門上面的壁板28的内面進行的黑色處理的例子 的說明圖。 第23圖是在本發明的一實施形態的正面影像攝影裝置 的下面壁板12的後部的内面進行的灰色處理的例子的說明 15 圖。 第24圖是通過與本發明的一實施形態的正面影像攝影 裝置,拍攝金屬鏡架的影像的例子。 第25圖是通過本發明的一實施形態有關的正面影像攝 影裝置拍攝塑膠眼鏡架的影像的例子。 20 第26圖是通過本發明的一實施形態有關的正面影像攝 影裝置拍攝塑膠眼鏡架的影像的例子。 第27圖是通過本發明的一實施形態有關的正面影像攝 影裝置,拍攝的兩點式眼鏡架的影像的例子。 第2 8圖是在眼鏡影像攝影的顯示圖面例(攝影開始前)。 21 200410037 第29圖是在眼鏡影像攝影的顯示圖面例(攝影終了後)。 第30圖是在遮罩處理顯示圖面例(處理開始前)。 第31圖是在遮罩處理顯示圖面例(處理終了後)。 第32圖是在遮罩手動編集的顯示圖面例。 5 第33圖是在登錄資料的顯示圖面例子(登錄開始前)。 第34圖是在資料登錄的顯示圖面例(登錄終了後)。 第35圖是在遮罩處理的顯示圖面的變形例。 【實施方式3 實施發明的最佳形態 10 第1圖是顯示連接與本發明的一實施形態有關的眼鏡 影像登錄系統和眼鏡銷售系統和網路的系統的構成圖。 在圖中,1是眼鏡影像登錄系統,300是眼鏡銷售系統。 眼鏡影像登錄系統1由正面影像攝影裝置1 〇和俯瞰影像攝 影裝置100以及電腦200構成。 15 首先,就正面影像攝影裝置10的一實施形態作說明。 正面影像攝影裝置10如第2圖所示,由攝影箱11、固定 眼鏡架的架子30、照明燈40和數位相機50構成。 攝影箱11由下面壁板12、照相機收容部14、眼鏡收容 部16和開閉門18構成。 20 照相機收容部14,在架子30的一邊設置了前面壁板 20,在固定眼鏡架2的正對面照相機50的鏡口21開著。在照 相機收容部14的背面有照相機50、電源插座52、電源開關 54、USB插座56。 眼鏡收容部16具備側面壁板22和23、上面壁板24和後 22 200410037 面壁板25。 開閉門18具備側面壁板26和27、上面壁板28。第2圖顯 示開閉門18的開放狀態,在該狀態下將眼鏡2固定在架子30 上,將開閉門18移到照相機收容部14處並關上,這時光線 5 被完全遮斷,從而照相機50能對眼鏡2進行攝影。 在這兒,爲方便起見,將攝影箱11的前面壁板20稱爲 前側、後面壁板25稱爲後側,前面壁板20稱爲攝影箱11的 前部、後面壁板25稱爲攝影箱11的後部,眼鏡收容部16的 侧面壁板22以及23稱爲攝影箱11的後部、下面壁板12的眼 10 鏡收容部16側稱爲攝影箱11的下部後侧、開閉門18的上面 壁板28稱爲攝影箱11的上部前側。 構成攝影箱11的下面壁板12、照相機收容部14的前面 壁板20、眼鏡收容部16的側面壁板22以及23、眼鏡收容部 16的上面壁板24、後面壁板25、開閉門18的側面壁板26以 15及27、開閉門18的上面壁板28的内部以白色爲基調通過用 壁面反射照明光,不損壞眼鏡的色調,從多方向進行照明。 在本實施狀態下用白色的裝飾形成攝影箱11,當然内 面塗成白色也是可以的。 後部上面壁板24如第3圖所示爲了便於維修照明燈 20 40,在關閉開閉門18的狀態下,在上方具備能開閉的開閉 結構(圖示省略)。 開閉門18在這兒採取滑板式,設置取放眼鏡時的蓋子 當然是可以的。 固定眼鏡的架子30是圓柱體,垂直於眼鏡收容部16下 23 200410037 面壁板12。在該實施形態下,使用以泡沫塑膠爲芯,外纏 白色橡穋的圓柱體。圓柱體的直徑是以眼鏡腿之間的最寬 距離爲標準設定的。 固定眼鏡的架子30的前方即在收容照相機5〇的照相機 5收容部14一側的架子30的附近爲了眼鏡2的左右不發生傾 斜,在放眼鏡的鏡框部分設置了丙烯製的眼鏡台座32。該 台座的橫幅大約等於眼鏡2的橫幅,厚度以能放眼鏡2的鏡 框部分的敢小限度,眼鏡2的高度以及和照相機之間的距離 被保持在一定範圍内,在構造上能夠防止固定時的左右的 10傾斜。眼鏡台座32是由透明的丙烯樹脂板構成的,下面壁 板12的反射光能照射到眼鏡2的鏡片的下部,能夠清楚地描 繪尼龍鏡架和兩點式鏡架等眼鏡的鏡片的輪廓。 在本貫施形態,眼鏡台座32被固定在下面壁板12上, 放在眼鏡台座32上的眼鏡2的鏡片與照相機5〇的鏡片等 15高。爲了抑制眼鏡台座32,眼鏡2的陰影落在存放眼鏡的架 子30上,使離開架子3〇 —定的距離固定。據此,能夠得到 眼鏡2的鏡片部分的清晰的眼鏡影像。 在眼鏡台座32的照相機5〇一側的表面設有尺度和顏色 表。將其拍攝到照相機50中能夠確認攝影的大小和色調。 20 照明燈40被固定在眼鏡收容部16的上面的壁板24的内 面,直接從上方照射固定在架子上的眼鏡2,通過攝影箱n 的内面的反射光進行全方位的間接照射。 照明燈40使用圓形的螢光燈。這是因爲螢光燈的照明 較少損壞眼鏡2的色調,又能容易入手,且容易維修。同時 24 200410037 螢光燈的發光面積大’大範圍地進行照明,較難産生陰影, 能夠得到較少受干擾的眼鏡影像。上面壁板24因具備前述 開閉結構能夠簡單進行照明燈40的交換。 照明燈40設置在上面壁板24的内面的眼鏡台座32的後 5方k疋爲了通過後方照明以得到有更清晰的鏡片的輪廊 的眼鏡影像。 第171U兒明了以上原理,眼鏡2的上部反射來自光源的 直接光並被照相機5G感光,眼鏡2的下部用下面壁板12反射 來至照明燈40的光,透過透明的眼鏡台座^被供給,照相 10機50捕捉該反射光。冑此,%第18圖所示,能夠更清晰地 捕捉尼龍鏡架和兩點式鏡料⑽鏡的鏡片的輪廊。 在本實施形態下,眼鏡收容部16的側面壁板22以及23 的内面如第關所示,進行了 7〇%的灰色處理。後面壁板 25的内面如第2G圖所示進行了娜的灰色處理。裝載照相 15機5〇的前面壁板20爲了盡可能地進行攝影,有必要與眼鏡2 保持一疋的距離,從眼鏡2到側面以及後面的距離因裝置的 小型化盡可能地變小,供給給眼鏡的攝影|gu的内面的反 射光和前部相比産生側面和後部過於照亮的現象。側面壁 板22以及23的内面進行7〇%的灰色處理。力圖全方位的照 20明條件的均一化。據此能夠更貼近地攝影的同時能得到干 擾更少的眼鏡影像。 本實施形態灰色處理在被稱爲餘播的塑膠質感的合成 紙上以一定的濃度印刷黑色,並將其貼在壁板的内面。 灰色處理不用說將壁板的内面塗成灰色也行。 25 200410037 本實施形態如第15圖所示,後面壁板25的内面向著下 面壁板12設置了圓弧,這是後面壁板25和下面壁板12的邊 界線被照相機捕捉到,爲了抑制干擾而設置的。 在本實施形態,在後面壁板25的内面設置圓弧的處理 5 將前述的40%灰色處理的餘播從後面壁板25朝向下面壁板 12保持圓弧貼上。 在後面壁板25的内面設置圓弧的處理比方說使用以一 定的曲率加工的部材,用具有圓孤的壁板形成攝影箱當然 是可以的。 鲁 10 前面壁板20如第15圖所示,照相機50的鏡孔21被設 置,在照相機收容部14内設置了照相機50,照相機50的鏡 孔21照相機的影像中心的高度與眼鏡的高度大致相等,因 此眼鏡2的鏡片正對著照相機50的鏡孔21,産生照相機5〇的 鏡片印在眼鏡2的鏡片上的問題。 15 因此,本實施形態前面壁板20的内面如第21圖所示全 體進行40%的灰色處理,在照相機鏡孔21的周圍,進行中 心暗’向周圍逐漸變梵的色調處理。據此,抑制前面壁板 的反射光,在抑制照相機50的鏡片印在眼鏡2的鏡片上的同 時,通過色調處理給予眼鏡2的鏡片面以濃淡,防止從正面 2〇 看眼鏡2的鏡片完全透明像沒有一樣。 在本實施形態’色調處理和灰色處理一樣在被稱爲餘 播的合成紙上以一定濃度印刷黑色,並貼在壁板的内面, 在這兒’鏡片中心是100%,周邊是40%的色調處理的餘播 紙張的鏡片部分切掉使用,色調的處理方法是在鏡孔21的 26 200410037 周圍設定與照相機5〇的鏡片的顏色大致相同。 色調處理當然通過賦予壁板的内面一定的濃度變化塗 成灰色也可以。 在本實施形態下,開閉門上面壁板28的内面如第22圖 5 所示進行了 1〇〇%的灰色處理,這是爲了防止前面壁板20和 下面壁板12的邊界線反射眼鏡2的鏡片印到照相機50上,將 開閉門上面壁板28塗成黑色,抑制邊界部分的照明,眼鏡2 的鏡片幾乎不映現。 在本實施形態下,下面壁板12的眼鏡收容部16的内面 10 如第23圖所示,進行了色調處理,使後面壁板25—侧變暗、 朝向架子30的設置位置一側變明亮。這是因爲架子3〇被固 定在下面壁板12上,來自下面壁板12的反射光導致架子3〇 的底部明亮、上部暗淡、上下的明暗度不均衡。因此,通 過在下面壁板12的眼鏡收容部16的内面、後面壁板25的一 15 側進行70%的灰色處理、架子30的設置位置一側進行白色 處理,形成色調變化,架子30的上下明度成爲一樣,從而 能夠得到干擾較少的眼鏡影像。 如前所述,將進行了 40%灰色處理的餘播紙張朝向下 面壁板12略成圓孤狀貼在後面壁板25上,將下面壁板12的 20 貼合面設定爲40°/。的灰色。 照相機50使用300萬畫素,焦點距離為5〇111111的鏡片的 數位相機,照相機50通過USB界面和電腦2〇〇聯在一起,將 眼鏡2設置在架子30上、關上開閉門18、通過電腦2〇〇的遠 距離操作對眼鏡的正面影像進行攝影。 27 200410037 5 從第24圖到第27圖顯示通過正面影像攝影裝置1〇實^ 拍攝的影像關子,第24圖是金屬鏡架、第㈣是塑膠: 架、第26®是尼龍鏡架、第27圖是兩點式鏡_,每—種兄 是同-背景’能夠清晰地顯示眼鏡架的輪靡,即便是尸^ 鏡架或兩點式㈣的輪廓也達鄉像處理可朗水平。匕複 俯瞰影像攝《置⑽如第4圖_㈣舰鏡影像日± 遮斷外光的攝影箱⑴,照明眼鏡2的照明燈刚和數位相: 150構成A step of taking an image of glasses and a step of registering the formed composite image are prepared. Y 5 13 is equipped with the steps of capturing glasses images, forming composite images, and registering the formed images. Therefore, anyone can obtain image data that can be synthesized quickly and cost-effectively anytime, anywhere. The spectacle image registration method described in the patent application scope item 20 is the spectacle image registration method described in the patent application scope item 19, and the step of forming a composite image includes a step of forming a mask. The spectacle frame mask formed during the composition can replace the spectacle frame portion with the captured spectacle image, and the lens portion and the spectacle lens are translucently synthesized by the formed lens mask image, and the person image and spectacles in the spectacle sales system The synthesis can be easily performed. 15 The eyeglass image registration method described in item 21 of the patent application scope is the eyeglass image registration method described in item 20 of the patent application scope. The step of forming a mask includes the step of detecting the outer periphery of the glasses and the step of detecting the outer periphery of the lenses. , The step of forming a frame mask image, and the step of forming a lens mask image. 2 0 | The outer periphery of the eyeglasses detected by the eyeglass peripheral detection step shows the shape of the eyeglasses. The outer periphery of the eyeglasses detected by the eyeglass peripheral detection step shows the range of the lenses in the eyeglasses. The portion 'enclosed by the periphery of the lens is the lens portion. Through such image processing, the spectacle frame mask image and the lens mask image are automatically formed. Anyone can store and register image data for synthesis. For a frame like the Ni 4 frame or the two-point frame, there is only a part of the frame, or there is no spectacle frame. The information that does not need to be produced can be automatically formed into composite image data. § The eyeglass image registration method that has been included in item 22 of the scope of patent application is $ 21, which is included in the patent scope of the 21st patent application. The eyeglass periphery detection step includes the eyeglass boundary detection step and the lens periphery detection The steps include a frame part estimation step and a lens boundary detection step. Detecting the boundary of the glasses from the background portion of the glasses image to the ridge glasses portion The periphery of the glasses can be easily detected. From the periphery of the detected glasses, the lens portion of the spectacle image is detected from the vicinity of the lens to the periphery of the lens to detect the boundary, suppress the influence of labels and the like attached to the lens, and the periphery of the lens can be easily detected. The eyeglass image registration method described in item 23 of the patent application scope is the eyeglass image registration method described in item 22 of the patent application scope. The step of detecting the outer periphery of the eyeglasses includes sequentially detecting the boundaries detected by the eyeglass boundary detection step as a starting point and sequentially detecting The steps of detecting and tracking the nearby glasses boundary, and the step of detecting the periphery of the lens include the steps of sequentially detecting and tracking the boundaries of the nearby lenses with the boundary detected by the step of detecting the periphery of the lens as a starting point. In the glasses boundary detection step, the boundaries of nearby glasses are sequentially detected and tracked based on the detected boundary as a starting point, so the outer periphery of the glasses can be effectively detected, even if the shape is a combination of a complicated shape of the frame and the nose frame. It is also possible to accurately detect the periphery of the glasses on occasion. In the lens boundary detection step, the boundary of the nearby 200410037 lens is sequentially detected and tracked based on the detected boundary as a starting point, so the periphery of the lens can be effectively detected. The method for registering the eyeglasses pattern described in the 24th scope of the patent application is any one of the method for registering the eyeglasses image in any of the 21st scope of the patent application to the 23rd scope of the patent application. The step of detecting the periphery of the glasses includes the completion of the glasses. A step of the peripheral defect, and a step of detecting the periphery of the lens includes a step of completing the peripheral defect of the lens. According to this, when the peripheral part of the glasses and the peripheral part of the lenses are incomplete due to unclear borders, etc., the peripheral parts of the incomplete parts can be estimated and completed based on the detected peripheral parts. The eyeglass image registration method described in the 25th scope of the patent application is the eyeglass image registration method described in any of the 21st scope of the patent application to the 24th scope of the patent application. The step of detecting irregularities on the outer periphery of the glasses, and the step 15 of detecting the periphery of the lens includes a step of removing the irregular protrusions on the periphery of the lens. Accordingly, when irregular protrusions occur on the peripheral data of the eyeglass outer periphery detection step and the lens outer periphery detection step due to shadows or the like, the outer periphery data of the raised portions can be estimated based on the peripheral data obtained by the inspection and the irregular protrusion portions can be removed. 20 ^ The eyeglass image registration method redundantly included in the 26th patent application scope is the eyeglass image registration method recorded in any one of the 21st patent application scope to the 25th patent application scope. The mask formation step includes The step device for obtaining the model information of the glasses, the step of detecting the outer periphery of the glasses, or the step of detecting the outer periphery of the lenses includes a step of detecting the outer periphery of the glasses and the outer periphery of the lens 16 using the model information of the glasses. According to this, 'even if the outer periphery of the glasses and the outer periphery of the lens include a complicated model', the glasses model f obtained through profit sales can automatically create a mask. When the operator thinks that the mask that was originally formed is not suitable, as long as the model selection button on the book is pressed, the mask can be re-formed. ~ According to this, even if it is difficult to support all types of glasses 3 'operation S can be easily formed by auxiliary selection of the model by pressing the button ㈣ glasses registration method described in the 27th scope of the patent application is · 5 The method of registering spectacles, which is included in any one of the 20th to the 26th in the scope of patent application, includes a step of comparing and correcting the left and right images. According to this, it is possible to correct when the spectacle frame mask image or a part of the lens mask image has an irregular portion. The method for registering eyeglasses images described in item 28 of the scope of patent application is the method of registering eyeglasses images in any of the terms of the scope of patent application 20 to 27 of the scope of patent application 27. The scale formation step includes the compilation of fresh · 20 data. Therefore, even when it is difficult to automatically form a spectacle frame mask image and a lens mask = image, by designating the frame portion and the lens portion to be photographed, it is possible to manually edit the frame mask image and the material image. The formed image data is corrected. § The method of registering eyeglasses images in the 29th scope of the patent application is described in any of the 17th scope of the patent scope of the patent application to the 17th scope of the patent scope of the patent scope. The image forming step includes a step of synthesizing a human image that is not registered in advance by the crew member and a photographed spectacle image. According to this, it is possible to synthesize the person's image and the glasses image at the scene where the glasses image is taken. If the shooting is not suitable, it can be re-shot on the spot, which can provide good quality synthesis image data. "The spectacle image registration device contained in item 3G of the patent scope of the Chinese patent is the registration of the spectacle image registration of article 29 of the patent scope, and it has the steps of specifying the lens color and transmittance. According to this, since the color and transmittance of the lens can be specified when synthesizing an image, the registered content of the product can be changed based on the result of the synthesizing. The image can be taken again, and higher-quality synthetic image data can be provided. The method of registering eyeglasses images described in item 31 of the scope of patent application is any method of eyeglasses image registration method described in items 29 to 19 of the scope of patent application, and the display step includes adjusting the position of the glasses. step. According to this, when the person image and the glasses image are synthesized on the spot, since the relative positions of the person image and the glasses image can be changed, the optimal position at the time of composition can be set. The glasses image registration method described in the 32nd patent application scope is the glasses image registration method described in any one of the 19th item of the cap patent scope to the patent scope of the patent scope. The registration device has a step to read the tag Therefore, because it can automatically label and carry out the product surface, 200410037 can prevent artificial registration errors. Information can be provided more easily. "Data. Based on the read label information, the periphery of the glasses and the periphery of the lens are detected and suppressed. Mis-detection of shadows, etc., can form a more reliable mask. Coincidentally, the registration method of glasses images included in item 33 of the scope of patent application is that it has been included in item 19 of the towel, please refer to page 19 of the patent. The method for registering eyeglasses images according to any one of 32 items includes a step of transmitting synthetic image data. According to this, it is possible to provide the eyeglasses 10-selling system online with the registered data, so it can be more quickly and at a lower cost. Sell glasses. The above-mentioned object, other objects, features, and advantages of the present invention will be described with reference to the drawings. FIG. 2 is a configuration diagram of an image registration system 15 according to an embodiment of the present invention. FIG. 2 is a schematic diagram of a front image photographing device of the image registration system according to an embodiment of the present invention. 20 is a schematic view of a front-view image capturing device of an image registration system according to an embodiment of the present invention. FIG. 5 is a schematic view of an overhead image capturing device of an image registration system according to an embodiment of the present invention. The flowchart of the overall processing of the computer of the eyeglass image registration system according to one embodiment of the present invention. Fig. 6 is a processing flow 19 200410037 related to an embodiment of automatic mask processing. Fig. 7 is a process related to the detection of the periphery of the eyeglasses. A processing flowchart related to an embodiment. FIG. 8 is a flowchart of processing 5 related to an embodiment of the lens peripheral detection processing. FIG. 9 is a processing flowchart related to an embodiment of a composite image display processing. The figure is a processing flowchart related to an embodiment of the manual editing processing of the mask. 10 FIG. 11 is an embodiment related to the data registration processing. FIG. 12 is an explanatory diagram of the starting point of the detection processing at the periphery of the glasses. FIG. 13 is an explanatory diagram of the nearby points at the boundary tracking processing of the glasses and lenses. FIG. 14 is a diagram showing the glasses and lenses. An explanatory diagram of the boundary tracing process. Fig. 15 is a cross-sectional view in the long hand direction of a front image photographing apparatus according to an embodiment of the present invention. Fig. 16 is a front image photographing 20 according to an embodiment of the present invention. The diagram of the glasses viewed from the camera side of the device. Fig. 17 is an explanatory diagram showing the principle of illumination that clarifies the outline of glasses. Fig. 18 is an explanatory diagram showing the effect of illumination that clarifies the outline of glasses. 20 200410037 Fig. 19 is An explanatory view showing an example of gray processing performed on the inner surfaces of the wall plates 22 and 23 on the side surfaces of the eyeglass accommodating portion of the front image photographing apparatus according to an embodiment of the present invention. Fig. 20 is an explanatory view showing an example of gray processing performed on the inner surface of the rear wall plate 25 of the front image photographing apparatus 5 according to an embodiment of the present invention. Fig. 21 is an explanatory diagram showing an example of the shading process performed on the inner surface of the front wall plate 20 of the camera housing portion of the front image photographing apparatus according to the embodiment of the present invention. 10 FIG. 22 is an explanatory diagram showing an example of a black process performed on the inner surface of the wall plate 28 on the upper surface of the opening and closing door of the front image photographing apparatus according to the embodiment of the present invention. Fig. 23 is an explanatory diagram of an example of gray processing performed on the inner surface of the rear portion of the lower wall plate 12 of the front image photographing apparatus according to an embodiment of the present invention. Fig. 24 is an example of an image captured by a metal frame with a front image photographing apparatus according to an embodiment of the present invention. Fig. 25 is an example of an image of a plastic spectacle frame captured by a front image camera according to an embodiment of the present invention. 20 FIG. 26 is an example of an image of a plastic spectacle frame captured by a front image camera according to an embodiment of the present invention. Fig. 27 is an example of a two-point spectacle frame image captured by a front image camera according to an embodiment of the present invention. Fig. 28 is an example of a display surface (before the start of photography) in the photography of eyeglasses. 21 200410037 Fig. 29 is an example of a display image for photographing with glasses (after the end of photography). Fig. 30 shows an example of the display surface during the mask processing (before the processing is started). Fig. 31 shows an example of a display surface during mask processing (after the processing is completed). Fig. 32 is an example of a display surface edited manually by a mask. 5 Figure 33 shows an example of the display screen of the registration data (before registration starts). Fig. 34 is an example of a display screen for data registration (after registration is completed). Fig. 35 is a modification example of the display surface in the mask processing. [Embodiment 3 Best Mode for Carrying Out the Invention 10] Fig. 1 is a block diagram showing a system for connecting an eyewear image registration system, an eyewear sales system, and a network according to an embodiment of the present invention. In the figure, 1 is a glasses image registration system, and 300 is a glasses sales system. The glasses image registration system 1 is composed of a front image photographing apparatus 10, a bird's-eye view image photographing apparatus 100, and a computer 200. 15 First, an embodiment of the front image photographing apparatus 10 will be described. As shown in FIG. 2, the front image photographing device 10 is composed of a photographing case 11, a frame 30 to which a spectacle frame is fixed, an illumination lamp 40, and a digital camera 50. The photographing box 11 is composed of a lower wall panel 12, a camera storage section 14, a glasses storage section 16, and an opening / closing door 18. 20 The camera accommodating unit 14 is provided with a front wall panel 20 on one side of the frame 30, and a lens opening 21 of the camera 50 facing the fixed frame 2 is opened. A camera 50, a power socket 52, a power switch 54, and a USB socket 56 are provided on the back of the camera housing portion 14. The eyeglass accommodating portion 16 includes side wall plates 22 and 23, an upper wall plate 24, and a rear 22 200410037 face wall plate 25. The opening / closing door 18 includes side wall panels 26 and 27 and an upper wall panel 28. FIG. 2 shows the open state of the opening and closing door 18. In this state, the glasses 2 are fixed on the shelf 30, and the opening and closing door 18 is moved to the camera housing 14 and closed. At this time, the light 5 is completely blocked, so that the camera 50 can The glasses 2 are photographed. Here, for convenience, the front wall panel 20 of the photographic box 11 is referred to as the front side, the rear wall panel 25 is referred to as the rear side, the front wall panel 20 is referred to as the front portion of the photographic box 11, and the rear wall panel 25 is referred to as photography. The rear part of the case 11, the side wall panels 22 and 23 of the eyeglass storage part 16 are referred to as the rear part of the photographic case 11, the eye 10 of the lower wall panel 12 is referred to as the lower rear side of the photographic case 11, and the opening and closing door 18 The upper wall panel 28 is referred to as the upper front side of the photographing box 11. The lower wall panel 12 constituting the photographic box 11, the front wall panel 20 of the camera storage section 14, the side wall panels 22 and 23 of the eyeglass storage section 16, the upper wall panel 24, the rear wall panel 25, and the opening / closing door 18 of the eyeglass storage section 16. The side wall panel 26 is based on 15 and 27, and the interior of the upper wall panel 28 of the opening / closing door 18 is white. The illumination light is reflected by the wall surface without damaging the color tone of the glasses, and the light is illuminated from multiple directions. In the present embodiment, the photographic box 11 is formed with a white decoration. Of course, it is also possible to paint the inside with white. As shown in FIG. 3, the rear upper wall panel 24 is provided with an openable and closable structure (not shown) above the openable and closable door 18 in a state in which the openable and closable door 18 is closed. The opening / closing door 18 is of a skateboard type here, and it is of course possible to provide a cover for putting on and taking off the glasses. The frame 30 for fixing the glasses is a cylinder, and is perpendicular to the lower surface of the glasses receiving portion 16. In this embodiment, a cylindrical body with a foamed plastic core and a white oak jacket wrapped around it is used. The diameter of the cylinder is set based on the widest distance between the temples. In front of the frame 30 for fixing the glasses, that is, in the vicinity of the frame 30 on the side of the camera 5 receiving section 14 where the camera 50 is housed, in order to prevent the left and right sides of the glasses 2 from tilting, an acrylic spectacle stand 32 is provided on the frame portion where the glasses are placed. The banner of this pedestal is approximately equal to the banner of glasses 2. The thickness is so small that the frame portion of glasses 2 can be placed. The height of glasses 2 and the distance from the camera are kept within a certain range. The left and right 10 tilt. The spectacle stand 32 is made of a transparent acrylic resin plate, and the reflected light from the lower wall plate 12 can irradiate the lower part of the lens of the glasses 2. The outline of the lenses of the glasses such as a nylon frame and a two-point frame can be clearly depicted. In this embodiment, the spectacle stand 32 is fixed to the lower wall panel 12, and the lenses of the glasses 2 placed on the spectacle stand 32 and the lenses of the camera 50 are 15 meters high. In order to suppress the spectacle stand 32, the shadow of the spectacles 2 falls on the frame 30 for storing the spectacles so as to be fixed at a certain distance from the frame. Accordingly, a clear spectacle image of the lens portion of the spectacles 2 can be obtained. The surface of the camera 50 side of the spectacle stand 32 is provided with a scale and a color table. The size and color tone of the image can be confirmed by taking the image on the camera 50. The illuminating lamp 40 is fixed to the inner surface of the wall plate 24 on the upper surface of the eyeglass accommodating portion 16, and directly irradiates the eyeglasses 2 fixed to the rack from above. As the illuminating lamp 40, a circular fluorescent lamp is used. This is because the lighting of the fluorescent lamp is less likely to damage the hue of the glasses 2, and it is easy to start and easy to maintain. At the same time, the lighting area of the fluorescent lamp is large, and the lighting is performed in a large area, it is difficult to generate shadows, and glasses images with less interference can be obtained. The upper wall panel 24 can be easily exchanged for the illuminating lamp 40 because it has the aforementioned opening and closing structure. The illuminating lamp 40 is provided at the rear side of the spectacle stand 32 on the inner surface of the upper wall panel 24 so as to obtain the spectacle image of the wheel gallery with clearer lenses through the rear illumination. The principle of the 171U is clear. The upper part of the glasses 2 reflects the direct light from the light source and is photosensitive by the camera 5G. The lower part of the glasses 2 is reflected by the lower wall plate 12 to the illumination lamp 40 and is supplied through the transparent glasses stand ^. The camera 10 captures the reflected light. Therefore, as shown in Fig. 18, it is possible to more clearly capture the contours of the lenses of the nylon frame and the two-point lens. In this embodiment, the inner surfaces of the side wall panels 22 and 23 of the eyeglass accommodating portion 16 are subjected to 70% gray processing as shown in the second stage. The inner surface of the rear wall panel 25 is grayed out as shown in FIG. 2G. In order to take pictures as much as possible, the front panel 20 with the camera 15 is required to maintain a distance from the glasses 2. The distance from the glasses 2 to the side and the rear is as small as possible due to the miniaturization of the device. Photographing of glasses | The reflected light on the inner surface of gu produces a phenomenon that the side and rear are too bright compared to the front. The inner surfaces of the side wall panels 22 and 23 are 70% gray-treated. Strive for uniformity in all directions according to 20 lighting conditions. As a result, it is possible to obtain photographs closer to the eyes while obtaining glasses images with less interference. In this embodiment, the gray process is used to print black with a certain density on a synthetic synthetic paper called so-called sowing, and it is pasted on the inner surface of the siding. Needless to say, the gray surface can be painted gray. 25 200410037 In this embodiment, as shown in FIG. 15, the inner surface of the rear wall panel 25 is provided with a circular arc facing the lower wall panel 12, and the boundary between the rear wall panel 25 and the lower wall panel 12 is captured by the camera. Interference. In the present embodiment, a circular arc treatment is provided on the inner surface of the rear wall panel 25. The above-mentioned 40% gray treatment is broadcasted from the rear wall panel 25 toward the lower wall panel 12 so that the arc is pasted. The process of providing a circular arc on the inner surface of the rear wall panel 25, for example, using a member processed with a certain curvature, and of course forming a photographic box with a wall panel having a circular shape, is certainly possible. Lu 10 The front wall panel 20 is shown in FIG. 15. The mirror hole 21 of the camera 50 is provided. The camera 50 is provided in the camera housing 14. The height of the image center of the camera 50 of the camera 50 is approximately the height of the glasses. It is equal, so the lens of the glasses 2 is facing the lens hole 21 of the camera 50, which causes the problem that the lens of the camera 50 is printed on the lens of the glasses 2. 15 Therefore, as shown in FIG. 21, the inner surface of the front wall panel 20 of this embodiment is entirely subjected to 40% gray processing, and the center darkening of the camera mirror hole 21 is gradually changed to the surroundings. According to this, the reflected light of the front wall plate is suppressed, while the lenses of the camera 50 are suppressed from being printed on the lenses of the glasses 2, and the lens surface of the glasses 2 is shaded by the hue processing, preventing the lenses of the glasses 2 from being completely seen from the front 20 Transparency is like nothing. In this embodiment, 'tone processing is the same as gray processing, and black is printed at a certain density on a synthetic paper called postcast, and it is affixed to the inner surface of the siding. Here, the lens center is 100%, and the periphery is 40%. The lens part of the post-cast paper is cut out and used. The method of processing the color tone is to set the color of the lens around the camera hole 21 to the same as that of the camera 50. Of course, the hue treatment may be painted in gray by applying a constant density change to the inner surface of the siding. In this embodiment, the inner surface of the upper wall panel 28 of the opening and closing door is 100% grayed as shown in FIG. 22 and FIG. 5. This is to prevent the boundary line reflection glasses 2 of the front wall panel 20 and the lower wall panel 12. The lens on the camera 50 is printed on, and the wall plate 28 on the opening and closing door is painted black to suppress the illumination of the border portion. The lens of the glasses 2 is hardly visible. In this embodiment, as shown in FIG. 23, the inner surface 10 of the eyeglass accommodating portion 16 of the lower wall panel 12 is subjected to color tone processing, so that the side of the rear wall panel 25 is darkened and the side facing the installation position of the shelf 30 is brightened. . This is because the shelf 30 is fixed to the lower wall panel 12, and the reflected light from the lower wall panel 12 causes the bottom of the shelf 30 to be bright, the upper part to be dim, and the brightness of the upper and lower parts to be uneven. Therefore, 70% gray processing is performed on the inner surface of the eyeglass accommodating portion 16 of the lower wall panel 12 and one 15 side of the rear wall panel 25 and white processing is performed on the side of the installation position of the shelf 30 to form a hue change. The brightness is the same, so that glasses images with less interference can be obtained. As described above, the 40% gray-processed residual broadcast paper is slightly circularly affixed to the lower wall panel 12 toward the lower wall panel 25, and the 20 bonding surface of the lower wall panel 12 is set to 40 °. Gray. The camera 50 uses a digital camera with 3 million pixels and a lens with a focal distance of 5011111. The camera 50 is connected to the computer 200 via a USB interface. The glasses 2 are set on the shelf 30, the opening and closing door 18 is closed, The long-distance operation of 200 photographs the front image of the glasses. 27 200410037 5 From Figure 24 to Figure 27, the image taken by the front camera 10 is shown. Figure 24 is a metal frame, and the second one is a plastic: frame, and the 26th is a nylon frame. Figure 27 is a two-point mirror. Each kind of brother is the same as the background. It can clearly show the success of the spectacle frame. Even the outline of the frame or two-point frame can reach the level of rural image processing. Diao Fu's bird's-eye view photo "Setting up as shown in Fig. 4 _ ㈣ 镜 影像 image day ± photo box that cuts off the external light, the lighting lamp of the lighting glasses 2 and the digital phase: 150 composition

攝影箱111和攝影箱U —樣由下面壁板U2、照相機收 10容部114、眼鏡收容部116和開閉門118構成。 攝影箱111和攝影箱11同樣,内面由具有白色系統的色 彩的壁板形成,照明燈140使用圓形的勞光燈,從多方向昭 射眼鏡,能拍攝陰影和反射均較少的良好的眼鏡的外觀= 像。 15 俯瞰影像攝影裝置刚對應於攝影IflU的内面、陰影The photographic box 111 and the photographic box U are composed of a lower wall panel U2, a camera receiving section 114, an eyeglass accommodating section 116, and an opening / closing door 118. The photographic box 111 is the same as the photographic box 11, and the inner surface is formed by a wall panel with a color of white system. The illumination lamp 140 uses a circular laborer. It can project the glasses from multiple directions and can shoot good shadows and reflections. Appearance of glasses = image. 15 The bird's-eye view photography device just corresponds to the inner surface and shadow of the photography IflU

的狀況、明度的斑點、眼鏡的鏡片的反射,當然可以Z 和正面影像攝影裝置10同樣的灰色處理以及色調處理。 攝影相111的照相機收容部i i 4和開閉門i 8和正面影像 攝影裝置10的構造相同,在這兒省略說明照相機15〇的畫 2〇素疋300萬、焦距是28_1〇5酿,照相機15〇通過·介面和 電月包2叫接在,將眼鏡2設置在眼鏡收納部μ内,關 上開閉H18、通過電腦扇的遠距離操作對眼鏡的俯敞影像 進行攝影。 電腦200通過照相機5〇、照相機150以及USB介面聯 28 200410037 接、遠距離地操作照相機50和照相機15〇拍攝合成用影像和 外觀用眼鏡影像處理影像資料。 拍攝的合成用眼鏡影像通過影像處理形成合成用影像 資料。 〜 5 電腦漏具有聯接網路的機能,向眼鏡銷售系統300發 送被形成的影像資料。 進行以上處理的電腦200能夠使用具備USB介面和網 路聯接功能的個人用電腦和工作站。 下面,介紹在電腦200裏進行的眼鏡攝影及影像處理。 10 該處理過程,從大的方面可以分爲3個階段,即:「眼 鏡影像攝影」、「遮罩處理」和「資料的登錄」。 又 首先,以電腦200所顯示的畫面爲例,對眼鏡影像登錄 系統1所進行的眼鏡影像登錄的處理進行說明。 第28圖是「眼鏡影像攝影」開始前的畫面。畫面上哎 15有「正面攝影」鍵和「外觀攝影」鍵,分別對正面影像^ 影裝置10所擁有的數位相機50和俯瞰影像攝影裝置ι〇〇所 擁有的數位相機150發出攝影指令,所拍攝的影像資料經由 USB介面裝置,被輸入電腦200。 第29圖「眼鏡影像攝影」完畢後的畫面。書面上顯八 20有所拍攝的正面影像和俯瞰影像。在所拍攝的影像王相 時,可調整眼鏡的角度,利用「正面攝影 心 爾心」鍵或「外觀攝 影」鍵進行重新拍攝。在所拍攝的影像良好時,利用「 一個鏡框」鍵,進行下一個鏡框的攝影。 第30圖是「遮罩處理」開始前的晝面。在麥像的「原 29 文件爽」處,攝影完畢的眼鏡影像的文件夹也被顯示出來。 此時,利用「遮罩作成開始」鍵,可對攝影完畢的眼鏡影 像’進行自動的遮罩處理。 第31圖是「遮罩處理」完畢後的畫面。在「原影像」 部’顯示有正面影像(根據正面影像攝影裝置1〇所拍攝);在 「顯示用影像」部,顯示有經過剪輯的影像;在「合成用 秦像」部,顯示有,著有顏色(顧客所指定的顏色)的鏡片正 面影像;在「鏡框遮罩」部’顯示有鏡框遮罩影像(去掉鏡 片的影像);在「鏡片遮罩」部’顯示有鏡片遮罩的影像(去 掉鏡樞的影像)。另外’在畫面的左下部設定有鏡片的各種 顧色,以供顧客選擇。 還有,在「眼鏡確認」部,顯示有參考用影像(利用合 成用影像和標準人物影像製成的配載眼鏡的人物影像),此 時’如果在「鏡片的透過率」部輸入一定的數值’可與人 物影像合成具有該透過率值的影像,並且可以利用▲鍵, 對眼鏡在臉部的位置進行微調,直至適當的位置爲止。 在自動遮罩處理不能順利進行時,利用「調整」鍵, <進打遮罩的手動編輯,即:「遮罩的手動編輯」的功能。 第32圖是這種「遮罩的手動編輯」的畫面。利用「RGB 顯系」鍵’畫面會顯示合成用影像;利用「遮罩的半透明 鼻負系」鍵’會在合成用影像上顯示出半透明的遮罩合成影 像;利用「無RGb」鍵,畫面會顯示遮蔽影像。這時,如 果遂擇「鏡片編輯」鍵,鏡片的遮罩影像將會被使用;如 采遽擇「鏡框遮罩編輯」鍵,鏡框的遮罩影像將會被使用。 200410037 在這裏,如果選擇「多角形設定」鍵,利用滑鼠在晝 面上進行點擊,就可以在晝面上進行多角形的繪畫,從而 可以進行鏡片或鏡框輪廓的設定,達到手動遮罩編輯的目 的。 5 在上述的過程完畢之後,可以利用「spline」進行修正 曲線會自動變得圓滑,從而得到輪廓圓滑的遮罩影像。 第33圖是「資料登錄」開始前的晝面。如晝面所示, 作爲登錄的項目有:1.基本項目,包括:商品編號、眼鏡 的種類、商品型號、顏色標號、品牌。2.鏡框資料,包括: 10 男、女式樣、型號、顏色、鏡片直徑、鼻幅、眼鏡腿的長 度。3.其他資料,包括:價格、販賣的行情、商品顯示類 別、庫存管理資料、販賣的日期、顧客姓名。 第34圖是「資料登錄」完畢後的畫面。如畫面所示, 根據輸入的商品編號,相應的鏡框被選擇出來。在「影像」 15 部,顯示用的影像、鏡框遮罩影像、鏡片遮罩影像、合成 用影像、外觀影像被顯示於畫面。然後選擇所需要的項目, 利用「登錄」鍵進行登錄,並通過因網路送信至眼鏡販賣 系統300。 第5圖是在進行上述的登錄時,電腦200的整體處理流 20 程示意圖。 是進行「眼鏡影像攝影」操作時,眼鏡攝影的畫面就 會被顯示出來(S100),利用「正面攝影」鍵(S102),對正面 攝影裝置10所擁有的照相機50發出攝影指令,所拍攝的影 像被作爲正面影像進行保存(S104),同時,利用「外觀攝影」 31 200410037 對俯瞰影像攝影裝置刚所擁有的照相機i5〇發出 在二日Γ 影像被作爲俯瞰影像進行保存(s_。 炊U—個鏡框」鍵(sm)時,攝影編號就會被吏新, 21上述的從_2開始的步驟,進行下—個鏡框的攝 衫(sm),當所有的攝影完畢時,按「終了」鍵。 在進行「遮罩處理」時,遮罩處理的畫面就會被顯示 出來(S116)利用「遮罩作成開始」鍵⑻a),對攝影完畢As a matter of course, it is possible to perform gray processing and hue processing similar to those of the front image photographing device 10, as well as the speckles of lightness and reflections of the lenses of the glasses. The camera housing section ii 4 and the opening and closing door i 8 of the photographic phase 111 have the same structure as the front image photographing device 10, and the description of the camera 15 will be omitted here. The picture will be 20 primes, 3 million focal lengths, and the camera 15. The interface and the electric monthly bag 2 are connected to each other, and the glasses 2 are set in the glasses storage section μ. The H18 is closed and closed, and the top-down image of the glasses is photographed by remote operation of the computer fan. The computer 200 is connected to the camera 50, the camera 150, and the USB interface 28 200410037 to remotely operate the camera 50 and the camera 15 to shoot composite images and appearance glasses images to process image data. The photographed composite glasses image is processed to form composite image data. ~ 5 The computer has a function of connecting to the Internet, and sends the formed image data to the eyewear sales system 300. The computer 200 that performs the above processing can use a personal computer and a workstation having a USB interface and a network connection function. Next, the glasses 200 and image processing performed in the computer 200 will be described. 10 This processing process can be divided into three stages from the broad aspects, namely: "eyeglass image photography", "mask processing" and "data registration". First, taking the screen displayed by the computer 200 as an example, the process of registering eyeglasses images by the eyeglasses image registration system 1 will be described. Fig. 28 is a screen before "glasses image shooting" starts. On the screen, there are "front photography" and "appearance photography" buttons, which respectively issue photographing instructions to the front camera ^ digital camera 50 owned by the video device 10 and the digital camera 150 owned by the overhead video photography device ι〇〇 The captured image data is input to the computer 200 via a USB interface device. Picture 29 after "glasses image shooting" is completed. Written on the eighth 20 front and top shots. When the captured image is king, you can adjust the angle of the glasses and use the “Front Photography Heart Heart” key or “Appearance Photography” key to re-shoot. When the captured image is good, use the "one frame" key to take the next frame. Fig. 30 shows the daytime surface before the "mask processing" starts. At the "original 29 file cool" position of the wheat image, the folder of the completed glasses image is also displayed. At this time, using the "Mask creation start" key, automatic mask processing can be performed on the photographed glasses image '. Fig. 31 is a screen after the "mask processing" is completed. In the "original image" section, a front image (photographed by the front image photographing device 10) is displayed; in the "display image" section, a clipped image is displayed; in the "composition Qin image" section, it is displayed, The front image of the lens with the color (the color specified by the customer); the frame mask image (the image without the lens) is displayed in the "frame mask" section; Image (image without lens pivot). In addition, various lens colors are set in the lower left part of the screen for customers to choose. Also, in the "Eyeglass Confirmation" section, a reference image (a person's image with a pair of glasses made of a composite image and a standard person's image) is displayed. At this time, if a certain The value 'can be combined with the person's image to have an image with this transmittance value, and the position of the glasses on the face can be fine-tuned with the ▲ key until the appropriate position. When the automatic mask processing cannot be performed smoothly, use the "adjust" key to < manually edit the mask, that is, the "manual editing of the mask" function. Fig. 32 is a screen of this "manual editing of a mask". Use the "RGB Display System" key to display a composite image on the screen; use the "Translucent Nasal Mask" button on the mask to display a composite image with a translucent mask on the composite image; use the "No RGb" key , The screen will display the masked image. At this time, if the “Lens Edit” button is selected, the mask image of the lens will be used; if the “Frame Mask Edit” button is selected, the mask image of the frame will be used. 200410037 Here, if you select the "Polygon Setting" key and click on the daytime surface with your mouse, you can draw polygonal shapes on the daytime surface, so you can set the outline of the lens or frame to achieve manual mask editing. the goal of. 5 After the above process is completed, you can use “spline” to make corrections. The curve will automatically become smooth, so as to obtain a smooth mask image. Figure 33 shows the day and night before the start of "data registration". As shown on the day, the registered items are: 1. Basic items, including: product number, type of glasses, product model, color label, and brand. 2. Frame information, including: 10 male and female styles, models, colors, lens diameters, nose width, and length of temples. 3. Other information, including: prices, sales quotes, merchandise display categories, inventory management data, sales dates, customer names. Figure 34 is the screen after the "data registration" is completed. As shown on the screen, the corresponding frame is selected based on the entered product number. In the "Images" section 15, display images, frame mask images, lens mask images, composition images, and appearance images are displayed on the screen. Then select the desired item, register it with the "Login" key, and send the message to the eyewear vending system 300 via the Internet. Fig. 5 is a schematic diagram of the overall processing flow of the computer 200 during the above-mentioned registration. When the "eyeglass image shooting" operation is performed, the screen shot by the glasses is displayed (S100), and the "front photography" key (S102) is used to issue a shooting instruction to the camera 50 owned by the front photography device 10, and the captured image is captured. The image is saved as a front image (S104). At the same time, using the "Appearance Photography" 31 200410037, the camera i50, which was just owned by the bird's-eye view image capturing device, was issued on the second day. The image was saved as a bird's-eye image (s_. UU— When the "frame" button (sm) is pressed, the photography number will be updated. 21 The above steps starting from _2 are performed on the next frame of the shirt (sm). When all the photography is complete, press "End" When "Mask processing" is performed, the mask processing screen will be displayed (S116) Use the "Mask creation start" button ⑻a) to complete the shooting.

的正面讀進彳了餘遮㈣像和㈣料影像的「遮罩自 動處理(S200)。 10 訂來,對餘遮《彡像,鏡㈣罩f彡像及合成用影 像(人物影像)進行「合成影像顯示處理(_)。首先,利用 "周正」鍵對遮罩影像進行「遮罩手動編輯處理」(S4⑼), 然後對編輯好的遮罩影像進行「合成影像顯示處理」 (S300)上述處理,即:從S118開始的操作可以重覆多次 15進行,直至按「終了」鍵爲止(SU2)。The front side reads the "Mask automatic processing (S200)" which includes the Yu mask image and the material image. 10 The order is made for the Yu mask "The image, the mirror mask f image, and the composite image (person image). "Synthetic image display processing (_). First, use the" Zhou Zheng "key to perform" manual mask editing processing "(S4⑼) on the mask image, and then perform" synthetic image display processing "on the edited mask image (S300 ) The above processing, that is, the operation from S118 can be repeated 15 times repeatedly until the "end" key is pressed (SU2).

在進行「資料登錄」時,資料資料登錄的畫面就會被 顯示出來(S124),對影像資料及眼鏡諸元進行登錄,即「資 料登錄處理」(S500),登錄後的資料被送信至眼鏡販賣系統 3〇〇進行保存(S126)。 20 下面,對「遮罩自動處理」(S200)進行說明。 弟6圖疋「遮罩自動處理」流程的一例圖。如圖所示, 首先進行「眼鏡外周檢出處理」(S220),沿背景部到眼鏡部 的方向,找出眼鏡的外周輪廓。然後根據眼鏡的外周輪廓, 推定左鏡片的所在位置(S202),並對左鏡片進行「鏡片外周 32 200410037 檢出處理」(S250);同樣,根據眼鏡的外周輪廓,推定右鏡 片的所在位置㈣2),然後對右鏡片進行「鏡片外周檢出處 理」(S250)。另外,關於鏡片(左右)所在位置的推定(s2〇2、 S204) ’如後述的那樣’根據所獲得的眼鏡外周輪廓的資料 5 (S22〇) ’在所規定的特定點到眼鏡的内側之間,設定進行鏡 片外周輪廓檢出時的起點,並根據此點,從鏡片的中心位 置開始’向鏡片的四周進行檢測,直至檢出鏡片的外周輪 扉爲止。 然後,根據檢出的鏡片外周資料資料,轉換成鏡片的 φ 10遮罩影像(S206) ’並對此影像,進行左右比較及補正處理 (S208)。 鏡片遮罩影像的轉換(S206)是指根據左右鏡片外周的 資料,在此資料内的畫面範圍塗成白色,在此資料外的畫 面範圍塗成黑色的過程。 一 15 左右對比與補正處理(S208)是指對轉換成的鏡片遮罩 影像,以眼鏡中心爲起點,進行左右影像對比,並去除相 差異的部分。當相差異的部分超出所規定的範圍時,财 φ 斷定左右鏡片的影像中,有一鏡片的影像偏離了鏡片外周 資料所規定的範圍。對照另一側的影像,對有偏離的影像 2〇進行修正,以達到左右對稱的目的。所以,即使當鏡片上 貼有條型碼標簽或覆有其他遮蓋物,不能正常進行外周檢 出時,根據這種方法,也可以得到所希望的鏡片遮罩影像。 另外,根據所獲得的眼鏡外周資料(S22〇)和鏡片外周 資料(S250、S252) ’無成鏡框料f彡像(s2ig),並對此影 33 像進行左右對比及補正處理(S2i2)。 鏡框遮罩影像的轉換(S210)是指在眼鏡外周資料和左 右鏡片外射料所規定的範_,塗成白色、其餘範圍塗 成黑色的過程。在對只有―部分或完全沒有餘的眼鏡進 行遮罩時^眼鏡與鏡片相重疊的地方,雖然、有出現棱角的 象(彳爲曲線)’但是通過對鏡框遮罩影像進行的收縮、 膨脹處理,這種現象可以得以糾正。 左右對比與補正處理(S212)是指對轉換成的鏡框遮罩 〜像’以眼鏡中心騎點,進行左右影像對比,並去除相 異的^分。當相差異的部分超出所規定的範圍時,則可斷 疋左右鏡框的#像中,有—鏡框的影像偏離了眼鏡外周資 料和鏡片外周貝料所規定的範圍。對照另一側的影像,對 有偏離的影像進行修正,以達到左右對稱的目的。所以即 使當眼鏡上貼有條型碼標簽或覆有其他遮蓋物,不能正常 進行目艮鏡或鏡片外周檢出時,根據這種方法,也可以轉換 成所希望的鏡框遮罩影像。 第7圖是眼鏡外周檢出處理(S22〇)流程的一例圖。如圖 所示,首先對檢測的起點進行選擇(S222)。起點的選擇是 才曰·首先在從背景部到眼鏡部的線上,規定特定的點,然 後k這些點中來選擇。在正面影像攝影裝置1〇處,眼鏡2被 放置在30處’鏡片被放置在32處,這樣,影像中眼鏡的位 置和所處範圍被限定在一定的範圍内。從而便於掌握眼鏡 所在的領域4,從領域4的週邊開始,向眼鏡所在位置,進 行眼鏡邊界的檢出處理。 200410037 例如第12圖所示,眼鏡的特定點,從能順利檢出眼鏡 外周的點中選擇。根據此方法,在眼鏡存在領域4的外周 上,設定P1〜P17的起點。 在眼鏡上部,按照從上到下的方向,在眼鏡下部,按 5照從下到上的方向進行眼鏡外周的檢測。或者沿眼鏡的輪 廓,在水平方向或斜面方向,設定候補點的方法進行眼鏡 外周的檢測。 而且在對這些候補點的處理結束之前,可以重覆以 下的步驟進行操作(S224)。 鲁 1〇 根據選擇的起點,按照從背景部到眼鏡部的方向進行 * 邊界的檢測卿6)。邊界的檢測是指:從線上各畫素的亮度 中’找出超過所規定亮度的點,這些點則代表邊界的所在 位置。另外,在鏡框和鏡框部分,會出現比背景部亮或暗 的情况,這日守,需要檢測出亮度深和淺時所産生的變化。 15在邊界的檢測不能順利進行時,需要重新回到S222,根據 另外的起點進行眼鏡邊界的檢出處理(S228)。 在邊界的檢出成功時,則以此邊界爲起點,根據以了 _ 的步驟,進行眼鏡邊界的追蹤檢出處理。即:把檢出邊界 資料存入眼鏡外周資料庫(S23〇),檢查在此邊界附近是否存 20在新的邊界(S232),在新的邊界的檢出成功時(S234),再以 新的邊界爲起點進行下一個邊界的檢測(S236)。在追蹤檢測 70畢之箣,上述步驟,即:從823〇開始的步驟(§238)可以 重覆多次進行。 如第13圖所示’以目前的畫素爲基準,在檢出的眼鏡 35 邊界的附近,選擇8個相鄰的點,在一定方向上取出各晝素 的冗度’檢測新的邊界的有無。例如:如果想要檢測相鄰 點的右側邊界的有無,在右側取出各畫素的亮度,便可進 行。 當在規定的回數範圍内,沒有檢查出下一個新的邊界 日可(S234),即:在畫面上出現「連續檢出失敗」之前,則利 用在此之前所檢查出的外周資料,根據近似曲線的原理, 推定下一個邊界(S242),重覆從S232開始操作。在畫面上 出現「連續檢出失敗」字樣時(S240),重新回到S222,選 擇下起點,進行邊界的追蹤處理。 眼鏡外周的追蹤處理過程,請參看第14圖。如圖所示, 如果以P3為起點,在第一邊界F1被檢出時,可以對其右側 的F2、F3、F4、…的邊界進行追蹤處理。 追縱完畢(S238)原則上是指從追縱點重新回到起點來 講的。但是,如果所檢測的眼鏡外周輪廓不完整或有殘缺 時,已檢出的輪廓就有消失的可能,所以在已經檢出的外 周的一定範圍内,繼續追蹤檢測一段時間,在確信萬無_ 失時,追蹤處理才算完畢。 在上述的追縱完畢時’將對眼鏡外周資料的不足進行 修正處理(S244)。因為影像中眼鏡的外周並不一定被非常明 確地捕捉到,所以利用S244對眼鏡邊界檢出處理(S226)和 眼鏡邊界追蹤處理(S230〜S238)所不能檢出的部分進行修 補。根據所檢出的眼鏡外周資料,運用近似曲線的原理, 推算缺欠的外周資料,從而達到修正的目的。 200410037 接下來,將根據眼鏡外周資料,對影像上的不規則部 (突起物)進行清除處理(S246)。這種處理是針對因背景部分 覆有的遮蓋物(如貼有條型碼標簽)而引起的不規則所進行 的。例如··對檢出的眼鏡外周資料和推定的外周資料(利用 5曲線近似的原理)進行比較。超出所規定距離範圍的部分則 被認為疋不規則的部分。這時,推定的資料將代替原來測 定的資料,以達到清除的目的。 最後,將對眼鏡外周資料進行圓滑處理(S248)。這種 處理疋針對因邊界部分亮度的不均勻而引起的凹凸所進行 10的。例如:用前後一定範圍内的坐標資料的平均值代替坐 標資料’來達到圓滑處理的目的。或者掉換所推定的曲線 位置來達到此目的。 另外,需要指出的時,對眼鏡的棱角部分不需進行圓 滑處理。 15 第8圖是鏡片外周檢出處理(S250、S252)流程的一例 圖。如圖所示,首先進行鏡片邊界檢測起點的選擇(S254)。 根據前述的眼鏡外周資料,從眼鏡的特定點中,提取跟左 右鏡片相關聯的資料,然後根據鏡框的大小範圍,以範圍 内側的位置為候補點,並從中選出檢測的起點。如第12圖 20 所示,眼鏡的邊界檢出起點P2、P3、P4、Pll、P12、P13 跟左鏡片相關聯,與此相對應的Q2、Q3、Q4、Qll、Q12、 Q13則作為左鏡片邊界檢測起點的候補點:同樣,眼鏡的邊 界檢測起點P6、P7、P8、P15、P16、P17跟右鏡片相關聯, 與此相對應的Q6、Q7、Q8、Q15、Q16、Q17則作為右鏡片 37 200410037 邊界檢測起點的候補點。然後,在左鏡片的内側,設定左 鏡片邊界檢別的起點線6,在右鏡片的内側,設定右鏡片邊 界檢測的起點線8。鏡片的邊界檢測起點也可以從這些線的 任意位置中選出。 5 在鏡片上部’按從上到下的方向,在鏡片下部,按從 下到上的方向進行鏡片外周的檢測。或者沿眼鏡的形狀, 在水平方向或斜面方向設定候補點的方法進行鏡片外周的 檢測。 另外,與眼鏡外周檢出處理同樣(S22〇),在對這些候 Π)補點的處理結束之前,可以重覆以下的步驟進行操作 (S256)〇 從檢測的起點開始,按從鏡框部分到鏡片外部的方向 進行邊界的檢測(S258)。邊界的檢測是指,從線上各晝素的 亮度中,找出超過所規定的亮度的點,這些點則代表邊界 15的所在位置。另外,鏡框部分,會出現比背景部亮或暗的 情況,這時,需要檢測出比鏡框部分亮度深和淺時所產生 的變化。在邊界的檢出不能順利進行時,需要重新回到 S254,根據另外的眼鏡邊界檢出起點,進行眼鏡邊界的檢 出處理(S260)。 20 在邊界的檢出成功時,以此邊界為起點,根據以下的 步驟’進行鏡片邊界的追縱檢測處理。即··把檢出邊界資 料存入眼鏡外周資料庫(S262),檢查在此邊界附近是否存在 新的邊界(S264),在新的邊界的檢出成功時(S266),再以此 新的邊界為起點進行檢測(S268),在追蹤完畢之前,上述步 38 200410037 驟,即,從S262開始的步驟(S270)可以進行多次操作。 如第13圖所示,以目前的晝素爲基準,在檢出的鏡片 邊界的附近選擇8個相鄰的點,在一定方向上取出各晝素的 亮度,檢測新的邊界的有無。例如:如果想要檢測相鄰點 5的右側邊界的有無,在右側取出各畫素的亮度,便可進行。 在規定的回數範圍内,沒有檢查出下一個新的邊界時 (S272),即:在畫面上出現「連續檢出失敗」字樣之前,利 用在此之前所檢查出的外周資料,根據近似曲線的原理, 推定下一個邊界(S274),從S264開始重覆操作。在畫面上 10出現「連續檢出失敗」字樣時(S272),重新回到S254,選 擇下一個鏡片邊界檢出起點,進行邊界的追縱處理。 鏡片外周的追蹤處理過程,請參看第14圖。如圖所示, 如果在左鏡片處’以Q3為起點’在第一個邊界以被檢出 時,可以對其右側的1^2、13、1^4、〜的邊界進行追蹤處理。 15 追縱完畢(S27〇) ’原則上是指··從追蹤點重新回到起 點時來講的。但是,如果所檢出的眼鏡外周輪廓不完整或 有殘缺時’已檢出的輪廓就有消失的危險,所以在離已經 檢出的外周一定範圍内,繼續追蹤一段時間,在綠作萬無 一失時,追蹤處理才算完畢。 20 在上述的追蹤完畢時,將對鏡片外周資料的不足進行 修正處理(S276)。因為影像中鏡片的外厨並不一定被非常明 了地捕捉到,所以湘S276對鏡片邊界檢出處理(s25_ 鏡片邊界追蹤處理(S262〜S27〇)所不能檢出的部分進行補 充。根據所檢出的眼鏡外周資料,運用近似曲線的原理, 39 推算缺欠料騎料,_相修正的目的。 接下來,將根據鏡片外周資料 (突起物陶除處理_)。這種處= 覆有的遮蓋物(如鏡片 士口鏡片口P刀 所進行的。例如.對於屮、[型碼標簽)而5丨起的不規則 料_線近似的:二外周資料和推定的外周資 的原理)進订比較,超出所規 為是不規則的部分,,推定的資= 原來測㈣資料1軸清除的目的。 10When "data registration" is performed, the screen of data registration will be displayed (S124). The image data and glasses are registered, that is, "data registration processing" (S500). The registered data is sent to the glasses The vending system 300 saves (S126). 20 "Mask automatic processing" (S200) will be described below. Brother 6 Figure 疋 An example of the "automatic mask processing" flow. As shown in the figure, first perform "glasses peripheral detection processing" (S220), and find the outer contour of the glasses in the direction from the background to the glasses. Then, based on the outer contour of the glasses, the position of the left lens is estimated (S202), and the "lens outer 32 32 200410037 detection process" (S250) is performed on the left lens; similarly, the position of the right lens is estimated based on the outer contour of the glasses ㈣2 ), And then perform "lens peripheral detection processing" on the right lens (S250). In addition, the estimation of the position of the lens (left and right) (s202, S204) 'as described later' based on the obtained data 5 of the outer contour of the eyeglasses (S22〇) 'from the specified point to the inner side of the eyeglasses In the meantime, the starting point for detecting the outer contour of the lens is set, and based on this point, detection is started from the center of the lens to the periphery of the lens until the outer ring of the lens is detected. Then, based on the detected lens peripheral data, a φ 10 mask image of the lens is converted (S206) ', and this image is subjected to left-right comparison and correction processing (S208). The conversion of the lens mask image (S206) refers to the process of painting the image area in this data to white and the image area outside this data to black according to the data of the left and right lens periphery. -15 The left and right contrast and correction processing (S208) refers to the conversion of the lens mask image, starting from the center of the glasses, to the left and right image contrast, and removing the difference. When the difference is beyond the specified range, Cai φ determines that one of the left and right lens images has an image that deviates from the range specified by the lens peripheral data. Compare the image on the other side with the deviation of image 20 to achieve the purpose of left-right symmetry. Therefore, even when a bar code label is attached to the lens or another cover is used to prevent the peripheral detection normally, according to this method, a desired lens mask image can be obtained. In addition, based on the obtained perimeter data of the spectacles (S22o) and the perimeter data of the lenses (S250, S252), the non-formed frame material f image (s2ig) is used to perform left-right comparison and correction processing on the image 33 (S2i2). The conversion of the frame mask image (S210) refers to the process of painting white and the rest of the area in the range specified by the outer periphery of the glasses and the outer shots of the left and right lenses. When masking ―partially or completely spectaclelessly ^ where the glasses and lenses overlap, although there is an angular image (彳 is a curve) ', the contraction and expansion of the frame mask image is performed. This phenomenon can be corrected. The left and right contrast and correction processing (S212) refers to the conversion of the converted frame mask to the image 'with the center of the eyeglasses, to compare the left and right images, and to remove the different points. When the difference is beyond the specified range, it can be judged that in the #images of the left and right frames, the image of the frame deviates from the range specified by the outer material of the glasses and the outer material of the lenses. Compare the image on the other side and correct the image with deviation to achieve the purpose of left-right symmetry. Therefore, even when a bar code label is attached to the spectacles or other coverings cannot be used to detect the eyepiece or the periphery of the lens normally, according to this method, it can be converted into the desired frame mask image. FIG. 7 is a diagram showing an example of the flow of the glasses peripheral detection process (S22o). As shown in the figure, the starting point of the detection is selected first (S222). The starting point is selected. First, specific points are defined on the line from the background to the eyeglasses, and then k is selected. At the front image photographing device 10, the glasses 2 are placed at 30 'and the lenses are placed at 32, so that the position and range of the glasses in the image are limited to a certain range. Therefore, it is easy to grasp the area 4 in which the glasses are located. Starting from the periphery of the area 4, the detection processing of the glasses boundary is performed at the location of the glasses. 200410037 For example, as shown in Figure 12, the specific point of the glasses is selected from the points where the outer periphery of the glasses can be detected smoothly. According to this method, the starting points of P1 to P17 are set on the outer periphery of the eyeglass existence area 4. On the upper part of the glasses, follow the direction from top to bottom, and on the lower part of the glasses, perform 5 shots from the bottom to the top to detect the outer circumference of the glasses. Or, along the outline of the glasses, in the horizontal or oblique direction, set the candidate points to detect the outer circumference of the glasses. Before the processing of these candidate points is completed, the following steps may be repeated (S224). Lu 1〇 According to the selected starting point, the detection is performed in the direction from the background to the eyeglasses. * The boundary is detected 6). Boundary detection is to find the points that exceed the specified brightness from the brightness of each pixel on the line, and these points represent the location of the boundary. In addition, the picture frame and the picture frame part may appear brighter or darker than the background part. On this date, it is necessary to detect the change when the brightness is deep and light. 15 If the detection of the boundary cannot be performed smoothly, it is necessary to return to S222 and perform the detection processing of the glasses boundary based on another starting point (S228). When the detection of the boundary is successful, the boundary is used as the starting point, and the detection and detection processing of the boundary of the glasses is performed according to the steps with _. That is, the detected boundary data is stored in the glasses periphery database (S23〇), and it is checked whether there is a new boundary near the boundary (S232). When the detection of the new boundary is successful (S234), the new The next boundary is detected as the starting point (S236). At the end of the tracking test 70, the above steps, that is, steps starting from 823 (§238) can be repeated multiple times. As shown in Figure 13, 'Based on the current pixels, near the boundary of the detected glasses 35, select 8 adjacent points and extract the redundancy of each day element in a certain direction' to detect the new boundary Yes or no. For example, if you want to detect the presence of the right border of adjacent points, you can take out the brightness of each pixel on the right and then do it. When the next new boundary day is not checked within the specified number of rounds (S234), that is, before the "continuous checkout failure" appears on the screen, the peripheral data checked before is used, according to The principle of the approximate curve, the next boundary is estimated (S242), and the operation is repeated from S232. When the word "Continuous detection failed" appears on the screen (S240), return to S222, select the lower starting point, and perform boundary tracking processing. Refer to Figure 14 for the tracking process of the periphery of the glasses. As shown in the figure, if P3 is the starting point, when the first boundary F1 is detected, the boundary of F2, F3, F4, ... on the right side can be tracked. Chase completion (S238) refers in principle to returning to the starting point from the chase point. However, if the outer contour of the detected glasses is incomplete or defective, the detected contour may disappear. Therefore, within a certain range of the outer periphery that has been detected, continue to track and detect for a period of time. The tracking process is not complete when it is lost. When the above-mentioned chase is completed ', the deficiency of the glasses peripheral data will be corrected (S244). Because the periphery of the glasses in the image is not necessarily captured very clearly, S244 is used to repair the parts that cannot be detected by the glasses boundary detection processing (S226) and the glasses boundary tracking processing (S230 ~ S238). Based on the detected peripheral data of the glasses, the principle of the approximate curve is used to calculate the missing peripheral data to achieve the purpose of correction. 200410037 Next, the irregularities (protrusions) on the image will be removed based on the perimeter data of the glasses (S246). This treatment is performed for irregularities caused by coverings (such as bar code labels) covering the background. For example, compare the detected perimeter data of the glasses with the estimated perimeter data (using the principle of 5-curve approximation). Sections outside the specified distance range are considered to be irregular. At this time, the estimated data will replace the original measured data to achieve the purpose of removal. Finally, the peripheral data of the glasses will be rounded (S248). This processing is performed for unevenness caused by uneven brightness at the boundary portion. For example, the average value of the coordinate data within a certain range before and after is used to replace the coordinate data 'to achieve the purpose of smooth processing. Or change the estimated curve position to achieve this purpose. In addition, when pointed out, the corners of the glasses need not be smoothed. 15 Fig. 8 is an example of the flow of the lens peripheral detection processing (S250, S252). As shown in the figure, the selection of the starting point of lens boundary detection is first performed (S254). According to the aforementioned glasses peripheral data, from the specific points of the glasses, extract the data associated with the left and right lenses, and then based on the size range of the frame, use the position inside the range as a candidate point, and select the starting point for detection from it. As shown in Fig. 12 and Fig. 20, the starting point P2, P3, P4, Pll, P12, and P13 of the boundary detection of the glasses is associated with the left lens, and the corresponding Q2, Q3, Q4, Qll, Q12, and Q13 are left. Candidate points for the starting point of lens boundary detection: Similarly, the starting points P6, P7, P8, P15, P16, P17 of the edge detection of glasses are associated with the right lens, and the corresponding Q6, Q7, Q8, Q15, Q16, Q17 are used as Right lens 37 200410037 Candidate point for starting point of boundary detection. Then, a start line 6 for the left lens boundary detection is set inside the left lens, and a start line 8 for the right lens boundary detection is set inside the right lens. The edge detection starting point of the lens can also be selected from any position of these lines. 5 In the upper part of the lens, go from top to bottom, and in the lower part of the lens, go from bottom to top. Or, the method of setting the candidate points in the horizontal direction or the oblique direction along the shape of the glasses is used to detect the periphery of the lens. In addition, it is the same as the detection process of the outer periphery of the glasses (S22〇). Before the processing of these candidate points is completed, the following steps can be repeated (S256). Starting from the detection starting point, pressing from the frame part to Boundary detection is performed in the direction outside the lens (S258). The detection of the boundary means that, from the brightness of each day element on the line, the points exceeding the prescribed brightness are found, and these points represent the location of the boundary 15. In addition, the frame part may appear brighter or darker than the background part. At this time, it is necessary to detect the change caused when the brightness is darker and lighter than the frame part. When the detection of the boundary cannot be performed smoothly, it is necessary to return to S254 again, and perform the detection processing of the spectacle boundary based on another starting point of the spectacle boundary detection (S260). 20 When the detection of the boundary is successful, the boundary is used as a starting point, and the tracking and detection processing of the lens boundary is performed according to the following steps. That is, the detected boundary information is stored in the glasses peripheral database (S262), and it is checked whether there is a new boundary near this boundary (S264). When the detection of the new boundary is successful (S266), the new The boundary is detected as a starting point (S268). Before the tracking is completed, the above step 38 200410037 step, that is, the step starting from S262 (S270) can be performed multiple times. As shown in Fig. 13, based on the current daylight element, eight adjacent points are selected near the detected lens boundary, and the brightness of each daylight element is taken in a certain direction to detect the presence of a new boundary. For example, if you want to detect the presence of the right border of the adjacent point 5, you can take out the brightness of each pixel on the right and you can do it. When the next new boundary is not checked within the specified number of rounds (S272), that is, before the word "Continuous detection failed" appears on the screen, the peripheral data checked before is used to approximate the curve Principle, the next boundary is estimated (S274), and the operation is repeated from S264. When “Continuous detection failure” appears on the screen (S272), return to S254, select the next lens boundary detection starting point, and perform boundary tracking processing. Refer to Figure 14 for the tracking process of the lens periphery. As shown in the figure, if at the left lens 'Q3 is the starting point' at the first boundary to be detected, the boundary on the right 1 ^ 2, 13, 1 ^ 4, ~ can be tracked. 15 Chase completion (S27〇) ‘In principle, it means that when you return to the starting point from the tracking point. However, if the outer contour of the detected glasses is incomplete or incomplete, the detected contour may disappear. Therefore, within a certain range from the outer periphery that has been detected, continue to track for a period of time. , Tracking processing is complete. 20 When the above tracking is completed, the deficiency of the lens peripheral data will be corrected (S276). Because the chef of the lens in the image is not necessarily captured very clearly, Hunan S276 supplements the parts that cannot be detected by the lens boundary detection process (s25_ lens boundary tracking process (S262 ~ S27〇). According to the inspection The perimeter data of the glasses is based on the principle of approximate curve, 39 is used to estimate the lack of material, and the purpose of _phase correction. Next, the perimeter data of the lens (protrusion removal treatment_) will be used. This place = covered cover (Such as the lens knife mouth lens P knife. For example, for 屮, [type code label) and irregular materials starting from 5 丨 line approximation: the second peripheral data and the principle of the estimated foreign capital) By comparison, if it exceeds the rule, it is an irregular part, and the estimated asset = the purpose of clearing the original measurement data on 1 axis. 10

最後,將對鏡片外周資料進行圓滑處理⑽〇)。這種 處理是針對’因邊界部分亮度的不均⑼弓丨起的凹凸所進 ^亍的例如.用w後__定範圍内的座標資料的平均值代替 才丁資料以達到dj滑處理的目的。或者掉換所推定的曲 線位置來達到此目的。Finally, the lens peripheral data will be rounded (0). This processing is aimed at the unevenness caused by the uneven brightness of the boundary part. For example, the average value of the coordinate data within a fixed range after w is used to replace the talent data to achieve dj slip processing. purpose. Or change the estimated curve position to achieve this purpose.

第9圖疋合成影像顯示處理(S300)流程的一例圖。如圖 15所示首先,利用遮罩處理畫面,讓顧客輸入所希望的鏡 片顏色和鏡片的透過率(S302)。然後,在正面影像中的鏡片 遮罩部’塗上所指定的顏色,生成著色後的影像(S304),並 在畫面上顯示出正面影像、俯瞰影像、合成用影像、鏡框 遮罩影像、鏡片遮罩影像(S306)。另外,顧客可以利用滑鼠 20指定所希望的位置,S310根據所指定的位置,對鏡框遮罩 影像和鏡片遮罩影像的位置進行調整。 然後’利用S312提取事先記憶的人物影像,用人物影 像中的鏡框遮罩部跟合成影像進行掉換,利用S316在人物 影像的鏡片遮罩部設定所指定的顏色和透過率,最後利用 40 200410037 S318在畫面上顯示出這種缓過合成的人物影像。 以上處理’利用「再合成」鍵,可以重覆從S3〇2開始 的操作步驟(S320)。操作完㈣,按「終了」鍵即可。 第10圖是遮罩手動編輯處理流程(s4〇〇)的一例圖。如 5圖所不’首先利用S4〇〇取得滑鼠所點擊的位置,S4〇4根據 此位置對鏡框進行曲線化處理。在進行設定之前,從謂2 開始的這種步驟可以重覆進行(S406)。 點擊「設定」鍵’上述的曲線化處理結果會被保存在 眼鏡外周資料庫或鏡片外周資料庫裏(_8),然後根據被保 · 10存在眼鏡外周資料庫或鏡片外周資料庫裏的資料,生成鏡 片遮罩影像(S410)和鏡框遮罩影像(8412)。這種生成方法跟 前述的S206和S210的遮罩自動處理方法相同。 從S210開始的步驟可以重覆多次進行(S414),直至按 「終了」鍵為止。 15 第11圖是資料登錄處理流程的一例圖。如圖所示,利 用「登錄」鍵(S502),可以獲得「基本項目」的資料(S5〇4), 「鏡框情報」資料(S506)及「其他情報」資料(S5〇8)。 肇 另外,在登錄時,正面影像、俯瞰影像、合成用影像、 鏡忙遮罩影像、鏡片遮罩影像與眼鏡諸元將會被一起登錄 20 下來(S510)。 從S502開始的步驟可以重覆多次進行,直至按「終了」 鍵為止(S512)。 下面,對該項發明的影像登錄系統,進行眼鏡販賣的 過程進行說明。 41 如第1圖所示,眼鏡登錄影像系統1通過因網路與眼鏡 販賣系統連接在一起,在眼鏡影像登錄系統1所生成的資料 被送信至眼鏡販賣系統3〇〇以便在販賣時使用。 眼鏡販賣系統300由資料庫伺服器31〇(記錄電腦200傳 送過來的關於眼鏡的款式、目錄等資料和影像資料資料)、 應用軟體伺服器320(爲眼鏡販賣提供應用程式服務)、Web 伺服器330(與顧客電腦相連接的介面裝置)和防止病毒侵入 的保護器340構成。 顧客利用Web瀏覽器,在該系統的web伺服器330上進 行瀏覽,根據資料庫伺服器310所提供的情報,進行眼鏡的 5丁購。顧客在Web伺服器330上,進行眼鏡的選擇,所選擇 的眼鏡影像會在晝面上顯示出來,而且,如果把用數位照 相機所拍攝的臉部影像輸入畫面,根據應用軟體伺服器32〇 所提供的應用程式,可以合成配戴眼鏡的臉部影像,並在 畫面上顯示出來,供顧客進行確認。 這種合成影像的處理過程,在前面已經介紹過。即: 合成影像顯示處理(S300)的S312〜S318的步驟。 這樣,顧客在自己家中,就可以購買到自己滿意的眼 鏡,而且不須要通過眼鏡店,更不須要擔心庫存的有無(是 否有貨),由眼鏡的製造部門直接郵送至家門。另外,因爲 通過網上的販賣,生産的眼鏡可以被迅速地銷售出去,所 乂 I1牛低了成本,攸而能夠爲顧客提供多品種、低價格的眼 鏡0 在前面,對俯瞰影像攝影裝置100和正面影像攝影裝置 200410037 Η)作爲兩個單獨的裝置騎了介紹,實際上,這兩個裝置 也可以合併在一起進行使用。 ίο 在前面,對電腦200與俯瞰影像攝影裝置1〇〇/正面影像 攝影裝置10作爲不同功能的裝置進行了介紹實際上,還 可以在正面影像攝影裝置耐t瞰影像攝影裝置刪的内部 安裝小型電腦,並通過它來完絲述影像處理機能或者與 眼鏡織系統的通信機能(即:並不—定要通過電腦來 完成前《信舰)。這樣,魏鏡製^廠安裝眼鏡影像 登錄系統就便得非常簡單,通過攝影裝置與賴路連接來 完成與眼鏡販賣系統的通信,從而達到網上販賣的目的。 在前述實施狀態下,介紹了「眼鏡影像登錄系統」的 電腦通過因網路與眼鏡販賣系統連接的方法,實際上,並 不-定要通過專用回線,公用電話回線等私人專用線路, 還可以通過這些線路的中介㈣來完成連接。 15 在前述實施狀態下,介紹了用數位照相機進行攝影的 方法,該項發料僅可錢用數位W目機,還可以使用攝 影機、攝像機。可以把正面影像攝職㈣/俯瞰影像攝影 裝置100設計的更小型化。 20 在前述實㈣態下,介紹了錢総進行照明的方 法,該項發日林僅可以㈣以燈崎卿,衫影經眼 鏡色綱範_,也可以使用f通的照明燈。 在前述實施狀態下,介紹了用_㈣㈣㈣㈣ 方法,該項翻不僅可以使㈣職㈣進行㈣,也可 以使用復數的棒形、㈣照明燈進行照明。因為這樣做, 43 200410037 這樣可以在大範圍内進 而減少了影像的絮SL。‘、、、’所以不容易出現陰影,從 同時,不僅可%料通的照 影同時發光的閃光燈。 明燈,還可以使用與攝 5 10 15 在前述實施狀態下,隹一 鏡進行全方位的朗切二眼鏡攝料,為了能夠對眼 行了灰色處理和色調層次^像出現聽,在攝影箱内途 照明、調節光的強度等方法來達以利用分散 在前面,雖然省略 、 明。但是,在必要面影像進行的前處理的說 、 最好增加以下的處理。①&消 除光線的不均勻而進行 ㈣理①為肩 ,^ 订的先線修正處理。②雜音的清除處 ㈣㈣_的_處理(使輪廓便得清晰)。 這樣可以使遮更加順利地進行。在前述實施 狀悲下,在眼鏡/鏡片的邊界檢出處理完畢之後,對眼鏡/ 鏡片的邊界追蹤處理進行了說明。該項發明不但可以進行 追蹤處理,還可以通過對眼鏡/鏡片邊界檢出處理結果進行Fig. 9 shows an example of the flow of the synthetic image display processing (S300). As shown in FIG. 15, first, the screen is processed using a mask, and the customer is asked to input a desired lens color and lens transmittance (S302). Then, the specified color is applied to the lens mask portion in the front image to generate a colored image (S304), and the front image, bird's-eye image, composition image, frame mask image, and lens are displayed on the screen. Mask the image (S306). In addition, the customer can specify a desired position using the mouse 20, and S310 adjusts the positions of the frame mask image and the lens mask image according to the designated position. Then 'use S312 to extract the previously saved person image, use the frame mask part in the person image to replace the composite image, use S316 to set the specified color and transmittance in the lens mask part of the person image, and finally use 40 200410037 S318 This slow-synthesized character image is displayed on the screen. The above process' can use the "Resynthesis" key to repeat the operation steps from S302 (S320). After the operation, press the "End" button. Fig. 10 is an example of a mask manual editing process flow (s400). As shown in Figure 5 ', the position where the mouse clicks is first obtained by using S400, and S400 performs curve processing on the frame according to this position. This step from step 2 can be repeated before setting (S406). Click the "Set" button. The above-mentioned curve processing results will be stored in the glasses periphery database or lens periphery database (_8), and then the lenses will be generated based on the data stored in the glasses periphery database or lens periphery database. Mask image (S410) and frame mask image (8412). This generation method is the same as the aforementioned mask automatic processing method of S206 and S210. The steps from S210 can be repeated several times (S414) until the "End" key is pressed. 15 Figure 11 shows an example of the flow of data registration processing. As shown in the figure, by using the "Login" key (S502), data of "basic items" (S504), "frame information" data (S506), and "other information" data (S508) can be obtained. In addition, at the time of registration, the front image, bird's-eye image, composition image, mirror busy image, lens mask image, and glasses are registered together (S510). The steps from S502 can be repeated several times until the "End" key is pressed (S512). The process of selling eyeglasses in the image registration system of this invention will be described below. 41 As shown in Fig. 1, the eyewear registration image system 1 is connected to the eyewear sales system through the Internet, and the data generated by the eyewear image registration system 1 is sent to the eyewear sales system 300 for use at the time of sale. The glasses selling system 300 is composed of a database server 31 (recording information about glasses styles, catalogs, and image data transmitted from the computer 200), an application software server 320 (providing application service for glasses selling), and a web server 330 (an interface device connected to a customer's computer) and a protector 340 for preventing invasion of viruses. The customer uses a web browser to browse on the system's web server 330, and purchases glasses based on the information provided by the database server 310. The customer selects glasses on the Web server 330, and the selected glasses images are displayed on the daytime. Moreover, if a face image captured with a digital camera is input to the screen, the application server 32? The provided application can synthesize the face image of wearing glasses and display it on the screen for customers to confirm. The processing of this composite image has been described previously. That is, steps S312 to S318 of the composite image display process (S300). In this way, customers can buy the eyeglasses they are satisfied with in their own home, without having to go through the eyeglasses store, or worry about the availability of the inventory (whether it is in stock). The eyewear manufacturing department will mail it directly to the door. In addition, because the glasses produced can be sold quickly through online sales, the I1 cow has a low cost, and it can provide customers with a variety of low-priced glasses. In front, the bird's-eye view photography device 100 And frontal video photography device 200410037 Η) were introduced as two separate devices. In fact, these two devices can also be combined and used. ίο In the front, the computer 200 and the overhead video shooting device 100 / frontal video shooting device 10 are introduced as devices with different functions. In fact, a small-sized interior of the frontal video shooting device can be installed inside the deleted video viewing device. A computer, and use it to complete the image processing function or the communication function with the glasses weaving system (that is: not-the computer must be completed to complete the former "ship"). In this way, it is very simple for Wei Jing Manufacture Factory to install the glasses image registration system. The camera device is connected to Lai Lu to complete the communication with the glasses selling system, thereby achieving the purpose of online sales. In the foregoing implementation state, the method of connecting the computer of the "glasses image registration system" with the glasses sales system through the Internet has been introduced. In fact, it is not necessary to use a private dedicated line such as a dedicated return line or a public telephone return line. The connection is completed through the intermediary of these lines. 15 In the foregoing implementation state, a method of taking pictures with a digital camera was introduced. This material can only be used with a digital W-camcorder, and you can also use a video camera or video camera. It is possible to further reduce the size of the front-view camera / top-view camera 100. 20 In the foregoing state, Qian Qian's method of lighting was introduced. The hairline can only be used with Deng Qiqing, shirt shadow classic eyeglasses, and can also use f-pass lighting. In the foregoing implementation state, the _㈣㈣㈣㈣ method has been introduced. This translation can not only be used to perform work, but also use a plurality of rod-shaped and ㈣ lights to illuminate. Because of this, 43 200410037 can improve in a wide range and reduce the image SL. ‘,,,’ So it ’s not easy to have shadows. From the same time, not only can the photos that are full of light flash at the same time. Bright lights can also be used with the photo 5 10 15 In the aforementioned implementation state, the first lens performs a full range of Langche two glasses shooting. In order to be able to perform gray processing and tonal gradation on the eyes, the image appears in the photo box. The method of lighting, adjusting the intensity of light, etc. to achieve the use of scattered in the front, although omitted, clear. However, for the pre-processing performed on the necessary image, it is best to add the following processing. ① & Eliminate the unevenness of the light and carry out the treatment ① For the shoulder, ^ order the front line correction processing. ② Remove the noise 杂 __ processing (to make the outline clear). This makes the shading smoother. In the foregoing embodiment, the boundary tracking processing of the glasses / lenses is described after the boundary detection processing of the glasses / lenses is completed. This invention can not only perform the tracking process, but also the detection result of the glasses / lens boundary detection process.

階段性的分析,對殘缺的部分進行修充,從而獲得完整的 眼鏡/鏡片的外周資料。Periodic analysis, repairing the incomplete part, so as to obtain complete peripheral data of glasses / lenses.

在前述實施狀態下,介紹了鏡片邊界檢出處理(從線上 20 各晝素的亮度中,取出超過所規定的亮度的點,來獲得鏡 片的邊界資料)。該項發明還可以通過找出影像全體或特定 部位的受度的分布,根據比車父法、判別为析法專’得出背 景部和眼鏡部/鏡框部分和席圍部之間的焭度界限值,來獲 得鏡片的邊界資料。或者,首先通過大範圍的亮度分布範 44 200410037 圍’得出大致的邊界資料,根據此資料對亮度分布進行更 小範圍的檢索,從而得到更加嚴格的界限資料,即:所謂 的階段性界限值設定法。這樣,對明暗區分困難的影像, 也可以檢出其邊界數值。 5 可以使用的方法還包括:按照微積分處理、界限值處 理、細線化處理的順利,檢出邊界數值的方法。 在前述實施狀態下,對眼鏡/鏡片外周檢出的單一處理 (沒有考慮眼鏡的種類)進行了說明。另外,也可以根據在遮 罩處理時所獲得的眼鏡種類的資訊,並針對眼鏡的種類, 10 進行眼鏡/鏡片的外周檢出處理。 例如:第35圖所示的「遮罩處理」晝面上,在「個別 遮罩再作成」部,設有選擇眼鏡種類的鍵,當顧客(電腦操 作員)判斷自動生成的遮罩不符合實際情況時,利用「眼鏡 種類選擇」鍵,取出所登錄的關於眼鏡種類資料,可以進 15 行遮罩的再生成操作。 同日守,第5圖所示的處理流程圖中,Μα對是否使用了 「眼鏡種類選擇鍵」進行判斷,在相制了「眼鏡種類 延擇鍵」日寺’事先登錄的眼鏡的種類資料被提出,並根據 此資料,對眼鏡/鏡片邊界檢出處理時的亮度界限值進行變 2〇更,然後再回到S200,進行遮罩自動處理。或者對眼鏡/鏡 片外周檢出範圍進行變更,來進行遮罩自動處理。 因為根據這種方法,針對眼鏡的不同種類,能夠檢出 更精確的眼鏡/鏡片的外周資料,所以即使在自動遮罩處理 失敗的情況下,顧客(電腦操作員)也可以利用「眼鏡種類選 45 200410037 擇」鍵的輔助作用,進行遮罩的再生成。 另外在進行眼鏡/鏡片的邊 爲基準推;m 咬…杈出處理時,在以亮度 爲暴旱進仃檢測時,針對眼鏡 flit ^ ^ ^ 頒的不同,受更亮度的界 限值進仃邊界的檢出處理: 在根據其他方法進行時,針 =不同,判斷方法或各種基準,進行邊界 定的狀態下’對遮草的手動編輯(根據滑鼠所指 疋的點,進仃外周資料的編輯)方法進行了說明。同時,也 ίο 可以對遮罩自動處理所生成的外周資料的一部分,利用滑 鼠進行拖動,修正的方法來完成遮罩的編輯。 在前述實施狀態下,介紹了在電腦200内進行的資料登 錄方法,該項發明也可以通過因網路,直接在眼鏡販賣系 統300的資料庫伺服器310上進行資料的登錄。 15 20 在刖述實施狀態下,對「資料資料的登錄處理」(顧客 進行的商品編號,型號等基本項目、鏡框f料和其他資料 的輸入)進行了說明。該項發明,也可以利用條型數碼讀取 器或電腦200的OCR機能,對貼在鏡片上的條型數碼,進行 直接頊取的方法來完成上記的一部或全部的登錄。然後, 從這些資料中,提取出關於鏡框/鏡片形狀的資料,根據此 資料進行鏡框/鏡片的外周檢出處理,並對外周檢出處理的 結果進行更加細小範圍的檢索。因爲根據這種方法,能夠 針對眼鏡的形狀進行邊界的檢出處理,所以能夠進行信賴 性更高的遮罩自動處理。 產業上利用的可能性 46 200410037 綜合上述,因為該項發明具有:對眼鏡進行影像攝影 的功能,合成用影像的生成功能,對合成影像及眼鏡諸資 料的登錄的功能,所以無論任何人在何時、何地,都可以 根據該項發明迅速地、低價格地獲得人物合成影像。 5 【圖式簡單說明】 第1圖是與本發明的一實施形態有關的影像登錄系統 的構成圖。 第2圖是與本發明的一實施形態有關的影像登錄系統 的正面影像攝影裝置的圖解圖。 10 第3圖是與本發明的一實施形態有關的眼鏡影像登錄 系統的正面影像攝影裝置的圖解圖。 第4圖是與本發明的一實施形態有關的影像登錄系統 的俯瞰影像攝影裝置的圖解圖。 第5圖是與本發明的一實施形態有關的眼鏡影像登錄 15 系統的電腦的全體處理的流程圖。 第6圖是與遮罩自動處理的一實施例有關的處理流程 圖。 第7圖是與眼鏡外周檢測處理的一實施例有關的處理 流程圖。 20 第8圖是與鏡片外周檢測處理的一實施例有關的處理 流程圖。 第9圖是與合成影像顯示處理的一實施例有關的處理 流程圖。 第10圖是與遮罩手動編集處理的一實施例有關的處理 47 200410037 流程圖。 第11圖是與資料登錄處理的一實施例有關的處理流程 圖。 第12圖是在眼鏡外周檢測處理的開始點的說明圖。 5 第13圖是在眼鏡以及鏡片的邊界追蹤處理的附近點的 說明圖。 第14圖是顯示眼鏡以及鏡片的邊界追蹤過程的說明 圖。 第15圖是與本發明的一實施形態有關的正面影像攝影 10 裝置的長手方向的斷面圖解圖。 第16圖是與本發明的一實施形態有關的正面影像攝影 裝置的攝影機一側觀看眼鏡圖解圖。 第17圖是顯示明確眼鏡的輪廓的照明的原理的說明 圖。 15 第18圖是顯示明確眼鏡的輪廓的照明的效果的說明 圖。 第19圖是顯示在本發明的一實施形態的正面影像攝影 裝置的眼鏡收容部側面的壁板22以及23的内面進行的灰色 處理的例子的說明圖。 20 第20圖是顯示在本發明的一實施形態的正面影像攝影 裝置的後面壁板25的内面進行的灰色處理的例子的說明 圖。 第21圖是顯示在本發明的一實施形態的正面影像攝影 裝置的照相機收容部前面壁板20的内面進行的濃淡處理的 48 200410037 例子的說明圖。 第22圖是顯示在本發明的一實施形態的正面影像攝影 裝置的開關門上面的壁板28的内面進行的黑色處理的例子 的說明圖。 5 第23圖是在本發明的一實施形態的正面影像攝影裝置 的下面壁板12的後部的内面進行的灰色處理的例子的說明 圖。 第24圖是通過與本發明的一實施形態的正面影像攝影 裝置,拍攝金屬鏡架的影像的架子。 10 第25圖是通過本發明的一實施形態有關的正面影像攝 影裝置拍攝塑膠眼鏡架的影像的例子。 第26圖是通過本發明的一實施形態有關的正面影像攝 影裝置拍攝塑膠眼鏡架的影像的例子。 第27圖是通過本發明的一實施形態有關的正面影像攝 15 影裝置,拍攝的兩點式眼鏡架的影像的例子。 第28圖是在眼鏡影像攝影的顯示圖面例(攝影開始前)。 第2 9圖是在眼鏡影像攝影的顯示圖面例(攝影終了後)。 第30圖是在遮罩處理顯示圖面例(處理開始前)。 第31圖是在遮罩處理顯示圖面例(處理終了後)。 20 第32圖是在遮罩手動編集的顯示圖面例。 第33圖是在登錄資料的顯示圖面例子(登錄開始前)。 第34圖是在資料登錄的顯示圖面例(登錄終了後)。 第35圖是在遮罩處理的顯示圖面的變形例。 49 200410037 【圖式之主要元件代表符號表】 1···眼鏡影像登錄系統 32…眼鏡台座 2…眼鏡 40、140···照明燈 10…正面影像攝影裝置 50、150…數位相機 11、111···攝影箱 52…電源插座 12、112…下面壁板 54···電源開關 14、114···照相機收容部 56—USB插座 16、116···眼鏡收容部 100…俯瞰影像攝影裝置 18、118···開閉門 200…電腦 20…前面壁板 300…眼鏡銷售系統 21…鏡孔 310…資料庫伺服器 22、23、26、27···側面壁板 320…應用軟體伺服器 24、28…上面壁板 330…Web伺服器 25…後面壁板 30…架子 340…防止病毒侵入的保護器 50In the foregoing implementation state, the lens boundary detection process was introduced (from the brightness of each of the 20 celestial lines on the line, the points exceeding the predetermined brightness were taken to obtain the lens boundary data). The invention can also find out the distribution of the intensity of the entire image or a specific part of the image, and determine the degree between the background part, the eyewear part, the frame part, and the seat part according to the car-master method and the discrimination method. Limit value to obtain the lens boundary data. Or, first, obtain the approximate boundary data through a wide range of brightness distribution range 44 200410037, and then search the brightness distribution based on this data in a smaller range to obtain stricter limit data, that is, the so-called step limit value Setting method. In this way, it is also possible to detect the boundary value of images that are difficult to distinguish between light and dark. 5 The methods that can be used include: the method of detecting the boundary value according to the smoothness of calculus processing, limit value processing, and thinning processing. In the aforementioned implementation state, a single process (without consideration of the type of the glasses) for the detection of the periphery of the glasses / lenses was described. In addition, based on the information about the type of glasses obtained during the mask processing, and according to the type of glasses, the peripheral detection process of the glasses / lenses may be performed. For example: "Mask processing" shown in Figure 35 on the day, in the "individual mask reconstruction" section, there is a key to select the type of glasses, when the customer (computer operator) judges that the automatically generated mask does not match In the actual situation, you can use the "glasses type selection" key to retrieve the registered glasses type data, and you can perform 15 mask regeneration operations. On the same day, in the processing flowchart shown in Figure 5, Mα judges whether or not the "glasses type selection key" is used, and the type information of the glasses registered in advance in the "glasses type selection key" in the temple is pre-registered. Based on this data, the brightness limit value of the glasses / lens boundary detection process was changed by 20, and then returned to S200 for automatic mask processing. Or change the detection range of the periphery of the glasses / mirrors for automatic mask processing. Because according to this method, it is possible to detect more accurate glasses / lens peripheral data for different types of glasses, so even if the automatic mask processing fails, the customer (computer operator) can use the "glasses type selection" 45 200410037 The auxiliary function of the select button is used to regenerate the mask. In addition, when the edge of the glasses / lens is used as a reference; m bite ... When the brightness is used as the test for drought ingression, the brightness of the glasses ^ ^ ^ is different, and the brighter limit value is used to enter the boundary. Detecting process: When performing according to other methods, the needle = different, judgment method or various standards, and the boundary is fixed. Manual editing of the grass cover (according to the point pointed by the mouse, enter the peripheral data EDIT) method explained. At the same time, you can also use the mouse to drag and modify a part of the peripheral data generated by the automatic processing of the mask to complete the editing of the mask. In the foregoing implementation state, the data registration method performed in the computer 200 was introduced. The invention can also directly register data on the database server 310 of the eyewear vending system 300 through the Internet. 15 20 In the description of the implementation state, the "data registration process" (input of basic items such as product numbers and models by customers, input of frames and other materials) was explained. This invention can also use the OCR function of the strip digital reader or the computer 200 to directly grab the strip digital attached to the lens to complete the registration of part or all of the above. Then, from these materials, information about the frame / lens shape is extracted, and the peripheral detection process of the frame / lens is performed based on this data, and the results of the peripheral detection process are searched in a more narrow range. According to this method, boundary detection processing can be performed with respect to the shape of the glasses, so that mask processing with higher reliability can be performed. Possibility of industrial use 46 200410037 Based on the above, the invention has a function of photographing glasses, a function of generating synthetic images, and a function of registering synthetic images and glasses data, so no matter when anyone is According to this invention, you can obtain synthetic images of people quickly and at a low price. 5 [Brief Description of the Drawings] Fig. 1 is a configuration diagram of an image registration system according to an embodiment of the present invention. Fig. 2 is a schematic diagram of a front image photographing apparatus of an image registration system according to an embodiment of the present invention. 10 FIG. 3 is a schematic diagram of a front image photographing device of a glasses image registration system according to an embodiment of the present invention. Fig. 4 is a schematic diagram of a bird's-eye view image capturing device of an image registration system according to an embodiment of the present invention. Fig. 5 is a flowchart of the overall processing of a computer of the glasses image registration system 15 according to an embodiment of the present invention. Fig. 6 is a processing flow chart related to an embodiment of mask automatic processing. Fig. 7 is a flowchart of a process related to an embodiment of the glasses peripheral detection process. Fig. 8 is a flowchart showing a process related to an embodiment of the lens peripheral detection process. Fig. 9 is a flowchart of a process related to an embodiment of the composite video display process. Fig. 10 is a flowchart of a process related to an embodiment of the manual editing process of masks. Fig. 11 is a flowchart showing a process according to an embodiment of the data registration process. FIG. 12 is an explanatory diagram of the starting point of the detection processing of the outer periphery of the glasses. 5 Fig. 13 is an explanatory diagram of a point near the boundary tracking processing of glasses and lenses. Fig. 14 is an explanatory diagram showing a boundary tracking process of glasses and lenses. FIG. 15 is a schematic cross-sectional view of the front image capturing apparatus 10 according to an embodiment of the present invention in the long-hand direction. Fig. 16 is a schematic diagram of glasses viewed from the camera side of a front image photographing apparatus according to an embodiment of the present invention. Fig. 17 is an explanatory diagram showing the principle of illumination for clarifying the outline of glasses. 15 Fig. 18 is an explanatory view showing the effect of illumination for clarifying the outline of glasses. Fig. 19 is an explanatory diagram showing an example of gray processing performed on the inner surfaces of the wall plates 22 and 23 on the side surfaces of the eyeglass storage section of the front image photographing apparatus according to an embodiment of the present invention. 20 FIG. 20 is an explanatory diagram showing an example of gray processing performed on the inner surface of the rear wall plate 25 of the front image photographing apparatus according to the embodiment of the present invention. Fig. 21 is an explanatory diagram showing an example of the gradation process performed on the inner surface of the front wall 20 of the camera housing portion of the front-surface imaging device of one embodiment of the present invention. Fig. 22 is an explanatory view showing an example of black processing performed on the inner surface of the wall plate 28 on the upper surface of the opening and closing door of the front-side image capturing apparatus according to an embodiment of the present invention. 5 FIG. 23 is an explanatory diagram of an example of gray processing performed on the inner surface of the rear portion of the lower wall panel 12 of the front surface image capturing apparatus according to an embodiment of the present invention. Fig. 24 is a frame for capturing an image of a metal frame with a front image photographing apparatus according to an embodiment of the present invention. Fig. 25 is an example of an image of a plastic spectacle frame captured by a front image camera according to an embodiment of the present invention. Fig. 26 is an example of an image of a plastic spectacle frame captured by a front image camera according to an embodiment of the present invention. Fig. 27 is an example of a two-point spectacle frame image captured by a front-view image capturing device according to an embodiment of the present invention. FIG. 28 is an example of a display surface (before the start of photography) of the glasses image photography. Fig. 29 is an example of a display surface for photographing glasses (after the photographing is finished). Fig. 30 shows an example of the display surface during the mask processing (before the processing is started). Fig. 31 shows an example of a display surface during mask processing (after the processing is completed). 20 Figure 32 is an example of a display surface edited manually with a mask. Fig. 33 is an example of a display screen of the registration data (before registration starts). Fig. 34 is an example of a display screen for data registration (after registration is completed). Fig. 35 is a modification example of the display surface in the mask processing. 49 200410037 [Representative Symbols of Main Components of the Schematic] 1 ·· Glasses image registration system 32… Glass pedestal 2… Glasses 40, 140 ··· Lights 10 ... Front image photography devices 50, 150 ... Digital cameras 11, 111 ··· Photographic box 52 ... Power sockets 12, 112 ... Bottom wall plate 54 ... · Power switch 14, 114 ... Camera storage unit 56—USB sockets 16, 116 ... Glasses storage unit 100 ... Overview image photography device 18, 118 ... Opening and closing door 200 ... Computer 20 ... Front panel 300 ... Glasses sales system 21 ... Mirror hole 310 ... Database server 22, 23, 26, 27 ... Side panel 320 ... Application software server 24, 28 ... Top wall panel 330 ... Web server 25 ... Back wall panel 30 ... Shelf 340 ... Protector 50 against virus invasion

Claims (1)

200410037 拾、申請專利範圍: 1. 一種眼鏡影像登錄系統,包含有: 攝影裝置,用以對眼鏡進行攝影; a成用~像生成裝置,可生成利用前述攝影裝置攝 5 衫眼鏡影像與人物影像合成之合成用影像;及 登錄裝置,用以同時登錄利用前述合成用影像生成 裝置所生成之合成用影像和該眼鏡諸元。 2·如申請專利範圍第!項之眼鏡影像登錄系統,其中前述 攝影裝置包括:具有開閉式門且可收容欲攝影之眼鏡❺ 鲁 1〇 攝〜♦目’用以&、明收容於前述攝影箱内之眼鏡的照明裝 置;及對收容於前述攝影箱内之眼鏡進行攝影以取得眼 鏡衫像貝料的攝像裝置,又,該眼鏡影像登錄系統係將 右人攝衫之眼鏡收容前述攝影箱内,並關閉前述門以攝取 眼鏡影像者。 申口月專利範圍第1或2項之眼鏡景多像登錄系統,其中前 述攝影裝置具有攝取眼鏡之正面影像的正面影像攝影 裝置。 φ 如申.月專利圍第i項或申請專利範圍第2項之眼鏡影 像登錄系統,其中前述攝影裳置具有攝取眼鏡之舰影 2〇 像的俯瞰影像攝影裝置。 5·=申請翻範圍第丨項之眼鏡影像登錄系統 ,其中前述 °成用衫像生成裝置具有用卩生成料之遮罩生成裝 置,而該遮罩含有:用以指定前述所攝取之眼鏡影像之 兄忙心的鏡框遮罩影像;及用以指定前述所攝取之眼 51 200410037 鏡影像之鏡片部分的鏡片遮罩影像。 6. 如申請專利範圍第5項之眼鏡影像登錄系統,其中 前述遮罩生成裝置具有:用以檢出前述所攝取之眼 鏡影像之眼鏡之外周的眼鏡外周檢出裝置;及用以檢出 5 前述所攝取之眼鏡影像之鏡片之外周的鏡片外周檢出 裝置, 又,由根據前述眼鏡外周檢出裝置檢出的眼鏡外周 與根據前述鏡片外周檢出裝置檢出的鏡片外周,生成前 述鏡框遮罩影像, 10 且具有由根據前述眼鏡外周檢出裝置檢出的鏡片 外周生成前述鏡片遮罩影像的機能。 7. 如申請專利範圍第6項之眼鏡影像登錄系統,其中 前述眼鏡外周檢出裝置具有用以由前述所攝取之 眼鏡影像之背景部朝向眼鏡部檢出眼鏡邊界的眼鏡邊 15 界檢出裝置, 前述鏡片外周檢出裝置具有:用以由根據前述眼鏡 外周檢出裝置檢出之眼鏡外周推定鏡片部的鏡片部推 定裝置;及用以由根據前述鏡片部推定裝置所推定之鏡 片部朝向鏡片周邊部檢出鏡片邊界的鏡片邊界檢出裝 20 置。 8. 如申請專利範圍第7項之眼鏡影像登錄系統,其中 前述眼鏡外周檢出裝置具有以根據前述眼鏡邊界 檢出裝置所檢出之眼鏡邊界為出發點依序檢出並追蹤 附近之眼鏡邊界的鏡片邊界追蹤裝置, 52 卜巧铋出裝置具有以根據前述鏡片邊 界檢出裝置所檢出之籍 ^^ ^ ^ , 、兄片邊界為出發點依序檢出並追 佚寸、之鏡片邊界的鏡片、IW 9 兄片邊界的鏡片邊界追蹤裝置。 ^糊卿6、7細繼罐⑽統,其 ^外=&鏡㈣檢出I置具有:用以對前述所檢出之 周之賴部進行補全的眼鏡外周補全裝置, 10 =鏡片外周檢出裝置具有:用以對前述所檢出之 鏡片::之殘缺部進行補全的鏡片外周補全裝置。 專糊第6、7或8項之目刚像細統,其 15 又200410037 Patent application scope: 1. A glasses image registration system, including: a photographing device for photographing the glasses; a production ~ image generating device, which can generate a 5-shirt glasses image and a person image using the aforementioned photographing device A synthesized image for synthesizing; and a registration device for simultaneously registering the synthetic image generated by the aforementioned synthesizing image generating device and the glasses. 2 · If the scope of patent application is the first! The glasses image registration system of the item, wherein the aforementioned photographing device includes: a lighting device with an openable door and which can accommodate the glasses to be photographed. Lu 10 photography ~ ♦ head 'for &; And an imaging device for photographing the glasses contained in the aforementioned photography box to obtain glasses-like shirt material, and the glasses image registration system stores the glasses of the right-handed shirt in the aforementioned photography box, and closes the door to Those who take glasses images. The spectacle lens multi-image registration system of Shoukouyue's patent scope item 1 or 2, wherein the aforementioned photography device has a front image photography device that captures the front image of the glasses. φ The spectacle image registration system of item i of the patent application or item 2 of the patent application scope, wherein the aforementioned photography dress is provided with a bird's-eye image photographing device that captures the image of the ship's shadow 20 of the glasses. 5 · = Apply for the glasses image registration system of item 丨 in the above range, wherein the above-mentioned shirt image generating device has a mask generating device using a matte material, and the mask contains: used to specify the aforementioned glasses image taken Brother's busy frame mask image; and the lens mask image used to specify the lens portion of the aforementioned captured eye 51 200410037 mirror image. 6. The eyeglass image registration system of item 5 of the scope of patent application, wherein the aforementioned mask generating device has: an eyeglass periphery detection device for detecting the outer periphery of the eyeglasses of the eyeglasses image captured; and an eyeglass detection device for detecting 5 The lens periphery detection device on the outer periphery of the lens of the taken glasses image, and the lens periphery detected by the lens periphery detection device and the lens periphery detected by the lens periphery detection device generate the aforementioned frame mask. The mask image 10 has a function of generating the lens mask image by the outer periphery of the lens detected by the glasses outer periphery detection device. 7. The spectacle image registration system of item 6 of the patent application, wherein the aforementioned spectacle peripheral detection device has a spectacle edge 15 boundary detection device for detecting the rim of the spectacle from the background portion of the captured spectacle image toward the spectacle portion. The aforementioned lens peripheral detection device includes: a lens portion estimation device for estimating a lens portion from the outer periphery of the glasses detected by the aforementioned lens peripheral detection device; and a lens portion facing the lens from the lens portion estimated by the lens portion estimation device. 20 lens boundary detection devices which detect the lens boundary in the peripheral portion. 8. The eyeglass image registration system of item 7 of the patent application scope, wherein the aforementioned eyeglass peripheral detection device has a method for sequentially detecting and tracking nearby eyeglass boundaries based on the eyeglass boundaries detected by the aforementioned eyeglass boundary detection device as a starting point. Lens boundary tracking device, 52 Biqiao bismuth output device has the lens boundary lens, IW in order to detect and trace the size of the lens boundary according to the ^^ ^ ^, sibling edge detected by the aforementioned lens boundary detection device, IW 9 lens boundary tracking device for the edge of the lens. ^ Fu Qing 6 and 7 follow the canning system, and its exterior = & mirror detection I set has: glasses peripheral peripheral completion device for complementing the detected part of the week, 10 = The lens peripheral detection device includes a lens peripheral completion device for complementing the detected part of the previously detected lens ::. The items specifically covering items 6, 7, or 8 are just like detailed systems. 10 又’前述鏡片外周檢出裝置具有:用以除去前主 鏡片外周之不規則突起部的鏡片外周不規負 起除去裝置。 门个現男10 'The aforementioned lens periphery detection device includes a lens irregularity removal device for removing irregular protrusions on the periphery of the front main lens. Men now 11=申π專利_第6、7物之賴影像麵 中 則述遮罩生成裝置具有用以取得眼鏡種類資 眼鏡種類資訊取得裝置, σ的 壯又’ im眼鏡相檢出裝置及/或前述鏡片外周4 :衣置具有利根據前述眼鏡種類資訊取得裝置^ 知之眼鏡種類貧訊以檢出眼鏡外周及/或鏡片外周的機 53 能 12·如申請專利範圍第5、 、 其中前述遮罩生戍 或8項之眼鏡影像登錄系統, 草影像及/讀Γ有·對於前述所生成之鏡框遮 5框/鏡片之對比歲補,之鏡片遮罩影像,進行左右鏡 13.如申請細==㈣…。11 = Patent π Patent _ The 6th and 7th things are described in the image plane. The mask generating device has a device for acquiring glasses type information, glasses type information, and σ'im glasses phase detection device and / or the foregoing. Lens periphery 4: The device is equipped with a device for obtaining information according to the aforementioned eyeglass type information. ^ The known eyeglass type is poor to detect the outer periphery of the eyeglasses and / or the outer periphery of the lens. 53 Function 12: Such as the scope of the patent application,戍 or 8 items of eyeglass image registration system, grass image and / read Γ Yes · For the above-mentioned generated frame to cover 5 frames / lens contrast age compensation, the lens mask image, the left and right lens 13. If the application is fine == Uh ... 其中前述遮罩生成袭置且^項之眼鏡影像登錄系統’ u點資料⑽㈣吻::=裝置所指定之 10 ·=:範圍第5、6、7或8項之眼鏡影像登錄系統, 月j、心成用影像生成裝置具有合成並顯示預先登 二之人物讀與前述所攝取之眼鏡影像的合成顯示裝 置。 15·如申請專利範圍第14項之眼鏡影像登齡統其中前述 合成顯示裝置具有:指定與人物影像合成之眼鏡影像之 鏡片顏色和透過率的機能。Wherein, the aforementioned mask generates a spectacle image registration system of ^ item 'u point data kiss :: = 10 specified by the device · =: spectacle image registration system of the range 5, 6, 7 or 8 item, month j The image generating device for the heart is provided with a composite display device that synthesizes and displays the readings of the characters that have been registered in advance and the glasses images taken in the foregoing. 15. If the spectacles image ageing system of item 14 of the scope of patent application, the aforementioned synthetic display device has the function of specifying the lens color and transmittance of the spectacles image synthesized with the person's image. 汝申明專利範圍第14項之眼鏡影像登錄系統,其中前述 口成顯不裝置具有對合成於人物影像之眼鏡影像之位 置進行調節的機能。 P·如申請專利範圍第5、6、7或8項之眼鏡影像登錄系統, 其中A述登錄裝置具有用以讀取設置於前述所攝取之 眼鏡之鏡片部之標簽的讀取裝置。 18·如申請專利範圍第5、6、7或8項之眼鏡影像登錄系統, 其中前述登錄裝置具有將利用前述登錄裝置所登錄之 資料發送至眼鏡販賣系統之通信裝置。 54 19.200410037 一種眼鏡影像登錄方法,包含有: 對眼鏡之影像進行攝影的步驟; 、生成前述所攝取之眼鏡影像與人物 成用衫像的步驟;及 影像合成 之合 5 10 登錄前述私紅合騎㈣騎 %如申t__19項之眼鏡影像登錄方法 之步驟具有生成遮罩之步驟,而該遮= 述所攝取之眼鏡影像之鏡框部分的鏡: …罩象’及用以指定前述所攝取之眼鏡影像之鏡片邻 分的鏡片遮罩影像。 #The spectacle image registration system of item No. 14 of the patent claim, wherein the aforementioned oral display device has a function of adjusting the position of the spectacle image synthesized on the person's image. P. The spectacle image registration system according to item 5, 6, 7, or 8 of the scope of patent application, wherein the A registration device has a reading device for reading a label provided on the lens portion of the previously ingested glasses. 18. The spectacle image registration system according to item 5, 6, 7, or 8 of the scope of application for a patent, wherein the aforementioned registration device has a communication device that sends information registered using the aforementioned registration device to an eyewear sales system. 54 19.200410037 A method for registering glasses images, comprising: a step of photographing the images of glasses; a step of generating the captured glasses image and a figure of a person into a shirt; and a combination of image 5 The method for registering the glasses image registration method of item t__19 in item% __ 19 has a step of generating a mask, and the mask = the mirror of the frame portion of the captured glasses image: ... mask image and the glasses used to specify the previously captured glasses The lens adjacent to the image masks the image. # 15 21·如申請專利範圍第2G項之眼鏡影像登錄方法,其中前述 生成遮罩之步驟包括:檢出前述所攝取之眼鏡影像之眼 鏡之外周的步驟;檢出前述所攝取之眼鏡影像之鏡片之 外周的步驟;由前述所檢出的眼鏡外周與前述所檢出的 鏡片外周生成前述鏡框遮罩影像的步驟;及由前述所檢 出的鏡片外周生成前述鏡片遮罩影像的步驟。 22·如申請專利範圍第21項之眼鏡影像登錄方法,其中前述15 21. If the method for registering eyeglasses images in the 2G item of the patent application, wherein the step of generating a mask includes: detecting the outer periphery of the eyeglasses of the previously acquired eyeglass images; detecting the lenses of the previously acquired eyeglass images Steps of the outer periphery; steps of generating the frame mask image from the detected periphery of the glasses and the detected lens periphery; and a step of generating the lens mask image from the detected lens periphery. 22. The method for registering spectacles images according to item 21 of the patent application, wherein 20 檢出眼鏡外周之步驟包括由前述所攝取之眼鏡影像之 背景部朝向眼鏡部檢出眼鏡邊界的眼鏡邊界的步驟’ 前述檢出鏡片外周之步驟包括:由根據前述檢出眼 鏡外周之步驟所檢出之眼鏡外周,推定鏡片部的步驟’ 及由前述所推定之鏡片部朝向鏡片周邊部檢出鏡片邊 界的步驟。 23.如申請專利範圍第22項之眼鏡影像登錄方法,其中前述 55 200410037 檢出眼鏡外周之步驟包括以根據前述檢出眼鏡邊界之 步驟所檢出之邊界為出發點依序檢出並追蹤附近之眼 鏡邊界的步驟, 又,前述檢出鏡片外周之步驟包括··以根據前述檢 出鏡片邊界之步驟所檢出之邊界為出發點依序檢出並 追蹤附近之鏡片邊界的鏡片邊界的步驟。 24·如申請專利範圍第21、22或23項之眼鏡影像登錄方法, 其中前述檢出眼鏡外周之步驟包括對前述所檢出之眼 鏡外周之殘缺部進行補全的步驟, 月ίΐ述檢出鏡片外周之步驟包括·對前述所檢出之鏡 片外周之殘缺部進行補全的步驟。 25·如申請專利範圍第21、22或23項之眼鏡影像登錄方法, 其中前述檢出眼鏡外周之步驟包括除去前述所檢出之 眼鏡外周之不規則突起部的步驟, 又’前述檢出鏡片外周之步驟包括除去前述所檢出 之鏡片外周之不規則突起部的步驟。 26·如申請專利範圍第21、22或23項之眼鏡影像登錄方法, 其中前述生成遮罩之步驟包括取得眼鏡種類資訊的步 2〇 Α述檢出眼鏡外周之步驟及/或前述檢出鏡片外周 之步驟包括活用前述所取得之眼鏡種類資訊以檢出眼 鏡外周及/或鏡片外周之步驟。 27.如申請專利範圍第20、21、22或23項之眼鏡影像登錄方 法’其中前述生成遮罩之步驟包括對於前述所生成之鏡 56 5 框遮罩影像及/或前一生紅則遮罩影像 補正左右鏡框/鏡片之步驟。 28·如申請專利範圍第2〇 U、22或23項之眼鏡影像登錄方 法’其中前述生成遮罩之步驟包括由利用標定裝置所指 定之點資料來編輯遮罩的步驟。 29·如申叫專利範圍第2〇、21、22或23項之眼鏡影像登錄方 法,其中前述生成合成用影像之步驟包括合成並顯示預 先登錄之人物影像與前述所攝取之眼鏡影像的步驟。 10 30.如申請專利範圍第29項之眼鏡影像登錄方法,其中前述 顯示步驟包括指定與人物影像合成之眼鏡影像之鏡片 顏色和透過率的步驟。 31.如申請專利範圍第29項之眼鏡影像登錄方法,其中前述 顯示步驟包括對合成於人物影像之眼鏡影像之位置進 行調節的步驟。 15 32·如申請專利範圍第20、21、22或23項之眼鏡影像登錄方 法’其中前述登錄步驟包括用以讀取設置於前述所攝取 之眼鏡之鏡片部之標簽的步驟。 20 ,對比與20 The step of detecting the outer periphery of the glasses includes the step of detecting the eyeglass boundary of the eyeglass boundary from the background portion of the captured eyeglass image toward the eyeglass portion. The step of detecting the outer periphery of the lens includes: The step of estimating the lens portion on the periphery of the detected glasses, and the step of detecting the lens boundary from the estimated lens portion toward the peripheral portion of the lens. 23. The eyeglass image registration method according to item 22 of the scope of patent application, wherein the above-mentioned step of detecting the outer periphery of the eyeglasses of 2004200410037 includes sequentially detecting and tracking the vicinity of the vicinity using the boundary detected in the step of detecting the boundary of the glasses as a starting point. The step of glasses boundary, and the step of detecting the outer periphery of the lens includes the step of sequentially detecting and tracking the lens boundary of the nearby lens boundary based on the boundary detected by the step of detecting the lens boundary as a starting point. 24. If the method for registering eyeglasses images in the scope of patent application No. 21, 22 or 23, wherein the step of detecting the outer periphery of the eyeglasses includes the step of completing the incomplete part of the outer periphery of the eyeglasses detected as described above, The step of the lens periphery includes the step of completing the missing portion of the lens periphery detected as described above. 25. If the method for registering spectacle images according to the scope of patent application No. 21, 22 or 23, wherein the step of detecting the outer periphery of the glasses includes the step of removing the irregular protrusions on the outer periphery of the detected glasses, and the aforementioned detection lens The outer periphery step includes the step of removing the irregular protrusions on the outer periphery of the detected lens. 26. If the method for registering eyeglasses images according to item 21, 22 or 23 of the scope of patent application, wherein the aforementioned step of generating a mask includes the step of obtaining information on the type of eyeglasses, the step of detecting the outer periphery of the eyeglasses and / or the aforementioned eyeglasses The step of the outer periphery includes the step of detecting the outer periphery of the eyeglasses and / or the outer periphery of the lens by making use of the glasses type information obtained above. 27. If the method for registering eyeglasses images according to item 20, 21, 22, or 23 of the scope of the patent application, wherein the aforementioned step of generating a mask includes masking the image of the previously generated 56 5 frame and / or masking the previous red Image correction steps for left and right frames / lenses. 28. The method for registering spectacle images according to the scope of patent application No. 20 U, 22 or 23, wherein the aforementioned step of generating a mask includes a step of editing the mask by using point data specified by a calibration device. 29. For example, the method for registering eyeglasses images in the scope of patent application No. 20, 21, 22 or 23, wherein the aforementioned step of generating a synthetic image includes the steps of synthesizing and displaying a previously registered image of a person and the aforementioned captured eyeglasses image. 10 30. The spectacle image registration method according to item 29 of the scope of patent application, wherein the aforementioned display step includes a step of specifying a lens color and transmittance of a spectacle image synthesized with a person image. 31. The eyeglass image registration method according to item 29 of the patent application scope, wherein the aforementioned display step includes a step of adjusting the position of the eyeglass image synthesized on the human image. 15 32. The method of registering spectacles images according to item 20, 21, 22, or 23 of the patent application scope, wherein the aforementioned registration step includes a step for reading a label provided on the lens portion of the previously ingested glasses. 20, compared with 33·如申請專利範圍第20、21、22或23項之眼鏡影像登錄方 法’其中前述登錄步驟包括將利用前述登錄步驟所登錄 之資料發送至眼鏡販賣系統的步驟。 5733. The method for registering eyeglasses images according to the scope of patent application No. 20, 21, 22 or 23 ', wherein the aforementioned registration step includes a step of transmitting the data registered by the aforementioned registration step to the eyewear sales system. 57
TW092105390A 2002-03-13 2003-03-12 System and method for registering image of eyeglasses TWI230835B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002068528A JP3598296B2 (en) 2002-03-13 2002-03-13 Glasses image registration system and glasses image registration method

Publications (2)

Publication Number Publication Date
TW200410037A true TW200410037A (en) 2004-06-16
TWI230835B TWI230835B (en) 2005-04-11

Family

ID=27800299

Family Applications (1)

Application Number Title Priority Date Filing Date
TW092105390A TWI230835B (en) 2002-03-13 2003-03-12 System and method for registering image of eyeglasses

Country Status (4)

Country Link
JP (1) JP3598296B2 (en)
AU (1) AU2003213324A1 (en)
TW (1) TWI230835B (en)
WO (1) WO2003077198A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3053509B1 (en) * 2016-06-30 2019-08-16 Fittingbox METHOD FOR OCCULATING AN OBJECT IN AN IMAGE OR A VIDEO AND ASSOCIATED AUGMENTED REALITY METHOD
CN110460840B (en) * 2019-09-23 2020-06-26 上海工程技术大学 A shot boundary detection method based on 3D dense network
JP7470333B1 (en) * 2022-12-16 2024-04-18 株式会社アクアフィールド Handheld work photography device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6339290A (en) * 1986-08-04 1988-02-19 Meruto:Kk Picture composing and reproducing device
JPS63172220A (en) * 1987-01-12 1988-07-15 Hoya Corp Method for forming spectacle frame data in simulation device for putting on spectacles
JPH0792651A (en) * 1993-09-24 1995-04-07 Konica Corp Picture clipping device
US6533418B1 (en) * 1997-05-16 2003-03-18 Hoya Corporation System for making spectacles to order
JP4026782B2 (en) * 1997-05-16 2007-12-26 日本電信電話株式会社 Eyeglass manufacturing support system
JP3969842B2 (en) * 1998-05-27 2007-09-05 Hoya株式会社 Method of creating composite image in spectacle wearing simulation
JPH11353353A (en) * 1998-06-03 1999-12-24 Fine System Kikaku Kk Selection supporting system for glasses

Also Published As

Publication number Publication date
JP2003271946A (en) 2003-09-26
JP3598296B2 (en) 2004-12-08
TWI230835B (en) 2005-04-11
AU2003213324A1 (en) 2003-09-22
WO2003077198A1 (en) 2003-09-18

Similar Documents

Publication Publication Date Title
US8730356B2 (en) System and method for automatic flash removal from images
EP3462383B1 (en) A data processing system and method for processing an image of an object
US7349020B2 (en) System and method for displaying an image composition template
RU2656817C2 (en) Devices, systems and methods of capturing and displaying appearances
US11769308B2 (en) Systems and methods of augmented reality guided image capture
TW200805175A (en) Makeup simulation system, makeup simulation device, makeup simulation method and makeup simulation program
CN107808461B (en) A kind of customized ticket production method
CN114830627A (en) Infrared guided portrait relighting
TW201837808A (en) Methods for supplying, ordering, and transacting items based on motion images
CN108351970A (en) Diameter of hair measures
TW200410037A (en) System and method for registering image of eyeglasses
CN111340959A (en) Three-dimensional model seamless texture mapping method based on histogram matching
CN113592592B (en) Method for generating glasses frame fitting effect diagram and glasses frame virtual fitting system
JP2003230036A (en) Eyeglasses image imaging apparatus
JP4128388B2 (en) Image processing system and program
CN211673531U (en) New Smart Makeup Mirror
US9058605B2 (en) Systems and methods for simulating accessory display on a subject
CN113269293B (en) Commodity display cabinet capable of on-line and off-line experience
TWI395144B (en) Method of eye sight judgment
JPH09204478A (en) Product information system
KR20200011539A (en) Selling method using photography apparatus
WO2025227095A1 (en) System for identifying a collectible card using an imaging system capturing images of the collectible card
Chang et al. Subjective assessment for inverse rendered composite images in 360-deg images
JPH11353353A (en) Selection supporting system for glasses
JPH06290239A (en) Simulation device for spectacles wearing

Legal Events

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