Background technology
In recent years, along with significantly improving of numeral science and technology, add the high development of the Internet and multimedia technology, many images are all wished to be converted to digitized video and are handled.So, be to utilize digital camera (DigitalCamera), digital video video recorder (DVR), network camera image capture units such as (Web Cam) directly to capture scene in kind, and be converted into digital image data output, be beneficial to the user on computer or other electronic products, carry out the actions such as demonstration, identification (OCR), editor, storage and output of digital image file.
Owing to use the image capture unit of numeral directly to capture scene in kind, than in traditional device, except using digital form stores and edit, more because the development rapidly of electronics technology, it is more and more big to make it can take capacity, the image quality of its shooting is also more and more exquisite, and its price is also popularized day by day.Therefore, digital product has little by little become the main flow in market recently, and is the generally accepted trend of user.
Yet, for manufacturer, on production line, how image capture unit is detected, so that taking quality, it has certain level, be an important problem always.With traditional technology, manufacturer need buy many complexity and expensive instrument, tests with the shooting quality to image capture unit.This not only causes the rising of manufacturing cost and operating process numerous and diverse time-consuming, is not adapted at carrying out on the production line.And if distinguish there is not unified standard again in artificial mode, so that sizable error is arranged.
Summary of the invention
Therefore, the invention provides a kind of checkout equipment of image capture unit, can utilize simple hardware unit to come image capture unit is accurately detected.
In addition, the present invention also provides a kind of detection method of image capture unit, can detect the shooting quality of image capture unit efficiently.
The invention provides a kind of checkout equipment of image capture unit, comprise a watermark merge module and an analysis module.The watermark merge module is to be used to provide a test pattern to take to image capture unit, and wherein test pattern is embedded with a digital relief watermark.In addition, analysis module is to receive the test pattern that image capture unit is exported, and from wherein taking out digital relief watermark.The present invention judges the shooting quality of image capture unit by the comparison result of digital relief watermark that will take out and original digital relief watermark.
From another viewpoint, the invention provides a kind of detection method of image capture unit, comprise that producing a test pattern that is embedded with digital relief watermark takes to image capture unit.In addition, the present invention also receives the test pattern of exporting from image capture unit, and judges the shooting quality of image capture unit according to the digital relief watermark of handling via image capture unit.
In an embodiment of the present invention, when the comparison value between the digital relief watermark that takes out and the original digital relief watermark during more than or equal to a threshold value, the shooting quality that then can judge this image capture unit is for normally.Relatively, when the comparison value of said two devices during less than threshold value, the shooting quality that then can judge image capture unit is for unusual.
Because the present invention is the shooting quality of judging image capture unit by digital relief watermark, so the present invention only needs simple hardware unit, and PC for example just can be accurately and detect image capture unit efficiently.
For above-mentioned and other purposes, feature and advantage of the present invention can be become apparent, preferred embodiment cited below particularly, and conjunction with figs. is described in detail below.
Embodiment
Fig. 1 illustrates and is the inside calcspar according to the checkout equipment of a kind of image capture unit of a preferred embodiment of the present invention.Please refer to Fig. 1, checkout equipment 100 of the present invention can be used for detecting the shooting quality of image capture unit 140.In the present embodiment, image capture unit 140 can be the static image capture device, for example digital camera, colour/black and white copying machines, multifunctional paper feeding machine, facsimile machine ... or the like, also or dynamic image capture device, for example digital video video camera, network camera etc.
Checkout equipment 100 provided by the present invention comprises watermark merge module 110 and analysis module 120, and the two couples each other.Watermark merge module 110 is used for producing a test pattern TE0 with digital relief watermark and gives image capture unit 140 to take.The test pattern TE1 that analysis module 120 then receives image capture unit 140 outputs analyzes, with the quality of judging that image capture unit 140 is taken.
Watermark merge module 110 comprises watermark generation unit 112 and mixed cell 114, and the two couples mutually.In the present embodiment, watermark generation unit 112 can produce a digital relief watermark and give mixed cell 114 to WM0.In general, the digital relief watermark technology is mainly used in protection of Intellectual Property Rights.It is the program via some processing, with the multi-form Digital Media of verify data adding of some intellectual properties.The technology of digital relief watermark is divided into two classes haply, the first " viewable numbers watermark (Visible Water Mark) ", and another is " not visible digital relief watermark (Invisible Water Mark) ".
Because Digital Media is after embedding not visible digital relief watermark, seem not have any different with original Digital Media, and possessed the confidentiality of watermark.Therefore, the research of not visible digital relief watermark also is subjected to more attention.
Please continue with reference to Fig. 1,114 of mixed cells can receive a reference pattern RE0, and in the digital relief watermark WM0 that watermark generation unit 112 can the be produced embedding reference pattern RE0, to produce test pattern TE0.In the present embodiment, reference pattern RE0 can be static or dynamic image data.Therefore, mixed cell 114 can be used as reference pattern RE0 with any image data, and the present invention does not limit.Relatively, when mixed cell 114 was used as the image data of static state as reference pattern RE0, then the digital relief watermark that produced of watermark generation unit 112 just may be static image data.Otherwise when mixed cell 114 was used as dynamic image data as reference pattern RE0, then the digital relief watermark that produced of watermark generation unit 112 just may be dynamic image data.
Select among the embodiment at some, mixed cell 114 can also be with the chrominance signal of reference pattern RE0, for example red color signal (R), green tint signal (G) and blue chrominance signal (B), convert color difference signal to, for example luminance signal (Y), blue and the color difference signal (Cb) of briliancy and the color difference signal (Cr) of red and briliancy.By this, 114 compositions that need to handle luminance signal (Y) of mixed cell, and avoid needing simultaneously to handle the complexity that red color signal (R), green tint signal (G) and blue chrominance signal (B) are caused.
After image capture unit 140 had been taken test pattern TE0, analysis module 120 just can receive the test pattern TE1 that image capture unit 140 exported and analyze.Analysis module 120 comprises image input unit 122, retrieval unit 124 and comparing unit 126.Wherein, image input unit 122 is to be used for receiving the test pattern TE1 that image capture unit 140 is exported.In certain embodiments, image input unit 122 is by a coffret, USB interface for example, and directly receive the test pattern TE1 that is exported from image capture unit 140.
Select among the embodiment at other, for example image capture unit is the camera that utilizes egative film, or traditional video camera, and then image input unit 122 can also comprise one scan device (not illustrating).By this, the user can wash into test pattern TE0 the entity photo, or utilizes printer that image capture unit 140 captured test pattern TE0 are printd out.Then utilize scanner scans to become an image data, to carry out follow-up processing.Hence one can see that, and the present invention not only can detect digital image pick-up, can also traditional image capture unit be detected.
When image input unit 122 has received behind the test pattern TE1 of image capture unit 140 outputs, it can be delivered to retrieval unit 124.And retrieval unit 124 will take out the digital relief watermark WM1 that handles through image capture unit 140 from test pattern TE1, and delivers to comparing unit 126.In the present embodiment, comparing unit 126 can be coupled to watermark generation unit 112.By this, comparing unit 126 can be compared the digital relief watermark WM1 of taking-up and original digital relief watermark WM0, and the output comparison result.And the engineer can pass through these comparison results, judges the quality of the shooting quality of image capture unit 140.
Fig. 2 illustrates and is the flow chart of steps according to the detection method of a kind of image capture unit of a preferred embodiment of the present invention.Please refer to Fig. 2, detection method provided by the present invention comprises as described in the step S202, receives a reference pattern.And in some select embodiment, can be as described in the step S204, the form of conversion reference pattern, for example the chrominance signal with reference pattern converts color difference signal to.In addition, the present invention can carry out step S206, makes a digital relief watermark exactly.In the present embodiment, digital relief watermark is not visible watermark information, and it can utilize an image data to realize.
After finishing step S206, the present invention can be as described in the step S208, and digital relief watermark is embedded reference pattern through format conversion, takes to produce the image capture unit that a test pattern will detect for the present invention.By this, the present invention can analyze the quality of the shooting quality of this image capture unit from the test pattern of image capture unit output, just as the described content of step S210.
Fig. 3 illustrates the detailed step flow chart into the step S210 of Fig. 2.Please refer to Fig. 3, after image capture unit has been taken the test pattern that step S208 produced as Fig. 2, the present invention can be as described in the step S302, receive the test pattern that image capture unit is exported, and, be exactly step S304 from wherein taking out the digital relief watermark of handling through image capture unit.By this, the present invention just can carry out step S306, exactly the digital relief watermark of taking-up and original digital relief watermark is compared, and produces a comparison value.Then, as described in step S308, check that whether comparison value is more than or equal to a threshold value.
As comparison value during (just as the "Yes" that indicated of step S308) more than or equal to this threshold value, then can be as described in the step S310, the shooting quality of judgement image capture unit is normal.Otherwise, if when comparison value is lower than threshold value (the just "No" that is indicated as step S308), then may be as described in the step S312, the shooting quality of this image capture unit is unusual.
In sum, the present invention almost can be fully realizes in the mode of software.Therefore, the present invention for example only needs PC to add that some similarly are simple equipment such as scanner, just can detect image capture unit.Therefore, the present invention does not need expensive hardware and numerous and diverse means, just can be accurately and detect image capture unit efficiently.In addition, the present invention not only goes for digital image pick-up, and also is useful in traditional image capture unit.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limiting the present invention, anyly has the knack of this skill person, without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is when with being as the criterion that claim was defined.