TW457809B - Testing method of abnormal image - Google Patents
Testing method of abnormal image Download PDFInfo
- Publication number
- TW457809B TW457809B TW89100153A TW89100153A TW457809B TW 457809 B TW457809 B TW 457809B TW 89100153 A TW89100153 A TW 89100153A TW 89100153 A TW89100153 A TW 89100153A TW 457809 B TW457809 B TW 457809B
- Authority
- TW
- Taiwan
- Prior art keywords
- patent application
- scope
- item
- mentioned
- trend
- Prior art date
Links
Landscapes
- Image Processing (AREA)
Abstract
Description
457809 五、發明說明(1) 5 - 1發明領域: 本發明係有關於一種影像掃描的方法,特別是關係到 一種測試參考黑及參考白,或單一參考黑/白之異常影像 的方法。 5 - 2發明背景: 各式各樣的影像處理裝置因不同的需求而產生。這些 裝置可能為掃描器,影印機,傳真機,或是其它可達到影 像處理的裝置。就掃描器而言,它是一種能將現實生活中 真實的靜態影像轉換為數位影像資料的設備《通常掃描器 可分為掌上型掃描器(handly scanner)及桌上型掃描器 (desktop scanner 或 flat bed scanner )和饋紙式掃描 器(sheet-feed scanner)三種 ° 無論掌上型或桌上型掃描器都有黑白、灰階和彩色的 區別,這是指掃描之後所產生的影像資料。我們仍然可用 黑白掃描器掃描彩色影像,掃描之後將會得到黑白影像。 黑白掃描器掃描彩色影像的技術是利用圖案(pat tern)來 模擬彩色的變化,而灰階掃描器則採用灰階度( grayscale)的變化來表現出彩色。另外,影像通常是以一 個圖點接著一個圖點的方式,記錄於檔案或記憶體的矩陣 中。單色圖形的一個圖點(p i X e 1 )對應至資料的一個位元457809 V. Description of the Invention (1) 5-1 Field of the Invention: The present invention relates to a method for image scanning, and particularly relates to a method for testing abnormal images of reference black and reference white, or single reference black / white. 5-2 Background of the Invention: A variety of image processing devices have been created for different needs. These devices may be scanners, photocopiers, fax machines, or other devices capable of image processing. As far as scanners are concerned, it is a device that can convert real still images in real life into digital image data. Generally, scanners can be divided into handheld scanners and desktop scanners or desktop scanners. There are three types of flat bed scanner (sheet bed-feed scanner) and sheet-feed scanner (black and white, grayscale and color), which refers to the image data generated after scanning. We can still scan a color image with a black and white scanner, and we will get a black and white image after scanning. The technology of a black and white scanner to scan a color image is to use a pattern (pattern) to simulate a change in color, while a grayscale scanner uses a change in grayscale to express color. In addition, images are usually recorded in a file or memory matrix in the form of one point after another. A point (p i X e 1) of a monochrome graphic corresponds to a bit of data
45 78 0 9 五、發明說明(2) (bit),彩色資料則須要多個位元來記錄一個圖點,於是 這種方式便稱為位元映射,其圖形稱為位元映射圖( bitmapped graphics ),其相關檔案則稱為位元映射式圖 檑或影像標(i m a g e f i 1 e )。 在對影像資料做運算處理之前,必須先取得一組參考 黑及參考白,或單一參考黑/白,即掃描器在開始掃描前 都會先掃描一校正$巴(calibration target),其作用為參 考相對之黑或白,以便於得到參考點。若光路上有灰塵或 污點,往往會造成參考黑/白的異常,進而造成有垂直的 異常影像(通常稱為LBB ),其大小通常大於一個圖點( pixel)。此一現象可藉由第一圖明確地表達出來。第一圖 的縱座標為亮度大小,其中0為最暗,而255為最亮,橫座 標為一感測器掃描過的位置。再者,第一圖的圖形呈現有 一參考黑之亮度模式,其中兩個尖形突出狀象徵上述之垂 直的異常影像LBB! -LBB2。L、Xl為1^3:之高度(或大小) 與位置,而t2、x2為1^62之高度(或大小)與位置。 —個影像依解析度及大小不一,若要發現其異常處, 往往祇能用目視法來進行異常影像之判定。為了自動化和 數據化,則需發展一套更有效率及更精準的異常影像之判 定方法,其不單能找出異常影像之位置及大小,更能統計 出異常影像的數量。45 78 0 9 V. Description of the invention (2) (bit), color data requires multiple bits to record a picture point, so this method is called bit mapping, and its graphic is called bitmapped graphics), and its related files are called bit-mapped graphs or image fi 1 e. Before processing the image data, you must first obtain a set of reference black and reference white, or a single reference black / white, that is, the scanner will scan a calibration target before starting scanning, and its function is for reference. Contrast it to black or white for easy reference points. If there are dust or stains on the optical path, the reference black / white anomaly will often be caused, and then a vertical abnormal image (usually called LBB) will be generated, which is usually larger than a pixel. This phenomenon can be clearly expressed by the first picture. In the first figure, the vertical coordinate is the brightness, where 0 is the darkest, 255 is the brightest, and the horizontal coordinate is the position scanned by a sensor. Furthermore, the graph of the first figure presents a reference black brightness mode, in which two pointed protrusions symbolize the vertical abnormal images LBB! -LBB2 described above. L, Xl are the height (or size) and position of 1 ^ 3 :, and t2, x2 are the height (or size) and position of 1 ^ 62. An image varies in resolution and size. To find its anomaly, it is often only possible to determine the abnormal image by visual inspection. For automation and dataization, a more efficient and accurate method for determining anomalous images needs to be developed. It can not only find the position and size of anomalous images, but also count the number of anomalous images.
45 7a〇 9 五、發明說明(3) 5 - 3發明目的及概述: 鑒於上述之發明背景中,傳統的參考黑/白之異常影 像的測試法所產生的諸多缺點。本發明提供一套更有效率 及更精準的異常影像之判定方法,其不單能找出異常影像 之位置及大小,更能統計出異常影像之數量。 通判 種的 一像 供影 提常 厶口異 機之 描白 掃\ 的黑 同考 不參 於一 對單 在或 的, 目白 一考 另參 的及 明黑 發考。 本參法 的方 用定 本發明的再一目的係用以對不同的干擾因素,如灰塵 或污點等等,提供一套統一的測試參考黑及參考白,或單 一參考黑/白之異常影像的方法。 根據以上所述之目的,本發明提供了一種更有效率及 更精準的異常影像之判定方法。本方法至少包括下列主要 步驟:首先,掃描一測試圖,藉以取得一影像檔;然後, 產生一複數個趨勢圖以及一基準趨勢圖;其次,由上述之 複數個趨勢圖分別對基準趨勢圖做點對點的運算;最後, 艮據點對點運算之所得到的結果,判定測試圖上之異常影 像的相關資料,例如異常影像的起始與結束位置、大小以 及數量。45 7a〇 9 V. Description of the invention (3) 5-3 Purpose and summary of the invention: In view of the above-mentioned background of the invention, the traditional test method referring to the abnormal image of black / white has many disadvantages. The present invention provides a more efficient and accurate method for determining abnormal images, which can not only find the position and size of abnormal images, but also count the number of abnormal images. The general kind is like a film for a film, a mouthful of different words, a black and white test, and a black test. You don't take part in a pair of single or tests. The purpose of this method is to provide a unified set of test reference black and reference white, or single reference black / white anomaly images for different interference factors, such as dust or stains. method. According to the above purpose, the present invention provides a more efficient and accurate method for determining abnormal images. The method includes at least the following main steps: first, scan a test chart to obtain an image file; then, generate a plurality of trend charts and a reference trend chart; second, the reference trend chart is made from the above plurality of trend charts respectively Point-to-point calculation; finally, based on the results of the point-to-point calculation, determine the relevant data of the abnormal images on the test chart, such as the start and end positions, size, and number of abnormal images.
457809_ 五、發明說明(4) 5 - 4圖式簡單說明: 第一圖顯示參考黑/白之垂直的異常影像(LBB)於亮度 對掃描位置的分佈圖; 第二圖顯示本發明一實施例之判定異常影像的步驟流 程圖; 第三圖顯示本發明一實施例中的趨勢圖;以及 第四圖顯示本發明一實施例中的基準趨勢圖。 主要部分之代表符號: 30 0 8點為一週期的趨勢圖; 301 1 6點為一週期的趨勢圖; 3 0 2 32點為一週期的趨勢圖; 4 0 0 6 4點為一週期的基準趨勢圖; 4 0 1 128點為一週期的基準趨勢圖; LBBls LBB2 垂直的異常影像; tl5 t2 異常影像之大小;以及 χ{, χ2 異常影像之位置。 5 - 5發明詳細說明:457809_ V. Description of the invention (4) 5-4 Schematic description: The first image shows the distribution of brightness versus scanning position with reference to the black / white vertical abnormal image (LBB); the second image shows an embodiment of the present invention The flowchart of the steps for determining abnormal images; the third figure shows a trend chart in an embodiment of the present invention; and the fourth figure shows a reference trend chart in an embodiment of the present invention. The main part of the symbol: 30 0 8 points for a cycle trend chart; 301 1 6 points for a cycle trend chart; 3 0 2 32 points for a cycle trend chart; 4 0 6 6 points for a cycle Baseline trend chart; 4 0 1 128 points is a periodical baseline trend chart; LBBls LBB2 vertical abnormal image; tl5 t2 size of the abnormal image; and χ {, χ2 position of the abnormal image. 5-5 Invention Details:
4 5 7 8 0 9 五、發明說明(5) 依據本發明提供一種更有效率及更精準的參考黑及參 考白’或單一參考黑/白之異常影像的判定方法。^方^ 的應用不單只限於一般的掃描機台,亦可應用在各式各樣 的影像處理裝置上,例如影印機,傳真機等等。就掃描機 台而言,一般又可分為掌上型掃描器(handly scanner)、 桌上型掃描 H(desktop scanner 或 flat bed scanner) 以及饋紙式掃描器(sheet-feed scanner)等三大種類。 m c a 便 考 之 驟 施 存 y 對 之白 以參明步驟驟實儲03點果 理\ ’成發其步步本所Π2做,結 處黑 白造本,列;對檔Μ圖的 算考 或會而法下00驟像20勢到 運參C黑往。方含2步影圖趨得 做一耙之往像的包檔此此勢準所。 料單正對,影像少像C由趙基算δ 資或校相點常影至影訊藉準對運20 像,一考污異常例一雜,基別點料 影白描參或的異施得些三一分對資 對考掃為塵直直實取一驟及圖點關 在參先用灰垂垂本以的步以勢據相 :及會作有有定。藉存.,圖趨根的 到黑都其上成判中,儲01勢個,像 提考前,路造種圖圖所)2趨數五影 所參描}光而一 二試檔的個複驟常 中組掃et若進供第測像性數之步異 景一始rg。,提於一影制複述·,之 背得開ta點常是示描之強一上04上 明取在η考異要顯掃述非生由2圖 先器 I參的主係,上係產,算試 如須描at到白例圖一濾言料四運測 就必掃br得\施程驟過而資驟的定 ,即11於黑實流步,例的步點判4 5 7 8 0 9 V. Description of the invention (5) According to the present invention, a method for judging abnormal images of reference black and reference white 'or single reference black / white is provided. The application of ^ fang ^ is not limited to general scanners, but can also be applied to various image processing devices, such as photocopiers, fax machines, and so on. As far as the scanning machine is concerned, it can be generally divided into three categories: handheld scanners, desktop scanners or flat bed scanners, and sheet-feed scanners. . mca will save the test and save y, and use the specified steps to save 03 points. \ 'Chengfa its step by step Π2, the result is black and white cost, column; the calculation of the file M or At the same time, 00 00 like 20 potential to Yunshen C black. Fang Han's 2-step shadow image tends to be a hurried image. The bill of materials is exactly opposite, the image C is less than δ from Zhao Ji, or the normal point of the image is normal. The video is borrowed to the 20 images, and the abnormality of the examination is mixed. The basic points are different. These thirty-one points are straightforward for the examination of resources and examinations, and the points are based on the steps taken by the gray scales: and will have certainty. Borrow., The figure from the root to the black is on the verdict, save 01 potential, like before the test, the road to make a map)) 2 trends and five shadows referenced} light and one or two test files In this step, if the middle scan of the middle group is entered, the first step of the first step is to change the vision. , Mentioned in the Yi Ying system retelling, the back can be opened ta point is often a strong description of the first one on 04 to take the test in η to show clearly the main line of the non-birth from the 2 picture of the predecessor I, the upper line If you need to describe the white example, the first test, the first test, the fourth test, and the test, you must scan br \\ The process is passed and the result is determined, that is, 11 is in the black flow step, the step of the example is judged
457809 五、發明說明(6) 再者,在步驟一中所提到的影像檔指的是儲存數位影 像的檔案,通常這個檔案是由掃描器掃描進來,或是經過 影像處理軟體合成的結果,而非人工繪製而成。以電腦儲 存的影像播,又稱為位元映射式樓案(bitmapped graphics ),這個標案通常儲存的方式是由上而下、由左 而右,一個圖點接著一個圖點儲存的。單色圖形的一個圖 點(p i X e 1 )對應至資料的一個位元(b i t),彩色資料則須要 多個位元來記錄一個圖點。另外,在同一步驟中所掃描的 測試圖可以是一均勻黑色的長條紙張,一均勻白色的長條 紙張,或是一上半勻黑色下半均勻白色的長條紙張。例如 ,一均勾黑色長條紙張的影像檔若以圖表晝出(亮度對掃 描位置),那麼其呈現出的一定類似第一圖所顯示的。 在步驟二中所提到的雜訊過濾是用來消除或降低干擾 因素所帶來的影響,進而得到更加的影像輸出。本實施例 所採用的雜訊過濾法係參考專利申請案”動態式校正法"( 申請號8 8 1 0 7 3 6 2 )。此外,因本步驟對本實施例而言係非 強制性的,所以在此不加以詳細說明。 在步驟三中所提到的趨勢圖之橫座標(X -軸)係介於 0至N的掃描位置,而其縱座標(Y-軸)係掃描位置所對應 到的亮度大小,其中0為最暗,而255為最亮。上述之複數 個趨勢圖的產生方法至少包含下列步驟:先取p點為一週457809 V. Description of the invention (6) Furthermore, the image file mentioned in step 1 refers to a file that stores digital images. Usually this file is scanned by a scanner or synthesized by image processing software. Not drawn by hand. The computer-stored video broadcast, also known as bitmapped graphics, is usually stored from top to bottom, left to right, and one image point after another. One dot (p i X e 1) of a monochrome figure corresponds to one bit (b i t) of the data, and color data requires multiple bits to record one dot. In addition, the test pattern scanned in the same step can be a strip of uniform black strip, a strip of uniform white strip, or a strip of semi-uniform stripe on top and half black. For example, if the image file of a black strip of paper is displayed as a chart (brightness vs. scanning position), it must be similar to that shown in the first figure. The noise filtering mentioned in step 2 is used to eliminate or reduce the influence caused by interference factors, and then get more image output. The noise filtering method used in this embodiment is referred to the patent application "Dynamic Correction Method" (Application No. 8 8 1 0 7 3 6 2). In addition, this step is not mandatory for this embodiment Therefore, it will not be described in detail here. The horizontal coordinate (X-axis) of the trend graph mentioned in step 3 is the scanning position between 0 and N, and its vertical coordinate (Y-axis) is the scanning position. The corresponding brightness, where 0 is the darkest and 255 is the brightest. The method for generating the above plurality of trend graphs includes at least the following steps: first take p point as one week
^57809^ 57809
五、發明說明(7) 期;在每一個大於等於p的掃描位置取其本身以及前p-1點 的一平均亮度值;以及將每一個大於等於P的掃描位置之 平均亮度值作為其在趨勢圖中的亮度值。上述之產生趨勢 圖的步驟可藉由公式1更明確的表達出來,其中An為第η點 掃描位置的原亮度值,而Anew, η為第η點掃描位置在趨勢圖 中的新亮度值。 Αη +Αη-ι + " +An-(p-nV. Description of the invention (7) period; at each scan position greater than or equal to p, take an average brightness value of itself and the previous p-1 point; and use the average brightness value of each scan position greater than or equal to p as its Brightness values in a trend chart. The above steps for generating a trend graph can be more clearly expressed by Equation 1, where An is the original brightness value of the n-th scanning position, and Anew, η is the new brightness value of the n-th scanning position in the trend graph. Αη + Αη-ι + " + An- (p-n
Ρ 公式(1) ρ值的改變意味著不同趨勢圖的產生,在此ρ值的選擇係介 於2的1次方與2的5次方之間。為確保判定無誤,本實施例 採用兩個以上的Ρ值’而所得的趨勢曲線圖係顯示於第三 圖中的,其中有8點為一週期的趨勢圓300,1 6點為一週期 的趨勢圖301和32點為一週期的趨勢圖302。 上述之複數個趨勢圖的產生方法亦可採用下列步驟: 同樣地先取Ρ (介於2的1次方與2的5次方之間)點為一週期 ;在每一個小於等於Ν_ρ+1的掃描位置取其本身以及後ρ—\ 點的一平均亮度值;以及將每一個掃描位置之平均真产值 作為其在趨勢圖中的亮度值。後者趨勢圖的產生方藉 由公式2更明確的表達出來,其中Ν為最後一個掃描位置。P formula (1) The change of ρ means the generation of different trend graphs. Here, the choice of ρ is between the power of 2 and the power of 5. In order to ensure that the judgment is correct, the trend graph obtained by using more than two P-values in this embodiment is shown in the third figure, of which 8 points are a period of a trend circle 300, and 16 points are a period. The trend graphs 301 and 32 are a period trend graph 302. The above method for generating the plurality of trend graphs can also adopt the following steps: Similarly, first take the point of P (between the 1st power of 2 and the 5th power of 2) as a cycle; at each of which is less than or equal to N_ρ + 1 The scanning position takes an average brightness value of itself and the following ρ— \ points; and the average true output value of each scanning position is used as its brightness value in the trend graph. The generator of the latter trend graph is more clearly expressed by Equation 2, where N is the last scanning position.
第10頁 五、發明說明(8)Page 10 V. Description of Invention (8)
Αη +Αη fl + A. η+(p-1) 公式(2) η Ο p+1Αη + Αη fl + A. η + (p-1) Formula (2) η Ο p + 1
P 非常類:Iί 到的基準趨勢圖的產生方式, :公式3表達出來,其中Bn為第„點掃描位^籍 細,n為第η點掃描位置在基準趨勢圖中的新亮原度^ ’ Β new,; η > = qP is very similar to: The method of generating the reference trend graph obtained by I: is expressed in Equation 3, where Bn is the „point scan position ^ details, n is the new brightness of the η point scan position in the reference trend chart ^ 'Β new ,; η > = q
Bn + Βη-] + …+ Βη_ (q-1) 公式(3) q 係大V"或變等*^4者之^同基準趨勢圖的產生,在此q值的選擇 -個= 何一個2的次方。本實施例只需採用 64點為一週期的:圖中所顯不的基準趨勢曲線圖含有 勢圖401。 ’ 、土準趨勢圖400和1 28點為一週期的基準趨 生Bn + Βη-] +… + Βη_ (q-1) Formula (3) q is a large V " or equivalent * ^ 4 of ^ is the same as the generation of the benchmark trend chart, where the choice of q values-one = which one Power of 2. In this embodiment, it is only necessary to use 64 points as a cycle: the reference trend curve shown in the figure contains a potential graph 401. ’, The benchmark trend chart 400 and 1 28 points are the benchmark trend of a cycle
第11頁 457809 五、發明說明(9) 式2),而本方式可藉由公式4表達出來。 Βη + Βη+ι + …+ Bn+(tr" B„ew,n --------------------------公式 U)Page 11 457809 V. Description of the invention (9) Formula 2), and this method can be expressed by Formula 4. Βη + Βη + ι +… + Bn + (tr " B „ew, n -------------------------- formula U)
Q η <= N-qi1 最後,如步驟四及步驟五所述,由上述之複數個趨勢 圖(如第三圖中的30 0,301及302 )分別對基準趨勢圖( 如第四圖中的4 0 〇或4 0 1 )做點對點的減法運算,即找出每 一個掃描位置上趨勢圖之亮度與基準趨勢圖之亮度的差。 藉由點對點運算所得到的結果,既可判定測試圖上之異常 影像的相關資料,例如異常影像的起始與結朿位置、f 及數量等等。 八小 以上所述僅為本發明 定本發明之申請專利範圍 精神下所完成之等效改變 專利範圍内。 之較佳實施例而已,並非用 ;凡其它未脫離本發明所揭 或修飾,均應包含在下述之 以限 申靖Q η < = N-qi1 Finally, as described in step 4 and step 5, from the above-mentioned plurality of trend charts (such as 30 0, 301, and 302 in the third chart) to the benchmark trend chart (such as the fourth chart) 4 0 0 or 4 0 1) to perform a point-to-point subtraction operation, that is to find the difference between the brightness of the trend graph and the brightness of the reference trend graph at each scanning position. Based on the results obtained from point-to-point calculations, it is possible to determine the relevant data of the abnormal images on the test chart, such as the start and end positions, f, and number of abnormal images. Eighth Primary The above is only within the scope of the patent for the equivalent changes made in the spirit of determining the scope of patent application of the present invention. It is only a preferred embodiment and is not intended to be used; all other disclosures or modifications that do not depart from the present invention should be included in the following
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW89100153A TW457809B (en) | 2000-01-06 | 2000-01-06 | Testing method of abnormal image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW89100153A TW457809B (en) | 2000-01-06 | 2000-01-06 | Testing method of abnormal image |
Publications (1)
Publication Number | Publication Date |
---|---|
TW457809B true TW457809B (en) | 2001-10-01 |
Family
ID=21658388
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW89100153A TW457809B (en) | 2000-01-06 | 2000-01-06 | Testing method of abnormal image |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW457809B (en) |
-
2000
- 2000-01-06 TW TW89100153A patent/TW457809B/en not_active IP Right Cessation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5044269B2 (en) | Scanner-side heterogeneity correction method | |
TW589899B (en) | Method and apparatus for using non-coherent optical bundles for image transmission | |
KR100710762B1 (en) | Display device and imaging method | |
JP2007228586A5 (en) | ||
TW563389B (en) | Compensation system for use in a printed circuit board inspection system | |
TWI247106B (en) | Defect inspection apparatus | |
Bowman et al. | Flat-field and colour correction for the raspberry pi camera module | |
JP2010066102A (en) | Evaluation device, calibration method, calibration program and recording medium | |
JP2013200640A (en) | Image processing device, image processing system, image processing method and program | |
JP6688878B2 (en) | Method and apparatus for reducing the appearance of visual artifacts | |
JP2020087211A (en) | Learning model creation device, type determination system, and learning model creation method | |
TWI374434B (en) | Image display system and method of eliminating mura defects | |
CN105637557B (en) | Image processing equipment, image processing system, image processing method and recording medium | |
TW457809B (en) | Testing method of abnormal image | |
TW505948B (en) | Method and apparatus for detecting thickness of thin layer formed on a wafer | |
TWI353187B (en) | ||
JP2003510568A (en) | LCD inspection method and LCD inspection apparatus by pattern comparison | |
CN1040799C (en) | Converter technique for grey scale hierarchy for drawing reproduction | |
US20240121380A1 (en) | Resolution measurement method, resolution measurement system, and program | |
JP5326478B2 (en) | Display device and waveform measuring device | |
JP4484673B2 (en) | Electronic component mounting inspection apparatus, mounting inspection method, and mounting inspection program | |
CN1040255C (en) | Converter technique for picture level | |
Zhang et al. | Research on Evaluation Method of Scanner Imaging Quality | |
JPH10247993A (en) | Line number measurement device, line number measurement method, measurement device and measurement method | |
JP3904208B2 (en) | Image defect correction method for image sensor and inspection apparatus using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GD4A | Issue of patent certificate for granted invention patent | ||
MM4A | Annulment or lapse of patent due to non-payment of fees |