Detection method
By filtering and scanning the original color image data of the color filter substrate through multi-color components, ideal color image data is established, and the problem of high error detection rate of light leakage detection in the prior art is solved, and more accurate light leakage area detection is achieved.
Patent Information
- Application Number
- CN202510015775.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-09-30
- Filing Date
- 2025-01-06
- Publication Date
- 2025-04-29
AI Technical Summary
In the prior art, when a simple binary image processing method is used to automatically detect light leakage from a color filter substrate, the error detection rate is high, making it difficult to accurately detect light leakage areas.
By obtaining the original color image data of the color filter substrate, filtering and scanning different color components, ideal color image data is established, and pixel coordinates of the light leakage area are mapped to the ideal image data to determine the actual position of the light leakage area.
The accuracy of the detection method is improved, the error detection rate is reduced, the position of the light leakage area can be correctly judged, and the misjudgment problem of the existing detection method is improved.
Smart Images

Figure CN119902390A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a detection method, and in particular to a detection method suitable for detecting a color filter substrate. Background Art
[0002] The liquid crystal display panel includes an active component substrate, a color filter substrate, and a liquid crystal layer disposed between the active component substrate and the color filter substrate. Generally speaking, after the color filter substrate is produced, a detection operation is performed to determine whether the color filter substrate meets the product specifications. In the prior art, a simple binary image processing method is used to automatically detect light leakage of the color filter substrate. However, the false detection rate of the color filter substrate is high when the simple binary image processing method is used to automatically detect the color filter substrate. Summary of the invention
[0003] The invention provides a detection method, which can correctly detect the light leakage area of the color filter substrate.
[0004] The detection method of the present invention is suitable for detecting a color filter substrate. The color filter substrate includes a light-shielding pattern layer, a plurality of first color resists, a plurality of second color resists, and a plurality of third color resists. The light-shielding pattern layer defines a plurality of openings. The plurality of first color resists, the plurality of second color resists, and the plurality of third color resists are respectively arranged in the plurality of openings of the light-shielding pattern layer. The detection method includes the following steps: obtaining original color image data of a color filter substrate; filtering out a first color component in the original color image data to obtain first preliminary processed image data, wherein the first color component corresponds to the color of a plurality of first color blocks; scanning the first preliminary processed image data to obtain first mapping data corresponding to the plurality of first color blocks; filtering out a second color component in the original color image data to obtain second preliminary processed image data, wherein the second color component corresponds to the color of a plurality of second color blocks; scanning the second preliminary processed image data to obtain second mapping data corresponding to the plurality of second color blocks; filtering out a third color component in the original color image data to obtain third preliminary processed image data, wherein the third color component corresponds to the color of a plurality of third color blocks; scanning the third preliminary processed image data to obtain third mapping data corresponding to the plurality of third color blocks; establishing original position image data according to the original color image data; mapping the first mapping data, the second mapping data and the third mapping data to the original position image data to establish ideal color image data; obtaining a plurality of pixel coordinates of a light leakage area of the original color image data of the color filter substrate; and mapping the plurality of pixel coordinates of the light leakage area to the ideal color image data to determine the actual position of the light leakage area on the color filter substrate. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] Figures 1A to 1M FIG. 4 is a schematic diagram of a detection method according to an embodiment of the present invention.
[0006] Description of reference numerals:
[0007] 100: Color filter substrate
[0008] 110: Light-shielding pattern layer
[0009] 110a: Opening
[0010] 112: First light shielding part
[0011] 114: Second light shielding part
[0012] 120R: First color resistance
[0013] 120G: Second color resistance
[0014] 120B: Third color resistance
[0015] B1, B2, B3: Black area
[0016] d1: first direction
[0017] d2: second direction
[0018] IM: Color image data
[0019] im: original position image data
[0020] IM-B: Third preliminary processing image data
[0021] IM-Bc: Third preliminary image data line
[0022] IM-Br: Third Preliminary Image Data Series
[0023] IM-R: First preliminary processing of image data
[0024] IM-Rr: First preliminary image data set
[0025] IM-Rc: First preliminary image data line
[0026] IM-G: Second preliminary processing of image data
[0027] IM-Gc: Second preliminary image data line
[0028] IM-Gr: Second preliminary image data set
[0029] MP: Ideal color image data
[0030] MP': Quasi-ideal color image data
[0031] MP'-r: The first quasi-ideal image data sequence
[0032] MP-R: First Mapping Data
[0033] MP-Rc: Second reprocessed image data
[0034] MP-Rr: First reprocessed image data
[0035] MP-G: Second mapping data
[0036] MP-Gc: Fourth reprocessed image data
[0037] MP-Gr: Third reprocessed image data
[0038] MP-B: Third mapping data
[0039] MP-Bc: Sixth reprocessed image data
[0040] MP-Br: Fifth Reprocessing Image Data
[0041] MP-Bcb, MP-Bcw, MP-Brb, MP-Brw, MP-Rcb, MP-Rcw, MP-Rrb, MP-Rrw, MP-Gcb, MP-Gcw, MP-Grw, MP-Grb: Partial
[0042] R: Light leakage area
[0043] W1, W2, W3, Wb, Wr, Wg: White area
[0044] W112, W114: Width DETAILED DESCRIPTION
[0045] Reference will now be made in detail to exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Whenever possible, the same reference numerals are used in the drawings and the description to refer to the same or like parts.
[0046] It should be understood that when an element such as a layer, film, region, or substrate is referred to as being "on" or "connected to" another element, it may be directly on or connected to another element, or an intermediate element may also exist. In contrast, when an element is referred to as being "directly on" or "directly connected to" another element, there are no intermediate elements. As used herein, "connection" may refer to physical and / or electrical connection. Furthermore, "electrical connection" or "coupling" may refer to the presence of other elements between two elements.
[0047] As used herein, "about", "approximately", or "substantially" includes the stated value and the average value within an acceptable deviation range of the particular value determined by one of ordinary skill in the art, taking into account the measurement in question and the particular amount of error associated with the measurement (i.e., the limitations of the measurement system). For example, "about" can mean within one or more standard deviations of the stated value, or within ±30%, ±20%, ±10%, ±5%. Furthermore, as used herein, "about", "approximately", or "substantially" can select a more acceptable deviation range or standard deviation depending on the optical property, etching property or other property, and can apply to all properties without a single standard deviation.
[0048] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the invention belongs. It will be further understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology and the present invention, and will not be interpreted as an idealized or overly formal meaning unless explicitly defined as such herein.
[0049] Figures 1A to 1M This is a schematic diagram of a detection method according to an embodiment of the present invention. Figure 1A , the detection method is suitable for detecting a color filter substrate 100. In some embodiments, the color filter substrate 100 includes a light shielding pattern layer 110, a plurality of first color resists 120R, a plurality of second color resists 120G, and a plurality of third color resists 120B. The light shielding pattern layer 110 defines a plurality of openings 110a. The plurality of first color resists 120R, a plurality of second color resists 120G, and a plurality of third color resists 120B are respectively disposed in the plurality of openings 110a of the light shielding pattern layer 110. In some embodiments, the colors of the first color resist 120R, the second color resist 120G, and the third color resist 120B are, for example, red, green, and blue, respectively, but the present invention is not limited thereto. In some embodiments, the light shielding pattern layer 110 includes a plurality of first light shielding portions 112 and a plurality of second light shielding portions 114. The plurality of first light shielding portions 112 are arranged in a first direction d1, and the plurality of second light shielding portions 114 are arranged in a second direction d2. The first direction d1 is staggered with the second direction d2. For example, in some embodiments, the first direction d1 and the second direction d2 may be perpendicular, but the present invention is not limited thereto. In some embodiments, the width W112 of the first light shielding portion 112 may be selectively smaller than the width W114 of the second light shielding portion 114. However, the present invention is not limited thereto, and in other embodiments not shown, depending on the product type, the size relationship between the width W112 of the first light shielding portion 112 and the width W114 of the second light shielding portion 114 may be different from the size relationship between the width W112 of the first light shielding portion 112 and the width W114 of the second light shielding portion 114 described above.
[0050] Please refer to Figure 1A First, the original color image data IM of the color filter substrate 100 may be obtained. Specifically, in some embodiments, the color filter substrate 100 may be photographed by an image acquisition device to obtain the original color image data IM of the color filter substrate 100 .
[0051] Please refer to Figure 1A and Figure 1B Then, the first color component in the original color image data IM is filtered out to obtain the first preliminary processed image data IM-R, wherein the first color component corresponds to the color of the first color resist 120R. In some embodiments, the color of the first color resist 120R is, for example, red, the first color component corresponds to red, and the first preliminary processed image data IM-R is the red component filtered out from the original color image data IM.
[0052] For example, in some embodiments, the first color component in the original color image data IM is filtered out to form data corresponding to the white area W1 in the first preliminary processed image data IM-R; the remaining color components in the original color image data IM (for example, green, blue, black, white, etc.) are filtered out to form data corresponding to the black area B1 in the first preliminary processed image data IM-R.
[0053] In some embodiments, the HSV (Hue, Saturation, and Value / Brightness) color space may be used to filter out the first color component in the original color image data IM. In some embodiments, when filtering out the first color component in the original color image data IM, Gaussian blurring, erosion, dilation, and other processing may be performed to obtain the first preliminary processed image data IM-R with lower noise, but the present invention is not limited thereto.
[0054] Please refer to Figure 1A , Figure 1B , Figure 1C and Figure 1D Then, the first preliminary processed image data IM-R is scanned to obtain the first mapping data MP-R corresponding to the plurality of first color resists 120R. Figure 1B In some embodiments, the first preliminary processed image data IM-R may include a plurality of first preliminary image data columns IM-Rr and a plurality of first preliminary image data rows IM-Rc; see Figure 1B and Figure 1C , a plurality of first preliminary image data rows IM-Rr can be scanned to obtain first reprocessed image data MP-Rr (shown in Figure 1C ) ; please refer to Figure 1B and Figure 1C, multiple first preliminary image data rows IM-Rc can be scanned to obtain second reprocessed image data MP-Rc; please refer to Figure 1C and Figure 1D Then, the intersection of the first reprocessed image data MP-Rr and the second reprocessed image data MP-Rc is taken to obtain the first mapping data MP-R corresponding to the plurality of first color resists 120R (shown in FIG. Figure 1D ).
[0055] Please refer to Figure 1B and Figure 1C For example, in some embodiments, when scanning a first preliminary image data row IM-Rr, if it is found that a large portion of the data in the first preliminary image data row IM-Rr corresponds to Figure 1B When the data of the white area W1 is obtained, the part MP-Rrw of the first reprocessed image data MP-Rr corresponding to the first preliminary image data column IM-Rr is set to be the data corresponding to a whole horizontal white stripe; when scanning a first preliminary image data column IM-Rr, if it is found that a large part of the data of the first preliminary image data column IM-Rr is corresponding to Figure 1B When the data of the black area B1 is obtained, a part MP-Rrb of the first reprocessed image data MP-Rr corresponding to the first preliminary image data column IM-Rr is set as data corresponding to a whole horizontal black stripe; therefore, after completing the scanning of all the first preliminary image data columns IM-Rr, the first reprocessed image data MP-Rr corresponding to multiple horizontal black stripes and multiple horizontal white stripes can be obtained.
[0056] Please refer to Figure 1B and Figure 1C For example, in some embodiments, when scanning a first preliminary image data row IM-Rc, if it is found that a large portion of the data of the first preliminary image data row IM-Rc corresponds to Figure 1B When the data of the white area W1 is obtained, the part MP-Rcw of the second reprocessed image data MP-Rc corresponding to the first preliminary image data row IM-Rc is set to be the data corresponding to a whole vertical white stripe; when scanning a first preliminary image data row IM-Rc, if it is found that a large part of the data of the first preliminary image data row IM-Rc is corresponding to Figure 1B When the data of the black area B1 is obtained, a part MP-Rcb of the second reprocessed image data MP-Rc corresponding to the first preliminary image data row IM-Rc is set as data corresponding to a whole vertical black stripe; therefore, after completing the scanning of all the first preliminary image data rows IM-Rc, the second reprocessed image data MP-Rc corresponding to multiple vertical black stripes and multiple vertical white stripes can be obtained.
[0057] Please refer to Figure 1C and Figure 1D Then, take the intersection of the first reprocessed image data MP-Rr and the second reprocessed image data MP-Rc (i.e., take Figure 1C Multiple horizontal black stripes and Figure 1C The first mapping data MP-R corresponding to the plurality of first color resists 120R can be obtained by using the data corresponding to the mesh image composed of a plurality of vertical black stripes. Figure 1A and Figure 1D Through the above-mentioned image data processing method, the data corresponding to the plurality of white regions Wr in the first mapping data MP-R can correctly represent the plurality of ideal position information of the plurality of first color resists 120R when the color filter substrate 100 has no light leakage (ie, when the light leakage region R does not exist).
[0058] Please refer to Figure 1A and Figure 1E Then, the second color component in the original color image data IM is filtered out to obtain the second preliminary processed image data IM-G, wherein the second color component corresponds to the color of the second color resist 120G of the color filter substrate 100. In some embodiments, the color of the second color resist 120G is green, for example, the second color component corresponds to green, and the second preliminary processed image data IM-G is the green component filtered out from the original color image data IM.
[0059] For example, in some embodiments, the second color component in the original color image data IM is filtered out to form data corresponding to the white area W2 in the second preliminary processed image data IM-G, and the remaining color components (for example, red, blue, black, white, etc.) in the original color image data IM are filtered out to form data corresponding to the black area B2 in the second preliminary processed image data IM-G.
[0060] In some embodiments, the HSV (Hue, Saturation, and Value / Brightness) color space may be used to filter out the second color component in the original color image data IM. In some embodiments, when filtering out the second color component in the original color image data IM, Gaussian blurring, erosion, dilation, and other processing may be performed to obtain the second preliminary processed image data IM-G with lower noise, but the present invention is not limited thereto.
[0061] Please refer to Figure 1A , Figure 1E , Figure 1F and Figure 1G Then, the second preliminary processed image data IM-G is scanned to obtain the second mapping data MP-G corresponding to the plurality of second color resists 120G. Figure 1EIn some embodiments, the second preliminary processed image data IM-G may include a plurality of second preliminary image data columns IM-Gr and a plurality of second preliminary image data rows IM-Gc; see Figure 1E and Figure 1F , multiple second preliminary image data rows IM-Gr can be scanned to obtain third reprocessed image data MP-Gr (shown in Figure 1F ) ; please refer to Figure 1E and Figure 1F , multiple second preliminary image data rows IM-Gc can be scanned to obtain fourth reprocessed image data MP-Gc; please refer to Figure 1F and Figure 1G Then, the intersection of the third reprocessed image data MP-Gr and the fourth reprocessed image data MP-Gc is taken to obtain the second mapping data MP-G corresponding to the plurality of second color resists 120G (shown in FIG. Figure 1G ).
[0062] Please refer to Figure 1E and Figure 1F For example, in some embodiments, when scanning a second preliminary image data row IM-Gr, if it is found that a large portion of the data in the second preliminary image data row IM-Gr corresponds to Figure 1E When the data of the white area W2 is obtained, the part MP-Grw corresponding to the second preliminary image data column IM-Gr in the third reprocessed image data MP-Gr is set to be the data corresponding to a whole horizontal white stripe; when scanning a second preliminary image data column IM-Gr, if it is found that a large part of the data of the second preliminary image data column IM-Gr is corresponding to Figure 1E When the data of the black area B2 is obtained, a part MP-Grb of the third reprocessed image data MP-Gr corresponding to the second preliminary image data column IM-Gr is set as data corresponding to a whole horizontal black stripe; therefore, after completing the scanning of all the second preliminary image data columns IM-Gr, the third reprocessed image data MP-Gr corresponding to multiple horizontal black stripes and multiple horizontal white stripes can be obtained.
[0063] Please refer to Figure 1E and Figure 1F For example, in some embodiments, when scanning a second preliminary image data row IM-Gc, if it is found that a large portion of the data of the second preliminary image data row IM-Gc corresponds to Figure 1E When the data of the white area W2 is obtained, the part MP-Gcw of the fourth reprocessed image data MP-Gc corresponding to the second preliminary image data line IM-Gc is set to be the data corresponding to a whole vertical white stripe; when scanning a second preliminary image data line IM-Gc, if it is found that a large part of the data of the second preliminary image data line IM-Gc is corresponding to Figure 1E When the data of the black area B2 is obtained, a part MP-Gcb of the fourth reprocessed image data MP-Gc corresponding to the second preliminary image data row IM-Gc is set as data corresponding to a whole vertical black stripe; therefore, after completing the scanning of all the second preliminary image data rows IM-Gc, the fourth reprocessed image data MP-Gc corresponding to multiple vertical black stripes and multiple vertical white stripes can be obtained.
[0064] Please refer to Figure 1F and Figure 1G Next, take the intersection of the third reprocessed image data MP-Gr and the fourth reprocessed image data MP-Gc (i.e., take Figure 1F Multiple horizontal black stripes and Figure 1F The second mapping data MP-G corresponding to the plurality of second color resists 120G can be obtained by using the data corresponding to the mesh image composed of a plurality of vertical black stripes. Figure 1A and Figure 1G Through the above-mentioned image data processing method, the data corresponding to the plurality of white areas Wg in the second mapping data MP-G can correctly represent the plurality of ideal position information of the plurality of second color resists 120G when there is no light leakage in the color filter substrate 100.
[0065] Please refer to Figure 1A and Figure 1H Then, the third color component in the original color image data IM is filtered out to obtain the third preliminary processed image data IM-B, wherein the third color component corresponds to the color of the third color resist 120B of the color filter substrate 100. In some embodiments, the color of the third color resist 120B is, for example, blue, the third color component corresponds to blue, and the third preliminary processed image data IM-B is the blue component filtered out from the original color image data IM.
[0066] For example, in some embodiments, the third color component in the original color image data IM is filtered out to form data corresponding to the white area W3 in the third preliminary processed image data IM-B; the remaining color components in the original color image data IM (for example, green, red, black, white, etc.) are filtered out to form data corresponding to the black area B3 in the third preliminary processed image data IM-B.
[0067] In some embodiments, the HSV (Hue, Saturation, and Value / Brightness) color space may be used to filter out the third color component in the original color image data IM. In some embodiments, when filtering out the third color component in the original color image data IM, Gaussian blurring, erosion, dilation, and other processing may be performed to obtain the third preliminary processed image data IM-B with lower noise, but the present invention is not limited thereto.
[0068] Please refer to Figure 1A , Figure 1H , Fig. 1I and Figure 1J Then, the third preliminary processed image data IM-B is scanned to obtain the third mapping data MP-B corresponding to the third color resists 120B. Figure 1H In some embodiments, the third preliminary processed image data IM-B may include a plurality of third preliminary image data rows IM-Br and a plurality of third preliminary image data lines IM-Bc; see Figure 1H and Fig. 1I , a plurality of third preliminary image data rows IM-Br may be scanned to obtain fifth reprocessed image data MP-Br (shown in Fig. 1I ) ; please refer to Figure 1H and Fig. 1I , multiple third preliminary image data rows IM-Bc can be scanned to obtain sixth reprocessed image data MP-Bc; please refer to Fig. 1I and Figure 1J Then, the intersection of the fifth reprocessed image data MP-Br and the sixth reprocessed image data MP-Bc is taken to obtain the third mapping data MP-B corresponding to the plurality of third color resists 120B (shown in FIG. Figure 1J ).
[0069] Please refer to Figure 1H and Fig. 1I For example, in some embodiments, when scanning a third preliminary image data row IM-Br, if it is found that a large portion of the data of the third preliminary image data row IM-Br corresponds to Figure 1H When the data of the white area W3 is obtained, the part MP-Brw corresponding to the third preliminary image data column IM-Br in the fifth reprocessed image data MP-Br is set to be data corresponding to a whole horizontal white stripe; when scanning a third preliminary image data column IM-Br, if it is found that a large part of the data of the third preliminary image data column IM-Br is corresponding to Figure 1HWhen the data of the black area B3 is obtained, the part MP-Br corresponding to the third preliminary image data column IM-Br in the fifth reprocessed image data MP-Br is made to be the data corresponding to a whole horizontal black stripe; therefore, after completing the scanning of all the third preliminary image data columns IM-Br, the fifth reprocessed image data MP-Br corresponding to multiple horizontal black stripes and multiple horizontal white stripes can be obtained.
[0070] Please refer to Figure 1H and Fig. 1I For example, in some embodiments, when scanning a third preliminary image data row IM-Bc, if it is found that a large portion of the data of the third preliminary image data row IM-Bc corresponds to Figure 1H When the data of the white area W3 is obtained, the part MP-Bcw of the sixth reprocessed image data MP-Bc corresponding to the third preliminary image data line IM-Bc is set to be data corresponding to a whole vertical white stripe; when scanning a third preliminary image data line IM-Bc, if it is found that a large part of the data of the third preliminary image data line IM-Bc is corresponding to Figure 1H When the data of the black area B3 is obtained, a part MP-Bcb of the sixth reprocessed image data MP-Bc corresponding to the third preliminary image data row IM-Bc is set as data corresponding to a whole vertical black stripe; therefore, after completing the scanning of all the third preliminary image data rows IM-Bc, the sixth reprocessed image data MP-Bc corresponding to multiple vertical black stripes and multiple vertical white stripes can be obtained.
[0071] Please refer to Fig. 1I and Figure 1J Next, take the intersection of the fifth reprocessed image data MP-Br and the sixth reprocessed image data MP-Bc (i.e., take Fig. 1I Multiple horizontal black stripes and Fig. 1I The third mapping data MP-B corresponding to the plurality of third color resists 120B can be obtained by using the data corresponding to the mesh image composed of a plurality of vertical black stripes. Figure 1A and Figure 1G Through the above-mentioned image data processing method, the data corresponding to the plurality of white areas Wb in the third mapping data MP-B can correctly represent the plurality of ideal position information of the plurality of third color resists 120B when there is no light leakage in the color filter substrate 100.
[0072] Please refer to Figure 1A and Figure 1K Then, an original position image data im is created according to the original color image data IM. For example, in some embodiments, the data corresponding to each position of the original color image data IM can be set to 0 to form the data corresponding to each position of the original position image data im.
[0073] Please refer to Figure 1D , Figure 1G , Figure 1J , Figure 1K , Figure 1L and Figure 1M Then, the first mapping data MP-R, the second mapping data MP-G and the third mapping data MP-B are mapped to the original position image data im to establish the ideal color image data MP.
[0074] Please refer to Figure 1D , Figure 1G , Figure 1J , Figure 1K and Figure 1L Specifically, in some embodiments, the first mapping data MP-R, the second mapping data MP-G and the third mapping data MP-B may be mapped to the original position image data im to form a quasi-ideal color image data MP', wherein the quasi-ideal color image data MP' includes a plurality of first quasi-ideal image data rows MP'-r; please refer to Figure 1L and Figure 1M Next, a plurality of first quasi-ideal image data rows MP'-r are scanned to establish ideal color image data MP. Figure 1A , Figure 1L and Figure 1M In some embodiments, whether the sum of multiple data of each first quasi-ideal image data column MP'-r' is a preset value can be used to determine whether the first quasi-ideal image data column MP'-r corresponds to a first light shielding portion 112 of the color filter substrate 100, thereby completing the ideal color image data MP.
[0075] Please refer to Figure 1A , Figure 1D , Figure 1G , Figure 1J and Figure 1K and Figure 1LFor example, in some embodiments, the data of each position information of the original position image data im is 0, and the data of the multiple correct position information of the multiple first color resists 120R of the color filter substrate 100 without light leakage in the first mapping data MP-R is 2, the data of the multiple correct position information of the multiple second color resists 120G of the color filter substrate 100 without light leakage in the second mapping data MP-G is 3, and the data of the multiple correct position information of the multiple third color resists 120B of the color filter substrate without light leakage in the third mapping data MP-B is 4, and the first mapping data MP-R, the second mapping data MP-G and the third mapping data MP-B are mapped to the original position image data im (that is, the data 2 of each position of the first mapping data MP-R, the data 3 of each position of the second mapping data MP-G and the data 4 of each position of the third mapping data MP-B are added to the data 0 of the corresponding position in the original position image data im) to form a quasi-ideal color image data MP'; please refer to Figure 1L and Figure 1M Then, when scanning to a first quasi-ideal image data column MP'-r of the quasi-ideal color image data MP', if it is found that the sum of all the data of the first quasi-ideal image data column MP'-r is 0, all the data of the first quasi-ideal image data column MP'-r is changed to 1, wherein 1 represents the data of the location of the finer first light shielding portion 112, and the unchanged data 0 represents the data of the location of the coarser second light shielding portion 114.
[0076] Please refer to Figure 1A and Figure 1M Next, a plurality of pixel coordinates of the light leakage area R of the original color image data IM of the color filter substrate 100 to be detected are obtained, and the plurality of pixel coordinates of the light leakage area R are mapped to the ideal color image data MP to determine the actual position of the light leakage area R on the color filter substrate 100.
[0077] For example, in some embodiments, if after mapping the plurality of pixel coordinates of the light leakage region R to the ideal color image data MP, it is found that: at least a portion of the plurality of pixel coordinates of the light leakage region R falls in the region where the data is 2, it can be determined that at least a portion of the light leakage region R falls on the first color resist 120R of the color filter substrate 100 to be inspected; if at least a portion of the plurality of pixel coordinates of the light leakage region R falls in the region where the data is 3, it can be determined that at least a portion of the light leakage region R falls on the second color resist 120G of the color filter substrate 100 to be inspected; and if at least a portion of the plurality of pixel coordinates of the light leakage region R falls in the region where the data is 3, it can be determined that at least a portion of the light leakage region R falls on the second color resist 120G of the color filter substrate 100 to be inspected. If at least a part of the coordinates of the light leakage area R falls in the area with data 4, it can be determined that at least a part of the light leakage area R falls on the third color resist 120B of the color filter substrate 100 to be detected; if at least a part of the plurality of pixel coordinates of the light leakage area R falls in the area with data 1, it can be determined that the light leakage area R is located on the thinner first light shielding portion 112 of the color filter substrate 100 to be detected; if at least a part of the plurality of pixel coordinates of the light leakage area R falls in the area with data 0, it can be determined that at least a part of the light leakage area R is located on the thicker second light shielding portion 114 of the color filter substrate 100 to be detected.
[0078] In some embodiments, in addition to mapping a plurality of pixel coordinates of the light leakage region R of the color filter substrate 100 to the ideal color image data MP to determine the actual position of the light leakage region R on the color filter substrate 100, the plurality of pixel coordinates of the light leakage region R can also be mapped to the ideal color image data MP to calculate the actual area of the light leakage region R on the color filter substrate 100. Therefore, in addition to determining at which position of the color filter substrate 100 to be inspected the light leakage region R is located (i.e., on the first color resist 120R, the second color resist 120G, the third color resist 120B, or the light shielding pattern layer 110), it can also be determined whether to perform repair on the position according to the respective light leakage area specification values of the various positions.
[0079] For example, in some embodiments, if the light leakage region R is determined to be located in the first color resist 120R, the second color resist 120G, or the third color resist 120B, and the area of the light leakage region R is calculated to be greater than the light leakage specification value (e.g., 2000 mm2) of the first color resist 120R, the second color resist 120G, or the third color resist 120B, 2 ), the first color block 120R, the second color block 120G or the third color block 120B can be repaired; if it is determined that the light leakage area R is located in the light shielding pattern layer 110, and the area of the light leakage area R is calculated to be larger than the light leakage specification value of the light shielding pattern layer 110 (for example: 800mm 2 ), the light shielding pattern layer 110 can be repaired; however, the present invention is not limited thereto.
[0080] In summary, in the detection method of one embodiment of the present invention, an ideal color image data can be established through a special image processing method. The multiple pixel coordinates of the light leakage area of the color filter substrate to be detected are mapped to the ideal color image data. Therefore, it is possible to correctly determine where the light leakage area falls on the color filter substrate, thereby improving the misjudgment problem of the existing detection method.
Claims
1. A detection method, suitable for detecting a color filter substrate, the color filter substrate comprising a light shielding pattern layer, a plurality of first color resists, a plurality of second color resists and a plurality of third color resists, the light shielding pattern layer defining a plurality of openings, the first color resists, the second color resists and the third color resists being respectively disposed in the openings of the light shielding pattern layer, the detection method comprising: Obtaining original color image data of the color filter substrate; Filtering out a first color component in the original color image data to obtain a first preliminary processed image data, wherein the first color component corresponds to the color of the first color resists; Scanning the first preliminary processed image data to obtain a first mapping data corresponding to the first color resists; Filtering out a second color component in the original color image data to obtain a second preliminary processed image data, wherein the second color component corresponds to the color of the second color resists; Scanning the second preliminary processed image data to obtain a second mapping data corresponding to the second color resists; Filtering out a third color component in the original color image data to obtain a third preliminary processed image data, wherein the third color component corresponds to the color of the third color resists; Scanning the third initially processed image data to obtain a third mapping data corresponding to the third color resists; Creating an original position image data according to the original color image data; Mapping the first mapping data, the second mapping data and the third mapping data to the original position image data to establish an ideal color image data; Obtaining a plurality of pixel coordinates of a light leakage area of the original color image data of the color filter substrate; and The pixel coordinates of the light leakage area are mapped to the ideal color image data to determine the actual position of the light leakage area on the color filter substrate. 2 . The detection method as claimed in claim 1 , wherein the first color component and the second color component in the original color image data are filtered out respectively using an HSV color space.
3. The detection method as claimed in claim 1 , wherein the first preliminary processed image data comprises a plurality of first preliminary image data rows and a plurality of first preliminary image data columns, and the step of scanning the first preliminary processed image data to obtain the first mapping data corresponding to the first color resists comprises: Scanning the first preliminary image data rows to obtain a first reprocessed image data; Scanning the first preliminary image data rows to obtain a second reprocessed image data; as well as The intersection of the first reprocessed image data and the second reprocessed image data is taken to obtain the first mapping data corresponding to the first color resists.
4. The detection method as claimed in claim 1, wherein the color filter substrate further comprises a plurality of third color resists, the first color resists, the second color resists and the third color resists are respectively disposed in the openings of the light shielding pattern layer, and the detection method further comprises: Filtering out a third color component in the original color image data to obtain a third preliminary processed image data, wherein the third color component corresponds to the color of the third color resists; Scanning the third initially processed image data to obtain a third mapping data corresponding to the third color resists; The step of mapping the first mapping data and the second mapping data to the original position image data to establish the ideal color image data includes: mapping the first mapping data, the second mapping data and the third mapping data to the original position image data to establish the ideal color image data.
5. The detection method as claimed in claim 4, wherein the light shielding pattern layer comprises a plurality of first light shielding portions and a plurality of second light shielding portions, the first light shielding portions are arranged in a first direction, the second light shielding portions are arranged in a second direction, and the first direction is staggered with the second direction; the step of establishing the ideal color image data comprises: The first mapping data, the second mapping data and the third mapping data are mapped to the original position image data to form a quasi-ideal color image data, wherein the quasi-ideal color image data includes a plurality of first quasi-ideal image data rows; and The first quasi-ideal image data rows are scanned to establish the ideal color image data. 6 . The detection method as claimed in claim 5 , wherein whether the quasi-ideal image data row corresponds to the first light shielding portion is determined based on whether the sum of a plurality of data of each quasi-ideal image data row is a preset value.
7. The detection method according to claim 1, further comprising: The pixel coordinates of the light leakage area are mapped to the ideal color image data to calculate the actual area of the light leakage area on the color filter substrate.