TWI758609B - Image generation device and image generation method - Google Patents

Image generation device and image generation method Download PDF

Info

Publication number
TWI758609B
TWI758609B TW108119909A TW108119909A TWI758609B TW I758609 B TWI758609 B TW I758609B TW 108119909 A TW108119909 A TW 108119909A TW 108119909 A TW108119909 A TW 108119909A TW I758609 B TWI758609 B TW I758609B
Authority
TW
Taiwan
Prior art keywords
pixel
value
brightness
image
camera
Prior art date
Application number
TW108119909A
Other languages
Chinese (zh)
Other versions
TW202006658A (en
Inventor
水野邦広
Original Assignee
日商日本麥克隆尼股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日商日本麥克隆尼股份有限公司 filed Critical 日商日本麥克隆尼股份有限公司
Publication of TW202006658A publication Critical patent/TW202006658A/en
Application granted granted Critical
Publication of TWI758609B publication Critical patent/TWI758609B/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/60Noise processing, e.g. detecting, correcting, reducing or removing noise
    • H04N25/68Noise processing, e.g. detecting, correcting, reducing or removing noise applied to defects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Testing Of Optical Devices Or Fibers (AREA)
  • Image Processing (AREA)
  • Liquid Crystal (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

An objective of the present invention is generating an image required for accurate determination of defects in a display panel. A solution therefor includes: a mounting table 11 on which a display panel P is mounted; a camera 12 provided to face the display panel P; a calculation tool 171a which calculates the mean value of the luminance levels of the peripheral pixels of a target pixel based on the image data captured by the camera 12 as the mean value of the peripheral pixels; a defect determination tool 171b which determines that a defect is present in the image pickup pixel of the camera 12 corresponding to the target pixel if the differential between the luminance level of the target pixel and the calculated mean value of the peripheral pixels is greater than a set threshold; and a correction tool 171d which corrects the luminance level of the target pixel as the mean value of the peripheral pixels and stores the corrected image data to a memory 172 if the defect determination tool 171b determines that a defect is present in the image pickup pixel of the camera 12 corresponding to the target pixel.

Description

影像生成裝置及影像生成方法 Image generation device and image generation method

本發明係關於生成用以檢查顯示面板所需的影像之影像生成裝置及影像生成方法。 The present invention relates to an image generating apparatus and an image generating method for generating an image required for inspection of a display panel.

液晶顯示面板、有機EL(organic electroluminescence)顯示面板等顯示面板(以下簡稱為面板或顯示面板)、組裝有顯示面板之顯示機器(例如顯示器、個人電腦、攜帶型終端機(平板終端機、智慧型手機、行動電話等)等),會在製造中、出貨前等時機進行顯示面板的外觀、點亮狀態之檢查。顯示面板的外觀及點亮狀態之檢查,一直以來是以攝影機等攝影手段拍攝作為被檢查體之顯示面板,並根據所拍攝到的影像進行檢查之方法進行。 Display panels such as liquid crystal display panels, organic electroluminescence (organic electroluminescence) display panels (hereinafter referred to as panels or display panels), display devices (such as monitors, personal computers, portable terminals (tablet terminals, smart Mobile phones, mobile phones, etc.), etc.), the appearance and lighting state of the display panel will be inspected during manufacture and before shipment. The inspection of the appearance and lighting state of the display panel has been carried out by the method of photographing the display panel as the object to be inspected by photographing means such as a camera, and performing inspection based on the captured image.

例如,專利文獻1揭示了:根據CCD攝影機拍攝液晶顯示面板所得到的影像的亮度資料,將作為具有亮點缺陷之畫素的候補而抽出的各畫素所具有的亮度,除以其畫素的周圍的八個鄰近的同色的畫素所具有的亮度的平均值而求出對比率,然後對於所算出的各對比率的和進行與 色資訊對應之修正,再將修正後的缺陷對比率的和與預先設定的判定閾值相比較,來判定畫素是否存在有亮點缺陷之技術。 For example, Patent Document 1 discloses that the luminance of each pixel extracted as a candidate for a pixel having a bright spot defect is divided by the luminance of the pixel based on the luminance data of an image obtained by photographing a liquid crystal display panel with a CCD camera. The average value of the brightness of the surrounding eight adjacent pixels of the same color is obtained to obtain the contrast ratio, and then the sum of the calculated contrast ratios is corrected corresponding to the color information, and then the corrected defect contrast ratio is calculated. A technology to determine whether a pixel has a bright spot defect by comparing it with a preset determination threshold.

[先前技術文獻] [Prior Art Literature] [專利文獻] [Patent Literature]

(專利文獻1)日本特再公表2010-146733號公報 (Patent Document 1) Japanese Patent Publication No. 2010-146733

然而,如專利文獻1所揭示的技術,根據CCD攝影機拍攝液晶顯示面板所得到的影像的各畫素(稱為影像畫素)的亮度資料來判定是否存在有亮點缺陷時,若構成CCD攝影機的攝影元件之多數個感光元件(亦即畫素,也稱為攝影畫素)的一部分中存在有亮度值異常的攝影畫素,會發生即使所檢查的液晶顯示面板沒有亮點缺陷,亦判定為存在有亮點缺陷之情形。 However, as in the technique disclosed in Patent Document 1, when judging whether there is a bright spot defect based on the luminance data of each pixel (referred to as an image pixel) of an image obtained by photographing a liquid crystal display panel with a CCD camera, if the There are photographic pixels with abnormal brightness values in a part of the plurality of photosensitive elements (that is, pixels, also called photographic pixels) of the photographic element. Even if the inspected liquid crystal display panel has no bright spot defects, it is judged that there is a bright spot defect. In the case of a bright spot defect.

換言之,專利文獻1所揭示的技術無法判定亮點缺陷的原因是在CCD攝影機的攝影元件還是在液晶顯示面板,所以無法正確地判定液晶顯示面板的缺陷。 In other words, the technique disclosed in Patent Document 1 cannot determine whether the cause of the bright spot defect is the imaging element of the CCD camera or the liquid crystal display panel, so it cannot accurately determine the defect of the liquid crystal display panel.

對此,本發明的目的在於提供一種影像生成裝置及影像生成方法,生成用以正確地判定顯示面板的缺陷所需的影像。 In view of this, an object of the present invention is to provide an image generating apparatus and an image generating method that generate an image necessary for accurately determining a defect of a display panel.

為了達成上述目的,本發明之影像生成裝置的第一特徵在於具備:載置台,係載置作為被檢查體的顯示面板;攝影手段,係與前述顯示面板相向而設置;算出手段,係根據前述攝影手段所拍攝到的影像資料,算出注目畫素的週邊畫素的亮度值的平均值作為週邊畫素平均值;缺陷判定手段,係在前述注目畫素的亮度值與所算出的前述週邊畫素平均值之差分為所設定的閾值以上時,判定與前述注目畫素對應之前述攝影手段的攝影元件的攝影畫素發生缺陷;以及修正手段,係在前述缺陷判定手段判定與前述注目畫素對應之前述攝影手段的攝影元件的攝影畫素發生缺陷時,將前述注目畫素的亮度值修正為前述週邊畫素平均值,且將藉由前述修正得到的修正影像資料記憶到記憶部。 In order to achieve the above-mentioned object, the first feature of the image generating apparatus of the present invention is to include: a mounting table for mounting a display panel as an object to be inspected; a photographing means is provided facing the display panel; and a calculating means is based on the above-mentioned For the image data captured by the photographing means, the average value of the brightness values of the surrounding pixels of the attention pixel is calculated as the average value of the surrounding pixels; When the difference between the pixel average values is greater than or equal to the set threshold value, it is determined that the imaging element of the imaging element corresponding to the pixel of interest is defective; When a photographing pixel of the photographing element corresponding to the photographing means is defective, the luminance value of the attention pixel is corrected to the average value of the surrounding pixels, and the corrected image data obtained by the correction is stored in the memory unit.

本發明之影像生成裝置的第二特徵在於前述缺陷判定手段係具有:閾值設定手段,係依每個前述注目畫素,將根據所算出的前述週邊畫素平均值而設定的動態的值,設定作為前述閾值。 The second feature of the image generating apparatus of the present invention is that the defect determination means includes: threshold setting means for setting a dynamic value set based on the calculated average value of the surrounding pixels for each of the attention pixels. as the aforementioned threshold.

本發明之影像生成裝置的第三特徵在於前述算出手段、前述缺陷判定手段、及前述修正手段係由設於前述攝影手段與前述記憶部之間之積體電路所構成。 A third feature of the image generating apparatus of the present invention is that the calculation means, the defect determination means, and the correction means are constituted by an integrated circuit provided between the imaging means and the memory unit.

為了達成上述目的,本發明之影像生成方法的第一特徵在於 可修正利用載置台及攝影手段來檢查顯示面板所用的影像,該載置台係載置作為被檢查體的前述顯示面板,該攝影手段係與前述顯示面板相向而設置,該影像生成方法係具有:算出步驟,係根據前述攝影手段所拍攝到的影像資料,算出注目畫素的週邊畫素的亮度值的平均值作為週邊畫素平均值;缺陷判定步驟,係在前述注目畫素的亮度值與所算出的前述週邊畫素平均值之差分為所設定的閾值以上時,判定與前述注目畫素對應之前述攝影手段的攝影元件的攝影畫素發生缺陷;以及修正步驟,係在前述缺陷判定手段判定與前述注目畫素對應之前述攝影手段的攝影元件的攝影畫素發生缺陷時,將前述注目畫素的亮度值修正為前述週邊畫素平均值,且將藉由前述修正得到的修正影像資料記憶到記憶部。 In order to achieve the above-mentioned object, the first feature of the image generation method of the present invention is that it can correct an image used for inspecting a display panel using a stage and a photographing means on which the display panel as an object to be inspected is placed, and the photographing means It is disposed opposite to the above-mentioned display panel, and the image generation method includes: a calculation step of calculating the average value of the brightness values of the surrounding pixels of the attention pixel based on the image data captured by the above-mentioned photographing means as the surrounding pixel average. value; a defect judgment step of judging the imaging element of the imaging means corresponding to the attention pixel when the difference between the luminance value of the attention pixel and the calculated average value of the surrounding pixels is equal to or greater than a set threshold value A photographing pixel is defective; and a correcting step is to correct the luminance value of the attention pixel to the peripheral value when the defect determination means judges that the photographing pixel of the photographing element of the photographing means corresponding to the attention pixel is defective The average value of the pixels is stored, and the corrected image data obtained by the aforementioned correction is stored in the memory unit.

根據本發明之影像生成裝置及影像生成方法,可生成用以正確地判定顯示面板的缺陷所需的影像。 According to the image generating apparatus and the image generating method of the present invention, it is possible to generate an image necessary for accurately determining a defect of a display panel.

1‧‧‧影像生成裝置 1‧‧‧Video generation device

11‧‧‧載置台 11‧‧‧Place

12‧‧‧攝影機 12‧‧‧Camera

15‧‧‧面板驅動訊號產生器 15‧‧‧Panel drive signal generator

16‧‧‧面板用電源 16‧‧‧Panel power supply

17‧‧‧影像處理裝置 17‧‧‧Image processing device

19‧‧‧輸入部 19‧‧‧Input

20‧‧‧輸出部 20‧‧‧Output

20a‧‧‧操作用監視器 20a‧‧‧Operation monitor

20b‧‧‧影像用監視器 20b‧‧‧Video Monitor

101~109、202~204、206~209、212~214、216~219‧‧‧畫素 101~109, 202~204, 206~209, 212~214, 216~219‧‧‧Pixel

120、121‧‧‧差分 120, 121‧‧‧differential

171‧‧‧處理部 171‧‧‧Processing Department

171a、174a‧‧‧算出手段 171a, 174a‧‧‧Calculation means

171b、174b‧‧‧缺陷判定手段 171b, 174b‧‧‧Defect Judgment Methods

171c、174c‧‧‧閾值設定手段 171c, 174c‧‧‧Threshold setting method

171d、174d‧‧‧修正手段 171d, 174d‧‧‧correction means

172‧‧‧記憶部 172‧‧‧Memory Department

173‧‧‧外部網路部 173‧‧‧External Network Department

174‧‧‧擷取卡 174‧‧‧Capture Card

205‧‧‧畫素(亮度異常點) 205‧‧‧pixels (abnormal brightness point)

215‧‧‧畫素(亮度異常點) 215‧‧‧pixels (abnormal brightness point)

P‧‧‧顯示面板 P‧‧‧Display Panel

第1圖係顯示本發明的第一實施形態之影像生成裝置的概略構成之說明圖。 FIG. 1 is an explanatory diagram showing a schematic configuration of a video generating apparatus according to a first embodiment of the present invention.

第2圖係說明影像生成裝置1具備的影像處理裝置的構成之機能構成圖。 FIG. 2 is a functional configuration diagram illustrating the configuration of the video processing device included in the video generation device 1 .

第3圖(a)係顯示攝影機拍攝顯示面板所得到的影像的一例之圖;第3圖(b)係顯示起因於攝影元件的缺陷之亮度值比周圍高的亮度異常點(起因於攝影機之亮度異常點)鄰近的同一列的影像畫素的亮度值之圖;第3圖(c)係顯示起因於顯示面板的缺陷之亮度值比周圍高的亮度異常點(起因於面板之亮度異常點)鄰近的同一列的影像畫素的亮度值之圖。 Fig. 3(a) is a diagram showing an example of an image obtained by a camera photographing the display panel; Fig. 3(b) is a diagram showing an abnormal point of luminance caused by a defect of the photographing element, where the luminance value is higher than that of the surroundings (due to the defect of the camera). Brightness abnormal point) is a graph of the brightness values of the adjacent image pixels in the same row; Figure 3(c) shows the brightness abnormal point (due to the brightness abnormal point of the panel) whose brightness value is higher than the surrounding due to the defect of the display panel ) is a graph of the luminance values of adjacent image pixels in the same row.

第4圖(a)係說明攝影機所拍攝到的影像的注目畫素及週邊畫素之圖;第4圖(b)~(d)係顯示注目畫素出現起因於攝影機之亮度異常點時的各影像畫素的亮度值的一例之圖;第4圖(e)~(g)係顯示注目畫素出現起因於面板之亮度異常點時的各影像畫素的亮度值的一例之圖。 Figure 4 (a) is a diagram illustrating the attention pixel and surrounding pixels of the image captured by the camera; Figure 4 (b)~(d) shows the appearance of the attention pixel caused by the abnormal brightness of the camera. Figures 4 (e) to (g) are diagrams showing an example of the brightness value of each image pixel when the highlighted pixel appears at an abnormal point in brightness of the panel.

第5圖(a)顯示如第3圖(b)所示之著眼的畫素為起因於攝影機之亮度異常點的情況時,與其畫素同一列的各影像畫素之相對於週邊畫素的亮度值的平均值之注目畫素的亮度值之比率(亮度比率);第5圖(b)顯示在著眼的畫素為起因於面板之亮度異常點的情況時,與其畫素同一列的各畫素之相對於週邊畫素的亮度值的平均值之注目畫素的亮度值之比率(亮度比率)。 Fig. 5(a) shows the difference of each image pixel in the same column with its pixel relative to the surrounding pixels when the eye-catching pixel as shown in Fig. 3(b) is caused by the abnormal point of brightness of the camera. The ratio of the luminance value of the pixel of interest to the average value of the luminance value (brightness ratio); Fig. 5(b) shows that when the pixel of interest is an abnormal point of luminance caused by the panel, each pixel in the same column is The ratio (brightness ratio) of the luminance value of the pixel of interest to the average value of the luminance values of the surrounding pixels.

第6圖係顯示第一實施形態之影像生成裝置的處理內容之流程圖。 FIG. 6 is a flowchart showing the processing contents of the image generating apparatus according to the first embodiment.

第7圖係說明本發明的第二實施形態之影像生成裝置具備的影像處理裝置的構成之機能構成圖。 FIG. 7 is a functional configuration diagram illustrating the configuration of a video processing device included in the video generation device according to the second embodiment of the present invention.

以下,參照圖式來說明本發明的實施形態。對於各圖中相同或同等的部位、構成元件係標以相同或同等的符號。惟,應注意圖所示為 示意圖而有與實物相異的情況。當然,各圖相互間也包含尺寸的關係、比率等不相同之部分。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. The same or equivalent parts and constituent elements are denoted by the same or equivalent symbols in the respective figures. However, it should be noted that the picture shown is a schematic diagram and may be different from the actual product. Of course, the respective figures also include differences in the relationship of dimensions, ratios, and the like.

另外,以下揭示的實施形態係例示用以將本發明的技術思想具體化的裝置等,本發明的技術思想未將各構成部件的材質、形狀、構造、配置等限定在以下所述者。本發明的技術的思想可在申請專利範圍的範圍內做各種變化。 In addition, the embodiments disclosed below illustrate devices and the like for embodying the technical idea of the present invention, and the technical idea of the present invention does not limit the material, shape, structure, arrangement, etc. of each component to those described below. The technical idea of the present invention can be variously changed within the scope of the patent application.

以下參照隨附的圖式來詳細說明本發明之影像生成裝置的實施形態。 Embodiments of the image generating apparatus of the present invention will be described in detail below with reference to the accompanying drawings.

<第一實施形態> <First Embodiment>

第1圖係顯示本發明的第一實施形態之影像生成裝置的概略構成之說明圖。以下的說明中,將第1圖的紙面的水平方向設為X1-X2方向,將與第1圖的紙面正交之方向設為Y1-Y2方向(穿入紙面的方向為Y1方向,穿出紙面的方向為Y2方向),將第1圖的紙面的上下方向設為Z1-Z2方向。 FIG. 1 is an explanatory diagram showing a schematic configuration of a video generating apparatus according to a first embodiment of the present invention. In the following description, the horizontal direction of the paper surface of Fig. 1 is the X1-X2 direction, and the direction perpendicular to the paper surface of Fig. 1 is the Y1-Y2 direction (the direction that penetrates the paper surface is the Y1 direction, and the direction that penetrates the paper surface is the Y1 direction. The direction of the paper surface is the Y2 direction), and the up-down direction of the paper surface of FIG. 1 is the Z1-Z2 direction.

(影像生成裝置的整體構成) (Overall configuration of video generation device)

本發明的第一實施形態之影像生成裝置1係適用於進行顯示面板P的點亮狀態的檢查之顯示面板檢查裝置。如第1圖所示,第一實施形態之影像生成裝置1具有將作為被檢查體之顯示面板P載置固定於其上之載置台11。載置於該載置台11之顯示面板P係沿X1-X2方向及Y1-Y2方向呈矩陣狀地排列有顯示畫素。 The image generating apparatus 1 according to the first embodiment of the present invention is suitable for use in a display panel inspection apparatus for inspecting the lighting state of the display panel P. As shown in FIG. As shown in FIG. 1, the image generation apparatus 1 of 1st Embodiment has the mounting base 11 on which the display panel P which is an object to be examined is mounted and fixed. The display panel P mounted on the mounting table 11 has display pixels arranged in a matrix along the X1-X2 direction and the Y1-Y2 direction.

又,如第1圖所示,在顯示面板P的中央的上方(Z1方向)配置有與顯示面板P相向而作為攝影手段之攝影機12。該攝影機12係具 有例如CCD感測器、CMOS感測器之類的攝影元件之數位式的攝影機,可藉由拍攝顯示有影像的顯示面板P而得到數位資料型態的其顯示狀態的影像。本實施形態中,攝影機所拍攝到影像的各畫素係與構成攝影機的攝影元件之感光元件的各畫素(攝影畫素)一對一相對應。攝影機12係以未圖示的攝影機固定機構加以固定。 Moreover, as shown in FIG. 1, above the center of the display panel P (Z1 direction), a camera 12 is arranged facing the display panel P as a photographing means. The camera 12 is a digital camera having photographic elements such as a CCD sensor and a CMOS sensor, and can obtain an image of the display state of the digital data type by photographing the display panel P on which the image is displayed. In this embodiment, each pixel of the image captured by the camera corresponds to each pixel (photographic pixel) of the light-sensing element constituting the imaging element of the camera on a one-to-one basis. The camera 12 is fixed by a camera fixing mechanism not shown.

另外,影像生成裝置1係具備面板驅動訊號產生器15、面板用電源16、影像處理裝置17、輸入部19、以及輸出部20。 In addition, the image generation device 1 includes a panel drive signal generator 15 , a panel power supply 16 , an image processing device 17 , an input unit 19 , and an output unit 20 .

面板驅動訊號產生器15係根據影像處理裝置17的指示,使檢查畫面等顯示於顯示面板P。 The panel drive signal generator 15 causes the display panel P to display an inspection screen and the like according to an instruction from the image processing device 17 .

面板用電源16係供給電源至顯示面板P。 The panel power supply 16 supplies power to the display panel P. As shown in FIG.

輸入部19係例如滑鼠、鍵盤等供影像生成裝置1的操作、資料等資訊的輸入並供給至影像處理裝置17。 The input unit 19 is, for example, a mouse, a keyboard, and the like for the operation of the image generating apparatus 1 and the input of information such as data, and is supplied to the image processing apparatus 17 .

輸出部20係根據影像處理裝置17的指示而顯示出畫面等,具有操作用監視器20a及影像用監視器20b。操作用監視器20a係顯示進行影像生成裝置1、其各構成部(攝影機12、面板驅動訊號產生器15、面板用電源16)等的操作、各種設定、資料輸入、動作狀況顯示等畫面。影像用監視器20b係顯示攝影機12所拍攝到的影像、以影像處理裝置17修正該影像後的修正影像等。 The output unit 20 displays a screen or the like in accordance with an instruction from the video processing device 17, and includes an operation monitor 20a and a video monitor 20b. The operation monitor 20a displays a screen for performing operations, various settings, data input, and operation status display of the video generation device 1 and its components (camera 12, panel drive signal generator 15, panel power supply 16), and the like. The video monitor 20b displays the video captured by the camera 12, the corrected video obtained by correcting the video by the video processing device 17, and the like.

影像處理裝置17可由PC(個人電腦)等泛用電腦所構成。影像處理裝置17係控制攝影機12、面板驅動訊號產生器15、面板用電源16等外部機器,進行用以生成要顯示於顯示面板P的畫面之處理,進行攝影 機12所拍攝的影像之修正,且進行根據其修正後的修正影像來特定出顯示面板P的缺陷畫素之處理等。 The image processing device 17 may be constituted by a general-purpose computer such as a PC (personal computer). The image processing device 17 controls external devices such as the camera 12 , the panel drive signal generator 15 , the panel power supply 16 , and the like, performs processing for generating a screen to be displayed on the display panel P, and corrects the image captured by the camera 12 , and Processing and the like are performed to identify defective pixels of the display panel P based on the corrected image after the correction.

第2圖係說明影像生成裝置1具備的影像處理裝置17的構成之機能構成圖。 FIG. 2 is a functional configuration diagram illustrating the configuration of the video processing device 17 included in the video generation device 1 .

如第2圖所示,影像處理裝置17係具備處理部171,處理部171係作為藉由程式及根據該程式而執行各種處理之CPU而實現的機能方塊。而且,處理部171係與記憶各種資料之記憶部172連接。 As shown in FIG. 2 , the image processing apparatus 17 includes a processing unit 171, and the processing unit 171 is a functional block realized by a program and a CPU that executes various processes according to the program. Furthermore, the processing unit 171 is connected to the memory unit 172 that stores various data.

就記憶部172記憶的資料而言,例如包含:實現處理部171之各種程式、處理部171所決定的要在檢查時顯示於顯示面板P之畫面資料、攝影機12所拍攝到的拍攝影像資料、經處理部171修正後的修正影像資料、為了特定出缺陷畫素而經計算後決定的各種資料、用以控制各種外部機器之資料、記憶作為工作區域的各種資料、以及影像處理裝置17、測定對象、攝影機的規格等用於各種處理所需的設定條件之各種資料等。記憶部172係由記憶體、硬碟等記憶媒體而實現。另外,處理部171係與用以和各種外部機器連接之外部網路部173相連接,經由該外部網路部173而與輸入部19、輸出部20、攝影機12、面板驅動訊號產生器15、面板用電源16等外部機器連接,進行資料的收發。 The data stored in the memory unit 172 include, for example, various programs for realizing the processing unit 171, screen data determined by the processing unit 171 to be displayed on the display panel P during inspection, image data captured by the camera 12, Corrected image data corrected by the processing unit 171, various data determined by calculation to identify defective pixels, data used to control various external devices, various data stored as a work area, and the image processing device 17, measurement Various data for setting conditions required for various processing, such as objects and camera specifications. The storage unit 172 is realized by a storage medium such as a memory and a hard disk. In addition, the processing unit 171 is connected to an external network unit 173 for connecting with various external devices, and the input unit 19 , the output unit 20 , the camera 12 , the panel drive signal generator 15 , the input unit 19 , the output unit 20 , the camera 12 , the panel drive signal generator 15 , The panel is connected to an external device such as a power supply 16 and transmits and receives data.

影像處理裝置17的處理部171中,藉由記憶部172中記憶的執行程式、各種資料等以及依據該等程式、資料等而執行的CPU等的演算處理,構築出虛設的算出手段171a、缺陷判定手段171b、及修正手段171d。其中,缺陷判定手段171b係包含閾值設定手段171c。 In the processing unit 171 of the image processing device 17, a dummy calculation means 171a, defects, etc. are constructed by the execution program, various data, etc. stored in the memory unit 172, and the calculation processing of the CPU or the like executed according to the program, data, etc. The determination means 171b, and the correction means 171d. Among them, the defect determination means 171b includes a threshold value setting means 171c.

如上所述,攝影機12可藉由拍攝顯示有影像的顯示面板P而得到其顯示狀態的拍攝影像。此時,會有攝影機12的攝影元件的攝影畫素本身存在缺陷(攝影畫素缺陷)之情形。此攝影畫素缺陷的發生有各式各樣的原因,例如:由於攝影畫素的劣化所造成的對於光的感度異常等;亦有在某個攝影元件上的固定位置發生之有再現性的攝影畫素缺陷;亦有由於攝影元件的特性不良而在攝影元件上隨機發生的對於光的感度異常等無位置再現性的攝影畫素缺陷。 As described above, the camera 12 can obtain a photographed image of the display state by photographing the display panel P on which the image is displayed. At this time, there may be cases where the photographic pixel itself of the photographing element of the camera 12 has a defect (photographic pixel defect). There are various reasons for the occurrence of this photographic pixel defect, such as: abnormal sensitivity to light caused by the deterioration of the photographic pixel, etc.; there are also reproducible occurrences at a fixed position on a certain photographic element. Photographic pixel defects; there are also photographic pixel defects without position reproducibility, such as abnormal sensitivity to light, which randomly occurs on the photographic element due to poor characteristics of the photographic element.

攝影機12的攝影元件存在有攝影畫素缺陷時,即使作為檢查對象之顯示面板P沒有亮點缺陷(顯示畫素缺陷),亦會在攝影機12所拍攝到的影像上出現稱為亮點之起因於攝影元件之亮度值比周圍高的亮度異常點。 When the imaging element of the camera 12 has a pixel defect, even if the display panel P, which is the inspection object, does not have a bright spot defect (display pixel defect), a bright spot will appear on the image captured by the camera 12. The brightness value of the component is higher than the surrounding brightness abnormal point.

第3圖係說明起因於攝影元件之亮度值比周圍高的亮度異常點(起因於攝影機之亮度異常點),以及起因於顯示面板之亮度值比周圍高的亮度異常點(起因於面板之亮度異常點)之說明圖。 Fig. 3 shows the abnormal point of brightness caused by the brightness value of the photographing element being higher than that of the surrounding (due to the abnormal point of brightness of the camera), and the abnormal point of brightness caused by the brightness value of the display panel being higher than that of the surrounding (due to the brightness of the panel). An explanatory diagram of an abnormal point).

第3圖(a)係顯示攝影機12拍攝顯示面板P所得到的拍攝影像的一例之圖。 FIG. 3( a ) is a diagram showing an example of a photographed image obtained by photographing the display panel P by the camera 12 .

第3圖(a)所示的例中,在拍攝影像上出現了亮點形態的起因於攝影機之亮度異常點205、及起因於面板之亮度異常點215。 In the example shown in FIG. 3( a ), an abnormal brightness point 205 due to the camera and an abnormal brightness point 215 due to the panel appear in the form of bright spots on the captured image.

第3圖(b)係顯示在起因於攝影機之亮度異常點205鄰近的同一列的影像畫素的亮度值之圖,第3圖(c)係顯示在起因於面板之亮度異常點215鄰近的同一列的影像畫素的亮度值之圖。第3圖係將攝影機12的 攝影元件的各畫素檢測到的亮度值顯示於對應的各影像畫素。此亮度值係表示對於光的感度,亮度越高則亮度值越高。 Fig. 3(b) is a graph showing the luminance values of the image pixels in the same row adjacent to the luminance anomaly point 205 caused by the camera, and Fig. 3(c) is a graph showing the luminance value adjacent to the luminance anomaly point 215 caused by the panel A graph of the luminance values of image pixels in the same row. In Fig. 3, the luminance value detected by each pixel of the imaging element of the camera 12 is displayed on the corresponding image pixel. This brightness value represents the sensitivity to light, and the higher the brightness, the higher the brightness value.

如第3圖(b)所示,只有起因於攝影機之亮度異常點205的亮度值比鄰近的同一列(X1-X2方向)的影像畫素的亮度值高。特別是亮度異常點205的隣接影像畫素204、206的亮度值與影像畫素202~203、207~209的亮度值大致為同等的值。換言之,由於只有起因於攝影機之亮度異常點205的亮度值呈現異常高的值,因此可推測攝影機12的攝影元件之中,與起因於攝影機之亮度異常點205對應之攝影畫素存在有攝影畫素缺陷。 As shown in FIG. 3(b), only the brightness value of the brightness abnormal point 205 caused by the camera is higher than the brightness value of the adjacent image pixels in the same row (X1-X2 direction). In particular, the luminance values of the image pixels 204 and 206 adjacent to the luminance abnormal point 205 are substantially the same as the luminance values of the image pixels 202 to 203 and 207 to 209 . In other words, since only the luminance value caused by the abnormal brightness point 205 of the camera exhibits an abnormally high value, it can be presumed that there is a photographic image in the photographing element of the camera 12 corresponding to the abnormal point of brightness 205 caused by the camera. element defects.

另一方面,就第3圖(c)而言,起因於面板之亮度異常點215的亮度值處於峰值,且起因於面板之亮度異常點215的隣接影像畫素214,216的亮度值也比影像畫素211、218的亮度值高。亦即,不僅是起因於面板之亮度異常點215的亮度值高,與該亮度異常點215隣接的畫素的亮度值也成為為越接近起因於面板之亮度異常點215則越高。 On the other hand, in FIG. 3(c), the luminance value of the luminance abnormal point 215 caused by the panel is at a peak value, and the luminance values of the adjacent image pixels 214 and 216 caused by the luminance abnormal point 215 of the panel are also higher than The image pixels 211 and 218 have high luminance values. That is, not only the brightness value of the abnormal brightness point 215 caused by the panel is high, but the brightness value of the pixel adjacent to the abnormal brightness point 215 is also higher as it is closer to the abnormal brightness point 215 caused by the panel.

如上所述,從顯示面板P的各顯示畫素發出的光經由攝影機12的鏡頭而射入到攝影元件。攝影機12可將射入其攝影元件之光轉換為電氣訊號而得到數位資料型態的拍攝影像。因此,若顯示面板P有亮點缺陷(顯示畫素缺陷),從有亮點缺陷(顯示畫素缺陷)的顯示畫素發出的光係經由攝影機12的鏡頭等光學系統而射入到複數個攝影畫素。因而,攝影機12的複數個攝影畫素得到高亮度值。 As described above, the light emitted from each display pixel of the display panel P is incident on the imaging element through the lens of the camera 12 . The camera 12 can convert the light incident into its photographic element into electrical signals to obtain a photographed image in the form of digital data. Therefore, when the display panel P has a bright spot defect (display pixel defect), the light emitted from the display pixel having the bright spot defect (display pixel defect) is incident on a plurality of photographic images through an optical system such as a lens of the camera 12 . white. Therefore, a plurality of photographic pixels of the camera 12 obtain high luminance values.

就第3圖(c)所示的例而言,由於起因於面板之亮度異常點215的亮度值處於峰值,且與起因於面板之亮度異常點215隣接的影像畫 素的亮度值也呈現越接近起因於面板之亮度異常點215則越高,因此可推測並非攝影機12的攝影畫素存在缺陷(攝影畫素缺陷),而是顯示面板P的顯示畫素有亮點缺陷(顯示畫素缺陷)。 In the example shown in FIG. 3(c), since the brightness value of the brightness abnormal point 215 caused by the panel is at a peak value, and the brightness value of the image pixel adjacent to the brightness abnormal point 215 caused by the panel also appears to be higher. The higher the brightness abnormal point 215 caused by the panel, the higher it is. Therefore, it can be presumed that the camera 12 is not defective in the photographic pixels (photographic pixel defect), but the display pixel of the display panel P has a bright spot defect (display pixel defect). .

如上所述,攝影機12所拍攝到的拍攝影像中可能包含因攝影畫素缺陷而發生的起因於攝影機之亮度異常點205、以及因顯示畫素缺陷而發生的起因於面板之亮度異常點215,因此在顯示面板P的點亮檢查中,必須去除起因於攝影機之亮度異常點205而檢測顯示面板P的顯示畫素缺陷。亦即,必須判定亮點異常點是起因於攝影機12、還是起因於顯示面板P。 As mentioned above, the captured image captured by the camera 12 may include the abnormal brightness point 205 caused by the camera due to the defect of the photographic pixel, and the abnormal brightness point 215 caused by the panel caused by the defect of the display pixel, Therefore, in the lighting inspection of the display panel P, it is necessary to detect the display pixel defect of the display panel P by removing the abnormal brightness point 205 caused by the camera. That is, it must be determined whether the bright spot abnormal point is caused by the camera 12 or the display panel P.

對此,第一實施形態之影像生成裝置1中,首先,算出手段171a根據攝影機12所拍攝到的影像,算出位於注目畫素的週邊之影像畫素的亮度值的平均值作為週邊畫素平均值。 On the other hand, in the image generating apparatus 1 of the first embodiment, the calculating means 171a first calculates the average value of the luminance values of the image pixels located around the attention pixel based on the image captured by the camera 12 as the surrounding pixel average value.

第4圖(a)係說明攝影機12所拍攝到的影像的注目畫素及週邊畫素之圖。 FIG. 4( a ) is a diagram illustrating the attention pixel and surrounding pixels of the image captured by the camera 12 .

若以影像畫素105作為注目畫素,注目畫素105的週邊的影像畫素101~104、106~109這八個畫素即為週邊畫素。對此,算出手段171a係算出週邊畫素101~104、106~109的亮度值的平均值作為週邊畫素平均值。 If the image pixel 105 is used as the attention pixel, the eight image pixels 101 to 104 and 106 to 109 surrounding the attention pixel 105 are the surrounding pixels. On the other hand, the calculating means 171a calculates the average value of the luminance values of the surrounding pixels 101 to 104 and 106 to 109 as the surrounding pixel average value.

缺陷判定手段171b係在注目畫素105的亮度值與所算出的週邊畫素平均值之差分為所設定的閾值以上時,判定為與注目畫素105對應之攝影機12的攝影元件的攝影畫素有缺陷。 The defect judgment means 171b judges that the difference between the luminance value of the attention pixel 105 and the calculated average value of the surrounding pixels is equal to or larger than a set threshold value, and determines as the imaging pixel of the imaging element of the camera 12 corresponding to the attention pixel 105 defective.

第4圖(b)~(d)係顯示注目畫素105出現起因於攝影機之亮度異常點(white spot)時之各影像畫素的亮度值的一例之圖,第4圖(e)~(g)係顯示注目畫素105出現起因於面板之亮度異常點時之各影像畫素的亮度值的一例之圖。 Figures 4 (b) to (d) are diagrams showing an example of the luminance value of each image pixel when the attention pixel 105 appears due to the white spot of the camera. Figure 4 (e) to ( g) is a diagram showing an example of the luminance value of each image pixel when the attention pixel 105 appears at an abnormal point in luminance of the panel.

如第4圖(b)~(d)所示,注目畫素105出現起因於攝影機之亮度異常點時,只有注目畫素105的亮度值會成為比週邊畫素異常地高之值。 As shown in FIGS. 4 (b) to (d), when the attention pixel 105 appears at an abnormal point of luminance caused by the camera, only the luminance value of the attention pixel 105 becomes abnormally higher than the surrounding pixels.

算出手段171a係算出週邊畫素101~104、106~109的亮度值的平均值作為週邊畫素平均值110。 The calculation means 171 a calculates the average value of the luminance values of the surrounding pixels 101 to 104 and 106 to 109 as the surrounding pixel average value 110 .

然後,缺陷判定手段171b係在注目畫素105的亮度值與算出的週邊畫素平均值110之差分120在設定的閾值Th以上時,判定為與注目畫素105對應之攝影機12的攝影畫素有缺陷。其中,閾值Th係由缺陷判定手段171b具有的閾值設定手段171c來決定。詳於後述。 Then, when the difference 120 between the luminance value of the attention pixel 105 and the calculated average value 110 of the surrounding pixels is equal to or larger than the set threshold value Th, the defect judgment means 171b judges that the pixel of the camera 12 corresponding to the attention pixel 105 is a photographing pixel of the camera 12 defective. The threshold value Th is determined by the threshold value setting means 171c included in the defect determination means 171b. Details will be described later.

第4圖(c)所示的例中,因為注目畫素105出現起因於攝影機之亮度異常點,所以週邊畫素101~104、106~109的亮度成為與注目畫素105的亮度相比小很多之值。亦即,差分120會大到所設定的閾值Th以上,因此,缺陷判定手段171b係判定為與注目畫素105對應之攝影機12的攝影畫素有缺陷(攝影畫素缺陷)。 In the example shown in FIG. 4( c ), since the attention pixel 105 has an abnormal point of luminance caused by the camera, the luminances of the surrounding pixels 101 to 104 and 106 to 109 are smaller than the luminance of the attention pixel 105 A lot of value. That is, since the difference 120 is larger than the set threshold Th, the defect determination means 171b determines that the imaging pixel of the camera 12 corresponding to the attention pixel 105 is defective (photographic pixel defect).

另一方面,如第4圖(e)~(g)所示,注目畫素105出現起因於面板之亮度異常點時,不僅是注目畫素105的亮度值,週邊畫素的亮度值也成為較高的值。 On the other hand, as shown in FIGS. 4 (e) to (g), when the attention pixel 105 appears at an abnormal point in luminance caused by the panel, not only the luminance value of the attention pixel 105, but also the luminance values of the surrounding pixels becomes higher value.

算出手段171a係算出週邊畫素101~104、106~109的亮度值的平均值作為週邊畫素平均值111。 The calculating means 171 a calculates the average value of the luminance values of the surrounding pixels 101 to 104 and 106 to 109 as the surrounding pixel average value 111 .

第4圖(f)所示的例中,注目畫素105出現起因於面板之亮度異常點,週邊畫素101~104、106~109的亮度值也成為較高的值。亦即,差分121會偏小而不會超過設定的閾值Th,所以缺陷判定手段171b係判定為並非攝影畫素有缺陷,而是顯示面板P的顯示畫素有缺陷(顯示畫素缺陷)。 In the example shown in FIG. 4( f ), the attention pixel 105 appears at an abnormal point in brightness of the panel, and the brightness values of the peripheral pixels 101 to 104 and 106 to 109 also have high values. That is, since the difference 121 is too small to exceed the set threshold Th, the defect determination means 171b determines that the display pixel of the display panel P is not defective but the display pixel of the display panel P is defective (display pixel defect).

如此,可區別因攝影畫素缺陷而發生的起因於攝影機之亮度異常點以及因顯示畫素缺陷而發生的起因於面板之亮度異常點。 In this way, it is possible to distinguish between the brightness abnormal point caused by the camera and the display pixel defect caused by the abnormal brightness point of the panel.

然後,修正手段171d係在缺陷判定手段171b判定為與注目畫素105對應之攝影機12的攝影畫素有缺陷時,將注目畫素105的亮度值修正為週邊畫素平均值。修正手段171d係將以拍攝影像的各個影像畫素作為注目畫素105而進行修正後的修正影像資料記憶至記憶部172。 Then, when the defect determination means 171b determines that the imaging pixel of the camera 12 corresponding to the attention pixel 105 is defective, the correction means 171d corrects the luminance value of the attention pixel 105 to the average value of the surrounding pixels. The correction means 171 d stores, in the storage unit 172 , the corrected image data corrected with each image pixel of the captured image as the attention pixel 105 .

藉此,可將用於顯示面板P的點亮檢查之已從拍攝影像去除起因於攝影機之亮度異常點的修正影像資料記憶至記憶部172。 Thereby, the correction image data used for the lighting inspection of the display panel P and the abnormal point of brightness caused by the camera removed from the captured image can be stored in the memory unit 172 .

另外,關於閾值之設定,以對於每個注目畫素採用根據週邊畫素的亮度值而作成的動態的閾值(變動的閾值)為較佳。設定變動的閾值時,例如可根據對於週邊畫素的亮度值的平均值乘以固定係數而得到的值來作成閾值。藉此,每當注目畫素改變時閾值也會改變,所以可使閾值動態地變動。採用此種使用變動的閾值之判定方式,可監視相對於周圍畫素的亮度值之注目畫素的亮度值的升高比率,因此與使用固定的閾值之情況 相比較,可更正確地進行起因於攝影機之亮度異常點與起因於面板之亮度異常點的區分。 In addition, as for the setting of the threshold, it is preferable to use a dynamic threshold (variable threshold) created according to the luminance value of the surrounding pixels for each pixel of interest. When setting the variable threshold value, for example, the threshold value can be created from a value obtained by multiplying the average value of luminance values of surrounding pixels by a fixed coefficient. Thereby, the threshold value also changes every time the attention pixel changes, so the threshold value can be dynamically changed. By using such a determination method using a variable threshold value, it is possible to monitor the increase ratio of the luminance value of the attention pixel relative to the luminance value of the surrounding pixels, so that the cause can be more accurately determined than the case of using a fixed threshold value. Distinguish between the abnormal brightness point of the camera and the abnormal point of brightness caused by the panel.

在此,針對閾值設定手段171c所做的閾值Th之決定進行更詳細的說明。 Here, the determination of the threshold Th by the threshold setting means 171c will be described in more detail.

為了從拍攝影像去除起因於攝影機之亮度異常點但留下起因於面板之亮度異常點,必須適切地設定用來區別起因於面板之亮度異常點與起因於攝影機之亮度異常點之閾值Th。 In order to remove the brightness abnormal point due to the camera from the captured image but leave the brightness abnormal point due to the panel, the threshold Th for distinguishing the brightness abnormal point due to the panel and the brightness abnormal point due to the camera must be appropriately set.

如第3圖(b)所示,只有某一個點的影像畫素的亮度值比週邊畫素的亮度值高時,可推測其影像畫素為起因於攝影機之亮度異常點,如第3圖(c)所示,某個影像畫素的亮度值高,而且以其影像畫素的亮度值為峰值,越接近其影像畫素的畫素則亮度值越高時,可推測該影像畫素為起因於面板之亮度異常點。 As shown in Figure 3(b), when only the brightness value of an image pixel at a certain point is higher than the brightness value of the surrounding pixels, it can be inferred that the image pixel is caused by the abnormal brightness of the camera, as shown in Figure 3 As shown in (c), when a certain image pixel has a high luminance value, and the luminance value of its image pixel has a peak value, and the closer the pixel is to the image pixel, the higher the luminance value, the image pixel can be inferred. It is caused by the abnormal point of brightness of the panel.

因此,例如:若使閾值為固定值而單純地在隣接的影像畫素的亮度值之差分到達閾值以上之情況就判定為起因於攝影機之亮度異常點,則如第3圖(c)所示,影像畫素215與隣接的影像畫素214的亮度值之差分偏大之情況下,會有誤將影像畫素215當作是起因於攝影機之亮度異常點之情形。 Therefore, for example, if the threshold is set to a fixed value and the difference between the luminance values of adjacent video pixels is simply the threshold value or more, it is determined that the luminance abnormal point is caused by the camera, as shown in Fig. 3(c) If the difference between the luminance values of the image pixel 215 and the adjacent image pixel 214 is too large, the image pixel 215 may be mistakenly regarded as an abnormal point of luminance caused by the camera.

對此,閾值設定手段171c係依每個注目畫素使閾值Th變動。具體而言,依每個注目畫素,將所算出的週邊畫素平均值乘以預先設定的閾值倍率TR所得到的值設定作為閾值Th。其中,為了使閾值Th不為“0”,較佳係將閾值Th加上偏移值之後的值作為閾值Th。此閾值倍率TR係由使用者根據起因於攝影機之亮度異常點發生時的相對於週邊畫素 平均值之注目畫素的亮度值的比率(亮度比率),以及起因於面板之亮度異常點發生時的亮度比率,而預先從輸入部19輸入之可區別起因於攝影機之亮度異常點與起因於面板之亮度異常點之值。 On the other hand, the threshold value setting means 171c changes the threshold value Th for each pixel of interest. Specifically, for each pixel of interest, a value obtained by multiplying the calculated average value of surrounding pixels by a preset threshold magnification TR is set as the threshold Th. Here, in order to prevent the threshold value Th from being "0", it is preferable to use a value obtained by adding the offset value to the threshold value Th as the threshold value Th. The threshold magnification TR is determined by the user according to the ratio (brightness ratio) of the luminance value of the attention pixel relative to the average value of the surrounding pixels when the abnormal point of brightness caused by the camera occurs, and when the abnormal point of brightness caused by the panel occurs. The luminance ratio is inputted from the input unit 19 in advance to distinguish the luminance abnormal point caused by the camera and the luminance abnormal point caused by the panel.

第5圖(a)係顯示在第3圖(b)所示之影像畫素205為起因於攝影機之亮度異常點的情況時,與影像畫素205同一列的各影像畫素中,相對於週邊畫素平均值之注目畫素的亮度值的比率(亮度比率),第5圖(b)係顯示在影像畫素215為起因於面板之亮度異常點的情況時,與影像畫素205同一列的各影像畫素中,相對於週邊畫素平均值之注目畫素的亮度值的比率(亮度比率)。 Fig. 5(a) shows that in the case where the image pixel 205 shown in Fig. 3(b) is caused by an abnormal point of brightness of the camera, among the image pixels in the same row as the image pixel 205, relative to The ratio (brightness ratio) of the brightness value of the attention pixel to the average value of the surrounding pixels is the same as the image pixel 205 when the image pixel 215 is the abnormal point of brightness caused by the panel in Fig. 5(b). The ratio (brightness ratio) of the luminance value of the attention pixel with respect to the average value of the surrounding pixels in each image pixel in the row.

如第5圖(a)所示,畫素205為起因於攝影機之亮度異常點時,相較於畫素202~204、206~209的亮度比率,影像畫素205的亮度比率為充分大之值。 As shown in FIG. 5(a), when the pixel 205 is an abnormal point of brightness caused by the camera, the brightness ratio of the image pixel 205 is sufficiently large compared to the brightness ratios of the pixels 202-204 and 206-209. value.

另一方面,如第5圖(b)所示,畫素215為起因於面板之亮度異常點時,畫素215的亮度比率雖大於畫素212~214、216~219的亮度比率,但差異小。 On the other hand, as shown in FIG. 5(b), when the pixel 215 is an abnormal point of brightness caused by the panel, although the brightness ratio of the pixel 215 is larger than the brightness ratio of the pixels 212-214 and 216-219, the difference is Small.

因此,若將閾值倍率TR設定得過低,則有缺陷判定手段171b誤將起因於面板之亮度異常點判定為起因於攝影機之亮度異常點的可能性。 Therefore, if the threshold magnification TR is set too low, there is a possibility that the defect determination means 171b erroneously determines the brightness abnormal point caused by the panel as the brightness abnormal point caused by the camera.

對此,使用者係預先設定能夠區別起因於攝影機之亮度異常點與起因於面板之亮度異常點之適切的閾值倍率TR。第5圖所示的例中,將閾值倍率TR設定為週邊畫素平均值的150%(1.5倍)。 In this regard, the user presets an appropriate threshold magnification TR capable of distinguishing the brightness abnormal point caused by the camera from the brightness abnormal point caused by the panel. In the example shown in FIG. 5, the threshold magnification TR is set to 150% (1.5 times) of the average value of the surrounding pixels.

藉此,可區別起因於攝影機之亮度異常點與起因於面板之亮度異常點,所以可排除起因於攝影機之亮度異常點,只檢測出顯示面板P的亮點缺陷。 In this way, the abnormal brightness point caused by the camera and the abnormal brightness point caused by the panel can be distinguished, so the abnormal point of brightness caused by the camera can be excluded, and only the bright spot defect of the display panel P can be detected.

第6圖係顯示第一實施形態之影像生成裝置1的處理內容之流程圖。 FIG. 6 is a flowchart showing the processing contents of the image generating apparatus 1 according to the first embodiment.

如第6圖所示,攝影機12藉由拍攝顯示有影像之顯示面板P而取得其顯示狀態的拍攝影像(步驟S101)。取得的影像的畫素的行數及列數係在此時才登錄或預先設定好。影像的畫素的行數及列數係利用於後述的步驟S117及步驟S119之判定。 As shown in FIG. 6 , the camera 12 acquires a photographed image of the display state by photographing the display panel P on which the image is displayed (step S101 ). The number of rows and columns of pixels of the acquired image is registered or preset at this time. The number of rows and columns of pixels in the video is used for determination in steps S117 and S119 to be described later.

接著,算出手段171a係將所取得的拍攝影像的一個畫素指定作為原點之注目畫素(步驟S103)。在此,拍攝影像的畫素係在矩形的影像領域內排列成矩陣狀,將位於其左上角之畫素設為原點(0,0)之注目畫素,並且將從上開始算第1列的畫素的排列方向設為X軸,從左開始算第1行的畫素的排列方向設為Y軸。 Next, the calculating means 171a designates one pixel of the acquired captured image as the attention pixel of the origin (step S103). Here, the pixels of the captured image are arranged in a matrix in a rectangular image area, and the pixel located at the upper left corner of the image is set as the attention pixel at the origin (0, 0), and the first pixel is counted from the top. The arrangement direction of the pixels in the column is the X axis, and the arrangement direction of the pixels in the first row from the left is the Y axis.

然後,算出手段171a係根據攝影機12所拍攝到的拍攝影像,將所指定的注目畫素的週邊的八個畫素(週邊畫素)的亮度值予以加總(步驟S105),然後加總算出的週邊畫素的亮度值的加總值除以週邊畫素數“8”而算出週邊畫素平均值(步驟S107)。另外,注目畫素位於角落時,將週邊的三個畫素(週邊畫素)的亮度值予以加總再除以週邊畫素數“3”。注目畫素位於角落以外的邊上時,將週邊的五個畫素(週邊畫素)的亮度值予以加總再除以週邊畫素數“5”。 Then, the calculating means 171a sums up the luminance values of eight pixels (peripheral pixels) around the designated attention pixel based on the captured image captured by the camera 12 (step S105), and then calculates the sum of the luminance values. The sum of the luminance values of the surrounding pixels is divided by the number of surrounding pixels "8" to calculate the average value of surrounding pixels (step S107). In addition, when the pixel of interest is located at a corner, the luminance values of the three surrounding pixels (peripheral pixels) are added up and divided by the number of surrounding pixels "3". When the pixel of interest is located on the edge other than the corner, the luminance values of the five surrounding pixels (peripheral pixels) are added up and divided by the number of surrounding pixels "5".

算出手段171a係算出所指定的注目畫素的亮度值與所算出的週邊畫素平均值之差分(步驟S109)。 The calculating means 171a calculates the difference between the luminance value of the designated attention pixel and the calculated average value of the surrounding pixels (step S109).

閾值設定手段171c係將所算出的週邊畫素平均值乘以預先設定的閾值倍率TR所得到的值設定作為閾值Th(步驟S111)。 The threshold value setting means 171c sets, as the threshold value Th, a value obtained by multiplying the calculated average value of surrounding pixels by a preset threshold value magnification TR (step S111).

接著,缺陷判定手段171b係將步驟S111中設定的閾值Th加上偏移值而將其設定作為新的閾值Th(步驟S113)。週邊畫素平均值亦可能為“0”。週邊畫素平均值為“0”時,就算乘以閾值倍率TR還是“0”。對此,為了使閾值Th不為“0”,缺陷判定手段171b係將閾值Th加上偏移值之例如“150”等值,而設定作為新的閾值Th。偏移值係預先設定之值。 Next, the defect determination means 171b adds an offset value to the threshold value Th set in step S111, and sets it as a new threshold value Th (step S113). The average value of surrounding pixels may also be "0". When the average value of surrounding pixels is "0", it is still "0" even if multiplied by the threshold magnification TR. On the other hand, in order to prevent the threshold value Th from becoming "0", the defect determination means 171b adds a value such as "150", which is an offset value, to the threshold value Th to set a new threshold value Th. The offset value is a preset value.

缺陷判定手段171b係比較步驟S109中所算出的注目畫素的亮度值與週邊畫素平均值之差分是否在步驟S113中設定的閾值Th以上(步驟S114)。 The defect determination means 171b compares whether the difference between the luminance value of the attention pixel calculated in step S109 and the average value of surrounding pixels is equal to or larger than the threshold Th set in step S113 (step S114).

比較結果,若判定為注目畫素的亮度值與週邊畫素平均值之差分大於步驟S113中所設定的閾值Th(步驟S115中為“是”),則缺陷判定手段171b係判定與注目畫素對應之攝影機12的攝影元件發生攝影畫素缺陷,修正手段171d係將注目畫素的亮度值修正為週邊畫素平均值(步驟S116)。若判定為注目畫素的亮度值與週邊畫素平均值之差分為步驟S113中所設定的閾值Th以下(步驟S115中為“否”),則不進行修正而前進到下一個步驟。 As a result of the comparison, if it is determined that the difference between the luminance value of the attention pixel and the average value of the surrounding pixels is greater than the threshold Th set in step S113 (YES in step S115 ), the defect determination means 171b determines the difference between the attention pixel and the average value of the attention pixel. When a pixel defect occurs in the corresponding imaging element of the camera 12, the correction means 171d corrects the luminance value of the pixel of interest to the average value of the surrounding pixels (step S116). If it is determined that the difference between the luminance value of the attention pixel and the average value of surrounding pixels is equal to or less than the threshold Th set in step S113 (NO in step S115 ), the process proceeds to the next step without performing correction.

接著,修正手段171d係判定注目畫素是否為其列的最後一個畫素(是否為最右邊的畫素)。亦即,判定注目畫素的座標的X的值是否等於影像畫素陣列的行數(步驟S117)。若判定為並非其列的最後一個畫素 (步驟S117中為“否”),則將X的座標值加1(步驟S118),並指定下一個注目畫素(步驟S104),進行之後的步驟的處理。若判定為是其列的最後一個畫素(最右邊的畫素)(步驟S117中“是”),則判定注目畫素是否為最後一列。亦即,判定注目畫素的座標的Y的值是否等於影像畫素陣列的列數(步驟S119)。若注目畫素並非最後一列(步驟S119中為“否”),則使X的座標值為0且使Y的座標值加1(步驟S120),並指定下一個注目畫素(步驟S104),進行之後的步驟的處理。若判定為注目畫素為最後一列(步驟S119中為“是”),則修正手段171d係在未進行過修正的情況時將拍攝影像資料記憶至記憶部172,在進行過修正的情況時將修正後的修正影像資料記憶至記憶部172(步驟S121)。然後,將經上述的處理所得之拍攝影像資料使用於顯示畫素缺陷的判定處理等。 Next, the correction means 171d determines whether or not the attention pixel is the last pixel in the row (whether it is the rightmost pixel). That is, it is determined whether or not the value of X of the coordinates of the pixel of interest is equal to the number of rows of the image pixel array (step S117). If it is determined that it is not the last pixel in the row (NO in step S117), the coordinate value of X is incremented by 1 (step S118), the next pixel of interest is designated (step S104), and the following steps are performed processing. If it is determined that it is the last pixel (the rightmost pixel) in the row (YES in step S117 ), it is determined whether or not the pixel of interest is the last row. That is, it is determined whether the value of Y of the coordinate of the pixel of interest is equal to the number of columns of the image pixel array (step S119). If the pixel of interest is not the last column (“NO” in step S119 ), the coordinate value of X is set to 0 and the coordinate value of Y is incremented by 1 (step S120 ), and the next pixel of interest is designated (step S104 ), The processing of the subsequent steps is performed. If it is determined that the pixel of interest is the last row (YES in step S119 ), the correction means 171d stores the captured image data in the storage unit 172 when the correction has not been performed, and stores the captured image data in the storage unit 172 when the correction is performed. The corrected image data after correction is stored in the storage unit 172 (step S121). Then, the captured image data obtained by the above-mentioned processing is used for the judgment processing of display pixel defects, and the like.

如以上所述,根據第一實施形態之影像生成裝置1,具備:載置作為被檢查體的顯示面板P之載置台11;與顯示面板P相向而設置之攝影機12;根據攝影機12所拍攝到的影像資料,算出注目畫素的週邊畫素的亮度值的平均值作為週邊畫素平均值之算出手段171a;在注目畫素的亮度值與算出的週邊畫素平均值之差分為所設定的閾值以上時,判定與注目畫素對應之攝影機12的攝影元件的攝影畫素發生攝影畫素缺陷之缺陷判定手段171b;以及在缺陷判定手段171b判定與注目畫素對應之攝影機12的攝影元件的攝影畫素發生攝影畫素缺陷時,將注目畫素的亮度值修正為週邊畫素平均值,且將修正得到的修正影像資料記憶至記憶部172之修正手段171d。 As described above, the image generating apparatus 1 according to the first embodiment includes: the mounting table 11 on which the display panel P, which is the object to be inspected, is mounted; the camera 12 arranged to face the display panel P; The average value of the brightness values of the surrounding pixels of the attention pixel is calculated as the average value of the surrounding pixels as the calculation means 171a; the difference between the brightness value of the attention pixel and the calculated average value of the surrounding pixels is set as Defect judgment means 171b for judging that the imaging element of the camera 12 corresponding to the pixel of interest has a imaging pixel defect when the threshold value is greater than or equal to the threshold value; When a photographic pixel defect occurs in the photographic pixel, the luminance value of the pixel of interest is corrected to the average value of the surrounding pixels, and the corrected image data obtained by the correction is stored in the correction means 171d of the storage unit 172 .

因此,即使在攝影機12所拍攝到的影像中包含因攝影畫素缺陷而發生的亮度異常點(起因於攝影機之亮度異常點)以及因顯示畫素缺 陷而發生的亮度異常點(起因於面板之亮度異常點)之情況時,也可區別起因於攝影機之亮度異常點與起因於面板之亮度異常點。因此,可藉由修正而將攝影亮度異常點排除,只檢測出顯示面板P的亮點缺陷,所以可正確地判定顯示面板P的缺陷。 Therefore, even if the image captured by the camera 12 includes abnormal brightness points due to photographic pixel defects (due to the abnormal brightness points of the camera) and abnormal brightness points due to display pixel defects (due to the abnormal brightness of the panel) In the case of abnormal brightness points), it is also possible to distinguish the abnormal brightness points caused by the camera from the abnormal brightness points caused by the panel. Therefore, the abnormal point of photographing brightness can be excluded by correction, and only the bright spot defect of the display panel P can be detected, so that the defect of the display panel P can be accurately determined.

<第二實施形態> <Second Embodiment>

本發明的第一實施形態之影像生成裝置1係由處理部171執行程式,虛擬地構築算出手段171a、缺陷判定手段171b、閾值設定手段171c、及修正手段171d,但不限於此,亦可利用積體電路而安裝算出手段、缺陷判定手段、閾值設定手段、及修正手段。 The image generation device 1 according to the first embodiment of the present invention executes a program by the processing unit 171 to virtually construct the calculation means 171a, the defect determination means 171b, the threshold value setting means 171c, and the correction means 171d, but it is not limited to this, and the A calculation means, a defect determination means, a threshold value setting means, and a correction means are mounted on the integrated circuit.

本發明的第二實施形態係舉例說明利用積體電路而安裝算出手段、缺陷判定手段、閾值設定手段、及修正手段之影像生成裝置1。 The second embodiment of the present invention is an example of an image generating apparatus 1 in which calculation means, defect determination means, threshold value setting means, and correction means are mounted using an integrated circuit.

第7圖係說明本發明的第二實施形態之影像生成裝置1具備的影像處理裝置17的構成之機能構成圖。 FIG. 7 is a functional configuration diagram illustrating the configuration of the video processing device 17 included in the video generation device 1 according to the second embodiment of the present invention.

如第7圖所示,本發明的第二實施形態之影像生成裝置1的影像處理裝置17係具備:具有積體電路之擷取卡174。 As shown in FIG. 7, the image processing apparatus 17 of the image generating apparatus 1 according to the second embodiment of the present invention includes a capture card 174 having an integrated circuit.

擷取卡174係利用積體電路而安裝算出手段174a、缺陷判定手段174b、閾值設定手段174c、及修正手段174d。其中,此等算出手段174a、缺陷判定手段174b、閾值設定手段174c、及修正手段174d的處理內容係與上述的第一實施形態中的算出手段171a、缺陷判定手段171b、閾值設定手段171c、修正手段171d依據同樣的概念而進行者,第6圖所示的第一實施形態的處理的流程也可適用於第二實施形態。 The capture card 174 is equipped with a calculation means 174a, a defect determination means 174b, a threshold value setting means 174c, and a correction means 174d using an integrated circuit. Among them, the processing contents of the calculation means 174a, the defect determination means 174b, the threshold value setting means 174c, and the correction means 174d are the same as those of the calculation means 171a, the defect determination means 171b, the threshold value setting means 171c, and the correction means in the first embodiment described above. The means 171d is performed based on the same concept, and the flow of the processing in the first embodiment shown in FIG. 6 can also be applied to the second embodiment.

具體而言,算出手段174a係具備加法電路及除法電路。加法電路係根據攝影機12所拍攝到的影像資料而將注目畫素的週邊畫素的亮度值予以加總,除法電路係將加總得出的值除以週邊畫素數來算出週邊畫素平均值。週邊畫素數係例如注目畫素位於角落時為“3”,注目畫素位於邊上時為“5”,注目畫素位於其他的位置時為“8”。 Specifically, the calculation means 174a includes an addition circuit and a division circuit. The addition circuit sums the brightness values of the surrounding pixels of the attention pixel according to the image data captured by the camera 12 , and the division circuit divides the summed value by the number of surrounding pixels to calculate the average value of surrounding pixels. . The number of surrounding pixels is, for example, "3" when the pixel of interest is located at the corner, "5" when the pixel of interest is located on the edge, and "8" when the pixel of interest is located at other positions.

缺陷判定手段174b係具備減法電路及選擇電路。減法電路係從注目畫素的亮度值減去週邊畫素平均值來算出差分。然後,從差分減去閾值Th。選擇電路係在差分減去閾值Th所得到的值為正值時,將表示起因於攝影機的攝影畫素缺陷之亮度異常點(起因於攝影機之亮度異常點)之訊號送到修正手段174d,在差分減去閾值Th所得到的值為負值時,將表示並非起因於攝影機的攝影畫素缺陷之亮度異常點之訊號送至修正手段174d。 The defect determination means 174b includes a subtraction circuit and a selection circuit. The subtraction circuit calculates the difference by subtracting the average value of surrounding pixels from the luminance value of the pixel of interest. Then, the threshold Th is subtracted from the difference. When the value obtained by subtracting the threshold Th from the difference is a positive value, the selection circuit sends a signal representing an abnormal point of brightness caused by a pixel defect of the camera (an abnormal point of brightness caused by the camera) to the correction means 174d, When the value obtained by subtracting the threshold Th from the difference is a negative value, a signal indicating an abnormal point of luminance not caused by a pixel defect of the camera is sent to the correction means 174d.

閾值設定手段174c係具備乘法電路。乘法電路係將週邊畫素平均值乘以從外部輸入的閾值倍率TR,並將閾值Th供給至選擇電路。 The threshold value setting means 174c includes a multiplying circuit. The multiplication circuit multiplies the average value of the surrounding pixels by the threshold value magnification TR input from the outside, and supplies the threshold value Th to the selection circuit.

修正手段174d係對於拍攝影像,將缺陷判定手段174b供給之表示起因於攝影機之亮度異常點之影像畫素的亮度值修正為週邊畫素平均值並記憶至記憶部172,且將缺陷判定手段174b供給之表示並非起因於攝影機之亮度異常點之影像畫素不經修正而記憶至記憶部172。 The correction means 174d corrects the brightness value of the image pixel, which is supplied from the defect determination means 174b and indicates an abnormal point of brightness caused by the camera, to the average value of the surrounding pixels and stores it in the memory unit 172, and stores the defect determination means 174b. The image pixels indicating that the supply is not caused by the abnormal point of brightness of the camera are stored in the memory unit 172 without being corrected.

如以上所述,本發明的第二實施形態之影像生成裝置1中,擷取卡174係設於攝影機12的下游側且設於記憶部172的上游側,利用積體電路來構成算出手段174a、缺陷判定手段174b、閾值設定手段174c、及修正手段174d。 As described above, in the image generating apparatus 1 according to the second embodiment of the present invention, the capture card 174 is provided on the downstream side of the camera 12 and on the upstream side of the memory unit 172, and the calculation means 174a is constituted by an integrated circuit , a defect determination means 174b, a threshold value setting means 174c, and a correction means 174d.

因此,當攝影機12所拍攝的影像以拍攝影像資料的形態依序從外部網路部173供給至擷取卡174時,擷取卡174係按照供給來的順序依序執行處理,並將執行後的影像資料(修正影像資料)記憶至記憶部172。因此,由於連續地執行處理,所以相較於藉由執行程式虛擬地構築算出手段、缺陷判定手段、閾值設定手段、修正手段,可大幅縮短到處理結束為止的時間。另外,此擷取卡174所具備的積體電路若採用可改寫電路的半導體晶片(例如現場可程式化邏輯閘陣列(Field Programmable Gate Array;FPGA)),因為可配合測定對象、攝影手段等的規格而容易地客製化出各種手段而更佳。 Therefore, when the images captured by the camera 12 are sequentially supplied from the external network unit 173 to the capture card 174 in the form of captured image data, the capture card 174 executes the processing in sequence according to the supplied order, and will The image data (corrected image data) is stored in the storage unit 172 . Therefore, since the processing is performed continuously, the time until the processing is completed can be significantly shortened compared to the virtual construction of the calculation means, the defect determination means, the threshold value setting means, and the correction means by executing the program. In addition, if the integrated circuit of the capture card 174 is a semiconductor chip with a rewritable circuit (such as a Field Programmable Gate Array (FPGA)), it can be adapted to the measurement object, photographing means, etc. It is better to easily customize various means according to the specifications.

12‧‧‧攝影機 12‧‧‧Camera

15‧‧‧面板驅動訊號產生器 15‧‧‧Panel drive signal generator

16‧‧‧面板用電源 16‧‧‧Panel power supply

17‧‧‧影像處理裝置 17‧‧‧Image processing device

19‧‧‧輸入部 19‧‧‧Input

20‧‧‧輸出部 20‧‧‧Output

171‧‧‧處理部 171‧‧‧Processing Department

171a‧‧‧算出手段 171a‧‧‧Means of calculation

171b‧‧‧缺陷判定手段 171b‧‧‧Defect Judgment Means

171c‧‧‧閾值設定手段 171c‧‧‧Threshold setting method

171d‧‧‧修正手段 171d‧‧‧Means of Correction

172‧‧‧記憶部 172‧‧‧Memory Department

173‧‧‧外部網路部 173‧‧‧External Network Department

Claims (5)

一種影像生成裝置,係具備:載置台,係載置作為被檢查體的顯示面板;攝影手段,係與前述顯示面板相向而設置;算出手段,係根據前述攝影手段所拍攝到的影像資料,算出注目畫素的週邊畫素的亮度值的平均值作為週邊畫素平均值;缺陷判定手段,係在前述注目畫素的亮度值與所算出的前述週邊畫素平均值之差分為所設定的閾值以上時,判定為與前述注目畫素對應之前述攝影手段的攝影元件的攝影畫素發生缺陷;以及修正手段,係在前述缺陷判定手段判定與前述注目畫素對應之前述攝影手段的攝影元件的攝影畫素發生缺陷時,將前述注目畫素的亮度值修正為前述週邊畫素平均值,且將藉由前述修正得到的修正影像資料記憶至記憶部,前述缺陷判定手段係具有:閾值設定手段,係依每個前述注目畫素設定前述閾值,前述閾值設定手段係依每個前述注目畫素,將根據所算出的前述週邊畫素平均值、與預先設定之固定的閾值倍率而算出的動態的值,設定作為前述閾值,前述閾值倍率為用以區別起因於面板之亮度異常點、與起因於攝影機之亮度異常點之相對於週邊畫素平均值之注目畫素的亮度值的升高比率,該起因於面板之亮度異常點係起因於前述顯示面板的缺陷且亮度值比周圍 高者,該起因於攝影機之亮度異常點係起因於前述攝影手段的缺陷且亮度值比周圍高者。 An image generating device, comprising: a mounting table for mounting a display panel as an object to be inspected; a photographing means arranged to face the display panel; and a calculating means for calculating based on image data captured by the photographing means The average value of the brightness values of the surrounding pixels of the attention pixel is regarded as the average value of the surrounding pixels; the defect judgment means is to use the difference between the luminance value of the attention pixel and the calculated average value of the surrounding pixels as the set threshold value. In the above case, it is determined that the imaging element of the imaging device corresponding to the pixel of interest is defective; and the correction means is to determine the imaging element of the imaging device corresponding to the pixel of interest by the defect determination means. When a defect occurs in a photographic pixel, the luminance value of the attention pixel is corrected to the average value of the surrounding pixels, and the corrected image data obtained by the correction is stored in the storage unit, and the defect judgment means includes: a threshold value setting means , the threshold value is set according to each of the above-mentioned attention pixels, and the above-mentioned threshold value setting means is based on each of the above-mentioned attention pixels, based on the calculated average value of the above-mentioned surrounding pixels and the preset fixed threshold value magnification to calculate the dynamic value The value of , is set as the aforementioned threshold value, and the aforementioned threshold value magnification is the ratio of the increase of the brightness value of the attention pixel relative to the average value of the surrounding pixels to distinguish the brightness abnormal point caused by the panel and the brightness abnormal point caused by the camera. , the abnormal brightness point caused by the panel is caused by the defect of the aforementioned display panel and the brightness value is higher than the surrounding If the brightness is higher, the abnormal point of brightness caused by the camera is caused by the defect of the aforementioned photographing means and the brightness value is higher than the surrounding. 如申請專利範圍第1項所述之影像生成裝置,其中,前述閾值設定手段係依每個前述注目畫素,將所算出的前述週邊畫素平均值乘以前述閾值倍率再加上偏移值之後的值,設定作為前述閾值。 The image generating device according to claim 1, wherein the threshold setting means multiplies the calculated average value of the surrounding pixels by the threshold magnification plus an offset value for each of the attention pixels The subsequent value is set as the aforementioned threshold value. 如申請專利範圍第1項所述之影像生成裝置,其中,前述算出手段、前述缺陷判定手段、及前述修正手段係由設於前述攝影手段與前述記憶部之間之積體電路所構成。 The image generating apparatus according to claim 1, wherein the calculating means, the defect determining means, and the correcting means are constituted by integrated circuits provided between the photographing means and the memory unit. 一種影像生成方法,係修正利用載置台及攝影手段來檢查顯示面板所用的影像,該載置台係載置作為被檢查體的前述顯示面板,該攝影手段係與前述顯示面板相向而設置,該影像生成方法係具有:算出步驟,係根據前述攝影手段所拍攝到的影像資料,算出注目畫素的週邊畫素的亮度值的平均值作為週邊畫素平均值;閾值設定步驟,係依每個前述注目畫素設定前述閾值;缺陷判定步驟,係在前述注目畫素的亮度值與所算出的前述週邊畫素平均值之差分為所設定的前述閾值以上時,判定與前述注目畫素對應之前述攝影手段的攝影元件的攝影畫素發生缺陷;以及修正步驟,係在前述缺陷判定手段判定與前述注目畫素對應之前述攝影手段的攝影元件的攝影畫素發生缺陷時,將前述注目畫素的亮度值修正為前述週邊畫素平均值,且將藉由前述修正得到的修正影像資料記憶到記憶部, 前述閾值設定步驟中所設定的閾值為:依每個前述注目畫素,根據所算出的前述週邊畫素平均值、與預先設定之固定的閾值倍率而算出的動態的值,前述閾值倍率為用以區別起因於面板之亮度異常點、與起因於攝影機之亮度異常點之相對於週邊畫素平均值之注目畫素的亮度值的升高比率,該起因於面板之亮度異常點係起因於前述顯示面板的缺陷且亮度值比周圍高者,該起因於攝影機之亮度異常點係起因於前述攝影手段的缺陷且亮度值比周圍高者。 An image generation method for correcting an image used for inspecting a display panel using a mounting table and a photographing means, the mounting table placing the display panel as an object to be inspected, the photographing means being provided opposite to the display panel, and the image The generating method includes: a calculating step of calculating the average value of the brightness values of the surrounding pixels of the attention pixel based on the image data captured by the aforementioned photographing means as the surrounding pixel average value; the threshold value setting step is based on each of the aforementioned The threshold value is set for the attention pixel; in the defect determination step, when the difference between the brightness value of the attention pixel and the calculated average value of the surrounding pixels is greater than or equal to the set threshold value, the step corresponding to the attention pixel is judged. A photographing pixel of a photographing element of the photographing means is defective; and a correcting step is, when the defect determining means judges that a photographing pixel of the photographing element of the photographing means corresponding to the above-mentioned pixel of interest is defective, correcting the photographing pixel of the above-mentioned attentional pixel. The brightness value is corrected to the average value of the aforementioned peripheral pixels, and the corrected image data obtained by the aforementioned correction is stored in the memory unit, The threshold value set in the above-mentioned threshold value setting step is: a dynamic value calculated according to each of the above-mentioned attention pixels, according to the calculated average value of the above-mentioned surrounding pixels, and a preset fixed threshold value magnification, and the above-mentioned threshold value magnification is used. In order to distinguish the brightness abnormal point caused by the panel and the brightness abnormal point caused by the camera, the increase ratio of the brightness value of the attention pixel relative to the average value of the surrounding pixels, the brightness abnormal point caused by the panel is caused by the aforementioned If the display panel is defective and the brightness value is higher than the surrounding area, the abnormal brightness point caused by the camera is caused by the defect of the aforementioned photographing means and the brightness value is higher than the surrounding area. 如申請專利範圍第4項所述之影像生成方法,其中,前述閾值設定步驟係依每個前述注目畫素,將所算出的前述週邊畫素平均值乘以前述閾值倍率再加上偏移值之後的值,設定作為前述閾值。 The image generation method according to claim 4, wherein the threshold setting step is to multiply the calculated average value of the surrounding pixels by the threshold magnification plus an offset value for each of the noticeable pixels The subsequent value is set as the aforementioned threshold value.
TW108119909A 2018-06-20 2019-06-10 Image generation device and image generation method TWI758609B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018116801A JP7173763B2 (en) 2018-06-20 2018-06-20 Image generation device and image generation method
JP2018-116801 2018-06-20

Publications (2)

Publication Number Publication Date
TW202006658A TW202006658A (en) 2020-02-01
TWI758609B true TWI758609B (en) 2022-03-21

Family

ID=68920287

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108119909A TWI758609B (en) 2018-06-20 2019-06-10 Image generation device and image generation method

Country Status (3)

Country Link
JP (1) JP7173763B2 (en)
CN (1) CN110620887B (en)
TW (1) TWI758609B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021100192A1 (en) * 2019-11-22 2021-05-27 シャープ株式会社 Method for manufacturing display panel
CN112272293A (en) * 2020-10-28 2021-01-26 业成科技(成都)有限公司 Image processing method
CN112666178A (en) * 2020-12-14 2021-04-16 杭州当虹科技股份有限公司 Outdoor LED large screen dead pixel online monitoring method
CN113376162B (en) * 2021-08-12 2022-03-08 南京芯视元电子有限公司 Display chip detection device and method
CN115379199A (en) * 2022-07-13 2022-11-22 南京威派视半导体技术有限公司 Bad point detection method for image sensor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0611679A (en) * 1992-06-24 1994-01-21 Minato Electron Kk Method for inspecting and reading display element
TW200817667A (en) * 2006-10-12 2008-04-16 Yokogawa Electric Corp Defect inspection system
TWI582415B (en) * 2014-06-19 2017-05-11 斯克林集團公司 Image processing apparatus, image acquiring apparatus, image processing method, and image acquiring method

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07286938A (en) * 1994-04-18 1995-10-31 Sony Corp Method for inspecting planar display device and optical image pickup device
JPH11281527A (en) * 1998-03-31 1999-10-15 Sony Corp Method for inspecting display apparatus
US7009644B1 (en) * 1999-12-15 2006-03-07 Logitech Europe S.A. Dynamic anomalous pixel detection and correction
JP3675279B2 (en) 2000-02-15 2005-07-27 セイコーエプソン株式会社 Point defect detection apparatus and method
JP2002010274A (en) 2000-06-20 2002-01-11 Olympus Optical Co Ltd Device for processing colored images
JP2004289571A (en) * 2003-03-24 2004-10-14 Hitachi Kokusai Electric Inc Pixel defect masking method for imaging device
JP2006098152A (en) * 2004-09-29 2006-04-13 Dainippon Screen Mfg Co Ltd Apparatus and method for detecting defect
JP2006308376A (en) * 2005-04-27 2006-11-09 Tokyo Seimitsu Co Ltd Visual inspection device and visual inspection method
JP2007315967A (en) * 2006-05-26 2007-12-06 Sharp Corp Defect detection apparatus, defect detection method, defect detection program, and computer-readable recording medium stored with the progtram
JP4053571B2 (en) * 2006-07-05 2008-02-27 シャープ株式会社 Luminance calculation method, luminance calculation device, inspection device, luminance calculation program, and computer-readable recording medium
TWI437878B (en) 2007-11-20 2014-05-11 Quanta Comp Inc Method and circuit for correcting defect pixels in image signal
JP4416825B2 (en) 2008-07-02 2010-02-17 シャープ株式会社 Image inspection processing apparatus, image inspection processing method, program, and recording medium
JP4528850B2 (en) * 2008-08-26 2010-08-25 シャープ株式会社 Defect detection apparatus, defect detection method, defect detection program, and computer-readable recording medium recording the program
JPWO2010146732A1 (en) * 2009-06-18 2012-11-29 シャープ株式会社 Display panel defect inspection method and defect inspection apparatus
JP2011196685A (en) * 2010-03-17 2011-10-06 Sharp Corp Defect detection device, defect repairing device, display panel, display device, defect detection method and program
JP2014023007A (en) 2012-07-20 2014-02-03 Jvc Kenwood Corp Image signal processing device, image pickup device, and image signal processing method
WO2014017066A1 (en) 2012-07-27 2014-01-30 シャープ株式会社 Method of inspecting liquid crystal display panel, and liquid crystal display panel inspection device
JP5825278B2 (en) * 2013-02-21 2015-12-02 オムロン株式会社 Defect inspection apparatus and defect inspection method
CN105259181A (en) * 2015-10-26 2016-01-20 华为技术有限公司 Display screen display defect detecting method, device and equipment
CN107690066A (en) * 2016-08-04 2018-02-13 和硕联合科技股份有限公司 Display device dead pixel detection method and its detection device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0611679A (en) * 1992-06-24 1994-01-21 Minato Electron Kk Method for inspecting and reading display element
TW200817667A (en) * 2006-10-12 2008-04-16 Yokogawa Electric Corp Defect inspection system
TWI582415B (en) * 2014-06-19 2017-05-11 斯克林集團公司 Image processing apparatus, image acquiring apparatus, image processing method, and image acquiring method

Also Published As

Publication number Publication date
JP7173763B2 (en) 2022-11-16
CN110620887B (en) 2021-11-26
JP2019219273A (en) 2019-12-26
CN110620887A (en) 2019-12-27
TW202006658A (en) 2020-02-01

Similar Documents

Publication Publication Date Title
TWI758609B (en) Image generation device and image generation method
US7978903B2 (en) Defect detecting method and defect detecting device
JP2008064629A (en) Irregularity inspection method, manufacturing method of display panel and irregularity inspection device
JP2007172397A (en) Edge gradient detection method, stain defect detection method, edge gradient detection device and stain defect detection device
JP2007285754A (en) Flaw detection method and flaw detector
JP2009079983A (en) Point defect detecting device and point defect detecting method
JP2005172559A (en) Method and device for detecting line defect on panel
CN111385447B (en) Image pickup apparatus and driving method thereof
KR20120105149A (en) Method and apparatus for automatic optical inspection of flat panel substrate
JP2005345290A (en) Streak-like flaw detecting method and streak-like flaw detector
JP2006258713A (en) Method and apparatus for detecting stain defect
KR101068356B1 (en) Method for inspecting defect of the Pixels in display panel device by image
JP3695120B2 (en) Defect inspection method
JP6184746B2 (en) Defect detection apparatus, defect correction apparatus, and defect detection method
WO2013118304A1 (en) Inspection device, inspection method, and recording medium
JP2004219176A (en) Method and apparatus for detecting pixel irregulality failing
JP2006234414A (en) Method of inspecting image display device, its inspection apparatus and program, and recording medium
JP2006145228A (en) Unevenness defect detecting method and unevenness defect detector
JP6591176B2 (en) Method for calculating glare evaluation value of protective film and device for calculating glare evaluation value of protective film
JP2004045125A (en) Method and apparatus for inspecting defect
JP2006242584A (en) Irregularity defect detecting method and apparatus
JP4893938B2 (en) Defect inspection equipment
JPH08159984A (en) Pattern irregularity inspecting apparatus
TWI397683B (en) Optical inspection apparatus and optical inspection method
JP2000121495A (en) Screen inspection method