TWI524308B - Method and device for detecting grayscale image - Google Patents
Method and device for detecting grayscale image Download PDFInfo
- Publication number
- TWI524308B TWI524308B TW104124269A TW104124269A TWI524308B TW I524308 B TWI524308 B TW I524308B TW 104124269 A TW104124269 A TW 104124269A TW 104124269 A TW104124269 A TW 104124269A TW I524308 B TWI524308 B TW I524308B
- Authority
- TW
- Taiwan
- Prior art keywords
- grayscale
- picture
- gray
- image
- screen
- Prior art date
Links
Landscapes
- Image Processing (AREA)
- Digital Computer Display Output (AREA)
- Studio Devices (AREA)
Description
本發明涉及一種灰階畫面檢測方法及檢測裝置,尤其涉及一種可以自行判斷畫面顯示品質的灰階畫面檢測方法及檢測裝置。 The invention relates to a grayscale screen detection method and a detection device, in particular to a grayscale screen detection method and a detection device capable of determining the display quality of a screen by itself.
電子裝置的生產過程中,需要對電子裝置的畫面顯示品質進行檢測,目前大多數的企業在生產電子裝置時都是通過人工的方法來檢測電子裝置的畫面顯示品質,通常是將電子裝置的投影畫面調到某一個特定的畫面,通過肉眼判斷該畫面灰階的層級分割是否清晰,以清晰程度來判斷畫面是否良好。 In the production process of electronic devices, it is necessary to detect the image display quality of the electronic device. At present, most enterprises use artificial methods to detect the image display quality of the electronic device when producing the electronic device, usually the projection of the electronic device. The picture is adjusted to a specific picture, and it is judged by the naked eye whether the level division of the gray level of the picture is clear, and whether the picture is good or not is judged by the degree of clarity.
但是人工判斷的方法存在主觀性較強且沒有一致的標準的問題,同時還容易出現誤判,並且目檢時間過長,造成生產效率的降低。 However, the method of artificial judgment has the problem of strong subjectivity and no consistent standard, and it is also prone to misjudgment, and the visual inspection time is too long, resulting in a decrease in production efficiency.
因此,本發明的目的之一在於提供一種電子裝置灰階畫面檢測方法及檢測裝置,以解決現有人工檢測方法主觀性強且目檢時間過長等的技術問題。 Therefore, an object of the present invention is to provide a grayscale screen detection method and a detection apparatus for an electronic device, which solve the technical problem that the prior manual detection method is subjective and the visual inspection time is too long.
本發明提供一種電子裝置的灰階畫面檢測方法,包含以下步驟:將標準檢測畫面輸入至該電子裝置,其中該標準檢測畫面具有標準灰階階數;根據該標準檢測畫面的信號,該電子裝置在其成像螢幕上產生灰 階畫面,其中該灰階畫面依據灰階亮暗程度分割為多個灰階範圍;在多個拍攝條件下分別採集該成像螢幕上的灰階畫面,其中該多個拍攝條件的設定分別依據該多個灰階範圍採集到的灰階畫面是否最清晰;將採集到的多個灰階畫面合成;以及將該合成的灰階畫面的第一灰階階數與該標準灰階階數比對,並根據比對結果判斷該電子裝置的畫面顯示品質是否合格。 The present invention provides a grayscale screen detection method for an electronic device, comprising the steps of: inputting a standard detection screen to the electronic device, wherein the standard detection screen has a standard grayscale order; and detecting the signal of the screen according to the standard, the electronic device Produce ash on its imaging screen a grayscale image, wherein the grayscale image is divided into a plurality of grayscale ranges according to a grayscale brightness; the grayscale image on the imaging screen is separately collected under a plurality of shooting conditions, wherein the plurality of shooting conditions are respectively set according to the Whether the grayscale image collected by the plurality of grayscale ranges is the clearest; synthesizing the plurality of grayscale images collected; and comparing the first grayscale order of the synthesized grayscale image with the standard grayscale order And judging whether the screen display quality of the electronic device is qualified according to the comparison result.
作為進一步可選的技術方案,在該標準檢測畫面的輸入步驟前還包括產生該標準檢測畫面的信號的步驟。 As a further optional technical solution, the step of generating a signal of the standard detection screen is further included before the input step of the standard detection screen.
作為進一步可選的技術方案,顯示于該成像螢幕上的灰階畫面具有複數個灰階範圍,該灰階畫面的獲取包括採集每個灰階範圍的畫面得到複數個灰階畫面,並合成該複數個灰階畫面獲得合成灰階畫面。 As a further optional technical solution, the grayscale picture displayed on the imaging screen has a plurality of grayscale ranges, and the acquiring of the grayscale image comprises acquiring a picture of each grayscale range to obtain a plurality of grayscale images, and synthesizing the A plurality of grayscale pictures obtain a synthetic grayscale picture.
作為進一步可選的技術方案,該複數個灰階畫面分別具有不同的曝光時間。 As a further optional technical solution, the plurality of gray scale pictures respectively have different exposure times.
作為進一步可選的技術方案,在灰階畫面的獲取步驟與灰階階數的比對步驟之間還包括灰階階數的獲取。 As a further optional technical solution, the acquisition of the gray level order is further included between the obtaining step of the gray scale picture and the comparison step of the gray level order.
作為進一步可選的技術方案,該灰階畫面的灰階階數為該灰階畫面上被劃分的複數個區域的個數,其中該複數個區域中的相鄰區域的灰階值的差值為預定階躍值。 As a further optional technical solution, the grayscale order of the grayscale picture is the number of the plurality of regions divided on the grayscale picture, wherein the difference of the grayscale values of the adjacent regions in the plurality of regions Is the predetermined step value.
本發明還提供一種灰階畫面檢測裝置,該裝置包含:視訊訊號發生裝置,用以產生標準檢測畫面的信號,其中該標準檢測畫面具有標準灰階階數;電子裝置,電性耦接該視訊訊號發生裝置,該電子裝置用以接收該標準檢測畫面的該信號並根據該信號產生灰階畫面;成像螢幕,用以將該灰階畫面成像于該成像螢幕上,其中該灰階畫面依據灰階亮暗程度 分割為多個灰階範圍;圖像獲取裝置,用以在多個拍攝條件下分別採集該成像螢幕上的灰階畫面,其中該多個拍攝條件的設定是分別依據該多個灰階範圍採集到的灰階畫面是否最清晰;以及處理單元,電性耦接該圖像獲取裝置,該處理單元將採集的多個灰階畫面合成,並將該合成的灰階畫面的第一灰階階數與該標準檢測畫面的標準灰階階數進行比對,根據比對結果判斷該電子裝置的畫面顯示品質是否合格。 The present invention also provides a grayscale picture detecting device, the device comprising: a video signal generating device for generating a signal of a standard detection picture, wherein the standard detection picture has a standard gray level order; and the electronic device is electrically coupled to the video signal a signal generating device, the electronic device is configured to receive the signal of the standard detection screen and generate a grayscale image according to the signal; and an imaging screen for imaging the grayscale image on the imaging screen, wherein the grayscale image is grayed out according to the grayscale Degree of darkness Dividing into a plurality of grayscale ranges; the image acquisition device is configured to separately collect grayscale images on the imaging screen under a plurality of shooting conditions, wherein the plurality of shooting conditions are set according to the plurality of grayscale ranges respectively Whether the grayscale picture is the clearest; and the processing unit is electrically coupled to the image acquiring device, the processing unit synthesizes the collected grayscale images, and the first grayscale step of the synthesized grayscale image The number is compared with the standard gray scale order of the standard detection screen, and it is judged whether the screen display quality of the electronic device is qualified according to the comparison result.
作為進一步可選的技術方案,顯示于該成像螢幕上的灰階畫面具有複數個灰階範圍,該灰階畫面的獲取包括採集每個灰階範圍的畫面得到複數個灰階畫面,並合成該複數個灰階畫面獲得合成灰階畫面。 As a further optional technical solution, the grayscale picture displayed on the imaging screen has a plurality of grayscale ranges, and the acquiring of the grayscale image comprises acquiring a picture of each grayscale range to obtain a plurality of grayscale images, and synthesizing the A plurality of grayscale pictures obtain a synthetic grayscale picture.
作為進一步可選的技術方案,該複數個灰階畫面分別具有不同的曝光時間。 As a further optional technical solution, the plurality of gray scale pictures respectively have different exposure times.
作為進一步可選的技術方案,該灰階畫面的灰階階數為該灰階畫面上被劃分的複數個區域的個數,其中該複數個區域中的相鄰區域的灰階值的差值為預定階躍值。 As a further optional technical solution, the grayscale order of the grayscale picture is the number of the plurality of regions divided on the grayscale picture, wherein the difference of the grayscale values of the adjacent regions in the plurality of regions Is the predetermined step value.
與現有技術相比,本發明通過處理單元對電子裝置產生的灰階畫面進行灰階階數的獲取及比對,提高了檢測的準確度並提高了檢測效率。 Compared with the prior art, the present invention performs the grayscale order acquisition and comparison on the grayscale image generated by the electronic device by the processing unit, thereby improving the detection accuracy and improving the detection efficiency.
100‧‧‧灰階檢測裝置 100‧‧‧ Gray scale detection device
10‧‧‧視訊訊號發生裝置 10‧‧‧Video signal generating device
20‧‧‧電子裝置 20‧‧‧Electronic devices
30‧‧‧成像螢幕 30‧‧‧ imaging screen
40‧‧‧圖像獲取裝置 40‧‧‧Image acquisition device
50‧‧‧處理單元 50‧‧‧Processing unit
P1、P2‧‧‧灰階畫面 P1, P2‧‧‧ grayscale screen
P‧‧‧合成灰階畫面 P‧‧‧Synthetic grayscale screen
A‧‧‧上半部分 Upper part of A‧‧‧
B‧‧‧下半部分 B‧‧‧ lower half
A1、A2、A3、A4、A5、D1、D2‧‧‧區域 A1, A2, A3, A4, A5, D1, D2‧‧‧ areas
圖1為本發明一實施例的灰階畫面檢測裝置的示意圖。 FIG. 1 is a schematic diagram of a gray scale picture detecting apparatus according to an embodiment of the present invention.
圖2為本發明一實施例中暗階灰階畫面示意圖。 FIG. 2 is a schematic diagram of a dark gray scale picture according to an embodiment of the present invention.
圖3為本發明一實施例中亮階灰階畫面示意圖。 FIG. 3 is a schematic diagram of a bright grayscale screen according to an embodiment of the present invention.
圖4為本發明一實施例中合成灰階畫面的示意圖。 4 is a schematic diagram of a synthetic grayscale picture in accordance with an embodiment of the present invention.
圖5為本發明一實施例中標準灰階畫面的示意圖。 FIG. 5 is a schematic diagram of a standard grayscale picture according to an embodiment of the present invention.
為使對本發明的目的、構造、特徵、及其功能有進一步的瞭解,茲配合實施例詳細說明如下。 In order to further understand the objects, structures, features, and functions of the present invention, the embodiments are described in detail below.
請參考圖1,圖1為本發明一實施例的灰階畫面檢測裝置的示意圖。本實施例中,灰階檢測裝置100包含視訊訊號發生裝置10,電子裝置20,成像螢幕30,圖像獲取裝置40以及處理單元50。視訊訊號發生裝置10用以產生標準檢測畫面的信號,其中標準檢測畫面具有標準灰階階數。電子裝置20可以是投影裝置或者顯示裝置,成像螢幕30相應的可以是幕布或顯示裝置的顯示幕,於本實施例中,電子裝置20以投影裝置為例,成像螢幕30相應的以幕布為例來進行說明。但不限於此,電子裝置20還可以是其它具有畫面顯示功能的電子裝置。電子裝置20電性耦接視訊訊號發生裝置10,電子裝置20用以接收上述產生標準檢測畫面的信號並根據所述信號產生灰階畫面,而成像螢幕30則用以將灰階畫面成像于成像螢幕30上,其中灰階畫面是依據灰階亮暗程度分割為多個灰階範圍。圖像獲取裝置40用以在多個拍攝條件下分別採集成像螢幕30上的灰階畫面,其中所述多個拍攝條件的設定是分別依據上述多個灰階範圍採集到的灰階畫面是否最清晰,圖像獲取裝置40例如可以是攝像頭,但不限於此。處理單元50電性耦接圖像獲取裝置40,處理單元50將採集的多個灰階畫面合成,並根據上述灰階畫面計算灰階畫面的第一灰階階數N1,並將第一灰階階數N1與標準檢測畫面的標準灰階階數N進行比對,根據比對結果判斷電子裝置 20的畫面顯示品質是否合格。 Please refer to FIG. 1. FIG. 1 is a schematic diagram of a grayscale picture detecting apparatus according to an embodiment of the present invention. In this embodiment, the grayscale detecting device 100 includes a video signal generating device 10, an electronic device 20, an imaging screen 30, an image acquiring device 40, and a processing unit 50. The video signal generating device 10 is configured to generate a signal of a standard detection picture, wherein the standard detection picture has a standard gray scale order. The electronic device 20 may be a projection device or a display device. The imaging screen 30 may be a display screen of a screen or a display device. In the embodiment, the electronic device 20 takes a projection device as an example, and the imaging screen 30 corresponds to a curtain. To explain. However, the electronic device 20 may be other electronic devices having a screen display function. The electronic device 20 is electrically coupled to the video signal generating device 10, and the electronic device 20 is configured to receive the signal for generating the standard detection picture and generate a grayscale image according to the signal, and the imaging screen 30 is used to image the grayscale image to the imaging device. On the screen 30, the grayscale picture is divided into a plurality of grayscale ranges according to the degree of grayscale brightness. The image acquiring device 40 is configured to separately collect grayscale images on the imaging screen 30 under a plurality of shooting conditions, wherein the plurality of shooting conditions are set according to whether the grayscale images collected according to the plurality of grayscale ranges respectively are the most Clearly, the image acquisition device 40 may be, for example, a camera, but is not limited thereto. The processing unit 50 is electrically coupled to the image acquiring device 40, and the processing unit 50 synthesizes the collected grayscale images, and calculates the first grayscale order N1 of the grayscale image according to the grayscale image, and the first grayscale The order number N1 is compared with the standard gray scale order N of the standard detection picture, and the electronic device is judged according to the comparison result The screen of 20 shows whether the quality is acceptable.
本發明還提供一種利用上述灰階畫面檢測裝置進行灰階畫面檢測的方法,該方法具體包括以下步驟: The present invention also provides a method for performing grayscale image detection by using the grayscale image detecting device, and the method specifically includes the following steps:
S1,產生標準檢測畫面的信號。 S1, a signal that produces a standard detection picture.
視訊訊號發生裝置10根據待檢測電子裝置20類型或性能參數等產生其對應的標準檢測畫面的信號。 The video signal generating device 10 generates a signal of its corresponding standard detection picture according to the type of the electronic device 20 to be detected or the performance parameter or the like.
S2,標準檢測畫面的輸入。 S2, the input of the standard detection screen.
視訊訊號發生裝置10將產生的標準檢測畫面的信號輸入至電子裝置20,例如將標準檢測畫面的信號輸入值投影裝置或顯示裝置等,其中標準檢測畫面具有標準灰階階數。 The video signal generating device 10 inputs the generated signal of the standard detection screen to the electronic device 20, for example, the signal of the standard detection screen is input to a value projection device, a display device or the like, wherein the standard detection screen has a standard gray scale order.
S3,灰階畫面的產生。 S3, the generation of grayscale pictures.
電子裝置20根據接收到的標準檢測畫面的信號產生灰階畫面,並將其顯示于成像螢幕30上,例如可將灰階畫面顯示於幕布或者顯示裝置的顯示幕上,其中灰階畫面依據灰階亮暗程度分割為多個灰階範圍。 The electronic device 20 generates a grayscale image according to the received signal of the standard detection screen, and displays it on the imaging screen 30. For example, the grayscale image can be displayed on the display screen of the screen or the display device, wherein the grayscale image is grayed out according to the grayscale The degree of darkness is divided into multiple grayscale ranges.
S4,灰階畫面的獲取。 S4, the acquisition of the grayscale picture.
由圖像獲取裝置40在多個拍攝條件下分別採集成像螢幕30上的灰階畫面,其中多個拍攝條件的設定分別依據多個灰階範圍採集到的灰階畫面是否最清晰。通常情況下使用的圖像獲取裝置40例如為照相機,其配置一般較低,而灰階畫面又通常具有複數個灰階範圍,普通相機很難一次拍攝即將灰階畫面上的各個灰階範圍清晰地顯示出來,因此採集灰階畫面時每次僅採集一張會造成待測灰階畫面的失真,進而造成檢測失誤;而使用配置較高的圖像獲取裝置40又會帶來生產成本的提高。于本發明的 一實施例中,為兼顧生產成本與檢測的準確性,本發明採用在多個拍攝條件下分別採集成像螢幕上的灰階畫面的方法來克服該技術問題,具體地,圖像獲取裝置40可以針對灰階畫面上不同的灰階範圍分別擷取畫面,並在擷取任一灰階範圍的灰階畫面時確保該灰階畫面為最清晰;採集每個灰階範圍的畫面得到複數個灰階畫面,並合成複數個灰階畫面獲得合成灰階畫面,以合成灰階畫面進行灰階檢測,以提高檢測的準確性。 The grayscale image on the imaging screen 30 is separately acquired by the image acquiring device 40 under a plurality of shooting conditions, wherein the setting of the plurality of shooting conditions is based on whether the grayscale image collected by the plurality of grayscale ranges is the clearest. The image acquisition device 40 used in general is, for example, a camera, and its configuration is generally low, and the grayscale image usually has a plurality of grayscale ranges. It is difficult for a normal camera to capture a clear grayscale range on a grayscale image at a time. The display is displayed, so that only one acquisition at a time when collecting the grayscale image will cause distortion of the grayscale image to be tested, thereby causing detection errors; and using the image acquisition device 40 with higher configuration will bring about an increase in production cost. . In the invention In an embodiment, in order to balance the production cost and the accuracy of the detection, the present invention overcomes the technical problem by separately acquiring a grayscale image on the imaging screen under a plurality of shooting conditions. Specifically, the image acquiring device 40 may The screen is captured for different grayscale ranges on the grayscale image, and the grayscale image is determined to be the clearest when capturing grayscale images of any grayscale range; the images of each grayscale range are collected to obtain a plurality of grayscales. The order picture, and a plurality of gray-scale pictures are synthesized to obtain a synthetic gray-scale picture, and the gray-scale picture is synthesized by the gray-scale picture to improve the detection accuracy.
如圖2至圖4所示,圖2為本發明一實施例中暗階灰階畫面示意圖;圖3為本發明一實施例中亮階灰階畫面示意圖;圖4為本發明一實施例中合成灰階畫面的示意圖。於本實施例中,將灰階畫面分為暗階與亮階兩個灰階範圍,針對暗階的畫面進行採集,獲得圖如2所示的灰階畫面P1,為了使獲得的暗階的畫面顯示的較為清晰,通常要求圖像獲取裝置40的曝光時間較長,再針對亮階的畫面進行採集,可得到如圖3所示的灰階畫面P2,而此時為了使獲得的亮階的畫面顯示的較為清晰要求圖像獲取裝置40的曝光時間較短,之後再將上述的灰階畫面P1與灰階畫面P2合成為一張如圖4所示的合成灰階畫面P。 As shown in FIG. 2 to FIG. 4, FIG. 2 is a schematic diagram of a dark grayscale screen according to an embodiment of the present invention; FIG. 3 is a schematic diagram of a grayscale grayscale screen according to an embodiment of the present invention; A schematic diagram of a synthetic grayscale picture. In this embodiment, the gray scale picture is divided into two gray scale ranges of dark order and bright level, and the dark level picture is collected, and the gray scale picture P1 shown in FIG. 2 is obtained, in order to obtain the dark level image. The screen display is relatively clear. Generally, the exposure time of the image acquisition device 40 is required to be long, and then the image is acquired for the brighter image, and the grayscale image P2 shown in FIG. 3 can be obtained. The clearness of the screen display requires that the exposure time of the image acquisition device 40 is short, and then the grayscale image P1 and the grayscale image P2 described above are combined into a composite grayscale image P as shown in FIG.
於本實施例中僅將成像螢幕30上的灰階畫面分為亮階和暗階兩個灰階範圍,再分別採集灰階畫面P1與灰階畫面P2進行合成,於其它實施例中,可以將成像螢幕30上的灰階畫面分為三個或者三個以上的灰階範圍,得到三個或更多的灰階畫面,之後進行合成得到合成灰階畫面,實際操作時視圖像獲取裝置40單次拍攝能夠獲取的較為清晰的灰階範圍的大小以及成像螢幕30上的灰階畫面的灰階範圍的大小等情況而定。 In this embodiment, only the grayscale image on the imaging screen 30 is divided into two grayscale ranges of bright and dark, and the grayscale image P1 and the grayscale image P2 are separately collected for synthesis. In other embodiments, Dividing the grayscale image on the imaging screen 30 into three or more grayscale ranges to obtain three or more grayscale images, and then synthesizing to obtain a synthetic grayscale image, and the actual operation time visual image acquiring device 40 The size of the clearer grayscale range that can be obtained in a single shot and the size of the grayscale range of the grayscale image on the imaging screen 30 are determined.
於一具體實施例中,設定圖像獲取裝置40的曝光時間可以 獲得某一灰階範圍的較為清晰的灰階畫面,因此複數個灰階畫面分別具有不同的曝光時間。 In a specific embodiment, setting the exposure time of the image acquisition device 40 may A clear grayscale image of a grayscale range is obtained, so that multiple grayscale images have different exposure times.
於一具體實施例中,合成複數個灰階畫面的方法是根據畫面合成軟體將複數個灰階畫面重疊為一個灰階畫面而獲得合成灰階畫面,如將灰階畫面P1與灰階畫面P2重疊為合成灰階畫面P。于其它實施例中,合成灰階畫面的方法並不限於此,本領域人員可以根據實際需要選擇合成的方法。 In a specific embodiment, the method for synthesizing a plurality of grayscale pictures is to obtain a grayscale picture by superimposing a plurality of grayscale pictures into a grayscale picture according to the picture synthesis software, such as grayscale picture P1 and grayscale picture P2. The overlap is a synthetic grayscale picture P. In other embodiments, the method for synthesizing grayscale pictures is not limited thereto, and those skilled in the art may select a method of synthesis according to actual needs.
S5,灰階畫面的灰階階數的獲取。 S5, the acquisition of the gray level order of the gray scale picture.
因為投影機投影出的灰階畫面比較大,通常灰階畫面P1包含兩個部分,如圖2所示,分別為上半部分A與下半部分B,上半部分A沿圖中箭頭方向亮度逐漸增大,而下半部分B沿圖中箭頭方向亮度逐漸減小。如此即可避免只有A部分畫面,也即整個灰階畫面只能呈現左暗右亮的特徵,對於左亮右暗的特徵則不能完全呈現及檢測的問題,而將整個灰階畫面用A、B兩部分來進行畫面呈現並檢測,則能更好的達到測試效果,進而能夠提升產品的品質。將灰階畫面P1的上半部分A與下半部分B分別劃分為複數個區域,並且相鄰兩個區域的灰階值的差值為預定階躍值,如上半部分A所示,區域A3相對其相鄰的區域A1的灰階階躍值超過一定閾值時,則認為區域A3相對區域A1為新的一階,類似地,區域A5相對區域A3為新的一階,區域A2相對區域A4為新的一階,即相鄰兩個區域的灰階值的差值為預定階躍值,因此灰階畫面P1的灰階階數等於上述劃分的複數個區域的個數。由圖2可以看出區域A1與區域A2具有相對較大的面積,而位於區域A1與區域A2之間的各個區域則面積相對較小,這是由 電子裝置20的畫面顯示品質及圖像獲取裝置40的曝光時間的共同影響而導致的,由於區域A1較暗,而區域A2又較亮,因此這兩個區域的灰階變化不大,因此區域面積就相對較大。類似地,下半部分B也具有類似的區域劃分。於其它實施例中,是否將灰階畫面P1分成上半部分A及下半部分B視灰階檢測的實際需要而定,可以不劃分或者劃分為更多部分。 Because the grayscale picture projected by the projector is relatively large, usually the grayscale picture P1 contains two parts, as shown in Fig. 2, which are the upper part A and the lower part B respectively, and the upper part A is in the direction of the arrow in the figure. Gradually increasing, while the lower half B gradually decreases in brightness in the direction of the arrow in the figure. In this way, only the part A picture can be avoided, that is, the whole gray scale picture can only display the left dark right feature, and the left bright right feature cannot be completely presented and detected, and the whole gray scale picture is used with A, When the two parts of B are used for image presentation and detection, the test results can be better achieved, and the quality of the product can be improved. The upper half A and the lower half B of the grayscale picture P1 are respectively divided into a plurality of regions, and the difference of the grayscale values of the adjacent two regions is a predetermined step value, as shown in the above half A, the region A3 When the grayscale step value of the adjacent area A1 exceeds a certain threshold, the area A3 is considered to be a new first order relative to the area A1. Similarly, the area A5 is a new first order relative to the area A3, and the area A2 is opposite to the area A4. For the new first order, that is, the difference between the grayscale values of the adjacent two regions is a predetermined step value, so the grayscale order of the grayscale picture P1 is equal to the number of the plurality of regions divided above. It can be seen from Fig. 2 that the area A1 and the area A2 have a relatively large area, and the areas located between the area A1 and the area A2 have a relatively small area, which is The screen display quality of the electronic device 20 and the exposure time of the image acquisition device 40 have a common influence. Since the area A1 is dark and the area A2 is brighter, the gray levels of the two areas do not change much, so the area The area is relatively large. Similarly, the lower half B also has a similar area division. In other embodiments, whether to divide the grayscale picture P1 into the upper half A and the lower half B depends on the actual needs of the grayscale detection, and may not be divided or divided into more parts.
相同地,將曝光時間較短的灰階畫面P2分為上半部分A與下半部分B,上半部分A沿圖中箭頭方向亮度逐漸增大,而下半部分B沿圖中箭頭方向亮度逐漸減小。之後對上半部分A與下半部分B分別進行類似上述的區域劃分,如圖3所示,從而得到灰階畫面P2的灰階階數。 Similarly, the grayscale picture P2 with a shorter exposure time is divided into an upper half A and a lower half B, the upper half A gradually increases in brightness in the direction of the arrow in the figure, and the lower half B is bright in the direction of the arrow in the figure. slowing shrieking. Then, the upper half A and the lower half B are respectively subjected to the above-described area division, as shown in FIG. 3, thereby obtaining the gray scale order of the gray scale picture P2.
利用同樣的方法,可以得到合成灰階畫面P的灰階階數,即第一灰階階數N1,如圖4所示。再請參考圖5,圖5為本發明一實施例中標準灰階畫面的示意圖。標準灰階畫面仍然被分為上半部分A與下半部分B,且上半部分A沿圖中箭頭方向亮度逐漸增大,而下半部分B沿圖中箭頭方向亮度逐漸減小,再以相同的方法得到圖5所示的標準灰階畫面的標準灰階階數N0。 By using the same method, the gray scale order of the synthesized gray scale picture P, that is, the first gray scale order N1 can be obtained, as shown in FIG. Referring to FIG. 5 again, FIG. 5 is a schematic diagram of a standard grayscale picture according to an embodiment of the present invention. The standard grayscale picture is still divided into the upper half A and the lower half B, and the upper half A gradually increases in brightness along the direction of the arrow in the figure, while the lower half B gradually decreases in brightness in the direction of the arrow in the figure, and then The same method yields the standard grayscale order N0 of the standard grayscale picture shown in FIG.
S6,灰階階數的比對。 S6, the alignment of the gray scale orders.
將合成灰階畫面P的第一灰階階數N1與標準檢測畫面的標準灰階階數N0進行比對。第一灰階階數N1與標準灰階階數N0一致,則判定電子裝置20的畫面顯示品質合格;若第一灰階階數N1與標準灰階階數N0不一致,則判定電子裝置20的畫面顯示品質不合格。 The first gray scale order N1 of the synthesized gray scale picture P is compared with the standard gray scale order N0 of the standard detection picture. If the first gray scale order N1 is consistent with the standard gray scale order N0, it is determined that the screen display quality of the electronic device 20 is qualified; if the first gray scale order N1 does not coincide with the standard gray scale order N0, determining the electronic device 20 The screen display quality is unqualified.
於本實施例中,請結合參考圖4與圖5,圖4中合成灰階畫面P的區域劃分與圖5中標準灰階畫面的區域劃分除圖中虛線框圈出部分 D1和D2有所不同,其餘部分均相同,可見標準灰階畫面的標準灰階階數N0與合成灰階畫面P的第一灰階階數N1並不相等,N0大於N1,所以能夠判斷電子裝置20的畫面顯示品質不合格。於其它實施例中,若標準灰階畫面的標準灰階階數N0與合成灰階畫面P的第一灰階階數N1相等,即N0等於N1,則可判斷電子裝置20的畫面顯示品質合格。 In this embodiment, please refer to FIG. 4 and FIG. 5 together, the area division of the synthesized gray scale picture P in FIG. 4 and the area division of the standard gray scale picture in FIG. 5 except for the dotted line frame in the figure. D1 and D2 are different, and the rest are the same. It can be seen that the standard grayscale order N0 of the standard grayscale picture is not equal to the first grayscale order N1 of the synthetic grayscale picture P, and N0 is greater than N1, so the electronic can be judged. The screen display quality of the device 20 is unacceptable. In other embodiments, if the standard grayscale order N0 of the standard grayscale picture is equal to the first grayscale order N1 of the synthesized grayscale picture P, that is, N0 is equal to N1, it can be determined that the picture display quality of the electronic device 20 is qualified. .
於實際操作中,亦可以不先行計算不同曝光時間的複數個灰階畫面的灰階階數,而在合成複數個灰階畫面後直接計算合成灰階畫面的第一灰階階數N1,從而提高灰階畫面的檢測效率。 In actual operation, the gray scale order of the plurality of gray scale pictures of different exposure times may not be calculated first, and the first gray scale order N1 of the synthesized gray scale picture is directly calculated after synthesizing the plurality of gray scale pictures, thereby Improve the detection efficiency of grayscale images.
綜上所述,本發明通過處理單元對電子裝置產生的灰階畫面進行灰階階數的獲取及比對,提高了檢測的準確度並提高了檢測效率。 In summary, the present invention performs grayscale order acquisition and comparison on the grayscale image generated by the electronic device by the processing unit, thereby improving the detection accuracy and improving the detection efficiency.
本發明已由上述相關實施例加以描述,然而上述實施例僅為實施本發明的範例。必需指出的是,已揭露的實施例並未限制本發明的範圍。相反地,在不脫離本發明的精神和範圍內所作的更動與潤飾,均屬本發明的專利保護範圍。 The present invention has been described by the above related embodiments, but the above embodiments are merely examples for implementing the present invention. It must be noted that the disclosed embodiments do not limit the scope of the invention. Conversely, modifications and refinements made without departing from the spirit and scope of the invention are the scope of the invention.
100‧‧‧灰階檢測裝置 100‧‧‧ Gray scale detection device
10‧‧‧視訊訊號發生裝置 10‧‧‧Video signal generating device
20‧‧‧電子裝置 20‧‧‧Electronic devices
30‧‧‧成像螢幕 30‧‧‧ imaging screen
40‧‧‧圖像獲取裝置 40‧‧‧Image acquisition device
50‧‧‧處理單元 50‧‧‧Processing unit
Claims (10)
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410387161.0A CN104159102B (en) | 2014-08-07 | 2014-08-07 | Grey menu detection method and checkout gear |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201606707A TW201606707A (en) | 2016-02-16 |
TWI524308B true TWI524308B (en) | 2016-03-01 |
Family
ID=51884494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW104124269A TWI524308B (en) | 2014-08-07 | 2015-07-27 | Method and device for detecting grayscale image |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104159102B (en) |
TW (1) | TWI524308B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683794A (en) * | 2015-02-06 | 2015-06-03 | 四川长虹电器股份有限公司 | Television picture stability testing method |
CN106596068B (en) * | 2016-12-20 | 2019-05-17 | 广州视源电子科技股份有限公司 | Method and device for detecting brightness uniformity of display screen |
CN108920007B (en) * | 2018-07-20 | 2021-03-12 | 京东方科技集团股份有限公司 | Touch reporting threshold setting method and system |
CN110398847A (en) * | 2019-06-27 | 2019-11-01 | 苏州佳世达电通有限公司 | The detection device and detection method of display device brightness |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101540837A (en) * | 2008-03-17 | 2009-09-23 | 鸿富锦精密工业(深圳)有限公司 | Image pick-up device and image color adjusting method thereof |
FR2944899B1 (en) * | 2009-04-23 | 2014-04-25 | Lvmh Rech | PROCESS AND APPARATUS FOR CHARACTERIZING PIGMENTARY TASKS AND METHOD OF ASSESSING THE EFFECT OF TREATING A PIGMENT TASK WITH A COSMETIC PRODUCT |
CN102857696A (en) * | 2009-08-18 | 2013-01-02 | 夏普株式会社 | Display device, correction system, forming device, determining device and method |
CN102917180B (en) * | 2011-08-05 | 2015-03-25 | 佳能企业股份有限公司 | Image picking-up method and image picking-up device |
KR101958634B1 (en) * | 2012-12-13 | 2019-03-15 | 엘지디스플레이 주식회사 | Apparatus and Method for Mura Defect Detection of Display Device |
CN203444191U (en) * | 2013-07-03 | 2014-02-19 | 佛山市进步科技有限公司 | System for automatic testing of 4K2K V-BY-ONE interface type liquid crystal display |
-
2014
- 2014-08-07 CN CN201410387161.0A patent/CN104159102B/en active Active
-
2015
- 2015-07-27 TW TW104124269A patent/TWI524308B/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
CN104159102A (en) | 2014-11-19 |
TW201606707A (en) | 2016-02-16 |
CN104159102B (en) | 2016-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5043755B2 (en) | Resin material inspection device and program | |
TWI524308B (en) | Method and device for detecting grayscale image | |
CN107851311B (en) | Contrast enhanced combined image generation system and method | |
US10075635B2 (en) | Apparatus and method for generating panoramic image based on image quality | |
JP2009130845A5 (en) | ||
US9232117B2 (en) | Digital Schlieren imaging | |
JP2013003282A5 (en) | Focus adjustment apparatus and control method thereof | |
JP2015127668A (en) | Measurement device, system and program | |
US20180220113A1 (en) | Projection display system, information processing apparatus, information processing method, and storage medium therefor | |
JP5994301B2 (en) | Image processing apparatus, information processing apparatus, method, program, and recording medium | |
KR102064695B1 (en) | Non-uniformity evaluation method and non-uniformity evaluation device | |
JP2005283197A (en) | Detecting method and system for streak defect of screen | |
KR101646847B1 (en) | System and method for detecting abnormality of display device | |
JP2017212638A (en) | Display device, control method for display device, and program | |
JPH11257937A (en) | Defect inspecting method | |
JP2015233202A (en) | Image processing apparatus, image processing method, and program | |
TW201820856A (en) | Inspection system for inspecting projected image definition of projector and inspection method thereof enabling user to learn about definition level of projected image for adjusting focal length of projector in real time | |
JP2016099478A (en) | Image processing apparatus and control method of the same, image processing system and control method of the same, and computer program | |
JP2017005373A5 (en) | ||
CN109565544B (en) | Position designating device and position designating method | |
JP2004219072A (en) | Method and apparatus for detecting streak defect of screen | |
JP6591176B2 (en) | Method for calculating glare evaluation value of protective film and device for calculating glare evaluation value of protective film | |
TWI784720B (en) | Electromagnetic susceptibility tesing method based on computer-vision | |
US20150334381A1 (en) | Method and system for judging in a 3d imaging environment | |
US20220053143A1 (en) | Apparatus and method to correct the angle and location of the camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |