CN107396088A - The method and device of test image quality - Google Patents

The method and device of test image quality Download PDF

Info

Publication number
CN107396088A
CN107396088A CN201610324173.8A CN201610324173A CN107396088A CN 107396088 A CN107396088 A CN 107396088A CN 201610324173 A CN201610324173 A CN 201610324173A CN 107396088 A CN107396088 A CN 107396088A
Authority
CN
China
Prior art keywords
color
module
image
tested
target area
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.)
Pending
Application number
CN201610324173.8A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610324173.8A priority Critical patent/CN107396088A/en
Publication of CN107396088A publication Critical patent/CN107396088A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/02Diagnosis, testing or measuring for television systems or their details for colour television signals

Abstract

The disclosure is directed to a kind of method and device of test image quality.Methods described includes:It is determined that color component of the target area being tested in image in the first color space;The color component color component of first color space being converted into the second color space;Whether within a preset range color component in second color space determines the color recovery value of the tested image, obtains test result;The prompting message of the color rendition quality of the tested image is generated according to the test result.Disclosed technique scheme can make tester intuitively get the relevant information of picture quality, realize automatic test picture quality, improve the testing efficiency of picture quality.

Description

The method and device of test image quality
Technical field
This disclosure relates to technical field of image processing, more particularly to a kind of method and dress of test image quality Put.
Background technology
In the test of camera imaging quality, correlation technique will take pictures obtained photo by artificial mode It imported into the photo analysis instrument (for example, imagetest) of specialty, passes through manual operation photo analysis The objective indicators such as the color recovery degree of accuracy of the instrument to photo, white balance are tested one by one, correlation technique It is artificial due to being completely dependent on, therefore the testing efficiency of photo is low.
The content of the invention
To overcome problem present in correlation technique, the embodiment of the present disclosure provides a kind of test image quality Method and device, to realize automatic test picture quality, improve testing efficiency.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method of test image quality, including:
It is determined that color component of the target area being tested in image in the first color space;
The color component color component of first color space being converted into the second color space;
Color component in second color space determines the color recovery value of the tested image Whether within a preset range, test result is obtained;
The prompting message of the color rendition quality of the tested image is generated according to the test result.
In one embodiment, face of the target area determined in tested image in the first color space Colouring component, it may include:
It is determined that the band of position where the standard color card being tested in image;
The target area for test image quality is determined in the band of position;
Determine color component of the target area in the first color space.
In one embodiment, the band of position where the standard color card determined in tested image, can Including:
Identification is located at the criss-cross finger URL of the corner location of the standard color card in the tested image;
The band of position according to where the finger URL determines the standard color card.
In one embodiment, the target area determined in the band of position for test image quality Domain, it may include:
Determine the first finger URL corresponding to the first corner position of the band of position and the second corner position Corresponding second finger URL, second corner position and the first corner position relative angle;
The width and height of the standard color card are determined according to first finger URL and second finger URL Degree;
Determined to be used for test chart according to the color lump position on the width, the height, the standard color card As the target area of quality, the target area corresponds to a color lump on the standard color card.
In one embodiment, the color component in second color space determines described tested Whether within a preset range to attempt the color recovery value of picture, it may include:
Determine the Standard Colors value of the target area;
Calculate the Euclidean distance of the color component and the Standard Colors value in second color space;
Determine the color recovery value of the tested image whether in preset range according to the Euclidean distance.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of device of test image quality, including:
First determining module, it is configured to determine that the target area in tested image in the first color space Color component;
Color conversion, it is configured as first color space for determining first determining module Color component be converted into color component in the second color space;
Second determining module, it is configured as second color after being changed according to the color conversion Whether within a preset range color component in space determines the color recovery value of the tested image, obtains To test result;
Generation module is prompted, the test result for being configured as obtaining according to second determining module is given birth to Into the prompting message of the color rendition quality of the tested image.
In one embodiment, first determining module may include:
First determination sub-module, the position area being configured to determine that where the standard color card in tested image Domain;
Second determination sub-module, it is configured as in the band of position that first determination sub-module determines The middle target area determined for test image quality;
3rd determination sub-module, it is configured to determine that the target area that second determination sub-module determines Color component of the domain in the first color space.
In one embodiment, first determination sub-module may include:
Submodule is identified, is configured as the corner position for the standard color card that identification is located in the tested image The criss-cross finger URL put;
4th determination sub-module, the finger URL for being configured as being recognized according to the identification submodule are true The band of position where the fixed standard color card.
In one embodiment, second determination sub-module may include:
5th determination sub-module, it is configured to determine that the position area that the 4th determination sub-module determines Second finger URL corresponding to first finger URL corresponding to first corner position in domain and the second corner position, Second corner position and the first corner position relative angle;
6th determination sub-module, be configured as being determined according to the 5th determination sub-module described first are fixed Position symbol determines the width and height of the standard color card with second finger URL;
7th determination sub-module, be configured as according to the 6th determination sub-module determine the width, Color lump position in the height, the standard color card determines the target area for test image quality, The target area corresponds to a color lump on the standard color card.
In one embodiment, second determining module may include:
8th determination sub-module, it is configured to determine that the Standard Colors value of the target area;
Apart from calculating sub module, be configured as calculating color component in second color space with it is described The Euclidean distance for the Standard Colors value that 8th determination sub-module determines;
9th determination sub-module, it is configured as according to described apart from the Europe that calculating sub module is calculated Whether formula distance determines the color recovery value of the tested image in preset range.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of device of test image quality, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
It is determined that color component of the target area being tested in image in the first color space;
The color component color component of first color space being converted into the second color space;
Color component in second color space determines the color recovery value of the tested image Whether within a preset range, test result is obtained;
The prompting message of the color rendition quality of the tested image is generated according to the test result.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The prompting message of the color rendition quality of tested image is generated according to test result, test can be made Personnel intuitively get the relevant information of picture quality, avoid and photo point is operated by the way of artificial The objective indicators such as the color recovery degree of accuracy of the analysis instrument to photo, AWB are tested one by one, real Show automatic test picture quality, improve the testing efficiency of picture quality.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory , the disclosure can not be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows and meets this hair Bright embodiment, and for explaining principle of the invention together with specification.
Figure 1A is the flow chart of the method for the test image quality according to an exemplary embodiment.
Figure 1B is the schematic diagram of the tested image according to an exemplary embodiment.
Fig. 2A is the flow chart of the method for the test image quality according to an exemplary embodiment one.
Fig. 2 B are the flow charts of the step S201 according to an exemplary embodiment one.
Fig. 2 C are the flow charts of the step S202 according to an exemplary embodiment one.
Fig. 3 is the flow chart of the method for the test image quality according to an exemplary embodiment two.
Fig. 4 is the flow chart of the method for the test image quality according to an exemplary embodiment three.
Fig. 5 is a kind of block diagram of the device of test image quality according to an exemplary embodiment.
Fig. 6 is the block diagram of the device of another test image quality according to an exemplary embodiment.
Fig. 7 is the block diagram of the device of another test image quality according to an exemplary embodiment.
Fig. 8 is a kind of frame of device suitable for test image quality according to an exemplary embodiment Figure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following When description is related to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous Key element.Embodiment described in following exemplary embodiment does not represent the institute consistent with the present invention There is embodiment.On the contrary, they are only and being described in detail in such as appended claims, of the invention one The example of the consistent apparatus and method of a little aspects.
Figure 1A is the flow chart of the method for the test image quality according to an exemplary embodiment, figure 1B is the schematic diagram of the tested image according to an exemplary embodiment;The side of the test image quality Method can apply test equipment (such as:Computer) on, can be soft by being installed in test equipment The mode of part realizes that as shown in Figure 1A, the method for the test image quality comprises the following steps S101-S104:
In step S101, it is determined that color of the target area being tested in image in the first color space Component.
In one embodiment, as shown in Figure 1B, target area can be the standard in tested image 10 Any one color lump in colour atla 1, for example, colored color lump 12, gray patches 13.In one embodiment, First color space can be RGB (red, green, blueness) space, color component can include it is red, Green, blue component.
In step s 102, the color component of the first color space is converted into the second color space Color component.
In one embodiment, the second color space can be Lab space, wherein, L represents lightness, a Related to b to color, color component can include a and b.In one embodiment, correlation can be passed through The color component of first color space is converted into the color component in the second color space, the disclosure by technology No longer it is described in detail.
In step s 103, the color component in the second color space determines the face of tested image Whether within a preset range color disengaging value, obtains test result.
In one embodiment, preset range is consistent with corresponding image processing algorithm, for example, to tested Attempt the image processing algorithm as carrying out color recovery, then color recovery value needs access to the true face of color lump Colouring component, or with the difference of true colors component in a preset range, for another example to tested Image carries out the image processing algorithm of white balance, and the color recovery value after white balance is handled needs access to White, in Lab space, a in color recovery value and b after white balance is handled close to 0, Or in the preset range centered on 0.
In step S104, the prompting of the color rendition quality of tested image is generated according to test result Message.
In one embodiment, if test result represents the color rendition quality of tested image in default model In enclosing, then corresponding image image processing algorithm can be prompted qualified, if test result represents tested The color rendition quality of image within a preset range, then can not prompt corresponding image image processing algorithm It is unqualified, it is necessary to be adjusted to the parameter being related in image processing algorithm.
In the present embodiment, the prompting message of the color rendition quality of tested image is generated according to test result, Tester can be made intuitively to get the relevant information of picture quality, avoided by the way of artificial The objective indicators such as the color recovery degree of accuracy of the photo analysis instrument to photo, AWB are operated one by one to enter Row test, realizes automatic test picture quality, improves the testing efficiency of picture quality.
In one embodiment, it is determined that the target area in tested image is divided in the color of the first color space Amount, it may include:
It is determined that the band of position where the standard color card being tested in image;
The target area for test image quality is determined in the band of position;
Determine color component of the target area in the first color space.
In one embodiment, it is determined that the band of position where standard color card in tested image, it may include:
The criss-cross finger URL of the corner location of standard color card of the identification in tested image;
The band of position according to where finger URL determines standard color card.
In one embodiment, the target area for test image quality is determined in the band of position, can be wrapped Include:
Determine that the first finger URL corresponding to the first corner position of the band of position and the second corner position are corresponding The second finger URL, the second corner position and the first corner position relative angle;
The width and height of standard color card are determined according to the first finger URL and the second finger URL;
The target for test image quality is determined according to the color lump position on width, height, standard color card Region, target area correspond to a color lump on standard color card.
In one embodiment, the color component in the second color space determines the color of tested image Within a preset range whether disengaging value, it may include:
Determine the Standard Colors value of target area;
Calculate the Euclidean distance of the color component and Standard Colors value in the second color space;
Determine the color recovery value of tested image whether in preset range according to Euclidean distance.
It is specific how test image quality, refer to subsequent embodiment.
So far, the above method that the embodiment of the present disclosure provides, can make tester intuitively get image The relevant information of quality, avoid operating color recovery of the photo analysis instrument to photo by the way of artificial The objective indicators such as the degree of accuracy, AWB are tested one by one, realize automatic test picture quality, Improve the testing efficiency of picture quality.
The technical scheme of embodiment of the present disclosure offer is provided with specific embodiment below.
Fig. 2A is the flow chart of the method for the test image quality according to an exemplary embodiment one, Fig. 2 B are the flow charts of the step S201 according to an exemplary embodiment one, and Fig. 2 C are according to one The flow chart of step S202 shown in exemplary embodiment one;The present embodiment is carried using the embodiment of the present disclosure The above method of confession, how to determine color of the target area in tested image in the first color space Exemplified by component and combination Figure 1B is illustrative, as shown in Figure 2 A, comprises the following steps:
In step s 201, it is determined that the band of position where standard color card in tested image.
In step S202, the target area for test image quality is determined in the band of position.
In step S203, color component of the target area in the first color space is determined.
In one embodiment, as shown in Figure 2 B, step S201 may include:
In step S211, the cross of the corner location of standard color card of the identification in tested image The finger URL of shape.
In step S212, the band of position according to where finger URL determines standard color card.
As shown in Figure 1B, can be in tested image on four corners of the identification in standard color card 11 Criss-cross finger URL, such as finger URL 141, finger URL 142, pass through finger URL 141 and finger URL 142 obtain the band of position 11 where standard color card.
In one embodiment, as shown in Figure 2 B, step S202 may include:
In step S221, determine the first finger URL corresponding to the first corner position of the band of position and Second finger URL corresponding to second corner position, the second corner position and the first corner position relative angle.
In step S222, according to the first finger URL and the second finger URL determine standard color card width and Highly.
In step S223, determine to be used to survey according to the color lump position on width, height, standard color card The target area of picture quality is tried, target area corresponds to a color lump on standard color card.
As shown in Figure 1B, finger URL 141 and each self-corresponding pixel coordinate position of finger URL 142 are passed through The width of the band of position 11 and height where standard color card can be obtained, further, since standard color card is 4*6 color lump, thus each color lump in the position of the band of position it was determined that when it needs to be determined that color , can be by determining to mark corresponding to color component and color lump 12 in color lump 12 during the degree of accuracy of recovery Quasi- color value determines whether the degree of accuracy of color recovery is subjected to, when needing the effect of white balance, can It is white flat to be determined by determining Standard Colors value corresponding to color component and color lump 13 in color lump 13 Weighing apparatus whether preset range of the convergence close to 0.
In the present embodiment, by determining the band of position where the standard color card in tested image, in place The target area determined in region for test image quality is put, so as to real in different target areas Now to the test of the picture quality of different Image Restoration Algorithms, avoid tester and test one by one manually.
Fig. 3 is the flow chart of the method for the test image quality according to an exemplary embodiment two;This Embodiment utilizes the above method that the embodiment of the present disclosure provides, the degree of accuracy using picture quality as color recovery Exemplified by and combine Figure 1B it is illustrative, as shown in figure 3, comprising the following steps:
In step S301, it is determined that color of the colored color lump being tested in image in the first color space Component.
In step s 302, the color component of the first color space is converted into the second color space Color component.
In step S303, it is determined that Standard Colors value corresponding to colored color lump.
In step s 304, the European of color component and the Standard Colors value in the second color space is calculated Distance.
In step S305, according to corresponding to Euclidean distance determines colored color lump color recovery value whether Preset range, obtain test result.
In step S306, the prompting of the color rendition quality of tested image is generated according to test result Message.
For example, for the color lump 12 shown in Figure 1B, color lump 12 is corresponding red, if color component is L1, a1, b1, and Standard Colors value corresponding to color lump 12 is L0, a0, b0, then calculates therebetween Euclidean distance Δ E1, when Δ E1 within a preset range when, it may be determined that it is tested where color lump 12 The color recovery algorithm of image can prompt tester's color recovery to the better quality of color rendition The currently used relevant parameter of algorithm is preferable;When Δ E1 not within a preset range when, it may be determined that color lump The color recovery algorithm of tested image where 12 can prompt to test to the second-rate of color rendition Personnel change the relevant parameter of color recovery algorithm.
In the present embodiment, the color component in the second color space determines color corresponding to colored color lump Whether within a preset range disengaging value, the color rendition quality of tested image is generated according to test result Prompting message, tester can be made intuitively to get the quality information of color rendition, avoid use It is objective that artificial mode operates the color recovery degree of accuracy of the photo analysis instrument to photo, AWB etc. Index is tested one by one, realizes automatic test picture quality, improves the test effect of picture quality Rate.
Fig. 4 is the flow chart of the method for the test image quality according to an exemplary embodiment three;This Embodiment utilizes the above method that the embodiment of the present disclosure provides, and the degree of accuracy using picture quality as white balance is Example is simultaneously illustrative with reference to Figure 1B, as shown in figure 4, comprising the following steps:
In step S401, it is determined that color of the gray patches being tested in image in the first color space Component.
In step S402, the color component of the first color space is converted into the second color space Color component.
In step S403, Standard Colors value corresponding to gray patches is determined.
In step s 404, the European of color component and the Standard Colors value in the second color space is calculated Distance.
In step S405, according to corresponding to Euclidean distance determines colored color lump color recovery value whether Preset range, obtain test result.
In step S406, the prompting of the color rendition quality of tested image is generated according to test result Message.
For example, for the color lump 13 shown in Figure 1B, 13 corresponding grey of color lump, if color component is L3, a3, b3, and Standard Colors value corresponding to color lump 13 is L2, a2, b2, wherein, a2, b2 are 0, a3, b3 then calculates Euclidean distance Δ E2 therebetween, when Δ E2 is default in theory close to 0 In the range of when, it may be determined that the better quality of the white balance processing of the tested image where color lump 13, can To prompt the currently used relevant parameter of tester's white balance algorithm preferable;When Δ E2 is not default In the range of when, it may be determined that the white balance processing of the tested image where color lump 13 it is second-rate, can To prompt tester to change the relevant parameter of white balance algorithm.
In the present embodiment, the color component in the second color space determine gray patches corresponding to color Within a preset range whether, the white balance effect for generating according to test result tested image carries disengaging value Show message, tester can be made intuitively to get the quality information of white balance, avoid using artificial Mode operate the objective indicators such as the color recovery degree of accuracy of the photo analysis instrument to photo, AWB Tested one by one, realize automatic test picture quality, improve the testing efficiency of picture quality.
It will be appreciated by persons skilled in the art that mesh is being identified by above-mentioned Fig. 2A illustrated embodiments After marking region, because the target area can correspond to color lump different on standard color card, therefore when scanning is arrived On standard color card during different color lumps, can the color value according to corresponding to the color lump perform Fig. 3 or Fig. 4 institutes Show the method flow of embodiment, so as to be carried out by a complete method flow to tested image Test, reduces the manual participation of tester.
Fig. 5 is a kind of block diagram of the device of test image quality according to an exemplary embodiment, such as Shown in Fig. 5, the device of test image quality includes:
First determining module 51, it is configured to determine that the target area in tested image is empty in the first color Between color component;
Color conversion 52, it is configured as the first fixed color space of the first determining module true 51 Color component is converted into the color component in the second color space;
Second determining module 53, it is empty to be configured as the second color after being changed according to color conversion 52 Between in color component determine tested image color recovery value whether within a preset range, tested As a result;
Generation module 54 is prompted, the test result for being configured as obtaining according to the second determining module 53 generates The prompting message of the color rendition quality of tested image.
Fig. 6 is the block diagram of the device of another test image quality according to an exemplary embodiment, As shown in fig. 6, on the basis of above-mentioned embodiment illustrated in fig. 5, in one embodiment, first determines mould Block 51 may include:
First determination sub-module 511, the position being configured to determine that where the standard color card in tested image Put region;
Second determination sub-module 512, it is configured as in the defined location region of the first determination sub-module 511 The middle target area determined for test image quality;
3rd determination sub-module 513, it is configured to determine that the target area that the second determination sub-module 512 determines Color component of the domain in the first color space.
In one embodiment, the first determination sub-module 511 may include:
Submodule 5111 is identified, is configured as the corner position of standard color card of the identification in tested image The criss-cross finger URL put;
4th determination sub-module 5112, it is configured as the finger URL recognized according to identification submodule 5111 Determine the band of position where standard color card.
In one embodiment, the second determination sub-module 512 may include:
5th determination sub-module 5121, it is configured to determine that the defined location of the 4th determination sub-module 5112 Second positioning corresponding to first finger URL corresponding to first corner position in region and the second corner position Symbol, the second corner position and the first corner position relative angle;
6th determination sub-module 5122, it is configured as first determined according to the 5th determination sub-module 5121 Finger URL and the second finger URL determine the width and height of standard color card;
7th determination sub-module 5123, be configured as according to the 6th determination sub-module 5122 determine width, Highly, the color lump position on standard color card determines the target area for test image quality, target area A color lump on corresponding standard color card.
Fig. 7 is the block diagram of the device of another test image quality according to an exemplary embodiment, As shown in fig. 7, on the basis of above-mentioned Fig. 5 or embodiment illustrated in fig. 6, in one embodiment, second Determining module 53 may include:
8th determination sub-module 531, it is configured to determine that the Standard Colors value of target area;
Apart from calculating sub module 532, it is configured as calculating the color component and the 8th in the second color space The Euclidean distance for the Standard Colors value that determination sub-module 531 determines;
9th determination sub-module 533, it is configured as according to apart from the Europe that calculating sub module 532 is calculated Whether formula distance determines the color recovery value of tested image in preset range.
On the device in above-described embodiment, the concrete mode that wherein modules perform operation is having Close and be described in detail in the embodiment of this method, explanation will be not set forth in detail herein.
Fig. 8 is a kind of frame of device suitable for test image quality according to an exemplary embodiment Figure.For example, device 800 can be mobile phone, computer, digital broadcast terminal, information receiving and transmitting sets It is standby, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 8, device 800 can include following one or more assemblies:Processing component 802, storage Device 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, input/output (I/O) Interface 812, sensor cluster 814, and communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, call, Data communicate, and camera operation and record operate associated operation.Treatment element 802 can include one Or multiple processors 820 carry out execute instruction, to complete all or part of step of above-mentioned method.In addition, Processing component 802 can include one or more modules, be easy between processing component 802 and other assemblies Interaction.For example, processing component 802 can include multi-media module, to facilitate multimedia groupware 808 Interaction between processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.This The example of a little data includes the instruction of any application program or method for being operated on device 800, connection It is personal data, telephone book data, message, picture, video etc..Memory 804 can be by any types Volatibility or non-volatile memory device or combinations thereof realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable programmable is read-only Memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), Magnetic memory, flash memory, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of device 800.Electric power assembly 806 can include Power-supply management system, one or more power supplys, and other are for device 800 with generating, managing and distributing electricity The associated component of power.
Multimedia groupware 808 is included in one output interface of offer between described device 800 and user Screen.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP). If screen includes touch panel, screen may be implemented as touch-screen, to receive the input from user Signal.Touch panel includes one or more touch sensors with sensing touch, slip and touch panel Gesture.The touch sensor can the not only border of sensing touch or sliding action, but also detect The duration and pressure related to the touch or slide.In certain embodiments, multimedia group Part 808 includes a front camera and/or rear camera.When equipment 800 is in operator scheme, such as When screening-mode or video mode, front camera and/or rear camera can receive outside multimedia Data.Each front camera and rear camera can be a fixed optical lens system or have Focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 wraps A microphone (MIC) is included, when device 800 is in operator scheme, such as call model, logging mode During with speech recognition mode, microphone is configured as receiving external audio signal.The audio signal received Memory 804 can be further stored in or sent via communication component 816.In certain embodiments, Audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 provide interface, above-mentioned periphery between processing component 802 and peripheral interface module Interface module can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Homepage is pressed Button, volume button, start button and locking press button.
Sensor cluster 814 includes one or more sensors, for providing various aspects for device 800 State estimation.For example, sensor cluster 814 can detect opening/closed mode of equipment 800, The relative positioning of component, such as the display and keypad that the component is device 800, sensor cluster 814 can be changed with the position of 800 1 components of detection means 800 or device, user and device 800 The existence or non-existence of contact, the orientation of device 800 or acceleration/deceleration and the temperature change of device 800.Pass Sensor component 814 can include proximity transducer, be configured to examine in no any physical contact Survey the presence of object nearby.Sensor cluster 814 can also include optical sensor, such as CMOS or CCD Imaging sensor, for being used in imaging applications.In certain embodiments, the sensor cluster 814 Acceleration transducer can also be included, gyro sensor, Magnetic Sensor, pressure sensor or temperature pass Sensor.
Communication component 816 is configured to facilitate wired or wireless way between device 800 and other equipment Communication.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or Combinations thereof.In one exemplary embodiment, communication component 816 is received via broadcast channel and come from The broadcast singal or broadcast related information of external broadcasting management system.In one exemplary embodiment, institute Stating communication component 816 also includes near-field communication (NFC) module, to promote junction service.For example, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, surpass Broadband (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), can compile It is journey logical device (PLD), field programmable gate array (FPGA), controller, microcontroller, micro- Processor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of computer-readable storage of non-transitory including instructing is additionally provided Medium, such as the memory 804 including instruction, above-mentioned instruction can be held by the processor 820 of device 800 Go to complete the above method.For example, the non-transitorycomputer readable storage medium can be ROM, Random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to this after considering specification and putting into practice disclosure disclosed herein Disclosed other embodiments.The application is intended to any modification, purposes or the adaptability of the disclosure Change, these modifications, purposes or adaptations follow the general principle of the disclosure and including this public affairs Open undocumented common knowledge or conventional techniques in the art.Description and embodiments only by It is considered as exemplary, the true scope of the disclosure and spirit are pointed out by following claim.
It should be appreciated that the disclosure be not limited to be described above and be shown in the drawings it is accurate Structure, and various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only by institute Attached claim limits.

Claims (11)

  1. A kind of 1. method of test image quality, it is characterised in that methods described includes:
    It is determined that color component of the target area being tested in image in the first color space;
    The color component color component of first color space being converted into the second color space;
    Color component in second color space determines the color recovery value of the tested image Whether within a preset range, test result is obtained;
    The prompting message of the color rendition quality of the tested image is generated according to the test result.
  2. 2. according to the method for claim 1, it is characterised in that described to determine in tested image Target area the first color space color component, including:
    It is determined that the band of position where the standard color card being tested in image;
    The target area for test image quality is determined in the band of position;
    Determine color component of the target area in the first color space.
  3. 3. according to the method for claim 2, it is characterised in that described to determine in tested image The band of position where standard color card, including:
    Identification is located at the criss-cross finger URL of the corner location of the standard color card in the tested image;
    The band of position according to where the finger URL determines the standard color card.
  4. 4. according to the method for claim 3, it is characterised in that described true in the band of position Surely it is used for the target area of test image quality, including:
    Determine the first finger URL corresponding to the first corner position of the band of position and the second corner position Corresponding second finger URL, second corner position and the first corner position relative angle;
    The width and height of the standard color card are determined according to first finger URL and second finger URL Degree;
    Determined to be used for test chart according to the color lump position on the width, the height, the standard color card As the target area of quality, the target area corresponds to a color lump on the standard color card.
  5. 5. according to the method for claim 1, it is characterised in that described empty according to second color Between in color component whether within a preset range determine the color recovery value of the tested image, including:
    Determine the Standard Colors value of the target area;
    Calculate the Euclidean distance of the color component and the Standard Colors value in second color space;
    Determine the color recovery value of the tested image whether in preset range according to the Euclidean distance.
  6. 6. a kind of device of test image quality, it is characterised in that described device includes:
    First determining module, it is configured to determine that the target area in tested image in the first color space Color component;
    Color conversion, it is configured as first color space for determining first determining module Color component be converted into color component in the second color space;
    Second determining module, it is configured as second color after being changed according to the color conversion Whether within a preset range color component in space determines the color recovery value of the tested image, obtains To test result;
    Generation module is prompted, the test result for being configured as obtaining according to second determining module is given birth to Into the prompting message of the color rendition quality of the tested image.
  7. 7. device according to claim 6, it is characterised in that first determining module includes:
    First determination sub-module, the position area being configured to determine that where the standard color card in tested image Domain;
    Second determination sub-module, it is configured as in the band of position that first determination sub-module determines The middle target area determined for test image quality;
    3rd determination sub-module, it is configured to determine that the target area that second determination sub-module determines Color component of the domain in the first color space.
  8. 8. device according to claim 7, it is characterised in that first determination sub-module includes:
    Submodule is identified, is configured as the corner position for the standard color card that identification is located in the tested image The criss-cross finger URL put;
    4th determination sub-module, the finger URL for being configured as being recognized according to the identification submodule are true The band of position where the fixed standard color card.
  9. 9. device according to claim 8, it is characterised in that second determination sub-module includes:
    5th determination sub-module, it is configured to determine that the position area that the 4th determination sub-module determines Second finger URL corresponding to first finger URL corresponding to first corner position in domain and the second corner position, Second corner position and the first corner position relative angle;
    6th determination sub-module, be configured as being determined according to the 5th determination sub-module described first are fixed Position symbol determines the width and height of the standard color card with second finger URL;
    7th determination sub-module, be configured as according to the 6th determination sub-module determine the width, Color lump position in the height, the standard color card determines the target area for test image quality, The target area corresponds to a color lump on the standard color card.
  10. 10. device according to claim 6, it is characterised in that second determining module includes:
    8th determination sub-module, it is configured to determine that the Standard Colors value of the target area;
    Apart from calculating sub module, be configured as calculating color component in second color space with it is described The Euclidean distance for the Standard Colors value that 8th determination sub-module determines;
    9th determination sub-module, it is configured as according to described apart from the Europe that calculating sub module is calculated Whether formula distance determines the color recovery value of the tested image in preset range.
  11. 11. a kind of device of test image quality, it is characterised in that described device includes:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    It is determined that color component of the target area being tested in image in the first color space;
    The color component color component of first color space being converted into the second color space;
    Color component in second color space determines the color recovery value of the tested image Whether within a preset range, test result is obtained;
    The prompting message of the color rendition quality of the tested image is generated according to the test result.
CN201610324173.8A 2016-05-16 2016-05-16 The method and device of test image quality Pending CN107396088A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610324173.8A CN107396088A (en) 2016-05-16 2016-05-16 The method and device of test image quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610324173.8A CN107396088A (en) 2016-05-16 2016-05-16 The method and device of test image quality

Publications (1)

Publication Number Publication Date
CN107396088A true CN107396088A (en) 2017-11-24

Family

ID=60337679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610324173.8A Pending CN107396088A (en) 2016-05-16 2016-05-16 The method and device of test image quality

Country Status (1)

Country Link
CN (1) CN107396088A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113031386A (en) * 2019-12-25 2021-06-25 浙江宇视科技有限公司 Method, apparatus, device and medium for detecting abnormality of dual-filter switcher

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001392A (en) * 2006-12-25 2007-07-18 华为技术有限公司 Detection system of camera head and its method
US20080137968A1 (en) * 2006-11-23 2008-06-12 Innowireless Co., Ltd. Apparatus and method for measuring quality of image received via communication network
CN101207832A (en) * 2006-12-19 2008-06-25 Tcl数码科技(深圳)有限责任公司 Method for checking digital camera color reduction
CN101631259A (en) * 2009-07-24 2010-01-20 青岛海信数字多媒体技术国家重点实验室有限公司 Method for evaluating color fidelity and subsystem thereof
TW201039617A (en) * 2009-04-29 2010-11-01 Ipanel Technologies Ltd Automatic test method, test device, and test system
CN102081802A (en) * 2011-01-26 2011-06-01 北京中星微电子有限公司 Method and device for detecting color card based on block matching
CN102158727A (en) * 2011-03-31 2011-08-17 惠州Tcl移动通信有限公司 Method and system for detecting color reducibility of camera of mobile phone
CN102378037A (en) * 2010-08-04 2012-03-14 致伸科技股份有限公司 Image test method of image acquisition device and image test device using same
CN202475666U (en) * 2011-12-31 2012-10-03 深圳市数据通计算机网络系统有限公司 Camera image color reductibility testing system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080137968A1 (en) * 2006-11-23 2008-06-12 Innowireless Co., Ltd. Apparatus and method for measuring quality of image received via communication network
CN101207832A (en) * 2006-12-19 2008-06-25 Tcl数码科技(深圳)有限责任公司 Method for checking digital camera color reduction
CN101001392A (en) * 2006-12-25 2007-07-18 华为技术有限公司 Detection system of camera head and its method
TW201039617A (en) * 2009-04-29 2010-11-01 Ipanel Technologies Ltd Automatic test method, test device, and test system
CN101631259A (en) * 2009-07-24 2010-01-20 青岛海信数字多媒体技术国家重点实验室有限公司 Method for evaluating color fidelity and subsystem thereof
CN102378037A (en) * 2010-08-04 2012-03-14 致伸科技股份有限公司 Image test method of image acquisition device and image test device using same
CN102081802A (en) * 2011-01-26 2011-06-01 北京中星微电子有限公司 Method and device for detecting color card based on block matching
CN102158727A (en) * 2011-03-31 2011-08-17 惠州Tcl移动通信有限公司 Method and system for detecting color reducibility of camera of mobile phone
CN202475666U (en) * 2011-12-31 2012-10-03 深圳市数据通计算机网络系统有限公司 Camera image color reductibility testing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113031386A (en) * 2019-12-25 2021-06-25 浙江宇视科技有限公司 Method, apparatus, device and medium for detecting abnormality of dual-filter switcher
CN113031386B (en) * 2019-12-25 2024-03-29 浙江宇视科技有限公司 Abnormality detection method, device, equipment and medium for double-filter switcher

Similar Documents

Publication Publication Date Title
CN105100764B (en) Image pickup method and device
CN105205479A (en) Human face value evaluation method, device and terminal device
CN106325521B (en) Test virtual reality head shows the method and device of device software
CN106454336A (en) Method and device for detecting whether camera of terminal is covered or not, and terminal
CN106373156A (en) Method and apparatus for determining spatial parameter by image and terminal device
CN105651381B (en) light sensor calibration method and device
CN107798314A (en) Skin color detection method and device
CN104182967B (en) image processing method, device and terminal
CN107426088A (en) Pictorial information processing method and processing device
CN104464674B (en) Liquid crystal display method of adjustment and device
CN105528765A (en) Method and device for processing image
CN106408567A (en) Imaging quality detection method and apparatus of camera
CN106815548A (en) Mobile device and its screen module, fingerprint verification method, device and electronic equipment
CN107563994A (en) The conspicuousness detection method and device of image
CN104050645A (en) Image processing method and device
CN105787322A (en) Fingerprint identification method and apparatus as well as mobile terminal
CN107622189A (en) Optimize the method and apparatus of unlocked by fingerprint
CN106817608A (en) Realize the method and device of local display
CN107845094A (en) Pictograph detection method, device and computer-readable recording medium
CN106557294A (en) Color adjustment method and device
CN105573747B (en) The test method and device of user interface
CN106791563A (en) Information transferring method, local device, opposite equip. and system
CN107767838A (en) Method of color gamut mapping of color and device
CN107610201A (en) Lip tattooing method and device based on image procossing
CN105677352A (en) Setting method and device for application icon color

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171124

RJ01 Rejection of invention patent application after publication