CN100593344C - Method and device for detecting image processing system function - Google Patents

Method and device for detecting image processing system function Download PDF

Info

Publication number
CN100593344C
CN100593344C CN200810103156A CN200810103156A CN100593344C CN 100593344 C CN100593344 C CN 100593344C CN 200810103156 A CN200810103156 A CN 200810103156A CN 200810103156 A CN200810103156 A CN 200810103156A CN 100593344 C CN100593344 C CN 100593344C
Authority
CN
China
Prior art keywords
character
module
test
image
output image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200810103156A
Other languages
Chinese (zh)
Other versions
CN101272512A (en
Inventor
冯备战
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Vimicro Corp
Original Assignee
Vimicro Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vimicro Corp filed Critical Vimicro Corp
Priority to CN200810103156A priority Critical patent/CN100593344C/en
Publication of CN101272512A publication Critical patent/CN101272512A/en
Application granted granted Critical
Publication of CN100593344C publication Critical patent/CN100593344C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for detecting image processing system function. The method includes that a tested character is mixed into an input image, then the mixed image is input into the function module of the image processing system; whether characters on the output image of the function module are matched with the tested character is judged.. If yes, the function module of the image processing system is normally determined. The method and the device realize the automatic detection on the function of the image processing system, improve the detecting efficiency, guaranteethe precision of the validation and lower the workload.

Description

The method and the device of detected image treatment system function
Technical field
The present invention relates to technical field of image processing, be specifically related to a kind of method and device of detected image treatment system function.
Background technology
In image processing system, usually need the validity of each function of system is detected.At present, generally adopt the method for manual inspection, select a two field picture by the testing staff, whether whether then with this image input picture treatment system, and it is correct with the naked eye to detect output image, take place unusually to judge image processing function.
Obviously, the inefficiency of manual inspection, and influenced by subjectivity; In addition, because image processing system renewal upgrading is very fast, in the exploitation of image processing system, will be through repeatedly edition upgrading, each upgrading all will be carried out one-time detection to each function of system, it is dry as dust that the testing staff can feel, job enthusiasm is poor, and lavishes labor on.
Summary of the invention
The invention provides the method and the device of detected image treatment system function, to improve the detection efficiency of image processing system function.
Technical scheme of the present invention is achieved in that
A kind of method of detected image treatment system function comprises:
To test character and be mixed on the input picture, with the functional module of mixed image input picture treatment system;
Character on the arbitration functions module output image whether with the test character match, if determine that the functional module of image processing system is normal.
Whether the character on the described arbitration functions module output image comprises with the test character match:
The character of identification on the output image compares character and each the test character that identifies one by one, judge whether all identical, if, judge whether the position of the character on the output image all correct, as if all correct, then the functional module of definite image processing system is normal.
Whether the character on the described arbitration functions module output image comprises with the test character match:
According to the test position of character on input picture and the function of functional module, determine the position of each character on output image, identification character on each position, if it is identical with each test character respectively all to identify character and each character on each position, determine that then the functional module of image processing system is normal.
Set in advance detection number of times to functional module,
And, whether the character on the described arbitration functions module output image further comprises with the test character match afterwards: judge that whether the detection number of times that has carried out is less than the detection number of times that sets in advance, if less than, return execution and will test character and be mixed into action on the input picture.
Describedly determine that the detection number of times carried out is not less than after the detection number of times that sets in advance, returns execution and will test the action that character is mixed on the input picture and further comprise before:
Change test character, and/or the size of change test character, and/or change test character is mixed into the position on the input picture.
Whether the character on the described arbitration functions module output image further comprises with the test character match afterwards:
The all functions module that judges whether image processing system has all detected and has finished, if not, to test character is mixed on the input picture, with next functional module of mixed image input picture treatment system, return the character carried out on the arbitration functions module output image whether with the action of test character match.
A kind of device of detected image treatment system function comprises:
Character is provided with module, test character, character boundary and character is set is mixed into position on the input picture;
Mixing module receives input picture, according to character the test character information that module is provided with is set, and will test character and be mixed on the input picture, with the functional module of mixed image input picture treatment system;
Detection module receives the image of the functional module output of image processing system, judges that character on the output image and character are provided with the test character that is provided with in the module and whether mate, if the functional module of output image treatment system is normally indicated.
Described detection module comprises:
Character recognition module receives the image of the functional module output of image processing system, and identification character on output image sends the character that identifies and the positional information on output image thereof;
The character comparison module, character that the reception character recognition module is sent and the positional information on output image thereof, the character of respectively testing that each character and character is provided with the module setting compares one by one, judge whether all identical, if the character of respectively testing that the module setting is set according to character is mixed into position on the input picture, judges whether the position of each character on output image be all correct, if all correct, the functional module of output image treatment system is normally indicated.
Described detection module comprises:
The character position determination module, respectively test the function that character is mixed into the functional module of position on the input picture and image processing system according to what character was provided with the module setting, determine the position of each character on output image, determined positional information is sent;
The character recognition comparison module, receive the image of the functional module output of image processing system, the positional information of each character on output image that the receiving character position determination module is sent, identification character on each position of output image, judge whether on all positions, all to identify character and character that all identify and character be provided with the module setting respectively to test character all identical, if the functional module of output image treatment system is normally indicated.
Compared with prior art, the present invention is mixed on the input picture by testing character, with the functional module of mixed image input picture treatment system; Character on the arbitration functions module output image whether with the test character match, if, determine that the functional module of image processing system is normal, realized the automatic detection of the function of image processing system has been improved detection efficiency, guaranteed the accuracy of checking; And, reduced workload.
Description of drawings
The flow chart of the detected image treatment system function that Fig. 1 provides for the embodiment of the invention one;
The flow chart of the detected image treatment system function that Fig. 2 provides for the embodiment of the invention two;
The image processing system function checkout gear composition diagram that Fig. 3 provides for the embodiment of the invention one;
The structural representation one of the detection module that Fig. 4 provides for the embodiment of the invention;
The structural representation two of the detection module that Fig. 5 provides for the embodiment of the invention.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
The flow chart of the detected image treatment system function that Fig. 1 provides for the embodiment of the invention one, as shown in Figure 1, its concrete steps are as follows:
Step 101: set in advance detection number of times to each functional module of image processing system.
Step 102: select the test character, determine that character boundary and character are mixed into the position on the input picture.
The test character can be selected arbitrarily, and the number of character can be one, also can be more than two, and the size of each test character can be identical, also can be different, and each test character is positioned on the diverse location of input picture.
Step 103: will test character and be mixed on the input picture.
The form of input picture can be Bayer, YUV, RGB etc., and this step can adopt existing techniques in realizing.
Step 104: with the functional module of mixed image input picture treatment system, functional module is handled input picture according to the function of self.
Step 105: receive the output image after the functional module of image processing system is handled, identification character on output image.
Identification character can adopt existing optical character identification (OCR, Optical CharacterRecognition) algorithm.
Step 106: that selects in each character that will identify and the step 102 respectively tests character sequence relatively, judge whether all identical, if, execution in step 107; Otherwise, execution in step 109.
Step 107: whether the position of judging the character that identifies is all correct, if, execution in step 108; Otherwise, execution in step 109.
Difference in functionality according to functional module, the test character in the position on the output image may with different on input picture as: function is that image amplifies or dwindles, at this moment, need the position on input picture according to this function and test character earlier, calculate the position of test character on output image.
Step 108: this testing result of determining the current functional module of image processing system is normal, and testing result is shown to the user, goes to step 110.
Step 109: this testing result of determining the current functional module of image processing system is unusual, testing result is shown to the user, execution in step 110.
To be shown to the user to each testing result of each functional module, so that the user safeguards functional module.
Step 110: judge and whether detected number of times less than the default number of times that detects, if return step 102; Otherwise, execution in step 111.
Step 111: begin to detect next functional module.
Testing process to each functional module is identical.
In actual applications, image is continuous input picture treatment system normally, at this moment, character can be mixed into successively on each continuous input picture, then with the functional module of the continuous input picture treatment system of image of mixing.
For the same functional module of image processing system, detect the position that employed character, input picture, character boundary, character be mixed on the input picture can be identical at every turn, also can be different.
In the embodiment shown in fig. 1, be to behind the default detection of the same functional module cycle detection number of times, begin testing process again to next functional module; In actual applications, also all functions module can be carried out cycle detection as a detected object, that is: detected once successively to all functions module after, repeat this process again, reach the default number of times that detects until detecting number of times.
The flow chart of the detected image treatment system function that Fig. 2 provides for the embodiment of the invention two, as shown in Figure 2, its concrete steps are as follows:
Step 201~204 are identical with step 101~104.
Step 205: receive the output image after the functional module of image processing system is handled.
Step 206: determine the position of test character on output image, identification character on determined each position.
Step 207: judge whether on all positions, all to identify character, if, execution in step 208; Otherwise, execution in step 210.
Step 208: the test character sequence of selecting in all characters that will identify and the step 202 relatively, judge whether all identical, if, execution in step 209; Otherwise, execution in step 210.
Step 209: this testing result of determining the current functional module of image processing system is normal, and testing result is shown to the user, goes to step 211.
Step 210: this testing result of determining the current functional module of image processing system is unusual, testing result is shown to the user, execution in step 211.
Step 211: judge whether detected number of times equals the default number of times that detects, if, execution in step 212; Otherwise, return step 202.
Step 212: begin to detect next functional module.
The checkout gear composition diagram of the image processing system function that Fig. 3 provides for the embodiment of the invention, as shown in Figure 3, it mainly comprises: character is provided with module 31, mixing module 32 and detection module 33, wherein:
Character is provided with module 31: test character, character boundary and character are set are mixed into position on the input picture.
Mixing module 32: receive input picture, according to character the test character, character boundary, the character that are provided with are set in the module 31 and are mixed into position on the input picture, to test character and be mixed on the input picture, mixed image will be input to the functional module of image processing system.
Detection module 33: the image that receives output after the functional module of image processing system is handled, judge that character on the output image and character are provided with the test character that is provided with in the module 31 and whether mate, if the current functional module of output image treatment system is normally indicated; Otherwise the current functional module of output image treatment system is indicated unusually.
As shown in Figure 4, detection module 33 can comprise: character recognition module 3311 and character comparison module 3312, wherein:
Character recognition module 3311: receive the image of the functional module output of image processing system, identification character on output image sends to character comparison module 3312 with character and the positional information on output image thereof that identifies.
Character comparison module 3312: character that reception character recognition module 3311 is sent and the positional information on output image thereof, respectively test character sequence relatively with what this each character and character were provided with that module 31 is provided with, judge whether all identical, if, the character of respectively testing that is provided with according to character that module 31 is provided with is mixed into position on the input picture, judge whether the position of each character on output image be all correct, if all correct, the current functional module of output image treatment system is normally indicated; Otherwise the current functional module of output image treatment system is indicated unusually.
Perhaps, as shown in Figure 5, detection module 33 also can comprise: character position determination module 3321 and character recognition comparison module 3322, wherein:
Character position determination module 3321: respectively test the function that character is mixed into the functional module of position on the input picture and image processing system according to what character was provided with that module 31 is provided with, determine the position of character on output image, determined positional information is sent to character recognition comparison module 3322.
Character recognition comparison module 3322: the image that receives the functional module output of image processing system, the positional information of the character that receiving character position determination module 3321 is sent on output image, identification character on each position of output image, judge whether on all positions, all to identify that character and character that all identify and character be provided with that module 31 is provided with that respectively to test character all identical, if the current functional module of output image treatment system is normally indicated; Otherwise the current functional module of output image treatment system is indicated unusually.
The above only is process of the present invention and method embodiment, in order to restriction the present invention, all any modifications of being made within the spirit and principles in the present invention, is not equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1, a kind of method of detected image treatment system function is characterized in that, this method comprises:
To test character and be mixed on the input picture, with the functional module of mixed image input picture treatment system;
Character on the arbitration functions module output image whether with the test character match, if determine that the functional module of image processing system is normal.
2, the method for claim 1 is characterized in that, whether the character on the described arbitration functions module output image comprises with the test character match:
The character of identification on the output image compares character and each the test character that identifies one by one, judge whether all identical, if, judge whether the position of the character on the output image all correct, as if all correct, then the functional module of definite image processing system is normal.
3, the method for claim 1 is characterized in that, whether the character on the described arbitration functions module output image comprises with the test character match:
According to the test position of character on input picture and the function of functional module, determine the position of each character on output image, identification character on each position, if it is identical with each test character respectively all to identify character and each character on each position, determine that then the functional module of image processing system is normal.
4, as arbitrary described method in the claim 1~3, it is characterized in that, set in advance detection number of times functional module,
And, whether the character on the described arbitration functions module output image further comprises with the test character match afterwards: judge that whether the detection number of times that has carried out is less than the detection number of times that sets in advance, if less than, return execution and will test character and be mixed into action on the input picture.
5, method as claimed in claim 4 is characterized in that, after the detection number of times of determining to have carried out is less than the detection number of times that sets in advance, return execution and will test the action that character is mixed on the input picture and further comprise before:
The size of change test character, test character, test character are mixed into the one or any multiple combination in the position on the input picture.
As arbitrary described method in the claim 1~3, it is characterized in that 6, whether the character on the described arbitration functions module output image further comprises with the test character match afterwards:
The all functions module that judges whether image processing system has all detected and has finished, if not, to test character is mixed on the input picture, with next functional module of mixed image input picture treatment system, return the character carried out on the arbitration functions module output image whether with the action of test character match.
7, a kind of device of detected image treatment system function is characterized in that, this device comprises:
Character is provided with module, test character, character boundary and character is set is mixed into position on the input picture;
Mixing module receives input picture, according to character the test character information that module is provided with is set, and will test character and be mixed on the input picture, with the functional module of mixed image input picture treatment system;
Detection module receives the image of the functional module output of image processing system, judges that character on the output image and character are provided with the test character that is provided with in the module and whether mate, if the functional module of output image treatment system is normally indicated.
8, device as claimed in claim 7 is characterized in that, described detection module comprises:
Character recognition module receives the image of the functional module output of image processing system, and identification character on output image sends the character that identifies and the positional information on output image thereof;
The character comparison module, character that the reception character recognition module is sent and the positional information on output image thereof, the character of respectively testing that each character and character is provided with the module setting compares one by one, judge whether all identical, if the character of respectively testing that the module setting is set according to character is mixed into position on the input picture, judges whether the position of each character on output image be all correct, if all correct, the functional module of output image treatment system is normally indicated.
9, device as claimed in claim 7 is characterized in that, described detection module comprises:
The character position determination module, respectively test the function that character is mixed into the functional module of position on the input picture and image processing system according to what character was provided with the module setting, determine the position of each character on output image, determined positional information is sent;
The character recognition comparison module, receive the image of the functional module output of image processing system, the positional information of each character on output image that the receiving character position determination module is sent, identification character on each position of output image, judge whether on all positions, all to identify character and character that all identify and character be provided with the module setting respectively to test character all identical, if the functional module of output image treatment system is normally indicated.
CN200810103156A 2008-03-31 2008-03-31 Method and device for detecting image processing system function Expired - Fee Related CN100593344C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810103156A CN100593344C (en) 2008-03-31 2008-03-31 Method and device for detecting image processing system function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810103156A CN100593344C (en) 2008-03-31 2008-03-31 Method and device for detecting image processing system function

Publications (2)

Publication Number Publication Date
CN101272512A CN101272512A (en) 2008-09-24
CN100593344C true CN100593344C (en) 2010-03-03

Family

ID=40006153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810103156A Expired - Fee Related CN100593344C (en) 2008-03-31 2008-03-31 Method and device for detecting image processing system function

Country Status (1)

Country Link
CN (1) CN100593344C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110716537B (en) * 2019-11-19 2021-02-19 北京润科通用技术有限公司 Simulation test method and device

Also Published As

Publication number Publication date
CN101272512A (en) 2008-09-24

Similar Documents

Publication Publication Date Title
US8258803B2 (en) Test apparatus and test method
CN101778307B (en) Device for testing functions of set top box
CN106097361A (en) A kind of defective area detection method and device
CN109182462B (en) Method and device for judging whether detection indexes are positive or negative
CN106645209B (en) Detection method and system for key silk-screen printing
CN102012444B (en) Oscilloscope and method for testing serial bus signal by using same
CN104714009A (en) Immunoassay detection system and detection method
CN103019942A (en) Method and system for automatically testing applications to be tested based on android system
TW201216048A (en) Test system
CN103514092A (en) Method for automatic testing of software system of ATM
CN110864876A (en) Vehicle-mounted entertainment system test method, device, equipment and storage medium
CN105743737A (en) Non-standard PCIe3.0 interface test method and system
CN110687492A (en) Method and system for monitoring detection quality of automatic verification system of low-voltage current transformer on line
CN100593344C (en) Method and device for detecting image processing system function
CN110826646A (en) Robot vision testing method and device, storage medium and terminal equipment
WO2007033902A3 (en) Method and arrangement for testing a display device image
CN104751109A (en) Method and device for identifying consumable
CN106896710A (en) Scene configurable time synchronization test system and implementation method
CN108681705B (en) Metering equipment consistency judgment method and system based on pattern recognition
CN106383305A (en) Printed circuit board testing method, printed circuit board testing device and testing tool
CN102004177B (en) Oscilloscope and method for identifying time sequence of universal serial bus signals by using same
CN104596578A (en) Mobile terminal, inspection method and system for external connector based on the mobile terminal
CN112000532B (en) Method, device, equipment and system for detecting disk disorder
CN110046067B (en) Interface testing method and device
CN112785100B (en) Product detection threshold setting device, method and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: WUXI VIMICRO CO., LTD.

Free format text: FORMER OWNER: VIMICRO CORPORATION

Effective date: 20110126

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100083 15/F, SHINING BUILDING, NO. 35, XUEYUAN ROAD, HAIDIAN DISTRICT, BEIJING TO: 214028 610, NATIONAL IC DESIGN PARK (CHUANGYUAN BUILDING), NO. 21-1, CHANGJIANG ROAD, WUXI NEW DISTRICT, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20110126

Address after: 214028 national integrated circuit design (21-1), Changjiang Road, New District, Jiangsu, Wuxi, China, China (610)

Patentee after: Wuxi Vimicro Co., Ltd.

Address before: 100083, Haidian District, Xueyuan Road, Beijing No. 35, Nanjing Ning building, 15 Floor

Patentee before: Beijing Vimicro Corporation

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100303

Termination date: 20170331