[go: up one dir, main page]

CN111917986A - Image processing method and its medium and electronic device - Google Patents

Image processing method and its medium and electronic device Download PDF

Info

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
Application number
CN202010841953.6A
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.)
ARM Technology China Co Ltd
Original Assignee
ARM Technology China 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 ARM Technology China Co Ltd filed Critical ARM Technology China Co Ltd
Priority to CN202010841953.6A priority Critical patent/CN111917986A/en
Publication of CN111917986A publication Critical patent/CN111917986A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30168Image 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

图像处理方法及其介质和电子设备Image processing method and its medium and electronic device

技术领域technical field

本申请涉及图像处理技术领域,尤其涉及图像处理方法及其介质和电子设备。The present application relates to the technical field of image processing, and in particular, to an image processing method and its medium and electronic device.

背景技术Background technique

随着图像处理技术的发展,对成像质量的要求越来越高,需要对拍摄到的图像进行图像处理,以此来减少或消除外部环境的影响对图像的某些参数造成的破坏,例如图像色彩的饱和度和对比度、像素点间离等参数,从而得到满足预期效果的图像。因此,图像处理和图像效果评估非常重要。With the development of image processing technology, the requirements for image quality are getting higher and higher, and it is necessary to perform image processing on the captured images, so as to reduce or eliminate the damage of certain parameters of the image caused by the influence of the external environment, such as image Parameters such as color saturation and contrast, pixel spacing, etc., to obtain an image that meets the expected effect. Therefore, image processing and image effect evaluation are very important.

现有技术中,一般是在线调试图像质量,通过主观评价认为达到理想指标之后,将图片保存下来,利用离线调试工具再进行客观图像指标分析。如此,图像处理和客观图像分析不是实时配合的,存在一定的时差,评估延迟性大,评估的效率不高;而且,在实际操作过程中,由于人的主观判断存在相当的局限性,以及受图像调优工程师经验的限制,往往主观判断的最优结果和客观指标相差很大,评估结果带有主观性,评估的准确度低,评估的可靠性和效率不高。In the prior art, the image quality is generally debugged online. After it is considered that an ideal index is achieved through subjective evaluation, the picture is saved, and an offline debugging tool is used to analyze the objective image index. In this way, image processing and objective image analysis are not coordinated in real time, there is a certain time difference, the evaluation delay is large, and the evaluation efficiency is not high; moreover, in the actual operation process, there are considerable limitations due to human subjective judgment, and the Due to the limitation of the experience of image tuning engineers, the optimal results of subjective judgment are often very different from objective indicators. The evaluation results are subjective, the evaluation accuracy is low, and the reliability and efficiency of the evaluation are not high.

发明内容SUMMARY OF THE INVENTION

本申请公开了及其图像处理方法和介质,能够对图像进行客观的质量评估之后得到满足要求的目标图像,提高了评估的可靠性和效率。The present application discloses an image processing method and medium thereof, which can obtain a target image that meets the requirements after an objective quality evaluation of the image, thereby improving the reliability and efficiency of the evaluation.

第一方面,本申请实施例提供了一种图像处理方法,所述方法包括:电子设备获取待处理图像,在所述电子设备的显示屏上显示所述待处理图像;In a first aspect, an embodiment of the present application provides an image processing method, the method comprising: acquiring an image to be processed by an electronic device, and displaying the image to be processed on a display screen of the electronic device;

所述电子设备确定显示的所述待处理图像中的图像质量参数;所述图像质量参数为根据所述待处理图像中的像素的亮度值利用图像数字处理器计算得到的;The electronic device determines the image quality parameter 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 to-be-processed image;

在所述电子设备判断出所述图像质量参数不满足预设图像处理条件的情况下,所述预设图像处理条件包括预设图像质量参数;基于所述预设图像质量参数对显示的所述待处理图像进行图像处理得到满足所述预设图像质量参数的图像,以及When the electronic device determines that the image quality parameter does not meet the preset image processing conditions, the preset image processing conditions include preset image quality parameters; Perform image processing on the image to be processed to obtain an image that satisfies the preset image quality parameter, and

所述电子设备在所述显示屏上显示满足预设图像质量参数的图像。The electronic device displays an image satisfying a preset image quality parameter on the display screen.

本申请实施例中,由于外部环境影响,待处理图像在拍摄成像的过程中,亮度、清晰度可能会受到破坏,无法得到满足质量要求的图像。计算出待处理图像中的图像质量参数,以得到能够客观评价待处理图像的质量优劣的客观参数,并根据预设图像质量参数处理图像,提高图像处理的准确度、可靠性和效率。In the embodiment of the present application, due to the influence of the external environment, the brightness and clarity of the image to be processed may be damaged during the shooting and imaging process, and an image that meets the quality requirements cannot be obtained. The image quality parameters in the image to be processed are calculated to obtain objective parameters that can objectively evaluate the quality of the image to be processed, and the image is processed according to the preset image quality parameters to improve the accuracy, reliability and efficiency of image processing.

在上述第一方面的一种可能的实现中,所述图像质量参数包括图像选定区域的对比度值、图像选定区域的信噪比值、图像选定区域的边缘锐利度值、图像选定区域的平均亮度值、图像选定区域的实时直方图中的至少一种。In a possible implementation of the above-mentioned first aspect, the image quality parameters include a contrast value of a selected area of the image, a signal-to-noise ratio value of a selected area of the image, an edge sharpness value of a selected area of the image, and a value of the selected image area. At least one of the average brightness value of the area and the real-time histogram of the selected area of the image.

在上述第一方面的一种可能的实现中,上述方法还包括:In a possible implementation of the above-mentioned first aspect, the above-mentioned method further includes:

在所述判断出所述图像质量参数满足预设图像质量参数条件的情况下,所将所述满足预设图像质量参数的图像存储在存储器中。When it is determined that the image quality parameter satisfies the preset image quality parameter condition, the image satisfying the preset image quality parameter is stored in the memory.

在上述第一方面的一种可能的实现中,上述方法还包括:In a possible implementation of the above-mentioned first aspect, the above-mentioned method further includes:

所述电子设备在所述显示屏上显示满足预设图像质量参数的图像和预设图像质量参数。The electronic device displays an image satisfying a preset image quality parameter and a preset image quality parameter on the display screen.

在所述的显示器上的指定区域显示满足预设图像质量参数的图像和预设图像质量参数,便于用户能够实时看到图像处理结果,提高用户体验。An image satisfying the preset image quality parameter and the preset image quality parameter are displayed in a designated area on the display, so that the user can view the image processing result in real time and improve the user experience.

在上述第一方面的一种可能的实现中,所基于预设图像质量参数对显示的所述待处理图像进行图像处理得到满足预设图像质量参数的图像,包括:In a possible implementation of the above-mentioned first aspect, 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, including:

所述在所述显示屏上的指定区域显示预设图像质量参数选择菜单;The designated area on the display screen displays a preset image quality parameter selection menu;

所述获取图像处理请求,所述图像处理请求包括在预设图像质量参数选择菜单中输入的预设图像质量参数;obtaining the image processing request, the image processing request including the preset image quality parameter input in the preset image quality parameter selection menu;

所基于预设图像质量参数对显示的所述待处理图像进行图像处理得到满足预设图像质量参数条件的图像。Image processing is performed 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 condition.

在所述的显示器上显示图像质量参数选择菜单,便于用户自主选择客观图像处理参数,提高用户体验。An image quality parameter selection menu is displayed on the display, which facilitates the user to independently select objective image processing parameters and improves user experience.

在上述第一方面的一种可能的实现中,上述方法还包括:In a possible implementation of the above-mentioned first aspect, the above-mentioned method further includes:

在所述判断出所述图像质量参数满足预设图像质量参数条件的情况下,所述电子设备将满足预设图像质量参数条件的图像存储在存储器中。In the case of determining that the image quality parameter satisfies the preset image quality parameter condition, the electronic device stores the image satisfying the preset image quality parameter condition in the memory.

在上述第一方面的一种可能的实现中,在所述电子设备判断出所述图像质量参数不满足预设图像处理条件的情况下,基于所述预设图像质量参数对显示的所述待处理图像进行图像处理得到满足所述预设图像质量参数的图像,包括:在所述电子设备判断出图像选定区域的平均亮度值不在预设亮度值区间,则通过图像数字处理器对显示的所述待处理图像进行图像处理,将图像的平均亮度值调整在预设的亮度区间内,以使得所述图像质量参数满足预设图像处理条件。In a possible implementation of the above-mentioned first aspect, in the case that the electronic device determines that the image quality parameter does not meet the preset image processing condition, based on the preset image quality parameter, the to-be-displayed Processing the image and performing image processing to obtain an image that meets the preset image quality parameters includes: when the electronic device determines that the average brightness value of the selected area of the image is not within the preset brightness value range, then, by an image digital processor, the displayed image is processed by an image digital processor. Image processing is performed on the image to be processed, and the average brightness value of the image is adjusted within a preset brightness interval, so that the image quality parameter satisfies preset image processing conditions.

在上述第一方面的一种可能的实现中,上述方法还包括:所述电子设备在所述显示屏的指定区域显示图像测试图卡。In a possible implementation of the above-mentioned first aspect, the above-mentioned method further includes: the electronic device displays an image test chart in a designated area of the display screen.

在上述第一方面的一种可能的实现中,上述方法还包括:In a possible implementation of the above-mentioned first aspect, the above-mentioned method further includes:

在所述显示器上显示根据像素的亮度值得到的图像选定区域的对比度值、图像选定区域的信噪比值、图像选定区域的边缘锐利度值、图像选定区域的平均亮度值、图像选定区域的实时直方图中的至少一种。Displaying the contrast value of the selected area of the image, the signal-to-noise ratio value of the selected area of the image, the edge sharpness value of the selected area of the image, the average brightness value of the selected area of the image, and the At least one of the real-time histograms of selected regions of the image.

第二方面,本申请实施里提供了一种机器可读介质,其特征在于,所述机器可读介质上存储有指令,该指令在机器上执行时使机器执行上述所述的的图像处理方法。In a second aspect, an implementation of the present application provides a machine-readable medium, wherein the machine-readable medium stores an instruction, and when the instruction is executed on a machine, causes the machine to execute the above-mentioned image processing method .

第三方面,本申请实施例还提供了一种电子设备,其特征在于,包括:In a third aspect, an embodiment of the present application also provides an electronic device, characterized in that it includes:

存储器,用于存储由所述电子设备的一个或多个处理器执行的指令,以及memory for storing instructions executed by one or more processors of the electronic device, and

处理器,是所述电子设备的处理器之一,用于执行上述的图像处理方法。The processor is one of the processors of the electronic device, and is used for executing the above-mentioned image processing method.

附图说明Description of drawings

图1所示为本申请实施例提供的一种图像处理方法应用的场景图。FIG. 1 shows a scene diagram of an application of an image processing method provided by an embodiment of the present application.

图2所示为本申请实施例提供的一种相机200的硬件和软件结构示意图。FIG. 2 is a schematic diagram of hardware and software structures of a camera 200 according to an embodiment of the present application.

图3所示为本申请实施例提供的的图像处理方法的流程示意图。FIG. 3 is a schematic flowchart of an image processing method provided by an embodiment of the present application.

图4A所示为本申请实施例提供的一种的图像处理方法的显示界面图。FIG. 4A shows a display interface diagram of an image processing method provided by an embodiment of the present application.

图4B所示为本申请实施例提供的又一种的图像处理方法的显示界面图。FIG. 4B shows a display interface diagram of still another image processing method provided by an embodiment of the present application.

图5所示为本申请实施例提供的一种片上系统(System on Chip,SoC)的框图。FIG. 5 shows a block diagram of a system on chip (System on Chip, SoC) provided by an embodiment of the present application.

具体实施方式Detailed ways

下面结合具体实施例和附图对本申请做进一步说明。The present application will be further described below with reference to specific embodiments and accompanying drawings.

本申请的说明性实施例包括但不限于及其图像处理方法和介质等。Illustrative embodiments of the present application include, but are not limited to, image processing methods and media thereof, and the like.

本申请公开了及其图像处理方法和介质,能够实时对图像进行客观的质量评估并对图像进行处理得到满足要求的图像,提高了图像处理的可靠性和效率。The present application discloses an image processing method and medium thereof, which can conduct an objective quality assessment on an image in real time and process the image to obtain an image that meets the requirements, thereby improving the reliability and efficiency of image processing.

下面将结合附图对本申请的实施例作进一步地详细描述。The embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

图1示出了本申请具体实施例提供的一种图像处理方法的应用场景图。如图1所示,该应用场景包括100。FIG. 1 shows an application scenario diagram of an image processing method provided by a specific embodiment of the present application. As shown in Figure 1, the application scenario includes 100.

可以理解,图1中虽然示出了照相机100,但适用于本申请的电子设备100可以为具有拍摄图片、视频和对图片、视频处理功能的各种设备,如包括但不限于,照相机100、手机、平板电脑、笔记本电脑、台式计算机、智能电视机等。照相机100通过摄像头100a拍摄得到图像,或者连续的图像形成的视频;在照相机100的显示屏100b上显示拍摄的图像;照相机100计算拍摄的图像中的图像质量参数;例如图像的亮度、信噪比、对比度、清晰度、边缘的锐利度等;在照相机100判断出图像质量参数大于等于预设图像质量参数或者不在预设图像质量参数范围内的情况下,照相机100基于预设图像质量参数对显示的图像进行图像处理得到满足预设图像质量参数的图像,照相机100在显示屏上显示满足预设图像质量参数的图像。It can be understood that although the camera 100 is shown in FIG. 1 , the electronic device 100 applicable to the present application may be various devices with functions of capturing pictures, videos and processing pictures and videos, such as, but not limited to, the camera 100, Mobile phones, tablets, laptops, desktop computers, smart TVs, etc. The camera 100 captures an image through the camera 100a, or a video formed by a continuous image; the captured image is displayed on the display screen 100b of the camera 100; the camera 100 calculates the image quality parameters in the captured image; , contrast, sharpness, edge sharpness, etc.; when the camera 100 determines that the image quality parameter is greater than or equal to the preset image quality parameter or is not within the range of the preset image quality parameter, the camera 100 adjusts the display based on the preset image quality parameter. The image obtained is subjected to image processing 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.

为了便于说明,下面以电子设备100为相机100为例说明本申请的技术方案。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.

具体的,图2示出了本申请实施例的一种相机100的硬件结构示意图。下面结合图2,介绍相机100的硬件结构示意图Specifically, FIG. 2 shows a schematic diagram of a hardware structure of a camera 100 according to an embodiment of the present application. The following describes a schematic diagram of the hardware structure of the camera 100 with reference to FIG. 2 .

如图2所示,相机200可以包括摄像头101、系统控制逻辑102、显示屏103、处理器104和存储器105。As shown in FIG. 2 , the camera 200 may include a camera 101 , system control logic 102 , a display screen 103 , a processor 104 and a memory 105 .

摄像头101用于拍摄图像。The camera 101 is used to capture images.

系统控制逻辑102可以包括任何合适的接口控制器,以向处理器104中的至少一个和/或与系统控制逻辑102通信的任何合适的设备或组件提供任何合适的接口。System control logic 102 may include any suitable interface controller 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 .

显示屏103用于显示图像以及实现和用户的人机交互。在本申请的一些实施例中,显示屏103可以用于显示满足预设图像质量参数的图像。如果是连续的图像形成的视频,则可以在显示屏上呈现满足预设图像质量参数的图像序列形成的视频。The display screen 103 is used for displaying images and realizing human-computer interaction with the user. In some embodiments of the present application, the display screen 103 may be used to display an image satisfying preset image quality parameters. If it is a video formed by continuous images, a video formed by a sequence of images satisfying preset image quality parameters can be presented on the display screen.

处理器104可以包括一个或多个处理单元,例如:处理器104可以包括图像信号处理器(image signal processor,ISP),控制器,视频编解码器(Video Codec),数字信号处理器(digital signal processor,DSP)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。例如,处理器104可以确定待处理图像中的图像质量参数;判断图像质量参数是否满足预设图像质量参数。图像信号处理器(image signalprocessor,ISP)用于对图像传感器输出的信号做后期处理,主要功能有、图像的亮度处理、清晰度处理、边缘的锐利度处理、线性纠正、噪声去除、坏点去除、内插、白平衡、自动曝光控制等。The processor 104 may include one or more processing units. For example, the processor 104 may include an image signal processor (ISP), a controller, a video codec (Video Codec), a digital signal processor (digital signal processor) processor, DSP), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors. For example, the processor 104 may determine an image quality parameter in the image to be processed; determine whether the image quality parameter satisfies a preset image quality parameter. Image signal processor (ISP) is used to post-process the signal output by the image sensor. The main functions are: image brightness processing, sharpness processing, edge sharpness processing, linear correction, noise removal, and dead pixel removal. , interpolation, white balance, automatic exposure control, etc.

存储器105用于存储指令和数据。在一些实施例中,存储器105为高速缓冲存储器、静态随机存取存储器(Static Random-Access Memory,SRAM))、直接存储器(DMA)。该存储器105可以保存处理器104用过或循环使用的指令或数据。如果处理器104需要再次使用该指令或数据,可从存储器105中直接调用。避免了重复存取,减少了处理器104的等待时间,因而提高了系统的效率。在本申请的一些实施例中,存储器105可以存储满足预设图像质量参数的图像。Memory 105 is used to store instructions and data. In some embodiments, the memory 105 is a cache memory, a static random-access memory (SRAM), or a direct memory (DMA). The memory 105 may hold instructions or data used or recycled by the processor 104 . If the processor 104 needs to use the instruction or data again, it can be called directly from the memory 105 . Repeated accesses are avoided, reducing the latency of the processor 104, thereby increasing the efficiency of the system. In some embodiments of the present application, the memory 105 may store images satisfying preset image quality parameters.

相机100可以通过摄像头101,系统控制逻辑102、显示屏103、处理器104和存储器105等实现拍摄和图片处理功能。The camera 100 can realize shooting and picture processing functions through the camera 101, the system control logic 102, the display screen 103, the processor 104, the memory 105, and the like.

可以理解的是,本申请实施例示出的相机100的硬件架构并不构成对相机200的具体限定。在本申请另一些实施例中,相机200可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。It can be understood that the hardware architecture of the camera 100 shown in the embodiments of the present application does not constitute a specific limitation on the camera 200 . In other embodiments of the present application, the camera 200 may include more or less components than shown, or some components are combined, or some components are separated, or different components are arranged.

以电子设备100为照相机100为例,下面结合附图3来详细说明本申请实施例提供的一种的图像处理方法。Taking the electronic device 100 as the camera 100 as an example, an image processing method provided by an embodiment of the present application will be described in detail below with reference to FIG. 3 .

图3所示为本申请实施例提供的一种照相机100的图像处理方法的流程示意图。如图3所示,该方法包括:FIG. 3 is a schematic flowchart of an image processing method of the camera 100 according to an embodiment of the present application. As shown in Figure 3, the method includes:

S301:照相机100获取待处理图像,在照相机100的显示屏上显示待处理图像。S301: The camera 100 acquires the to-be-processed image, and displays the to-be-processed image on the display screen of the camera 100.

本申请实施例中,照相机100拍摄到目标场景下的待处理图像。In this embodiment of the present application, the camera 100 captures an image to be processed in the target scene.

S302:照相机100确定显示的待处理图像中的图像质量参数;图像质量参数为根据待处理图像中的像素的亮度值利用图像数字处理器计算得到的。可以理解,图像数字处理器可以为设置在照相机中的处理器;图像数字处理器也可以为设置在照相机100外部的处理器,与照相机100的外设接口固定连接或者可拆卸连接的处理器。S302: The camera 100 determines an image quality parameter 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 to-be-processed image. It can be understood that the image digital processor may be a processor disposed in the camera; the image digital processor may also be a processor disposed outside the camera 100 , fixedly or detachably connected to the peripheral interface of the camera 100 .

由于外部环境影响等对待处理图像的影响,待处理图像在拍摄成像的过程中,亮度、清晰度可能会受到破坏,无法得到满足质量要求的图像。因此照相机100需要计算出待处理图像中的图像质量参数,以得到能够客观评价待处理图像的质量优劣的客观参数并对不满足质量要求的图像进行处理,提高图像处理的准确度。Due to the influence of the external environment and other influences on the image to be processed, the brightness and clarity of the image to be processed may be damaged during the shooting and imaging process, and an image that meets the quality requirements cannot be obtained. Therefore, the camera 100 needs to calculate the image quality parameters in the images to be processed, so as to obtain objective parameters that can objectively evaluate the quality of the images to be processed, and process the images that do not meet the quality requirements to improve the accuracy of image processing.

本申请实施例中,所述图像质量参数包括图像选定区域的对比度值、图像选定区域的信噪比值、图像选定区域的边缘锐利度值、图像选定区域的平均亮度值、图像选定区域的实时直方图中的至少一种,选定区域为图像的局部区域或者全部区域,具体如下:In the embodiment of the present application, the image quality parameters include the contrast value of the selected area of the image, the signal-to-noise ratio value of the selected area of the image, the edge sharpness value of the selected area of the image, the average brightness value of the selected area of the image, the At least one of the real-time histograms of the selected area, the selected area is a partial area or all areas of the image, and the details are as follows:

(a)像素的亮度值和对应的像素数量信息(即直方图);图像亮度通俗理解便是图像的明暗程度,这样可将一幅图像定义为一个二维函数f(x,y),图像中的每个像素就可以用(x,y)坐标表示,而在任何一对空间坐标(x,y)处的幅值f称为图像在该点的强度或灰度,如果灰度值f在[0,255]之间,则f值越接近0亮度越低,f值越接近255亮度越高。在一些实施例中,像素的亮度值和对应的像素数量信息为每个像素亮度值对应的像素个数,并以直方图形式在显示屏上展示出来,X轴为像素的亮度值,Y轴为像素的数量。例如,像素亮度值为200,像素的个数为59。(a) The brightness value of the pixel and the corresponding pixel quantity information (ie histogram); the common understanding of image brightness is the brightness of the image, so that an image can be defined as a two-dimensional function f(x, y), image Each pixel in can be represented by (x, y) coordinates, and the magnitude f at any pair of spatial coordinates (x, y) is called the intensity or grayscale of the image at that point, if the grayscale value f Between [0, 255], the closer the f value is to 0, the lower the brightness, and the closer the f value is to 255, the higher the brightness. In some embodiments, the brightness value of a pixel and the corresponding pixel quantity information are the number of pixels corresponding to the brightness value of each pixel, and are displayed on the display screen in the form of a histogram, the X axis is the pixel brightness value, and the Y axis is the pixel brightness value. is the number of pixels. For example, the pixel brightness value is 200 and the number of pixels is 59.

(b)图像的对比度值;图像的对比度值指的是图像暗和亮的落差值,图像暗和亮的倍数关系,即图像最大灰度级和最小灰度级之间的比值;(b) The contrast value of the image; the contrast value of the image refers to the difference between the dark and bright images, and the multiple relationship between the dark and bright images, that is, the ratio between the maximum gray level and the minimum gray level of the image;

(c)图像的信噪比值,信噪比是评估图像噪声的重要指标,信噪比的计算需要对指定矩形区域内的像素点进行均方差的计算。(c) The value of the signal-to-noise ratio of the image. The signal-to-noise ratio is an important indicator for evaluating image noise. The calculation of the signal-to-noise ratio requires the calculation of the mean square error of the pixels in the specified rectangular area.

(d)图像的边缘锐利度值;图像锐化是补偿图像的轮廓,增强图像的边缘及灰度跳变的部分,使图像变得清晰。清晰度,通过调制传递函数(Modulation Transfer Function,MTF)计算出图像的清晰度,可以把水平,垂直,45度及135度方向上MTF的计算内容在显示界面显示出来。(d) The edge sharpness value of the image; image sharpening is to compensate the contour of the image, enhance the edge of the image and the part of grayscale transition, and make the image clear. Sharpness, the sharpness of the image is calculated by the modulation transfer function (Modulation Transfer Function, MTF), and the content of the MTF calculation in the horizontal, vertical, 45-degree and 135-degree directions can be displayed on the display interface.

(e)图像的平均亮度值;亮度值包括图像的平均亮度值,平均亮度值即为所有像素亮度的平均值。(e) The average brightness value of the image; the brightness value includes the average brightness value of the image, and the average brightness value is the 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. Causes changes in other features of the image. The degree of change depends on the characteristics of the image itself. Therefore, it is necessary to process the above image quality parameters at the same time to obtain a better image, and the pixel values in the image to be processed are easier to obtain, which is convenient and fast. Image processing is performed on the image to be processed.

在一些实施例中,为了方便用户看到图像质量参数,照相机100对显示的待处理图像进行图像质量客观指标计算,并通过屏幕菜单式调节方式(on-screen display,OSD)直接在显示屏上显示出来,从而实时的得到当前评测图像的客观质量指标,来提高图像调优的效率,具体的,包括:In some embodiments, in order to facilitate the user to see the image quality parameters, the camera 100 performs an objective image quality index calculation on the displayed image to be processed, and directly displays the image quality on the display screen through an on-screen display (OSD) mode. display, so as to obtain the objective quality index of the current evaluation image in real time, so as to improve the efficiency of image tuning. Specifically, it includes:

照相机100确定待处理图像中的图像质量参数之后,照相机100在照相机100的显示器上的指定区域显示满足预设图像质量参数的图像和预设图像质量参数。便于用户能够实时看到图像处理结果,提高用户体验。After the camera 100 determines the image quality parameter in the image to be processed, the camera 100 displays an image satisfying the preset image quality parameter and the preset image quality parameter in a designated area on the display of the camera 100 . It is convenient for users to see the image processing results in real time and improve user experience.

指定区域可以为待处理图像或已处理图像中的指定区域,或者照相机100显示界面中的操作区域,以便于看到完整的图片。The designated area may be a designated area in an image to be processed or a processed image, or an operation area in the display interface of the camera 100, so that a complete picture can be viewed.

此外,在一些实施例中,还可以将24色卡、ISO12233清晰度图卡、(柯达灰卡(Kodakstep chart)等专业图像测试图卡放在显示屏的指定区域显示,以便于根据专业图像测试图卡中的像素值评估待处理图像中的图像质量参数,指定区域可以为待处理图像或已处理图像对应的显示区域,也可以为待处理图像或已处理图像以外的显示区域。In addition, in some embodiments, professional image test charts such as 24-color charts, ISO12233 definition charts, and (Kodakstep charts) can also be displayed in a designated area of the display screen, so as to facilitate testing according to professional images. The pixel value in the chart evaluates the image quality parameters in the image to be processed. The designated area can be the display area corresponding to the image to be processed or the processed image, or the display area other than the image to be processed or the processed image.

S303:照相机100判断图像质量参数是否满足预设图像处理条件,预设图像处理条件包括预设图像质量参数;若否,则转至S304;若是,则转至S305。S303: The camera 100 determines whether the image quality parameter satisfies the preset image processing condition, and the preset image processing condition includes the preset image quality parameter; if not, go to S304; if yes, go to S305.

在一些实施例中,满足预设图像处理条件可以为:图像质量参数大于等于预设图像质量参数;或者;图像质量参数在预设图像质量参数的范围内。In some embodiments, satisfying the preset image processing condition may be: the image quality parameter is greater than or equal to the preset image quality parameter; or; the image quality parameter is within the range of the preset image quality parameter.

例如,像素的亮度值、图像的对比度值、图像的信噪比值、图像的边缘锐利度值等图像质量参数大于等于预设图像质量参数视为满足预设图像处理条件。For example, image quality parameters such as the brightness value of the pixel, the contrast value of the image, the signal-to-noise ratio value of the image, and the edge sharpness value of the image are greater than or equal to the preset image quality parameters, which are deemed to meet the preset image processing conditions.

平均亮度值在预设图像质量参数的范围内视为图像质量参数满足预设图像处理条件。If the average brightness value is within the range of the preset image quality parameters, it is considered that the image quality parameters satisfy the preset image processing conditions.

图像质量参数不满足预设图像处理条件可以为:图像质量参数小于预设图像质量参数;或者;图像质量参数不在预设图像质量参数的范围内。The image quality parameter that does not meet the preset image processing condition may be: the image quality parameter is smaller than the preset image quality parameter; or the image quality parameter is not within the range of the preset image quality parameter.

例如,像素的亮度值、图像的对比度值、图像的信噪比值、图像的边缘锐利度值等图像质量参数小于预设图像质量参数视为不满足预设图像处理条件。For example, if image quality parameters such as pixel brightness value, image contrast value, image signal-to-noise ratio value, and image edge sharpness value are smaller than the preset image quality parameters, it is deemed that the preset image processing conditions are not met.

平均亮度值不在预设图像质量参数的范围内视为不满足预设图像处理条件。If the average brightness value is not within the range of the preset image quality parameters, it is regarded as not meeting the preset image processing conditions.

S304:照相机100基于预设图像质量参数通过数字处理器对显示的待处理图像进行图像处理,并跳转至S301;直到得到满足预设图像质量参数的图像,照相机100在显示屏上显示满足预设图像质量参数的图像。S304: The camera 100 performs image processing on the displayed image to be processed based on the preset image quality parameter through a digital processor, and jumps to S301; until an image that meets the preset image quality parameter is obtained, the camera 100 displays on the display screen that meets the preset image quality parameter. Set the image quality parameters of the image.

在一些实施例中,照相机100判断出图像中的像素存在像素的亮度值小于或者大于预设亮度值,则将小于或者大于预设亮度值的像素的亮度值调整为预设亮度值。将调整后的图像在显示屏上展示。In some embodiments, the camera 100 determines that a pixel in the image has a brightness value of the pixel that 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. Display the adjusted image on the display.

对比度,信噪比等都是图像质量客观指标的不同维度的描述,彼此既独立又有相关性,独立是指在调试的时候这些指标都是分离独立调试的,相关是指某一个维度的指标提高了很可能造成另一个指标的降低,如此,需要对对比度,信噪比等都进行相应的调试。Contrast, signal-to-noise ratio, etc. are descriptions of different dimensions of objective indicators of image quality, which are both independent and related to each other. Independence means that these indicators are debugged separately and independently during debugging, and correlation refers to the indicators of a certain dimension. An increase is likely to result in a decrease in another index, so it is necessary to adjust the contrast, signal-to-noise ratio, etc. accordingly.

在一些实施例中,照相机100判断出图像的对比度值小于预设对比度值,则提高图像中像素的最大灰度的值,使得图像的对比度值大于等于预设对比度值。将调整后的图像在显示屏上展示。此外,在一些实施例中,照相机100判断出图像的对比度值小于预设对比度值,则降低图像中像素的最小灰度的值,使得图像的对比度值等于预设对比度值。将调整后的图像在显示屏上展示。In some embodiments, the camera 100 determines that the contrast value of the image is less than the preset contrast value, and increases the value of the maximum gray level of the pixel in the image, so that the contrast value of the image is greater than or equal to the preset contrast value. Display the adjusted image on the display. In addition, in some embodiments, the camera 100 determines that the contrast value of the image is smaller than the preset contrast value, and reduces the minimum gray value of the pixel in the image, so that the contrast value of the image is equal to the preset contrast value. Display the adjusted image on the display.

此外,在一些实施例中,不同的图像质量参数需要调试对应的不同ISP(图像数字处理器)的数字电路模块,比方说,信噪比达不到预期标准时,需要对降噪电路模块中的参数进行调整得到满足预设图像质量参数的图像。降噪处理的数字电路可能是两个串联的低通滤波器,这个滤波器有相应的噪声截止频率,降噪强度,边缘保持阈值等参数,以对待处理图像的电信号进行处理,得到大于等于大于预设信噪比值的待处理图像。In addition, in some embodiments, different image quality parameters need to debug corresponding digital circuit modules of different ISPs (image digital processors). The parameters are adjusted to obtain an image that meets the preset image quality parameters. The digital circuit for noise reduction may be two low-pass filters connected in series. This filter has parameters such as the corresponding noise cutoff frequency, noise reduction intensity, edge preservation threshold, etc., to process the electrical signal of the image to be processed, and obtain greater than or equal to Images to be processed that are greater than the preset SNR value.

在一些实施例中,通过调制传递函数确定图像水平、垂直、45度和135度方向上的边缘锐利度值。图像锐化是补偿图像的轮廓,增强图像的边缘及灰度跳变的部分,使图像变得清晰。使得图像的边缘锐利度值大于等于预设边缘锐利度值,将调整后的图像在显示屏上展示。In some embodiments, edge sharpness values in the horizontal, vertical, 45 degree and 135 degree directions of the image are determined by a modulation transfer function. Image sharpening is to compensate the outline of the image, enhance the edge of the image and the gray-scale transition part, and make the image clear. Make the edge sharpness value of the image greater than or equal to the preset edge sharpness value, and display the adjusted image on the display screen.

在一些实施例中,在照相机100判断出图像选定区域的平均亮度值不在预设亮度值区间,则通过图像数字处理器对显示的所述待处理图像进行图像处理,将图像的平均亮度值调整在预设的亮度区间内,以使得所述图像质量参数满足预设图像处理条件。将调整后的图像在显示屏上展示。In some embodiments, when the camera 100 determines that the average brightness value of the selected area of the image is not within the preset brightness value range, the image digital processor performs image processing on the displayed image to be processed, and the average brightness value of the image is The adjustment is within a preset brightness interval, so that the image quality parameter satisfies preset image processing conditions. Display the adjusted image on the display.

在一些实施例中,照相机100判断出图像的平均亮度值小于或者大于预设平均亮度值,则图像的像素的亮度值调整为预设平均亮度值。将调整后的图像在显示屏上展示。In some embodiments, the camera 100 determines that the average brightness value of the image is less than or greater than the preset average brightness value, and the brightness value of the pixels of the image is adjusted to the preset average brightness value. Display the adjusted image on the display.

此外,在一些实施例中,当在线计算出的平均亮度低于预期时则提高感光器件的放大倍数,高于预期时则降低放大倍数。In addition, in some embodiments, when the average brightness calculated online is lower than expected, the magnification of the photosensitive device is increased, and when it is higher than expected, the magnification is decreased.

图像的对比度值、图像的信噪比值、图像的边缘锐利度值、图像的平均亮度值等图像质量参数可以在数字电路里集成以实时计算和处理。有些图像质量参数的计算非常复杂,不利于图像数字处理器实现,考虑到图像数字处理器实现的可行性以及复杂度,本申请实施例使用的计算客观图像质量指标的电路是使用了图像数字处理器中的亮度信息统计模块的电路,充分利用了图像数字处理器,而不需要在图像数字处理器的基础上增加新的电路,降低成本。图像处理和客观图像分析实时配合的,在一定程度上克服人的主观判断的局限性,以及受图像调优工程师经验的限制,得到客观指标很接近的图像,提高图像评估和图像处理的准确度。Image quality parameters such as image contrast value, image signal-to-noise ratio value, image edge sharpness value, and image average brightness value can be integrated in digital circuits for real-time calculation and processing. The calculation of some image quality parameters is very complicated, which is not conducive to the realization of the image digital processor. Considering the feasibility and complexity of the image digital processor implementation, the circuit for calculating the objective image quality index used in the embodiments of the present application uses image digital processing. The circuit of the brightness information statistics module in the device makes full use of the image digital processor, and does not need to add a new circuit on the basis of the image digital processor, thereby reducing the cost. The real-time coordination of image processing and objective image analysis, to a certain extent, overcomes the limitations of human subjective judgment, and is limited by the experience of image tuning engineers, and obtains images with very close objective indicators, improving the accuracy of image evaluation and image processing. .

在一些实施例中,将调整后的图像在显示屏上展示。便于用户能够看到满足预设图像参数要求的图像,提高用户体验。In some embodiments, the adjusted image is displayed on the display screen. It is convenient for the user to see an image that meets the requirements of the preset image parameters, and the user experience is improved.

此外,在一些实施例中,基于预设图像质量参数对显示的待处理图像进行图像处理得到满足预设图像质量参数的图像,具体的,包括:In addition, in some embodiments, image processing is performed on the displayed image to be processed based on the preset image quality parameter to obtain an image that meets the preset image quality parameter, specifically, including:

照相机100在显示屏上的指定区域显示预设图像质量参数选择菜单;The camera 100 displays a preset image quality parameter selection menu in a designated area on the display screen;

照相机100获取图像处理请求,图像处理请求包括在预设图像质量参数选择菜单中输入的预设图像质量参数;The camera 100 acquires an image processing request, and the image processing request includes the preset image quality parameter input in the preset image quality parameter selection menu;

照相机100基于预设图像质量参数对显示的待处理图像进行图像处理得到满足预设图像质量参数条件的图像。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 preset image quality parameter condition.

例如:图4A所示为本申请实施例提供的一种照相机100的图像处理方法的显示界面图,如图4A所示,照相机100确定待处理图像中的图像质量参数之后,在显示屏上显示当前图像的图像质量参数401和和预设图像质量参数选择菜单402,图像质量参数选择菜单402包括图像的对比度值、图像的信噪比值、图像的信噪比值、图像的边缘锐利度值和图像的平均亮度值选项。照相机100响应于图像质量参数选择菜单中手势操作确定图像处理请求。在图像质量参数选择菜单中输入预设图像质量参数,点击图像质量参数选择菜单中的确定按钮405,图像处理请求包括在预设图像质量参数选择菜单中输入的预设图像质量参数,照相机100即获取图像处理请求,照相机100基于预设图像质量参数对显示的待处理图像进行图像处理得到满足预设图像质量参数的图像。图4B所示为本申请实施例提供的又一种的图像处理方法的显示界面图。在显示界面图显示24色卡404,便于以24色卡为中的6个灰度色卡为参考标准,根据预设信噪比值将待处理图像处理得到满足预设图像质量参数的图像。此外,还可以在显示界面图显示根据像素的亮度值和对应的像素数量信息得到的直方图。此外,除了在显示界面图显示24色卡404,还可以显示ISO12233清晰度图卡、柯达灰卡(Kodak step chart)等图像测试图卡用于不同的图像质量参数调优。For example, FIG. 4A shows a display interface diagram of an image processing method of a camera 100 provided by an embodiment of the present application. As shown in FIG. 4A , after the camera 100 determines the image quality parameter in the image to be processed, it displays on the display screen The image quality parameter 401 of the current image and the preset image quality parameter selection menu 402, the image quality parameter selection menu 402 includes the contrast value of the image, the signal-to-noise ratio value of the image, the signal-to-noise ratio value of the image, and the edge sharpness value of the image. and the image's average brightness value option. The camera 100 determines the image processing request in response to the gesture operation in the image quality parameter selection menu. Input the preset image quality parameters in the image quality parameter selection menu, click the OK button 405 in the image quality parameter selection menu, the image processing request includes the preset image quality parameters input in the preset image quality parameter selection menu, the camera 100 is the After acquiring the image processing request, the camera 100 performs image processing on the displayed image to be processed based on the preset image quality parameter to obtain an image that meets the preset image quality parameter. FIG. 4B shows a display interface diagram of still another image processing method provided by an embodiment of the present application. The 24-color card 404 is displayed in the display interface diagram, so that the 6 gray-scale color cards in the 24-color card are used as reference standards, and the image to be processed is processed according to the preset signal-to-noise ratio value to obtain an image that meets the preset image quality parameters. In addition, a histogram obtained according to the brightness value of the pixel and the corresponding pixel quantity information can also be displayed on the display interface. In addition, in addition to displaying the 24-color chart 404 on the display interface, it is also possible to display image test charts such as ISO12233 definition charts, Kodak step charts, etc. for different image quality parameter tuning.

通过设置预设图像质量参数选择菜单,便于用户根据客观需要设置预设图像质量参数,使得相机100能够将图像调整到负荷预设图像质量参数要求的图像。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 required by the preset image quality parameter.

在照相机100的显示器上显示图像质量参数选择菜单,便于用户自主选择客观图像处理参数,提高用户体验。An image quality parameter selection menu is displayed on the display of the camera 100 to facilitate the user to independently select objective image processing parameters and improve user experience.

照相机100基于预设图像质量参数对待处理图像进行图像处理得到已处理图像。例如,照相机100基于预设图像质量参数对待处理图像进行多次图像处理得到已处理图像。The camera 100 performs image processing on the image to be processed based on a preset image quality parameter to obtain a processed image. For example, the camera 100 performs multiple image processing on the image to be processed based on a preset image quality parameter to obtain a processed image.

S305:照相机100在显示屏上显示满足预设图像质量参数的图像,照相机100将满足预设图像质量参数的图像存储在存储器中。S305: The camera 100 displays the image satisfying the preset image quality parameter on the display screen, and the camera 100 stores the image satisfying the preset image quality parameter in the memory.

本申请的实施例还提供了一种机器可读介质,机器可读介质上存储有指令,该指令在机器上执行时使机器执行上述的的图像处理方法。Embodiments of the present application further provide a machine-readable medium, where an instruction is stored on the machine-readable medium, and when the instruction is executed on the machine, the machine executes the above-mentioned image processing method.

可选地,在本实施例中,上述存储介质可以位于计算机网络的多个网络服务器中的至少一个网络服务器。可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the above-mentioned storage medium may be located in at least one network server among multiple network servers of a computer network. Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a U disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a mobile hard disk, a magnetic Various media that can store program codes, such as discs or optical discs.

本申请的实施例还提供了一种,包括:The embodiment of the present application also provides one, including:

存储器,用于存储由系统的一个或多个处理器执行的指令,以及memory for storing instructions for execution by one or more processors of the system, and

处理器,是的处理器之一,用于执行上述的图像处理方法。该具有实现上述的图像处理方法的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多于一个与上述功能相对应的模块。The processor, which is one of the processors, is used to execute the above-mentioned image processing method. This has the function of realizing the above-mentioned image processing method. The functions can be implemented by hardware, or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions.

根据本申请的另一实施例,提供了一种片上系统(System on Chip,SoC)。图5示出了一种片上系统(System on Chip,SoC)200的框图。在图5中,相似的部件具有同样的附图标记。另外,虚线框是更先进的SoC的可选特征。在图5中,SoC 200包括:互连单元210,其被耦合至应用处理器110;系统代理单元220;总线控制器单元230;集成存储器控制器单元240;一组或一个或多个协处理器250,其可包括集成图形逻辑、图像处理器、音频处理器和视频处理器;静态随机存取存储器(Static Random-Access Memory,SRAM)单元260;直接存储器存取(Direct Memory Access,DMA)单元270。According to another embodiment of the present application, a system on chip (System on Chip, SoC) is provided. FIG. 5 shows a block diagram of a System on Chip (SoC) 200 . In Figure 5, similar components have the same reference numerals. Also, the dotted box is an optional feature of more advanced SoCs. In FIG. 5, SoC 200 includes: interconnect unit 210, which is coupled to application processor 110; system proxy unit 220; bus controller unit 230; integrated memory controller unit 240; 250, which may include integrated graphics logic, image processor, audio processor and video processor; Static Random-Access Memory (SRAM) unit 260; Direct Memory Access (DMA) unit 270.

本申请公开的实施例可以被实现在硬件、软件、固件或这些组合中,本申请的实施例可实现为在可编程系统上执行的计算机程序或程序代码,该可编程系统可以包括至少一个处理器、存储系统(包括易失性和非易失性存储器和/或存储元件)、至少一个输入设备和至少一个输出设备。The embodiments disclosed herein may be implemented in hardware, software, firmware, or a combination of these, and the embodiments of the present application may be implemented as a computer program or program code executing on a programmable system that may include at least one process memory, storage system (including volatile and nonvolatile memory and/or storage elements), at least one input device, and at least one output device.

可将程序代码应用于输入指令,以执行本申请描述的确定显示的待处理图像中的图像质量参数;在判断出图像质量参数与预设图像质量参数的情况下,所基于预设图像质量参数对显示的待处理图像进行图像处理得到满足预设图像质量参数条件的图像,以及在显示屏上显示满足预设图像质量参数条件的图像的功能并生成输出信息。可以按已知方式将输出信息应用于一个或多个输出设备。The program code can be applied to the input instruction to execute the image quality parameter in the image to be processed for determining the display described in this application; in the case of judging the image quality parameter and the preset image quality parameter, the preset image quality parameter is based on the image quality parameter. Perform image processing on the displayed image to be processed to obtain an image satisfying preset image quality parameter conditions, and display the image satisfying preset image quality parameter conditions on the display screen and generate output information. The output information can be applied to one or more output devices in a known manner.

为了本申请的目的,处理系统包括具有诸如数字信号处理器(DSP)、图像数字处理器(ISP)、微控制器、专用集成电路(Application Specific Integrated Circuit,ASIC)或微处理器之类的处理器的任何系统。For the purposes of this application, a processing system includes a processing system such as a digital signal processor (DSP), image digital processor (ISP), microcontroller, Application Specific Integrated Circuit (ASIC), or microprocessor. any system for the device.

程序代码可以用高级程序化语言或面向对象的编程语言来实现,以便与处理系统通信。在需要时,也可以用汇编语言或机器语言来实现程序代码。事实上,本申请中描述的机制不限于任何特定编程语言的范围。在任一情形下,该语言可以是编译语言或解释语言。在做硬件实现的电路设计时,这里的语言专指可编程逻辑设计语言,如Verilog,VHDL等等,所谓节省电路设计成本也是专指这种情况。The program code may be implemented in a high-level procedural language or an object-oriented programming language to communicate with the processing system. The program code may also be implemented in assembly or machine language, if desired. In fact, the mechanisms described in this application are not limited in scope to any particular programming language. In either case, the language may be a compiled language or an interpreted language. When doing circuit design for hardware implementation, the language here refers specifically to programmable logic design languages, such as Verilog, VHDL, etc. The so-called saving circuit design costs also refers to this situation.

虽然通过参照本申请的某些优选实施例,已经对本申请进行了图示和描述,但本领域的普通技术人员应该明白,可以在形式上和细节上对其作各种改变,而不偏离本申请的精神和范围。Although the present application has been illustrated 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 detail may be made therein without departing from the present disclosure The spirit and scope of the 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.
CN202010841953.6A 2020-08-20 2020-08-20 Image processing method and its medium and electronic device Pending CN111917986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010841953.6A CN111917986A (en) 2020-08-20 2020-08-20 Image processing method and its medium 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 and its medium 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 and its medium and electronic device

Country Status (1)

Country Link
CN (1) CN111917986A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006013618A (en) * 2004-06-22 2006-01-12 Sony Corp Image quality adjustment 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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006013618A (en) * 2004-06-22 2006-01-12 Sony Corp Image quality adjustment 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)

* Cited by examiner, † Cited by third party
Title
刘帆等: "《大学生KAB创业精讲》", 30 April 2013 *
贺鹏: "《智能手机故障检测与维修从入门到精通》", 31 January 2019 *
马洪蕊等: "《嵌入式视频应用系统设计与实现:基于TI DaVinciDM355处理器》", 31 August 2011 *

Cited By (4)

* Cited by examiner, † Cited by third party
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
EP3694203B1 (en) Method and device for obtaining exposure compensation value of high-dynamic-range image
JP6615917B2 (en) Real-time video enhancement method, terminal, and non-transitory computer-readable storage medium
WO2018176925A1 (en) Hdr image generation method and apparatus
CN107704798B (en) Image blurring method, apparatus, computer-readable storage medium, and computer device
CN101394460A (en) Image processing device, method, program and image capture device
US11074742B2 (en) Image processing apparatus, image processing method, and storage medium
KR102899739B1 (en) Directional scaling systems and methods
WO2022105277A1 (en) Projection control method and apparatus, projection optical machine, and readable storage medium
CN114584700B (en) Focus marking method, marking device and electronic equipment
WO2022105276A1 (en) Method and apparatus for determining projection area, projection device, and readable storage medium
CN107566827A (en) Shoot Delay computing method, apparatus and equipment
US11127141B2 (en) Image processing apparatus, image processing method, and a non-transitory computer readable storage medium
US10469812B2 (en) Projection display system, information processing apparatus, information processing method, and storage medium therefor
CN111917986A (en) Image processing method and its medium and electronic device
CN108198189B (en) Picture definition obtaining method and device, storage medium and electronic equipment
CN108781280B (en) A test method, device and terminal
WO2022151852A1 (en) Image processing method, apparatus, and system, electronic device, and storage medium
CN103458194B (en) Method and device for analyzing exposure degree of digital image and video and digital imaging system
CN109672829B (en) Image brightness adjusting method and device, storage medium and terminal
CN106488080A (en) Method and apparatus for high dynamic range dynamic noise reduction in digital imaging
CN113538265A (en) Image denoising method and device, computer readable medium and electronic device
CN119399062B (en) Intelligent low-illumination scene image noise reduction method, device and equipment based on AI ISP and storage medium
CN111510622A (en) Image processing method, device, terminal and storage medium
JP2020025224A (en) Camera evaluation value measuring device and camera evaluation value measuring method
CN111062896B (en) Image processing method 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