CN111917986A - Image processing method, medium thereof, and electronic device - Google Patents
Image processing method, medium thereof, and electronic device Download PDFInfo
- Publication number
- CN111917986A CN111917986A CN202010841953.6A CN202010841953A CN111917986A CN 111917986 A CN111917986 A CN 111917986A CN 202010841953 A CN202010841953 A CN 202010841953A CN 111917986 A CN111917986 A CN 111917986A
- Authority
- CN
- China
- Prior art keywords
- image
- quality parameter
- preset
- image quality
- processed
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30168—Image quality inspection
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
- Image Processing (AREA)
Abstract
The present application relates to the field of image processing technologies, and in particular, to an image processing method, medium, and electronic device, where the method includes: the method comprises the steps that the electronic equipment obtains an image to be processed, and the image to be processed is displayed on a display screen of the electronic equipment; the electronic equipment determines image quality parameters in the displayed image to be processed; the image quality parameter is obtained by online calculation by an image digital processor according to the brightness value of a pixel in the image to be processed; under the condition that the electronic equipment judges that the image quality parameters do not meet the preset image quality, the corresponding image quality parameters are improved by reasonably debugging the parameters of the corresponding image processing modules, images meeting the preset image quality standard are displayed on the display screen in real time, and the accuracy, reliability and efficiency of image processing and quality evaluation are improved.
Description
Technical Field
The present disclosure relates to the field of image processing technologies, and in particular, to an image processing method, a medium thereof, and an electronic device.
Background
With the development of image processing technology, the requirements for imaging quality are higher and higher, and it is necessary to perform image processing on a captured image, so as to reduce or eliminate the damage to some parameters of the image caused by the influence of an external environment, such as the saturation and contrast of image colors, and the parameters of pixel point separation, and obtain an image satisfying an expected effect. Therefore, image processing and image effect evaluation are very important.
In the prior art, image quality is generally debugged on line, after the image quality is considered to reach an ideal index through subjective evaluation, the image is stored, and objective image index analysis is performed by using an off-line debugging tool. Therefore, the image processing and the objective image analysis are not matched in real time, a certain time difference exists, the evaluation delay is large, and the evaluation efficiency is not high; in addition, in the actual operation process, because the subjective judgment of people has considerable limitations and is limited by the experience of an image tuning engineer, the optimal result of the subjective judgment and the objective index are often greatly different, the evaluation result has subjectivity, the evaluation accuracy is low, and the evaluation reliability and efficiency are not high.
Disclosure of Invention
The application discloses an image processing method and medium thereof, which can obtain a target image meeting requirements after objective quality evaluation is carried out on the image, and improve the reliability and efficiency of evaluation.
In a first aspect, an embodiment of the present application provides an image processing method, where the method includes: the method comprises the steps that an electronic device obtains an image to be processed and displays the image to be processed on a display screen of the electronic device;
the electronic equipment determines image quality parameters in the displayed image to be processed; the image quality parameter is calculated by an image digital processor according to the brightness value of the pixel in the image to be processed;
under the condition that the electronic equipment judges that the image quality parameter does not meet a preset image processing condition, the preset image processing condition comprises a preset image quality parameter; performing image processing on the displayed image to be processed based on the preset image quality parameter to obtain an image meeting the preset image quality parameter, and
and the electronic equipment displays the image meeting the preset image quality parameter on the display screen.
In the embodiment of the application, due to the influence of the external environment, the brightness and the definition of the image to be processed may be damaged in the shooting and imaging process, and the image meeting the quality requirement cannot be obtained. And calculating image quality parameters in the image to be processed to obtain objective parameters capable of objectively evaluating the quality of the image to be processed, and processing the image according to the preset image quality parameters to improve the accuracy, reliability and efficiency of image processing.
In a possible implementation of the first aspect, the image quality parameter includes at least one of a contrast value of the selected area of the image, a signal-to-noise value of the selected area of the image, an edge sharpness value of the selected area of the image, an average brightness value of the selected area of the image, and a real-time histogram of the selected area of the image.
In a possible implementation of the first aspect, the method further includes:
and under the condition that the image quality parameter is judged to meet the preset image quality parameter condition, storing the image meeting the preset image quality parameter in a memory.
In a possible implementation of the first aspect, the method further includes:
and the electronic equipment displays the image meeting the preset image quality parameter and the preset image quality parameter on the display screen.
And displaying the image meeting the preset image quality parameter and the preset image quality parameter in the appointed area on the display, so that a user can conveniently see the image processing result in real time, and the user experience is improved.
In a possible implementation of the first aspect, the image processing the displayed image to be processed based on a preset image quality parameter to obtain an image meeting the preset image quality parameter includes:
displaying a preset image quality parameter selection menu in a designated area on the display screen;
the image processing request is obtained, and the image processing request comprises a preset image quality parameter input in a preset image quality parameter selection menu;
and performing image processing on the displayed image to be processed based on the preset image quality parameter to obtain an image meeting the preset image quality parameter condition.
And an image quality parameter selection menu is displayed on the display, so that a user can select objective image processing parameters independently, and the user experience is improved.
In a possible implementation of the first aspect, the method further includes:
and under the condition that the image quality parameter is judged to meet the preset image quality parameter condition, the electronic equipment stores the image meeting the preset image quality parameter condition in a memory.
In a possible implementation of the first aspect, in a case that the electronic device determines that the image quality parameter does not satisfy a preset image processing condition, performing image processing on the displayed image to be processed based on the preset image quality parameter to obtain an image that satisfies the preset image quality parameter includes: and if the electronic equipment judges that the average brightness value of the selected area of the image is not in a preset brightness value interval, the image digital processor performs image processing on the displayed image to be processed, and the average brightness value of the image is adjusted in the preset brightness interval, so that the image quality parameter meets the preset image processing condition.
In a possible implementation of the first aspect, the method further includes: and the electronic equipment displays the image test chart in the designated area of the display screen.
In a possible implementation of the first aspect, the method further includes:
displaying on the display at least one of a contrast value of the selected region of the image, a signal-to-noise ratio value of the selected region of the image, an edge sharpness value of the selected region of the image, an average brightness value of the selected region of the image, and a real-time histogram of the selected region of the image based on the brightness values of the pixels.
In a second aspect, this application implementation provides a machine-readable medium, where the machine-readable medium has stored thereon instructions, which when executed on a machine, cause the machine to perform the image processing method described above.
In a third aspect, an embodiment of the present application further provides an electronic device, which includes:
a memory for storing instructions for execution by one or more processors of the electronic device, an
And the processor is one of the processors of the electronic equipment and is used for executing the image processing method.
Drawings
Fig. 1 is a scene diagram illustrating an application of an image processing method according to an embodiment of the present application.
Fig. 2 is a schematic diagram illustrating a hardware and software structure of a camera 200 according to an embodiment of the present disclosure.
Fig. 3 is a schematic flowchart illustrating an image processing method according to an embodiment of the present application.
Fig. 4A is a display interface diagram of an image processing method according to an embodiment of the present application.
Fig. 4B is a display interface diagram of another image processing method according to the embodiment of the present application.
Fig. 5 is a block diagram of a System on Chip (SoC) according to an embodiment of the present disclosure.
Detailed Description
The present application is further described with reference to the following detailed description and the accompanying drawings.
Illustrative embodiments of the present application include, but are not limited to, image processing methods and media therefor, and the like.
The application discloses an image processing method and medium thereof, which can carry out objective quality assessment on images in real time and process the images to obtain images meeting requirements, and improve the reliability and efficiency of image processing.
Embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 illustrates an application scenario of an image processing method according to an embodiment of the present application. As shown in fig. 1, the application scenario includes 100.
It is to be understood that although a camera 100 is shown in fig. 1, the electronic device 100 suitable for the present application may be various devices having functions of taking pictures, videos and processing pictures and videos, such as, but not limited to, the camera 100, a mobile phone, a tablet computer, a notebook computer, a desktop computer, a smart tv, and the like. The camera 100 obtains images through the camera 100a, or videos formed by continuous images; displaying the photographed image on the display screen 100b of the camera 100; the camera 100 calculates an image quality parameter in a captured image; such as brightness, signal-to-noise ratio, contrast, sharpness of edges, etc. of the image; in the case where the camera 100 determines that the image quality parameter is equal to or greater than the preset image quality parameter or is not within the preset image quality parameter range, the camera 100 performs image processing on the displayed image based on the preset image quality parameter to obtain an image satisfying the preset image quality parameter, and the camera 100 displays the image satisfying the preset image quality parameter on the display screen.
For convenience of description, the technical solution of the present application is described below by taking the electronic device 100 as the camera 100 as an example.
Specifically, fig. 2 shows a hardware structure diagram of a camera 100 according to an embodiment of the present application. The following describes a hardware structure diagram of the camera 100 with reference to fig. 2
As shown in fig. 2, camera 200 may include a camera 101, system control logic 102, a display screen 103, a processor 104, and a memory 105.
The camera 101 is used to take images.
System control logic 102 may include any suitable interface controllers to provide any suitable interface to at least one of processors 104 and/or any suitable device or component in communication with system control logic 102.
The display screen 103 is used to display images and to enable human-computer interaction with a user. In some embodiments of the present application, the display screen 103 may be used to display images that meet preset image quality parameters. If the video is formed by continuous images, the video formed by the image sequence meeting the preset image quality parameter can be presented on the display screen.
It is to be understood that the hardware architecture of the camera 100 shown in the embodiment of the present application does not constitute a specific limitation to the camera 200. In other embodiments of the present application, camera 200 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components.
Taking the electronic device 100 as an example of the camera 100, an image processing method provided in the embodiment of the present application is described in detail below with reference to fig. 3.
Fig. 3 is a flowchart illustrating an image processing method of the camera 100 according to an embodiment of the present disclosure. As shown in fig. 3, the method includes:
s301, the camera 100 acquires an image to be processed and displays the image to be processed on the display screen of the camera 100.
In the embodiment of the present application, the camera 100 captures an image to be processed in a target scene.
S302, the camera 100 determines image quality parameters in the displayed image to be processed; the image quality parameter is calculated by an image digital processor according to the brightness value of the pixel in the image to be processed. It will be appreciated that the image digital processor may be a processor provided in the camera; the image digital processor may be a processor provided outside the camera 100, a processor fixedly connected or detachably connected to an external interface of the camera 100.
Due to the influence of external environment and the like on the image to be processed, the brightness and the definition of the image to be processed may be damaged in the shooting and imaging process, and an image meeting the quality requirement cannot be obtained. Therefore, the camera 100 needs to calculate the image quality parameters in the image to be processed to obtain objective parameters capable of objectively evaluating the quality of the image to be processed and process the image which does not meet the quality requirement, thereby improving the accuracy of image processing.
In an embodiment of the present application, the image quality parameter includes at least one of a contrast value of the selected image area, a signal-to-noise ratio value of the selected image area, an edge sharpness value of the selected image area, an average brightness value of the selected image area, and a real-time histogram of the selected image area, where the selected image area is a local area or a whole area of the image, and the specific details are as follows:
(a) luminance value of a pixel and corresponding pixel number information (i.e., histogram); the brightness of an image is understood in colloquial terms as the brightness of the image, so that an image can be defined as a two-dimensional function f (x, y), each pixel in the image can be represented by (x, y) coordinates, the amplitude value f at any pair of spatial coordinates (x, y) is referred to as the intensity or gray scale of the image at the point, and if the gray scale value f is between [0, 255], the lower the brightness of the f value is closer to 0, the higher the brightness of the f value is closer to 255. In some embodiments, the luminance value of the pixel and the corresponding pixel number information are the number of pixels corresponding to the luminance value of each pixel, and are displayed on the display screen in the form of a histogram, where the X-axis is the luminance value of the pixel and the Y-axis is the number of the pixels. For example, the luminance value of a pixel is 200, and the number of pixels is 59.
(b) A contrast value of the image; the contrast value of the image refers to a fall value of dark and light of the image and a multiple relation of dark and light of the image, namely a ratio between the maximum gray level and the minimum gray level of the image;
(c) the signal-to-noise ratio of the image and the signal-to-noise ratio are important indexes for evaluating the noise of the image, and the calculation of the signal-to-noise ratio needs to calculate the mean square error of pixel points in an appointed rectangular region.
(d) An edge sharpness value of the image; the image sharpening is to compensate the outline of the image, enhance the edge of the image and the part with gray jump, and make the image clear. The definition of the image is calculated through a Modulation Transfer Function (MTF), and the calculation contents of the MTF in the horizontal, vertical, 45-degree and 135-degree directions can be displayed on a display interface.
(e) An average luminance value of the image; the brightness value includes an average brightness value of the image, which is an average value of the brightness of all pixels.
The brightness value of the pixel and the corresponding pixel quantity information, the contrast value of the image, the signal-to-noise ratio value of the image, the edge sharpness value of the image and the average brightness value of the image are not independent of each other, and changing one of the characteristics may cause changes of other characteristics of the image at the same time, as for the degree of the change, the change depends on the characteristics of the image, so the image quality parameters need to be processed at the same time to obtain an image with higher quality, and the pixel value in the image to be processed is easier to obtain, thereby being convenient for processing the image to be processed quickly.
In some embodiments, in order to facilitate a user to view image quality parameters, the camera 100 calculates objective image quality indexes of a displayed image to be processed, and directly displays the objective image quality indexes on a display screen through an on-screen display (OSD) manner, so as to obtain the objective quality indexes of a current evaluation image in real time, thereby improving the efficiency of image optimization, specifically, the method includes:
after the camera 100 determines the image quality parameter in the image to be processed, the camera 100 displays the image satisfying the preset image quality parameter and the preset image quality parameter in a designated area on the display of the camera 100. The user can conveniently see the image processing result in real time, and the user experience is improved.
The designated area may be a designated area in the image to be processed or the processed image, or an operation area in the display interface of the camera 100 so as to see a complete picture.
In addition, in some embodiments, a 24 color card, an ISO12233 sharpness map card, a professional image test map card (Kodak step chart), or the like may be placed on a designated area of the display screen to be displayed, so as to evaluate the image quality parameter in the image to be processed according to the pixel value in the professional image test map card, where the designated area may be a display area corresponding to the image to be processed or the processed image, or may be a display area other than the image to be processed or the processed image.
S303, the camera 100 judges whether the image quality parameter meets a preset image processing condition, wherein the preset image processing condition comprises a preset image quality parameter; if not, go to S304; if yes, go to S305.
In some embodiments, the preset image processing condition may be satisfied: the image quality parameter is greater than or equal to a preset image quality parameter; or; the image quality parameter is within a range of a preset image quality parameter.
For example, an image quality parameter such as a brightness value of a pixel, a contrast value of an image, a signal-to-noise ratio of an image, an edge sharpness value of an image, etc. being greater than or equal to a predetermined image quality parameter is considered to satisfy a predetermined image processing condition.
And the average brightness value is regarded as that the image quality parameter meets the preset image processing condition within the range of the preset image quality parameter.
The image quality parameter not meeting the preset image processing condition may be: the image quality parameter is less than the preset image quality parameter; or; the image quality parameter is not within a range of a preset image quality parameter.
For example, an image quality parameter such as a brightness value of a pixel, a contrast value of an image, a signal-to-noise ratio value of an image, an edge sharpness value of an image, etc. smaller than a preset image quality parameter is considered to be not satisfying a preset image processing condition.
The average brightness value is not within the range of the preset image quality parameter and is regarded as not satisfying the preset image processing condition.
S304, the camera 100 processes the displayed image to be processed through the digital processor based on the preset image quality parameters, and jumps to S301; until an image satisfying the preset image quality parameter is obtained, the camera 100 displays the image satisfying the preset image quality parameter on the display screen.
In some embodiments, the camera 100 determines that the brightness value of the pixel in the image is less than or greater than the preset brightness value, and adjusts the brightness value of the pixel less than or greater than the preset brightness value to the preset brightness value. And displaying the adjusted image on a display screen.
Contrast, signal-to-noise ratio and the like are descriptions of different dimensions of objective indexes of image quality, are independent of each other and have correlation, the independence means that the indexes are separately and independently debugged in debugging, and the correlation means that the index of a certain dimension is improved and is likely to cause reduction of another index, so that the contrast, the signal-to-noise ratio and the like need to be correspondingly debugged.
In some embodiments, the camera 100 determines that the contrast value of the image is smaller than the preset contrast value, and increases the value of the maximum gray scale of the pixel in the image such that the contrast value of the image is greater than or equal to the preset contrast value. And displaying the adjusted image on a display screen. Further, in some embodiments, the camera 100 determines that the contrast value of the image is less than the preset contrast value, and decreases the value of the minimum gray of the pixel in the image so that the contrast value of the image is equal to the preset contrast value. And displaying the adjusted image on a display screen.
In addition, in some embodiments, different image quality parameters require debugging of corresponding digital circuit modules of different ISPs (image digital processors), for example, if the signal-to-noise ratio does not meet a desired standard, parameters in the noise reduction circuit module need to be adjusted to obtain an image meeting preset image quality parameters. The digital circuit for noise reduction processing may be two low-pass filters connected in series, and the filters have parameters such as corresponding noise cut-off frequency, noise reduction intensity, edge retention threshold, and the like, so as to process the electrical signal of the image to be processed, and obtain the image to be processed with a signal-to-noise ratio greater than or equal to a preset value.
In some embodiments, edge sharpness values in the horizontal, vertical, 45 degree, and 135 degree directions of the image are determined by the modulation transfer function. The image sharpening is to compensate the outline of the image, enhance the edge of the image and the part with gray jump, and make the image clear. And displaying the adjusted image on a display screen when the edge sharpness value of the image is greater than or equal to the preset edge sharpness value.
In some embodiments, when the camera 100 determines that the average brightness value of the selected area of the image is not in the preset brightness value interval, the image digital processor performs image processing on the displayed image to be processed, and adjusts the average brightness value of the image within the preset brightness interval, so that the image quality parameter meets the preset image processing condition. And displaying the adjusted image on a display screen.
In some embodiments, the camera 100 determines that the average brightness value of the image is smaller or larger than the preset average brightness value, and the brightness value of the pixel of the image is adjusted to the preset average brightness value. And displaying the adjusted image on a display screen.
In addition, in some embodiments, the magnification of the photosensitive device is increased when the on-line calculated average brightness is below an expected value and decreased when the average brightness is above an expected value.
Image quality parameters such as contrast value of an image, signal-to-noise value of an image, edge sharpness value of an image, average brightness value of an image, etc. may be integrated in digital circuitry for real-time computation and processing. Some image quality parameters are very complicated to calculate, which is not beneficial to the realization of the image digital processor, and considering the feasibility and complexity of the realization of the image digital processor, the circuit for calculating the objective image quality index used in the embodiment of the application is a circuit using a brightness information statistical module in the image digital processor, so that the image digital processor is fully utilized, a new circuit is not required to be added on the basis of the image digital processor, and the cost is reduced. The image processing and the objective image analysis are matched in real time, the limitation of subjective judgment of people and the limitation of experience of image tuning engineers are overcome to a certain extent, the image with the objective index close to that of the objective index is obtained, and the accuracy of image evaluation and image processing is improved.
In some embodiments, the adjusted image is presented on a display screen. The user can see the image meeting the preset image parameter requirement conveniently, and the user experience is improved.
In addition, in some embodiments, the image processing the displayed image to be processed based on the preset image quality parameter to obtain an image meeting the preset image quality parameter includes:
the camera 100 displays a preset image quality parameter selection menu in a designated area on the display screen;
the camera 100 acquires an image processing request including a preset image quality parameter input in a preset image quality parameter selection menu;
the camera 100 performs image processing on the displayed image to be processed based on the preset image quality parameter to obtain an image satisfying the condition of the preset image quality parameter.
For example: fig. 4A is a display interface diagram of an image processing method of the camera 100 according to an embodiment of the present application, and as shown in fig. 4A, after the camera 100 determines an image quality parameter in an image to be processed, an image quality parameter 401 of a current image and a preset image quality parameter selection menu 402 are displayed on a display screen, where the image quality parameter selection menu 402 includes a contrast value of the image, a signal-to-noise ratio value of the image, an edge sharpness value of the image, and an average brightness value of the image. The camera 100 determines an image processing request in response to a gesture operation in the image quality parameter selection menu. Inputting a preset image quality parameter in an image quality parameter selection menu, clicking a determination button 405 in the image quality parameter selection menu, wherein the image processing request comprises the preset image quality parameter input in the preset image quality parameter selection menu, the camera 100 obtains the image processing request, and the camera 100 performs image processing on a displayed image to be processed based on the preset image quality parameter to obtain an image meeting the preset image quality parameter. Fig. 4B is a display interface diagram of another image processing method according to the embodiment of the present application. And displaying the 24 color cards 404 on the display interface map, so that the images to be processed are processed according to the preset signal-to-noise ratio value by taking 6 gray color cards in the 24 color cards as reference standards to obtain images meeting the preset image quality parameters. In addition, a histogram obtained according to the brightness value of the pixel and the corresponding pixel number information can be displayed on the display interface diagram. In addition, in addition to displaying the 24-color chart 404 on the display interface, an image test chart such as an ISO12233 sharpness chart, Kodak step chart (Kodak step chart), or the like may be displayed for different image quality parameter tuning.
By setting the preset image quality parameter selection menu, it is convenient for the user to set the preset image quality parameters according to objective needs, so that the camera 100 can adjust the image to the image with the load required by the preset image quality parameters.
An image quality parameter selection menu is displayed on the display of the camera 100, which facilitates the user to autonomously select objective image processing parameters, improving user experience.
The camera 100 performs image processing on an image to be processed based on preset image quality parameters to obtain a processed image. For example, the camera 100 performs image processing on an image to be processed a plurality of times based on preset image quality parameters to obtain a processed image.
The camera 100 displays an image satisfying the preset image quality parameter on a display screen and the camera 100 stores the image satisfying the preset image quality parameter in a memory S305.
Embodiments of the present application also provide a machine-readable medium having stored thereon instructions, which when executed on a machine, cause the machine to perform the image processing method described above.
Alternatively, in this embodiment, the storage medium may be located in at least one network server of a plurality of network servers of a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Embodiments of the present application further provide a method, including:
a memory for storing instructions for execution by one or more processors of the system, an
The processor is one of the processors for executing the image processing method. This has a function of realizing the image processing method described above. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described functions.
According to another embodiment of the present application, a System on Chip (SoC) is provided. Fig. 5 shows a block diagram of a System on Chip (SoC) 200. In fig. 5, similar components have the same reference numerals. In addition, the dashed box is an optional feature of more advanced socs. In fig. 5, the SoC 200 includes: an interconnect unit 210 coupled to the application processor 110; a system agent unit 220; a bus controller unit 230; an integrated memory controller unit 240; a set or one or more coprocessors 250 which may include integrated graphics logic, an image processor, an audio processor, and a video processor; a Static Random-Access Memory (SRAM) unit 260; a Direct Memory Access (DMA) unit 270.
Embodiments disclosed herein may be implemented in hardware, software, firmware, or a combination thereof, as computer programs or program code that execute on programmable systems, which may include at least one processor, a storage system (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device.
Program code may be applied to the input instructions to perform the determining image quality parameters in the displayed image to be processed as described herein; and under the condition that the image quality parameter and the preset image quality parameter are judged, performing image processing on the displayed image to be processed based on the preset image quality parameter to obtain an image meeting the preset image quality parameter condition, and displaying the function of the image meeting the preset image quality parameter condition on the display screen and generating output information. The output information may be applied to one or more output devices in a known manner.
For purposes of this Application, a processing system includes any system having a processor such as a Digital Signal Processor (DSP), an image digital processor (ISP), a microcontroller, an Application Specific Integrated Circuit (ASIC), or a microprocessor.
The program code may be implemented in a high level procedural or object oriented programming language to communicate with a processing system. The program code can also be implemented in assembly or machine language, if desired. Indeed, the mechanisms described in this application are not limited in scope to any particular programming language. In any case, the language may be a compiled or interpreted language. When designing a circuit implemented in hardware, the language herein is dedicated to a programmable logic design language, such as Verilog, VHDL, etc., and the term saving circuit design cost is also dedicated to this case.
While the present application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.
Claims (10)
1. An image processing method, characterized in that the method comprises:
the method comprises the steps that an electronic device obtains an image to be processed and displays the image to be processed on a display screen of the electronic device;
the electronic equipment determines image quality parameters in the displayed image to be processed; the image quality parameter is calculated by an image digital processor according to the brightness value of the pixel in the image to be processed;
under the condition that the electronic equipment judges that the image quality parameter does not meet a preset image processing condition, the preset image processing condition comprises a preset image quality parameter; performing image processing on the displayed image to be processed through an image digital processor based on the preset image quality parameter to obtain an image meeting the preset image quality parameter, and
and the electronic equipment displays the image meeting the preset image quality parameter on the display screen.
2. The method of claim 1, wherein the image quality parameter comprises at least one of a contrast value of the selected region of the image, a signal-to-noise value of the selected region of the image, an edge sharpness value of the selected region of the image, an average luminance value of the selected region of the image, and a real-time histogram of the selected region of the image.
3. The method of claim 1, further comprising: and the electronic equipment displays the image meeting the preset image quality parameter and the preset image quality parameter on the display screen.
4. The method according to claim 1, wherein the image processing the displayed image to be processed based on a preset image quality parameter to obtain an image satisfying the preset image quality parameter comprises:
displaying a preset image quality parameter selection menu in a designated area on the display screen;
the image processing request is obtained, and the image processing request comprises a preset image quality parameter input in a preset image quality parameter selection menu;
and performing image processing on the displayed image to be processed based on the preset image quality parameter to obtain an image meeting the preset image quality parameter condition.
5. The method of claim 1, further comprising: and under the condition that the image quality parameter is judged to meet the preset image quality parameter condition, the electronic equipment stores the image meeting the preset image quality parameter condition in a memory.
6. The method according to claim 1, wherein in a case that the electronic device determines that the image quality parameter does not satisfy a preset image processing condition, performing image processing on the displayed image to be processed based on the preset image quality parameter to obtain an image satisfying the preset image quality parameter comprises: and if the electronic equipment judges that the average brightness value of the selected area of the image is not in a preset brightness value interval, the image digital processor performs image processing on the displayed image to be processed, and the average brightness value of the image is adjusted in the preset brightness interval, so that the image quality parameter meets the preset image processing condition.
7. The method of claim 1, further comprising: and the electronic equipment displays the image test chart in the designated area of the display screen.
8. The method of claim 1, further comprising: displaying on the display at least one of a contrast value of the selected region of the image, a signal-to-noise ratio value of the selected region of the image, an edge sharpness value of the selected region of the image, an average brightness value of the selected region of the image, and a real-time histogram of the selected region of the image based on the brightness values of the pixels.
9. A machine-readable medium having stored thereon instructions which, when executed on a machine, cause the machine to perform the image processing method of any one of claims 1 to 8.
10. An electronic device, comprising:
a memory for storing instructions for execution by one or more processors of the electronic device, an
A processor, being one of the processors of the electronic device, for performing the image processing method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010841953.6A CN111917986A (en) | 2020-08-20 | 2020-08-20 | Image processing method, medium thereof, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010841953.6A CN111917986A (en) | 2020-08-20 | 2020-08-20 | Image processing method, medium thereof, and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111917986A true CN111917986A (en) | 2020-11-10 |
Family
ID=73278565
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010841953.6A Pending CN111917986A (en) | 2020-08-20 | 2020-08-20 | Image processing method, medium thereof, and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111917986A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112967273A (en) * | 2021-03-25 | 2021-06-15 | 北京的卢深视科技有限公司 | Image processing method, electronic device, and storage medium |
CN113988649A (en) * | 2021-10-30 | 2022-01-28 | 深圳曦华科技有限公司 | Display function testing method of display screen and related device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006013618A (en) * | 2004-06-22 | 2006-01-12 | Sony Corp | Image quality adjusting device |
US20170230586A1 (en) * | 2014-08-04 | 2017-08-10 | Canon Kabushiki Kaisha | Information processing apparatus, information processing method, and program |
CN108234893A (en) * | 2018-01-02 | 2018-06-29 | 努比亚技术有限公司 | A kind of brightness adjusting method, equipment and computer readable storage medium |
US20200059605A1 (en) * | 2018-08-17 | 2020-02-20 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and apparatus for image processing, and mobile terminal |
CN110889802A (en) * | 2018-09-10 | 2020-03-17 | 北京微播视界科技有限公司 | Image processing method and device |
-
2020
- 2020-08-20 CN CN202010841953.6A patent/CN111917986A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006013618A (en) * | 2004-06-22 | 2006-01-12 | Sony Corp | Image quality adjusting device |
US20170230586A1 (en) * | 2014-08-04 | 2017-08-10 | Canon Kabushiki Kaisha | Information processing apparatus, information processing method, and program |
CN108234893A (en) * | 2018-01-02 | 2018-06-29 | 努比亚技术有限公司 | A kind of brightness adjusting method, equipment and computer readable storage medium |
US20200059605A1 (en) * | 2018-08-17 | 2020-02-20 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and apparatus for image processing, and mobile terminal |
CN110889802A (en) * | 2018-09-10 | 2020-03-17 | 北京微播视界科技有限公司 | Image processing method and device |
Non-Patent Citations (3)
Title |
---|
刘帆等: "《大学生KAB创业精讲》", 30 April 2013 * |
贺鹏: "《智能手机故障检测与维修从入门到精通》", 31 January 2019 * |
马洪蕊等: "《嵌入式视频应用系统设计与实现:基于TI DaVinciDM355处理器》", 31 August 2011 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112967273A (en) * | 2021-03-25 | 2021-06-15 | 北京的卢深视科技有限公司 | Image processing method, electronic device, and storage medium |
CN112967273B (en) * | 2021-03-25 | 2021-11-16 | 北京的卢深视科技有限公司 | Image processing method, electronic device, and storage medium |
CN113988649A (en) * | 2021-10-30 | 2022-01-28 | 深圳曦华科技有限公司 | Display function testing method of display screen and related device |
CN113988649B (en) * | 2021-10-30 | 2023-04-18 | 深圳曦华科技有限公司 | Display function testing method of display screen and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108833785B (en) | Fusion method and device of multi-view images, computer equipment and storage medium | |
US20160094770A1 (en) | Image Processing Method and Apparatus, and Terminal | |
CN111028189A (en) | Image processing method, image processing device, storage medium and electronic equipment | |
US11580665B2 (en) | Image positioning system and image positioning method based on upsampling | |
CN111835982B (en) | Image acquisition method, image acquisition device, electronic device, and storage medium | |
US11074742B2 (en) | Image processing apparatus, image processing method, and storage medium | |
WO2022105276A1 (en) | Method and apparatus for determining projection area, projection device, and readable storage medium | |
CN111917986A (en) | Image processing method, medium thereof, and electronic device | |
CN108198189B (en) | Picture definition obtaining method and device, storage medium and electronic equipment | |
CN108665510B (en) | Rendering method and device of continuous shooting image, storage medium and terminal | |
CN112308797A (en) | Corner detection method and device, electronic equipment and readable storage medium | |
CN111369471A (en) | Image processing method, device, equipment and storage medium | |
US11127141B2 (en) | Image processing apparatus, image processing method, and a non-transitory computer readable storage medium | |
CN113962859A (en) | Panorama generation method, device, equipment and medium | |
WO2022105277A1 (en) | Projection control method and apparatus, projection optical machine, and readable storage medium | |
Choi et al. | A method for fast multi-exposure image fusion | |
CN108769538B (en) | Automatic focusing method and device, storage medium and terminal | |
CN113888509A (en) | Method, device and equipment for evaluating image definition and storage medium | |
CN113628259A (en) | Image registration processing method and device | |
JP2017162055A (en) | Image evaluation apparatus and image evaluation program | |
CN112508820A (en) | Image processing method and device and electronic equipment | |
CN116993654B (en) | Camera module defect detection method, device, equipment, storage medium and product | |
CN116668843A (en) | Shooting state switching method and device, electronic equipment and storage medium | |
CN116017129A (en) | Method, device, system, equipment and medium for adjusting angle of light supplementing lamp | |
CN110545375B (en) | Image processing method, image processing device, storage medium and electronic equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201110 |