WO2021102928A1 - Image processing method and apparatus - Google Patents

Image processing method and apparatus Download PDF

Info

Publication number
WO2021102928A1
WO2021102928A1 PCT/CN2019/122034 CN2019122034W WO2021102928A1 WO 2021102928 A1 WO2021102928 A1 WO 2021102928A1 CN 2019122034 W CN2019122034 W CN 2019122034W WO 2021102928 A1 WO2021102928 A1 WO 2021102928A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
target object
processing
stretching
enhancement processing
Prior art date
Application number
PCT/CN2019/122034
Other languages
French (fr)
Chinese (zh)
Inventor
张青涛
Original Assignee
深圳市大疆创新科技有限公司
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 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2019/122034 priority Critical patent/WO2021102928A1/en
Publication of WO2021102928A1 publication Critical patent/WO2021102928A1/en

Links

Images

Classifications

    • G06T5/92
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/40Image enhancement or restoration by the use of histogram techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods

Definitions

  • This application relates to the field of image processing technology, and in particular to an image processing method and device.
  • Images are the main source for humans to obtain and exchange information, and the application fields of image processing technology also involve all aspects of human life and work.
  • the present application provides an image processing method and device, which can better present the image content that users are interested in, and can more accurately process the local details of the image.
  • an embodiment of the present application provides an image processing method, and the method includes:
  • An image after image enhancement processing is output, and the image enhancement processing includes one or more processing of histogram statistics and stretching, medium and high frequency detail enhancement, or pseudo-color mapping.
  • an embodiment of the present application provides an image processing device, the image processing device includes: a processor and a memory;
  • Program instructions are stored in the memory
  • the processor calls the program instructions for
  • An image after image enhancement processing is output, and the image enhancement processing includes one or more processing of histogram statistics and stretching, medium and high frequency detail enhancement, or pseudo-color mapping.
  • an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored in the computer-readable storage medium, and when the computer program instructions are executed by a processor, they are used to execute the above-mentioned first aspect.
  • Image processing method
  • the embodiment of the application can identify the target object from the image in the infrared video frame, and perform image enhancement processing on the image in the infrared video frame based on the target object. Compared with the global processing of the image, the image can be processed more accurately. Partial details, in turn, help to show the image content that users are interested in.
  • FIG. 1a is a schematic diagram of an image in an infrared video frame provided by an embodiment of the present application without image enhancement processing;
  • FIG. 1b is a schematic diagram of an image in the infrared video frame shown in FIG. 1a after image enhancement processing provided by an embodiment of the present application;
  • Fig. 2 is a schematic diagram of an image processing system provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of an image processing method provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of identifying the contour shape of a target object according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of temperature distribution of an image provided by an embodiment of the present application.
  • Fig. 6a is a schematic diagram of histogram statistics of an image provided by an embodiment of the present application.
  • FIG. 6b is another schematic diagram of histogram statistics of an image provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of an image processing method provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of another image processing method provided by an embodiment of the present application.
  • FIG. 9 is a schematic flowchart of another image processing method provided by an embodiment of the present application.
  • Fig. 10 is a schematic structural diagram of an image processing device provided by an embodiment of the present application.
  • the embodiments of the present application provide an image processing method that can identify a target object from an image in an infrared video frame; perform image enhancement processing on the image based on the target object; output the image enhanced by the image so that the image The details of the area where the target object is located are more obvious.
  • Fig. 1a is a schematic diagram of an image in an infrared video frame provided by an embodiment of the present application without image enhancement processing
  • Fig. 1b is an image in the infrared video frame shown in Fig. 1a after image enhancement Schematic diagram after processing.
  • the target object 11 is included in FIGS. 1a and 1b.
  • Figure 1a is subjected to image enhancement processing to obtain Figure 1b, where the image enhancement processing refers to performing image enhancement processing on local details in the image.
  • the image shown in FIG. 1b can show the details of the target object 11.
  • the clothes of the target object 11 may display the number of buttons, and the handbag carried by the target object 11 may display wrinkles and the brand label of the handbag.
  • the operation of image enhancement processing may include one or more of histogram statistics and stretching, medium and high frequency detail enhancement, and pseudo-color mapping.
  • histogram statistics and stretching are methods of adjusting the gray value of the image by improving the number of pixels with the same gray value (or the frequency of the pixels with the same gray value) in the image.
  • Medium and high frequency detail enhancement is an image processing method that removes the low frequency part of the image through a filter and highlights the high frequency part.
  • Pseudo-color mapping is a method of assigning color values to grayscale values based on certain criteria.
  • histogram statistics and stretching can be referred to as a contrast stretching algorithm; medium and high frequency detail enhancement can be referred to as a detail enhancement algorithm; pseudo-color mapping can be referred to as a pseudo-color enhancement.
  • Mobile terminals may include: mobile phones, notebooks, tablet computers, and so on.
  • the image processing system may include control equipment and a camera.
  • the camera may be located on a movable platform.
  • the movable platform may be an unmanned aerial vehicle, an unmanned vehicle, an unmanned ship, etc.
  • the machine is described as an example.
  • the camera may be an infrared camera for collecting infrared images.
  • An infrared camera can also be called an infrared thermal imager, an infrared sensor, and so on.
  • the camera transmits the acquired infrared image to the control device.
  • the camera can transmit the collected infrared image to the control device through a drone, or a communication module is installed on the camera to directly transmit the collected infrared image to the control device.
  • the control device performs the related operations of the image processing method described in this application, and can obtain and output the processed image.
  • the control device may be, for example, a remote control of a drone, a ground station, a terminal or a server, etc.
  • FIG. 2 is a schematic diagram of an image processing system provided by an embodiment of the present application.
  • the image processing system includes a drone and a control device.
  • the drone is equipped with a camera, and the camera may include an infrared sensor.
  • the infrared sensor is used to shoot infrared video frames.
  • the drone can perform the image processing method mentioned in the embodiment of this application on the image in the infrared video frame to obtain an image after image enhancement processing.
  • the UAV can send the image after image enhancement processing to the control device for display.
  • the control device can display the image after the image enhancement processing.
  • the control device may be a drone remote control or a terminal, and the remote control or the display screen on the terminal may display the image after the image enhancement processing.
  • FIG. 3 is a schematic flowchart of an image processing method provided by an embodiment of the present application. As shown in Figure 3, the method may include the following steps.
  • S301 Identify the target object from the image in the infrared video frame.
  • the infrared video frame may be an infrared video frame output by an infrared sensor.
  • step S301 may include: identifying the target object in the image according to the contour shape of the target object in the image and the temperature distribution of the image.
  • the method for obtaining the contour shape of the target object in the image may be: using object recognition and/or semantic segmentation algorithms to obtain the contour shape of the target object in the image.
  • object recognition and/or semantic segmentation algorithms to obtain the contour shape of the target object in the image.
  • a characteristic triangle can be formed based on the contour points of the target object, and the contour information of the target object can be obtained according to the area and the characteristic angle of the characteristic triangle.
  • FIG. 4 is a schematic diagram of identifying the contour shape of a target object according to an embodiment of the application.
  • the vertex 401, the vertex 402, and the vertex 403 are three contours of the target object 400. Point, the three contour points can form a characteristic triangle. The centroid of the characteristic triangle is the mark 404.
  • the contour information of the target object is obtained by calculating the area and characteristic angle of the characteristic triangle, and the contour shape of the target object can be determined based on the contour information of the target object.
  • the method of obtaining the temperature distribution of the image may be: converting the pixel value of each pixel in the image into a temperature value, and the temperature distribution of the image can be obtained from the temperature value of each pixel.
  • the temperature difference on the same object is not big, and the temperature difference between different objects is big.
  • FIG. 5 is a schematic diagram of the temperature distribution of an image provided by an embodiment of the present application.
  • S302 Perform image enhancement processing on the image based on the target object.
  • step S302 may include: performing histogram statistics on the pixels in the area where the target object is located in the image to obtain statistical results; and performing stretching processing on the statistical results to obtain the stretched image .
  • the pixels of the area where the target object is located can also be referred to as the pixels of the target object.
  • statistics can be performed on the target object instead of global statistics, so that when the histogram is stretched, the contrast of the target object can be better displayed and the processing accuracy of the local details in the image can be improved.
  • the target object may be a region of interest (ROI).
  • the region of interest can be preset by the system or specified by the user during actual use.
  • the target object may be a human body, electric tower, sky, etc.
  • performing histogram statistics on the pixels in the area where the target object in the image is located refers to counting the occurrence frequency of each gray value according to the size of the gray value of the pixels in the area where the target object is located in the image.
  • Stretching the statistical result refers to stretching the statistical result so that the gray values of the pixels in the area where the target object is located are distributed in the entire gray value range.
  • FIG. 6a is a schematic diagram of histogram statistics of an image provided by an embodiment of the present application
  • FIG. 6b is another schematic diagram of histogram statistics of an image provided by an embodiment of the present application.
  • the dynamic range of the gray value of the pixel is small, only concentrated in the gray value range 1 to 2, and other areas are blank or have few pixels, resulting in the loss of image details.
  • the gray value distribution range of the pixel in FIG. 6b is larger than the gray value distribution range of the pixel in FIG. 6a, which can reflect more image details.
  • step S302 may include: performing histogram statistics for the pixels in the area where the target object is located and the pixels in the area where the non-target object is located in the image, respectively, to obtain the first statistical result and the second statistical result. Result; the first statistical result and the second statistical result are respectively stretched, and the images after the respectively stretched processing are image fused to obtain the stretched image. It can be seen that performing histogram statistics and stretching for the area where the target object is located and the area where the non-target object is located in the image can better show the contrast between the area where the target object is located and the area where the non-target object is located, thereby obtaining the target object more accurately The details of the area.
  • performing stretching processing on the above-mentioned first statistical result includes: performing stretching processing on the first statistical result according to a first stretching interval (first gray value interval).
  • Stretching the above-mentioned second statistical result includes: performing stretch processing on the second statistical result according to a second stretch interval (second gray value interval).
  • the first stretching interval is different from the second stretching interval.
  • the situation where the first stretching interval and the second stretching interval are not in phase include but are not limited to the following methods: for example, the maximum value in the first stretching interval is greater than or equal to the maximum value in the second stretching interval, and The minimum value in the first stretching interval is less than or equal to the minimum value in the second stretching interval.
  • the difference between the maximum value and the minimum value in the first stretching interval is greater than or equal to the difference between the maximum value and the minimum value in the second stretching interval.
  • there is an overlap range between the interval range included in the first stretching interval and the interval range included in the second stretching interval but the overlap range is different from the interval ranges of the first stretching interval and the second stretching interval. Wait.
  • the two stretching processes of "stretching the first statistical result based on the first stretching interval" and “stretching the second stretching result based on the second stretching interval” does not Distinguish the order of execution.
  • the first statistical result may be stretched according to the first stretch interval first, and then the second statistical result may be stretched according to the second stretch interval.
  • the second statistical result may be stretched according to the second stretch interval first, and then the first stretch result may be stretched according to the first stretch interval.
  • the two processes of "stretching the first statistical result based on the first stretching interval” and “stretching the second stretching result based on the second stretching interval” can be performed at the same time .
  • step S302 may further include: performing medium and high frequency detail enhancement processing on the pixels of the target object in the image to obtain an image after the medium and high frequency detail enhancement processing.
  • the medium and high frequency detail enhancement processing refers to the use of mean filtering to eliminate shot noise in the image to obtain an image with prominent high frequency parts.
  • performing medium and high frequency detail enhancement processing for the pixels of the target object can improve the processing accuracy of the target object and show more details of the target object compared to performing the global mid and high frequency detail enhancement processing on the image.
  • step S302 may include: performing medium and high frequency detail enhancement processing on the pixel points of the target object and the pixel points of the non-target object in the image to obtain an image after the medium and high frequency detail enhancement processing.
  • the degree of detail enhancement is reduced in the area where the non-target object is located in the image, and the detail enhancement intensity of the area where the target object is correspondingly increased. Therefore, the image can be sharpened in the frequency domain, such as weakening the low-frequency component of the area where the non-target object is located, and enhancing the high-frequency component of the area where the target object is located. Thereby, an image with richer content and details of the target object can be obtained.
  • the medium and high-frequency detail enhancement processing of the image based on the target object can make the high-frequency component of the area where the target object is located stand out, and the low-frequency component of the area where the non-target object is located is weakened, thereby better showing the details and details of the target object in the image. content.
  • step S302 may include: using a target color palette to perform pseudo-color processing on the pixels of the target object in the image to obtain a pseudo-color processed image. For example, select the target palette corresponding to the target object from the preset palette library.
  • the preset color palette library includes one or more color palettes corresponding to one or more objects respectively.
  • the color palettes corresponding to different target objects are different.
  • the color palette in the preset palette library can be generated according to the type of the target object.
  • the color palette can be color palette 1; if the type of the target object is a puppy, the color palette can be color palette 2.
  • Palette 2 is a different palette.
  • the system detects a target object, it can match the corresponding color palette based on the type of the target object, and use the color palette to perform pseudo-color mapping on the target object.
  • the color palette in the preset color palette library can also be generated according to other information of the target object, such as generating a color palette based on the number of pixels in the area where the target object is located, which is not limited in the embodiment of the application. .
  • performing pseudo-color mapping processing on the image based on the target object can convert the grayscale image into a color image, thereby improving the image display effect.
  • the above-mentioned image enhancement processing on the image based on the target object may include one or more of the histogram statistics and stretching, mid- and high-frequency detail enhancement, and pseudo-color mapping described in the foregoing implementation manners.
  • the execution sequence of histogram statistics and stretching, mid-high frequency detail enhancement, and pseudo-color mapping described in each implementation manner is not limited in the embodiment of the present application.
  • the histogram statistics and stretching processing can be performed on the image based on the target object first, and then the mid-high frequency detail enhancement processing and pseudo color mapping processing can be performed on the image based on the target object.
  • the histogram statistics and stretching processing are performed on the image based on the target object, and then the pseudo-color mapping processing is performed on the image based on the target object.
  • the operation of identifying the target object in the image may be performed before one or more of the histogram statistics and stretching processing, the middle and high frequency detail enhancement processing, and the pseudo color mapping processing in the image enhancement processing.
  • the operation of recognizing the target object in the image can be performed before the pseudo-color mapping process and after the mid-high frequency detail enhancement process. Furthermore, the target object is pushed to one or more of histogram statistics and stretching processing, middle and high frequency detail enhancement processing, and pseudo-color mapping processing, so that these image enhancement processing can be performed based on the target object.
  • the operation of recognizing the target object in the image can be performed before the middle and high frequency detail enhancement processing, and after the histogram statistics and stretching processing are performed on the image.
  • the target object can be pushed to one or more of histogram statistics and stretching processing, medium and high frequency detail enhancement processing, and pseudo-color mapping processing, respectively, so that these image enhancement processing can be performed based on the target object.
  • the operation of identifying the target object in the image can be performed before the histogram statistics and stretching processing.
  • the target object can be pushed to one or more of histogram statistics and stretching processing, medium and high frequency detail enhancement processing, and pseudo-color mapping processing, respectively, so that these image enhancement processing can be performed based on the target object.
  • the operation of recognizing the target object in the image can be performed after the middle and high frequency detail enhancement processing and before the pseudo color mapping processing.
  • the target object is identified from the image in the video frame, and then the target object is input into each operation of the image enhancement processing, so that each operation of the image enhancement processing is performed based on the target object.
  • the embodiment of the present application recognizes the target object from the image in the infrared video frame, and performs image enhancement processing on the image in the infrared video frame based on the target object. Compared with the global processing of the image, it can be processed more accurately. The local details in the image, so as to better show the content of the target object in the image.
  • FIG. 9 is a schematic flowchart of an image processing method provided by an embodiment of the present application.
  • the image processing method shown in FIG. 9 is different from the image processing method shown in FIG. 3 in that identifying the target object in the image can be performed after image processing.
  • the image processing may include one or more operations in the image enhancement processing described above.
  • the method may include the following steps.
  • S901 Perform image processing on an image to obtain an image after image processing.
  • the image processing includes one or more of histogram statistics and stretching, medium and high frequency detail enhancement, or pseudo-color mapping. That is, before identifying the target object, you can perform these processing on the image first.
  • S902 Identify the target object from the image after the image processing.
  • the image The temperature distribution of is the temperature distribution of the image before the image enhancement processing.
  • step S902 may include: recognizing the target object from the image after image processing based on the target object preset by the system or specified by the user.
  • the system can store at least one type of target object. Extract pixel point information of the object in the image after image processing; determine whether the object is the stored target object based on the pixel point information, and if so, identify the target object based on the pixel point information.
  • the pixel point information may include the gray value, temperature value, contour shape, etc. of each pixel point.
  • the target object stored by the system is a car, and the system extracts the pixel information of the object in the image after image processing; based on the pixel information, it determines whether the object is a stored car, and if so, the car is identified based on the pixel information .
  • the display device may display a label representing the target object for the user to select. Detect the user's click on the label; based on the label clicked by the user, determine that the object corresponding to the label is the target object in the image. For example, the display device can display the label of the white cloud, the label of the puppy, and the label of the car; if the user clicks the label of the white cloud, the target object in the image can be determined as the white cloud based on the label of the white cloud.
  • step S902 the process of identifying the target object from the image after image processing in step S902 is similar to the implementation process of step S301, and will not be repeated here.
  • S903 Perform image enhancement processing on the image based on the target object.
  • S904 Output an image after image enhancement processing.
  • step S902 and step S301 in the embodiment of the present application are similar, and will not be repeated here.
  • Steps S903 to S904 in the embodiment of the present application are the same as steps S302 to S303, and will not be repeated here.
  • image processing can be performed on the image to obtain an image with better contrast. Recognizing the target object in the image based on the image after image processing, and performing image enhancement processing on the image based on the target object, can more accurately process the local details of the image, thereby helping to display the image content that the user is interested in.
  • FIG. 10 is a schematic structural diagram of an image processing device according to an embodiment of the present application.
  • the image processing device 10 of the embodiment of the present application includes a memory 1001 and a processor 1002.
  • the memory 1001 may include a volatile memory (volatile memory), such as random-access memory (RAM); the memory 1001 may also include a non-volatile memory (non-volatile memory), such as flash memory (flash memory), solid-state drive (solid-state drive, SSD), etc.; the memory 1001 may also include a combination of the foregoing types of memories.
  • the processor 1002 may be a central processing unit (CPU), and the processor 1002 may also be an image processing unit (GPU).
  • the processor 1002 may further include a hardware chip.
  • the above-mentioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), etc.
  • the above-mentioned PLD may be a field-programmable gate array (FPGA), a general array logic (generic array logic, GAL), and the like.
  • the image processing device may be a movable platform or a movable device, such as a drone.
  • the image processing device can be configured with a sensor (such as an infrared sensor) and a processor.
  • the infrared sensor can obtain an infrared video frame and transmit the infrared video frame to the processor; the processor can analyze the image in the infrared video frame. Perform related operations of the image processing method described in this application.
  • the image processing device may also be equipped with a communication interface, which is used to send the processed image to the terminal, and the terminal will output, for example, display the processed image.
  • the image processing device may be a control device, and the control device is configured with a processor and a memory as shown in FIG. 10, and in addition, a display and a communication interface may also be configured.
  • the communication interface is used to receive infrared video frames sent by mobile platforms such as drones, and the processor is used to perform the relevant operations of the image processing method described in this application for the infrared video frames received by the communication interface, and output the processed images To the monitor, the processed image is displayed on the monitor.
  • the control device may be a terminal device, a remote control, a server, or a control device of a movable platform.
  • the image processing device of the embodiment of the present application can be used to implement the method implemented by each embodiment of the present application shown in FIG. 3 or FIG. 9 through the processor 1002.
  • the method implemented in the present application is shown.
  • the embodiments of the present application shown in FIG. 3 or FIG. 9 please refer to the embodiments of the present application shown in FIG. 3 or FIG. 9 for implementation.
  • the memory 1001 stores program instructions
  • the processor 1002 calls the program instructions in the memory.
  • the processor 1002 is used to: Identify the target object in the image; perform image enhancement processing on the image based on the target object, where the image enhancement processing may include one or more of histogram statistics and stretching, medium and high frequency detail enhancement, and pseudo-color mapping; output The image after image enhancement processing.
  • the processor 1002 is configured to: perform histogram statistics on the pixels in the area where the target object in the image is located, to obtain a statistical result;
  • Stretching processing is performed on the statistical result to obtain a stretched image.
  • the processor 1002 is configured to: perform the histogram statistics on the pixels of the target object and the pixels of the non-target object in the image, respectively, to obtain a first statistical result And the second statistical result;
  • the first statistical result and the second statistical result are respectively subjected to stretching processing, and the images after the stretching processing are subjected to image fusion to obtain the image after the stretching processing.
  • the processor 1002 is configured to: use a first stretch interval to stretch the first statistical result, and use a second stretch interval to stretch the second statistical result.
  • the first stretching interval is different from the second stretching interval.
  • the maximum value in the first stretching interval is greater than or equal to the maximum value in the second stretching interval, and the minimum value in the first stretching interval is less than or equal to the second stretching interval The minimum value in.
  • the processor 1002 is configured to: perform medium and high frequency detail enhancement processing on the pixels of the target object in the image to obtain an image after the medium and high frequency detail enhancement processing.
  • the processor 1002 is configured to: perform medium and high frequency detail enhancement processing on the pixels of the target object and the pixels of the non-target object in the image, respectively, to obtain medium and high frequency detail enhancement The processed image.
  • the processor 1002 is configured to: use a target color palette to perform pseudo-color processing on the pixels of the target object in the image to obtain a pseudo-color processed image.
  • the processor 1002 is configured to: select the target palette corresponding to the target object from a preset palette library, and the preset palette library includes one or One or more color palettes corresponding to multiple objects.
  • the processor 1002 is configured to: identify the target object in the image according to the contour shape of the target object in the image and the temperature distribution of the image.
  • the processor 1002 is configured to use an object recognition and/or semantic segmentation algorithm to obtain the contour shape of the target object in the image.
  • the processor 1002 is configured to: perform image processing on the image to obtain an image after image processing;
  • the processor 1002 recognizes the target object from the image in the infrared video frame, including:
  • the target object is identified from the image after image processing.
  • the image processing includes one or more of histogram statistics and stretching, medium and high frequency detail enhancement, or pseudo-color mapping.
  • the infrared video frame is an infrared video frame obtained by an infrared sensor.
  • the target object is preset by the system or specified by the user.
  • the image processing device provided in this embodiment can execute the image processing method provided in the foregoing embodiment, and its execution mode and beneficial effects are similar, and will not be repeated here.
  • the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, they are used to execute any of the instructions described in FIGS. 3 to 9 Or multiple embodiments.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the modules is only a logical function division, and there may be other divisions in actual implementation, for example, multiple modules or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or modules, and may be in electrical, mechanical or other forms.
  • modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional modules in the various embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, or in the form of hardware plus software functional modules.
  • the above-mentioned integrated modules implemented in the form of software functional modules may be stored in a computer readable storage medium.
  • the above-mentioned software function module is stored in a storage medium, and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute the method described in each embodiment of the present application. Part of the steps.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program instructions .

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Processing (AREA)

Abstract

An image processing method and apparatus. The method comprises: recognizing a target object from an image in an infrared video frame; performing image enhancement processing on the image on the basis of the target object, the image enhancement processing comprising one or more processing of histogram statistics and stretching, medium and high frequency detail enhancement or pseudo-color mapping, and obtaining an image subjected to the image enhancement processing, so that the image subjected to the image enhancement processing can be outputted. Hence, according to the embodiments of the present application, the image enhancement processing can be performed on the image on the basis of the target object, local details of the image can be more accurately processed, thereby facilitating better displaying the details and content of the target object.

Description

图像处理方法及装置Image processing method and device 技术领域Technical field
本申请涉及图像处理技术领域,尤其涉及一种图像处理方法及装置。This application relates to the field of image processing technology, and in particular to an image processing method and device.
背景技术Background technique
图像是人类获取和交换信息的主要来源,图像处理技术的应用领域也涉及人类生活和工作的方方面面。Images are the main source for humans to obtain and exchange information, and the application fields of image processing technology also involve all aspects of human life and work.
随着人们对图像可辨识度要求的提高,如何对图像进行处理,以使图像的质量得到较大的改善,在图像处理领域显得愈发重要。比如,红外传感器输出的图像的直方图往往很集中,还需要对图像进行其他的图像处理操作,以便于展现图像中的场景内容。As people's requirements for image recognizability increase, how to process images so that the quality of the images can be greatly improved is becoming more and more important in the field of image processing. For example, the histogram of the image output by the infrared sensor is often very concentrated, and other image processing operations need to be performed on the image in order to display the scene content in the image.
然而,该图像处理方式依旧无法更好的呈现出用户感兴趣的图像内容。However, this image processing method still cannot better present the image content that the user is interested in.
发明内容Summary of the invention
本申请提供一种图像处理方法及装置,能够更好的呈现用户感兴趣的图像内容,能够更精确的处理图像的局部细节。The present application provides an image processing method and device, which can better present the image content that users are interested in, and can more accurately process the local details of the image.
第一方面,本申请实施例提供了一种图像处理方法,所述方法包括:In the first aspect, an embodiment of the present application provides an image processing method, and the method includes:
从红外视频帧中的图像中识别出目标对象;Identify the target object from the image in the infrared video frame;
基于所述目标对象对所述图像进行图像增强处理;Performing image enhancement processing on the image based on the target object;
输出图像增强处理后的图像,所述图像增强处理包括直方图统计和拉伸、中高频细节增强或伪彩映射中的一种或多种处理。An image after image enhancement processing is output, and the image enhancement processing includes one or more processing of histogram statistics and stretching, medium and high frequency detail enhancement, or pseudo-color mapping.
第二方面,本申请实施例提供了一种图像处理设备,所述图像处理设备包括:处理器和存储器;In a second aspect, an embodiment of the present application provides an image processing device, the image processing device includes: a processor and a memory;
所述存储器中存储有程序指令;Program instructions are stored in the memory;
所述处理器调用所述程序指令,用于The processor calls the program instructions for
从红外视频帧中的图像中识别出目标对象;Identify the target object from the image in the infrared video frame;
基于所述目标对象对所述图像进行图像增强处理;Performing image enhancement processing on the image based on the target object;
输出图像增强处理后的图像,所述图像增强处理包括直方图统计和拉伸、中高频细节增强或伪彩映射中的一种或多种处理。An image after image enhancement processing is output, and the image enhancement processing includes one or more processing of histogram statistics and stretching, medium and high frequency detail enhancement, or pseudo-color mapping.
第三方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序指令,所述计算机程序指令被处理器执行时,用于执行上述第一方面的图像处理方法。In a third aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored in the computer-readable storage medium, and when the computer program instructions are executed by a processor, they are used to execute the above-mentioned first aspect. Image processing method.
本申请实施例可从红外视频帧中的图像中识别出目标对象,基于目标对象对红外视频帧中的图像进行图像增强处理,相对于对图像进行全局处理而言,能够更精确的处理图像的局部细节,进而有利于展现用户感兴趣的图像内容。The embodiment of the application can identify the target object from the image in the infrared video frame, and perform image enhancement processing on the image in the infrared video frame based on the target object. Compared with the global processing of the image, the image can be processed more accurately. Partial details, in turn, help to show the image content that users are interested in.
附图说明Description of the drawings
图1a是本申请实施例提供的一种红外视频帧中的图像未经过图像增强处理的示意图;FIG. 1a is a schematic diagram of an image in an infrared video frame provided by an embodiment of the present application without image enhancement processing;
图1b是本申请实施例提供的图1a所示红外视频帧中的图像经过图像增强处理后的示意图;FIG. 1b is a schematic diagram of an image in the infrared video frame shown in FIG. 1a after image enhancement processing provided by an embodiment of the present application;
图2是本申请实施例提供的一种图像处理系统的示意图;Fig. 2 is a schematic diagram of an image processing system provided by 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;
图4是本申请实施例提供的一种识别目标对象的轮廓形状的示意图;FIG. 4 is a schematic diagram of identifying the contour shape of a target object according to an embodiment of the present application;
图5是本申请实施例提供的一种图像的温度分布的示意图;FIG. 5 is a schematic diagram of temperature distribution of an image provided by an embodiment of the present application;
图6a是本申请实施例提供的图像的直方图统计的一示意图;Fig. 6a is a schematic diagram of histogram statistics of an image provided by an embodiment of the present application;
图6b是本申请实施例提供的图像的直方图统计的另一示意图;FIG. 6b is another schematic diagram of histogram statistics of an image provided by an embodiment of the present application;
图7是本申请实施例提供的一种图像处理方法的示意图;FIG. 7 is a schematic diagram of an image processing method provided by an embodiment of the present application;
图8是本申请实施例提供的另一种图像处理方法的示意图;FIG. 8 is a schematic diagram of another image processing method provided by an embodiment of the present application;
图9是本申请实施例提供的另一种图像处理方法的流程示意图;FIG. 9 is a schematic flowchart of another image processing method provided by an embodiment of the present application;
图10是本申请实施例提供的一种图像处理设备的结构示意图。Fig. 10 is a schematic structural diagram of an image processing device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。The technical solutions in the embodiments of the present application will be clearly described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments.
本申请实施例提供一种图像处理方法,该图像处理方法可从红外视频帧中的图像中识别出目标对象;并基于目标对象对图像进行图像增强处理;输出图像增强处理的图像,从而使得图像中目标对象所在区域的细节更加明显。The embodiments of the present application provide an image processing method that can identify a target object from an image in an infrared video frame; perform image enhancement processing on the image based on the target object; output the image enhanced by the image so that the image The details of the area where the target object is located are more obvious.
以图1a和图1b为例,图1a是本申请实施例提供的一种红外视频帧中的图像未经图像 增强处理的示意图,图1b是图1a所示红外视频帧中的图像经过图像增强处理后的示意图。图1a和图1b中包括目标对象11。图1a经过图像增强处理,可得到图1b,其中,图像增强处理是指对图像中的局部细节进行图像增强处理。图1b所示的图像可展示出目标对象11的细节。例如,在图1b中目标对象11的衣服可以展示出纽扣的颗数,目标对象11携带的手提包可展示出皱痕以及手提包的品牌标签等。Taking Fig. 1a and Fig. 1b as examples, Fig. 1a is a schematic diagram of an image in an infrared video frame provided by an embodiment of the present application without image enhancement processing, and Fig. 1b is an image in the infrared video frame shown in Fig. 1a after image enhancement Schematic diagram after processing. The target object 11 is included in FIGS. 1a and 1b. Figure 1a is subjected to image enhancement processing to obtain Figure 1b, where the image enhancement processing refers to performing image enhancement processing on local details in the image. The image shown in FIG. 1b can show the details of the target object 11. For example, in FIG. 1b, the clothes of the target object 11 may display the number of buttons, and the handbag carried by the target object 11 may display wrinkles and the brand label of the handbag.
本申请实施例中,图像增强处理的操作可以包括直方图统计和拉伸、中高频细节增强、伪彩映射中的一种或多种。其中,直方图统计和拉伸是通过改善图像中同一灰度值的像素点数量(或同一灰度值像素出现的频率),对图像的灰度值进行调整的方法。中高频细节增强是通过滤波器去除图像中的低频部分,突出高频部分的一种图像处理方法。伪彩映射是基于一定的准则给灰度值赋予彩色值的方法。In the embodiment of the present application, the operation of image enhancement processing may include one or more of histogram statistics and stretching, medium and high frequency detail enhancement, and pseudo-color mapping. Among them, histogram statistics and stretching are methods of adjusting the gray value of the image by improving the number of pixels with the same gray value (or the frequency of the pixels with the same gray value) in the image. Medium and high frequency detail enhancement is an image processing method that removes the low frequency part of the image through a filter and highlights the high frequency part. Pseudo-color mapping is a method of assigning color values to grayscale values based on certain criteria.
本申请实施例中,直方图统计和拉伸可称为对比度拉伸算法;中高频细节增强可称为细节增强算法;伪彩映射可称为伪彩增强。In the embodiments of the present application, histogram statistics and stretching can be referred to as a contrast stretching algorithm; medium and high frequency detail enhancement can be referred to as a detail enhancement algorithm; pseudo-color mapping can be referred to as a pseudo-color enhancement.
本申请实施例提及到的图像处理方法可以应用于无人机、无人车或者移动终端等。移动终端可以包括:手机、笔记本、平板电脑等。The image processing methods mentioned in the embodiments of this application can be applied to unmanned aerial vehicles, unmanned vehicles, or mobile terminals. Mobile terminals may include: mobile phones, notebooks, tablet computers, and so on.
本申请实施例所述的图像处理方法可应用各种图像处理系统中。例如,图像处理系统可包括控制设备和相机,可选的,该相机可位于可移动平台上,该可移动平台可以是无人机、无人车、无人船等等,下述以无人机为例进行描述。该相机可以是红外相机,用于采集红外图像。红外相机还可以称为红外热像仪、红外传感器等等。相机将获取的红外图像传输给控制设备,例如,相机可以通过无人机将采集的红外图像传输给控制设备,或者,相机上安装通信模块,直接将采集的红外图像传输给控制设备。这种情况下,控制设备进行本申请所述的图像处理方法的相关操作,可获得并输出处理后的图像。该控制设备例如可以是无人机的遥控器、地面站、终端或者服务器等等。The image processing method described in the embodiment of the present application can be applied to various image processing systems. For example, the image processing system may include control equipment and a camera. Optionally, the camera may be located on a movable platform. The movable platform may be an unmanned aerial vehicle, an unmanned vehicle, an unmanned ship, etc. The machine is described as an example. The camera may be an infrared camera for collecting infrared images. An infrared camera can also be called an infrared thermal imager, an infrared sensor, and so on. The camera transmits the acquired infrared image to the control device. For example, the camera can transmit the collected infrared image to the control device through a drone, or a communication module is installed on the camera to directly transmit the collected infrared image to the control device. In this case, the control device performs the related operations of the image processing method described in this application, and can obtain and output the processed image. The control device may be, for example, a remote control of a drone, a ground station, a terminal or a server, etc.
另一种可选的实现方式是,相机将获取的红外图像传输给无人机,无人机的处理器进行本申请所述的图像处理方法的相关操作,可获得并输出处理后的图像。下面结合图2描述这种情况的图像处理过程。请参阅图2,图2是本申请实施例提供的一种图像处理系统的示意图。该图像处理系统中包括无人机和控制设备,其中,无人机配置有相机,该相机可包括红外传感器。红外传感器用于拍摄红外视频帧。无人机可对红外视频帧中的图像进行本申请实施例提及到的图像处理方法,获得图像增强处理后的图像。进而,无人机可将 图像增强处理后的图像发送给控制设备进行显示。相应的,控制设备可显示该图像增强处理后的图像。例如,该控制设备可为无人机遥控器或者终端,遥控器或终端上的显示屏可以显示该图像增强处理后的图像。Another optional implementation is that the camera transmits the acquired infrared image to the drone, and the processor of the drone performs related operations of the image processing method described in this application to obtain and output the processed image. The image processing process in this case will be described below in conjunction with FIG. 2. Please refer to FIG. 2. FIG. 2 is a schematic diagram of an image processing system provided by an embodiment of the present application. The image processing system includes a drone and a control device. The drone is equipped with a camera, and the camera may include an infrared sensor. The infrared sensor is used to shoot infrared video frames. The drone can perform the image processing method mentioned in the embodiment of this application on the image in the infrared video frame to obtain an image after image enhancement processing. Furthermore, the UAV can send the image after image enhancement processing to the control device for display. Correspondingly, the control device can display the image after the image enhancement processing. For example, the control device may be a drone remote control or a terminal, and the remote control or the display screen on the terminal may display the image after the image enhancement processing.
请参见图3,图3是本申请实施例提供的一种图像处理方法的流程示意图。如图3所示,该方法可包括如下步骤。Please refer to FIG. 3, which is a schematic flowchart of an image processing method provided by an embodiment of the present application. As shown in Figure 3, the method may include the following steps.
S301,从红外视频帧中的图像中识别出目标对象。S301: Identify the target object from the image in the infrared video frame.
在一种可选的实现方式中,红外视频帧可为红外传感器输出的红外视频帧。In an optional implementation manner, the infrared video frame may be an infrared video frame output by an infrared sensor.
在一种可选的实现方式中,步骤S301可包括:根据图像中目标对象的轮廓形状和图像的温度分布,识别图像中的目标对象。In an optional implementation manner, step S301 may include: identifying the target object in the image according to the contour shape of the target object in the image and the temperature distribution of the image.
其中,获取图像中目标对象的轮廓形状的方法可为:采用物体识别和/或语义分割算法,获取图像中的目标对象的轮廓形状。其中,可基于目标对象的轮廓点组成特征三角形,根据特征三角形面积和特征角获取目标对象的轮廓信息。The method for obtaining the contour shape of the target object in the image may be: using object recognition and/or semantic segmentation algorithms to obtain the contour shape of the target object in the image. Among them, a characteristic triangle can be formed based on the contour points of the target object, and the contour information of the target object can be obtained according to the area and the characteristic angle of the characteristic triangle.
举例来说,图4为本申请实施例提供的一种识别目标对象的轮廓形状的示意图,图4所示的目标对象400中,顶点401、顶点402、顶点403为目标对象400的三个轮廓点,该三个轮廓点可组成一个特征三角形。该特征三角形的形心为标识404。通过计算该特征三角形的面积和特征角获取目标对象的轮廓信息,基于目标对象的轮廓信息能够确定出目标对象的轮廓形状。For example, FIG. 4 is a schematic diagram of identifying the contour shape of a target object according to an embodiment of the application. In the target object 400 shown in FIG. 4, the vertex 401, the vertex 402, and the vertex 403 are three contours of the target object 400. Point, the three contour points can form a characteristic triangle. The centroid of the characteristic triangle is the mark 404. The contour information of the target object is obtained by calculating the area and characteristic angle of the characteristic triangle, and the contour shape of the target object can be determined based on the contour information of the target object.
获取图像的温度分布的方法可为:将图像中各个像素点的像素值换算成温度值,由各个像素点的温度值可得到图像的温度分布。通常,同一物体上的温度相差不大,不同物体之间的温度相差大。如图5所示,图5是本申请实施例提供的一种图像的温度分布的示意图。The method of obtaining the temperature distribution of the image may be: converting the pixel value of each pixel in the image into a temperature value, and the temperature distribution of the image can be obtained from the temperature value of each pixel. Generally, the temperature difference on the same object is not big, and the temperature difference between different objects is big. As shown in FIG. 5, FIG. 5 is a schematic diagram of the temperature distribution of an image provided by an embodiment of the present application.
S302,基于目标对象对图像进行图像增强处理。S302: Perform image enhancement processing on the image based on the target object.
S303,输出图像增强处理后的图像。S303: Output an image after image enhancement processing.
在一种可选的实现方式中,步骤S302可包括:针对图像中目标对象所在区域的像素点进行直方图统计,获得统计结果;并对统计结果进行拉伸处理,获得拉伸处理后的图像。其中,目标对象所在区域的像素点也可称为目标对象的像素点。在进行直方图统计时,可以针对目标对象进行统计,而不是使用全局统计,这样在进行直方图拉伸时,可以更好的展现目标物体的对比度,提高对图像中局部细节的处理精度。本申请实施例中,目标对象 可以是感兴趣区域(region of interest,ROI)。感兴趣区域可以是系统预先设定,也可以是实际使用过程中由用户指定。例如,目标对象可以是人体、电塔、天空等。In an optional implementation manner, step S302 may include: performing histogram statistics on the pixels in the area where the target object is located in the image to obtain statistical results; and performing stretching processing on the statistical results to obtain the stretched image . Among them, the pixels of the area where the target object is located can also be referred to as the pixels of the target object. When performing histogram statistics, statistics can be performed on the target object instead of global statistics, so that when the histogram is stretched, the contrast of the target object can be better displayed and the processing accuracy of the local details in the image can be improved. In this embodiment of the application, the target object may be a region of interest (ROI). The region of interest can be preset by the system or specified by the user during actual use. For example, the target object may be a human body, electric tower, sky, etc.
其中,对图像中目标对象所在区域的像素点进行直方图统计是指将图像中目标对象所在区域的像素点,按照灰度值的大小,统计每个灰度值出现的频度。对统计结果进行拉伸处理是指将该统计结果进行拉伸,使得目标对象所在区域的像素点具有的灰度值分布在整个灰度值范围内。Among them, performing histogram statistics on the pixels in the area where the target object in the image is located refers to counting the occurrence frequency of each gray value according to the size of the gray value of the pixels in the area where the target object is located in the image. Stretching the statistical result refers to stretching the statistical result so that the gray values of the pixels in the area where the target object is located are distributed in the entire gray value range.
举例来说,请参见图6a和图6b,图6a是本申请实施例提供的图像的直方图统计的一示意图,图6b是本申请实施例提供的图像的直方图统计的另一示意图。图6a中,像素的灰度值动态范围较小,只集中在灰度值范围1~2内,其他区域是空白的或者具有很少像素,从而导致图像的细节丢失。而图6b中像素的灰度值分布的范围要大于图6a中像素的灰度值分布的范围,可体现出更多的图像细节。For example, please refer to FIGS. 6a and 6b. FIG. 6a is a schematic diagram of histogram statistics of an image provided by an embodiment of the present application, and FIG. 6b is another schematic diagram of histogram statistics of an image provided by an embodiment of the present application. In Fig. 6a, the dynamic range of the gray value of the pixel is small, only concentrated in the gray value range 1 to 2, and other areas are blank or have few pixels, resulting in the loss of image details. The gray value distribution range of the pixel in FIG. 6b is larger than the gray value distribution range of the pixel in FIG. 6a, which can reflect more image details.
在另一种可选的实现方式中,步骤S302可包括:针对图像中目标对象所在区域的像素点以及非目标对象所在区域的像素点分别进行直方图统计,获得第一统计结果和第二统计结果;并对第一统计结果和第二统计结果分别进行拉伸处理,将分别拉伸处理后的图像进行图像融合,获得拉伸处理后的图像。可见,针对图像中目标对象所在区域与非目标对象所在区域分别进行直方图统计和拉伸处理,可以更好地展现目标对象所在区域与非目标对象所在区域的对比度,从而更精确的得到目标对象所在区域的细节内容。其中,对上述第一统计结果进行拉伸处理包括:依据第一拉伸区间(第一灰度值区间)对第一统计结果进行拉伸处理。对上述第二统计结果进行拉伸处理包括:依据第二拉伸区间(第二灰度值区间)对第二统计结果进行拉伸处理。In another optional implementation manner, step S302 may include: performing histogram statistics for the pixels in the area where the target object is located and the pixels in the area where the non-target object is located in the image, respectively, to obtain the first statistical result and the second statistical result. Result; the first statistical result and the second statistical result are respectively stretched, and the images after the respectively stretched processing are image fused to obtain the stretched image. It can be seen that performing histogram statistics and stretching for the area where the target object is located and the area where the non-target object is located in the image can better show the contrast between the area where the target object is located and the area where the non-target object is located, thereby obtaining the target object more accurately The details of the area. Wherein, performing stretching processing on the above-mentioned first statistical result includes: performing stretching processing on the first statistical result according to a first stretching interval (first gray value interval). Stretching the above-mentioned second statistical result includes: performing stretch processing on the second statistical result according to a second stretch interval (second gray value interval).
可以理解的是,第一拉伸区间与第二拉伸区间不相同。其中,第一拉伸区间与第二拉伸区间不相的情况包括但不限于如下方式:比如,第一拉伸区间中的最大值,大于或等于第二拉伸区间中的最大值,且第一拉伸区间中的最小值小于或等于第二拉伸区间中的最小值。又比如,第一拉伸区间中的最大值与最小值之间的差值,大于或等于第二拉伸区间中的最大值与最小值之间的差值。又比如,第一拉伸区间所包括的区间范围与第二拉伸区间所包括的区间范围不存在公共部分。又比如,第一拉伸区间所包括的区间范围与第二拉伸区间所包括的区间范围存在重叠范围,但是该重叠范围与第一拉伸区间和第二拉伸区间的区间范围都不相同等。It can be understood that the first stretching interval is different from the second stretching interval. The situation where the first stretching interval and the second stretching interval are not in phase include but are not limited to the following methods: for example, the maximum value in the first stretching interval is greater than or equal to the maximum value in the second stretching interval, and The minimum value in the first stretching interval is less than or equal to the minimum value in the second stretching interval. For another example, the difference between the maximum value and the minimum value in the first stretching interval is greater than or equal to the difference between the maximum value and the minimum value in the second stretching interval. For another example, there is no common part between the interval range included in the first stretching interval and the interval range included in the second stretching interval. For another example, there is an overlap range between the interval range included in the first stretching interval and the interval range included in the second stretching interval, but the overlap range is different from the interval ranges of the first stretching interval and the second stretching interval. Wait.
上述描述的执行“基于第一拉伸区间对第一统计结果进行拉伸处理”和“基于第二拉 伸区间对第二拉伸结果进行拉伸处理”这两个拉伸处理过程,并不区分执行的先后顺序。在一种实现方式中,可先根据第一拉伸区间对第一统计结果进行拉伸处理,再根据第二拉伸区间对第二统计结果进行拉伸处理。在一种实现方式中,可先根据第二拉伸区间对第二统计结果进行拉伸处理,再根据第一拉伸区间对第一拉伸结果进行拉伸处理。在一种实现方式中,可同时进行“基于第一拉伸区间对第一统计结果进行拉伸处理”和“基于第二拉伸区间对第二拉伸结果进行拉伸处理”这两个过程。The above-described execution of the two stretching processes of "stretching the first statistical result based on the first stretching interval" and "stretching the second stretching result based on the second stretching interval" does not Distinguish the order of execution. In an implementation manner, the first statistical result may be stretched according to the first stretch interval first, and then the second statistical result may be stretched according to the second stretch interval. In an implementation manner, the second statistical result may be stretched according to the second stretch interval first, and then the first stretch result may be stretched according to the first stretch interval. In an implementation manner, the two processes of "stretching the first statistical result based on the first stretching interval" and "stretching the second stretching result based on the second stretching interval" can be performed at the same time .
在一种可选的实现方式中,步骤S302还可包括:针对图像中目标对象的像素点进行中高频细节增强处理,获得中高频细节增强处理后的图像。其中,中高频细节增强处理是指利用均值滤波来消除图像中的散粒噪声,得到高频部分突出的图像。In an optional implementation manner, step S302 may further include: performing medium and high frequency detail enhancement processing on the pixels of the target object in the image to obtain an image after the medium and high frequency detail enhancement processing. Among them, the medium and high frequency detail enhancement processing refers to the use of mean filtering to eliminate shot noise in the image to obtain an image with prominent high frequency parts.
可见,针对目标对象的像素点进行中高频细节增强处理,相比于对图像进行全局的中高频细节增强处理,可提高对目标对象的处理精度,展现目标对象的更多细节。It can be seen that performing medium and high frequency detail enhancement processing for the pixels of the target object can improve the processing accuracy of the target object and show more details of the target object compared to performing the global mid and high frequency detail enhancement processing on the image.
在另一种可选的实现方式中,步骤S302可包括:针对图像中目标对象的像素点以及非目标对象的像素点分别进行中高频细节增强处理,获得中高频细节增强处理后的图像。比如对图像中非目标对象所在区域降低细节增强的程度,相应的提高目标对象所在区域的细节增强强度。因此,可对图像进行频域锐化处理,如削弱非目标对象所在区域的低频成分,增强目标对象所在区域的高频成分。从而得到目标对象的内容和细节更加丰富的图像。In another optional implementation manner, step S302 may include: performing medium and high frequency detail enhancement processing on the pixel points of the target object and the pixel points of the non-target object in the image to obtain an image after the medium and high frequency detail enhancement processing. For example, the degree of detail enhancement is reduced in the area where the non-target object is located in the image, and the detail enhancement intensity of the area where the target object is correspondingly increased. Therefore, the image can be sharpened in the frequency domain, such as weakening the low-frequency component of the area where the non-target object is located, and enhancing the high-frequency component of the area where the target object is located. Thereby, an image with richer content and details of the target object can be obtained.
可见,基于目标对象对图像进行中高频细节增强处理,可使得目标对象所在区域的高频成分突出,非目标对象所在区域的低频成分减弱,从而,更好地展现出图像中目标对象的细节和内容。It can be seen that the medium and high-frequency detail enhancement processing of the image based on the target object can make the high-frequency component of the area where the target object is located stand out, and the low-frequency component of the area where the non-target object is located is weakened, thereby better showing the details and details of the target object in the image. content.
在一种可选的实现方式中,步骤S302可包括:采用目标调色盘对图像中目标对象的像素点进行伪彩处理,获得伪彩处理后的图像。例如,从预设调色盘库中选择目标对象对应的目标调色盘。其中,预设调色盘库中包括一个或多个对象分别对应的一个或多个调色盘。In an optional implementation manner, step S302 may include: using a target color palette to perform pseudo-color processing on the pixels of the target object in the image to obtain a pseudo-color processed image. For example, select the target palette corresponding to the target object from the preset palette library. Wherein, the preset color palette library includes one or more color palettes corresponding to one or more objects respectively.
可选的,不同的目标对象对应的调色盘是不相同的。例如,预设调色盘库中的调色盘可根据目标对象的类型生成的。例如,若目标对象的类型为白云,则调色盘可以为调色盘1;若目标对象的类型为小狗,则调色盘可以为调色盘2,所述调色盘1与所述调色盘2是不同的调色盘。当系统检测到目标对象,可基于该目标对象的类型匹配到对应的调色盘,采用该调色盘对目标对象进行伪彩映射。需要说明的是,预设调色盘库中的调色盘还可根据目标对象的其他信息生成,比如基于目标对象所在区域的像素点数量生成调色盘等,本申请实施例对此不作限定。Optionally, the color palettes corresponding to different target objects are different. For example, the color palette in the preset palette library can be generated according to the type of the target object. For example, if the type of the target object is a white cloud, the color palette can be color palette 1; if the type of the target object is a puppy, the color palette can be color palette 2. Palette 2 is a different palette. When the system detects a target object, it can match the corresponding color palette based on the type of the target object, and use the color palette to perform pseudo-color mapping on the target object. It should be noted that the color palette in the preset color palette library can also be generated according to other information of the target object, such as generating a color palette based on the number of pixels in the area where the target object is located, which is not limited in the embodiment of the application. .
可见,基于目标对象对图像进行伪彩映射处理,可将灰度图转化为彩色图,进而提高图像展示效果。It can be seen that performing pseudo-color mapping processing on the image based on the target object can convert the grayscale image into a color image, thereby improving the image display effect.
本申请实施例中,上述基于目标对象对图像进行图像增强处理可包括上述各实现方式所述的直方图统计和拉伸、中高频细节增强、伪彩映射中的一种或多种。另外,各实现方式所述的直方图统计和拉伸、中高频细节增强、伪彩映射的执行顺序,本申请实施例不做限定。In the embodiment of the present application, the above-mentioned image enhancement processing on the image based on the target object may include one or more of the histogram statistics and stretching, mid- and high-frequency detail enhancement, and pseudo-color mapping described in the foregoing implementation manners. In addition, the execution sequence of histogram statistics and stretching, mid-high frequency detail enhancement, and pseudo-color mapping described in each implementation manner is not limited in the embodiment of the present application.
比如,如图7所示,可先基于目标对象对图像进行直方图统计和拉伸处理,再基于目标对象对图像进行中高频细节增强处理、伪彩映射处理。或者,如图7所示的虚线,先基于目标对象对图像进行直方图统计和拉伸处理,再基于目标对象对图像进行伪彩映射处理。For example, as shown in Fig. 7, the histogram statistics and stretching processing can be performed on the image based on the target object first, and then the mid-high frequency detail enhancement processing and pseudo color mapping processing can be performed on the image based on the target object. Alternatively, as shown in the dotted line in FIG. 7, the histogram statistics and stretching processing are performed on the image based on the target object, and then the pseudo-color mapping processing is performed on the image based on the target object.
本申请实施例中,识别图像中目标对象的操作可在图像增强处理中的直方图统计和拉伸处理、中高频细节增强处理、伪彩映射处理等操作中的一种或多种之前执行。In the embodiment of the present application, the operation of identifying the target object in the image may be performed before one or more of the histogram statistics and stretching processing, the middle and high frequency detail enhancement processing, and the pseudo color mapping processing in the image enhancement processing.
例如,识别图像中目标对象的操作可在伪彩映射处理之前,以及中高频细节增强处理之后执行。进而,将该目标对象推送给直方图统计和拉伸处理、中高频细节增强处理和伪彩映射处理中的一种或多种操作,从而,使得这些图像增强处理可基于目标对象进行。For example, the operation of recognizing the target object in the image can be performed before the pseudo-color mapping process and after the mid-high frequency detail enhancement process. Furthermore, the target object is pushed to one or more of histogram statistics and stretching processing, middle and high frequency detail enhancement processing, and pseudo-color mapping processing, so that these image enhancement processing can be performed based on the target object.
再例如,识别图像中目标对象的操作可在中高频细节增强处理之前,以及对图像进行直方图统计和拉伸处理之后执行。进而可将该目标对象分别推送给直方图统计和拉伸处理、中高频细节增强处理和伪彩映射处理中的一种或多种操作,从而,使得这些图像增强处理可基于目标对象进行。For another example, the operation of recognizing the target object in the image can be performed before the middle and high frequency detail enhancement processing, and after the histogram statistics and stretching processing are performed on the image. Furthermore, the target object can be pushed to one or more of histogram statistics and stretching processing, medium and high frequency detail enhancement processing, and pseudo-color mapping processing, respectively, so that these image enhancement processing can be performed based on the target object.
再例如,识别图像中目标对象的操作可在直方图统计和拉伸处理之前执行。进而可将该目标对象分别推送给直方图统计和拉伸处理、中高频细节增强处理和伪彩映射处理中的一种或多种操作,从而,使得这些图像增强处理可基于目标对象进行。For another example, the operation of identifying the target object in the image can be performed before the histogram statistics and stretching processing. Furthermore, the target object can be pushed to one or more of histogram statistics and stretching processing, medium and high frequency detail enhancement processing, and pseudo-color mapping processing, respectively, so that these image enhancement processing can be performed based on the target object.
如图8所示,识别图像中的目标对象的操作可在中高频细节增强处理之后,以及伪彩映射处理之前执行。并且,从视频帧中的图像中识别出目标对象,进而将该目标对象输入到图像增强处理的各个操作中,从而使得图像增强处理的各个操作基于目标对象进行。As shown in FIG. 8, the operation of recognizing the target object in the image can be performed after the middle and high frequency detail enhancement processing and before the pseudo color mapping processing. In addition, the target object is identified from the image in the video frame, and then the target object is input into each operation of the image enhancement processing, so that each operation of the image enhancement processing is performed based on the target object.
可见,本申请实施例从红外视频帧中的图像中识别出目标对象,并基于目标对象对红外视频帧中的图像进行图像增强处理,相对于对图像进行全局处理而言,能够更精确的处理图像中的局部细节,从而更好地展示图像中目标对象的内容。It can be seen that the embodiment of the present application recognizes the target object from the image in the infrared video frame, and performs image enhancement processing on the image in the infrared video frame based on the target object. Compared with the global processing of the image, it can be processed more accurately. The local details in the image, so as to better show the content of the target object in the image.
请参见图9,图9是本申请实施例提供的一种图像处理方法的流程示意图。图9所示 的图像处理方法与图3所示的图像处理方法的不同之处在于,识别图像中的目标对象可在图像处理之后执行。其中,该图像处理可包括上述所述的图像增强处理中的一种或多种操作。如图9所示,该方法可包括如下步骤。Please refer to FIG. 9, which is a schematic flowchart of an image processing method provided by an embodiment of the present application. The image processing method shown in FIG. 9 is different from the image processing method shown in FIG. 3 in that identifying the target object in the image can be performed after image processing. Wherein, the image processing may include one or more operations in the image enhancement processing described above. As shown in Figure 9, the method may include the following steps.
S901,对图像进行图像处理,得到图像处理后的图像。S901: Perform image processing on an image to obtain an image after image processing.
其中,该图像处理包括直方图统计和拉伸、中高频细节增强或伪彩映射中的一种或多种处理。即在识别目标对象之前,可先对图像进行这些处理。Wherein, the image processing includes one or more of histogram statistics and stretching, medium and high frequency detail enhancement, or pseudo-color mapping. That is, before identifying the target object, you can perform these processing on the image first.
S902,从图像处理后的图像中识别出目标对象。S902: Identify the target object from the image after the image processing.
在一种可选的实现方式中,若在上述图像增强处理之后识别目标对象,则根据图像中目标对象的轮廓形状和图像的温度分布,识别红外视频帧中的目标对象的过程中,该图像的温度分布为图像增强处理之前的图像的温度分布。从而,有利于保证图像的温度分布的准确性,进而使得识别的目标对象更为准确。In an optional implementation manner, if the target object is recognized after the above image enhancement processing, according to the contour shape of the target object in the image and the temperature distribution of the image, during the process of recognizing the target object in the infrared video frame, the image The temperature distribution of is the temperature distribution of the image before the image enhancement processing. As a result, it is beneficial to ensure the accuracy of the temperature distribution of the image, thereby making the recognized target object more accurate.
一种可选的实现方式中,步骤S902可包括:基于系统预设或者用户指定的目标对象,从图像处理后的图像中识别出目标对象。In an alternative implementation manner, step S902 may include: recognizing the target object from the image after image processing based on the target object preset by the system or specified by the user.
例如,系统可以存储至少一种类型的目标对象。提取图像处理后的图像中物体的像素点信息;基于所述像素点信息确定该物体是否为存储的该目标对象,若是,则基于所述像素点信息识别出目标对象。其中,所述像素点信息可以包括各个像素点的灰度值、温度值、轮廓形状等。例如,系统存储的目标对象为汽车,系统提取图像处理后的图像中物体的像素点信息;基于像素点信息确定该物体是否为存储的汽车,若是,则基于所述像素点信息识别出该汽车。For example, the system can store at least one type of target object. Extract pixel point information of the object in the image after image processing; determine whether the object is the stored target object based on the pixel point information, and if so, identify the target object based on the pixel point information. Wherein, the pixel point information may include the gray value, temperature value, contour shape, etc. of each pixel point. For example, the target object stored by the system is a car, and the system extracts the pixel information of the object in the image after image processing; based on the pixel information, it determines whether the object is a stored car, and if so, the car is identified based on the pixel information .
再例如,显示设备可以显示出代表目标对象的标签以供用户进行选择。检测用户点击标签的操作;基于用户点击的标签确定该标签对应的物体为图像中的目标对象。例如,显示设备可以显示白云的标签、小狗的标签、汽车的标签;若用户点击白云的标签,则基于该白云的标签可确定图像中的目标对象为白云。For another example, the display device may display a label representing the target object for the user to select. Detect the user's click on the label; based on the label clicked by the user, determine that the object corresponding to the label is the target object in the image. For example, the display device can display the label of the white cloud, the label of the puppy, and the label of the car; if the user clicks the label of the white cloud, the target object in the image can be determined as the white cloud based on the label of the white cloud.
可以理解的是,步骤S902所述从图像处理后的图像中识别出目标对象的过程,与步骤S301的实施过程类似,在此不作赘述。It can be understood that the process of identifying the target object from the image after image processing in step S902 is similar to the implementation process of step S301, and will not be repeated here.
S903,基于目标对象对图像进行图像增强处理。S903: Perform image enhancement processing on the image based on the target object.
S904,输出图像增强处理后的图像。S904: Output an image after image enhancement processing.
本申请实施例中步骤S902与步骤S301的实施过程类似,在此不作赘述。本申请实施例中步骤S903~步骤S904,与步骤S302~步骤S303相同,在此不作赘述。The implementation process of step S902 and step S301 in the embodiment of the present application is similar, and will not be repeated here. Steps S903 to S904 in the embodiment of the present application are the same as steps S302 to S303, and will not be repeated here.
可见,在对红外视频帧进行目标对象识别前,可对图像进行图像处理,得到对比度更好的图像。基于图像处理后的图像识别出图像中的目标对象,并基于目标对象对图像进行图像增强处理,能够更精确的处理图像的局部细节,进而有利于展现用户感兴趣的图像内容。It can be seen that before performing target object recognition on infrared video frames, image processing can be performed on the image to obtain an image with better contrast. Recognizing the target object in the image based on the image after image processing, and performing image enhancement processing on the image based on the target object, can more accurately process the local details of the image, thereby helping to display the image content that the user is interested in.
请参见图10,图10是本申请实施例提供的一种图像处理设备的结构示意图,本申请实施例的所述图像处理设备10包括:存储器1001和处理器1002。所述存储器1001可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM);存储器1001也可以包括非易失性存储器(non-volatile memory),例如快闪存储器(flash memory),固态硬盘(solid-state drive,SSD)等;存储器1001还可以包括上述种类的存储器的组合。Please refer to FIG. 10. FIG. 10 is a schematic structural diagram of an image processing device according to an embodiment of the present application. The image processing device 10 of the embodiment of the present application includes a memory 1001 and a processor 1002. The memory 1001 may include a volatile memory (volatile memory), such as random-access memory (RAM); the memory 1001 may also include a non-volatile memory (non-volatile memory), such as flash memory (flash memory), solid-state drive (solid-state drive, SSD), etc.; the memory 1001 may also include a combination of the foregoing types of memories.
所述处理器1002可以是中央处理器(central processing unit,CPU),所述处理器1002还可以是图像处理器(graphics processing unit,GPU)。所述处理器1002还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)等。上述PLD可以是现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)等。The processor 1002 may be a central processing unit (CPU), and the processor 1002 may also be an image processing unit (GPU). The processor 1002 may further include a hardware chip. The above-mentioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), etc. The above-mentioned PLD may be a field-programmable gate array (FPGA), a general array logic (generic array logic, GAL), and the like.
一种实施方式中,该图像处理设备可为可移动平台或可移动设备,如无人机等。该实施方式中,图像处理设备可配置有传感器(如红外传感器)和处理器,红外传感器可获取红外视频帧,并将该红外视频帧传输给处理器;处理器可对红外视频帧中的图像执行本申请所述的图像处理方法的相关操作。可选的,该图像处理设备还可配置有通信接口,通信接口用于将处理后的图像发送给终端,由终端输出,如显示,该处理后的图像。In an embodiment, the image processing device may be a movable platform or a movable device, such as a drone. In this embodiment, the image processing device can be configured with a sensor (such as an infrared sensor) and a processor. The infrared sensor can obtain an infrared video frame and transmit the infrared video frame to the processor; the processor can analyze the image in the infrared video frame. Perform related operations of the image processing method described in this application. Optionally, the image processing device may also be equipped with a communication interface, which is used to send the processed image to the terminal, and the terminal will output, for example, display the processed image.
另一种实施方式中,图像处理设备可为控制设备,该控制设备如图10所示配置有处理器和存储器,另外,还可配置有显示器和通信接口。通信接口用于接收无人机等可移动平台发送的红外视频帧,处理器用于针对通信接口接收的红外视频帧,执行本申请所述的图像处理方法的相关操作,并将处理后的图像输出给显示器,由显示器显示该处理后的图像。例如,该控制设备可以为终端设备、遥控器、服务器、或可移动平台的控制设备等。In another embodiment, the image processing device may be a control device, and the control device is configured with a processor and a memory as shown in FIG. 10, and in addition, a display and a communication interface may also be configured. The communication interface is used to receive infrared video frames sent by mobile platforms such as drones, and the processor is used to perform the relevant operations of the image processing method described in this application for the infrared video frames received by the communication interface, and output the processed images To the monitor, the processed image is displayed on the monitor. For example, the control device may be a terminal device, a remote control, a server, or a control device of a movable platform.
本申请实施例的所述图像处理设备通过所述处理器1002可以用于实施上述图3或图9所示的本申请各实施例实现的方法,为了便于说明,仅示出了与本申请实施例相关的部分, 实现请参照图3或图9所示的本申请各实施例。The image processing device of the embodiment of the present application can be used to implement the method implemented by each embodiment of the present application shown in FIG. 3 or FIG. 9 through the processor 1002. For ease of description, only the method implemented in the present application is shown. For related parts of the example, please refer to the embodiments of the present application shown in FIG. 3 or FIG. 9 for implementation.
在一种可选的实现方式中,存储器1001中存储有程序指令,处理器1002调用存储器中的程序指令,当程序指令被执行时,所述处理器1002用于:从红外视频帧中的图像中识别出目标对象;基于目标对象对图像进行图像增强处理,其中,所述图像增强处理可以包括直方图统计和拉伸、中高频细节增强、伪彩映射中的一种或多种处理;输出经过图像增强处理后的图像。In an optional implementation manner, the memory 1001 stores program instructions, and the processor 1002 calls the program instructions in the memory. When the program instructions are executed, the processor 1002 is used to: Identify the target object in the image; perform image enhancement processing on the image based on the target object, where the image enhancement processing may include one or more of histogram statistics and stretching, medium and high frequency detail enhancement, and pseudo-color mapping; output The image after image enhancement processing.
在一种可选的实现方式中,处理器1002用于:针对所述图像中所述目标对象所在区域的像素点进行直方图统计,获得统计结果;In an optional implementation manner, the processor 1002 is configured to: perform histogram statistics on the pixels in the area where the target object in the image is located, to obtain a statistical result;
对所述统计结果进行拉伸处理,获得拉伸处理后的图像。Stretching processing is performed on the statistical result to obtain a stretched image.
在一种可选的实现方式中,处理器1002用于:针对所述图像中所述目标对象的像素点以及非所述目标对象的像素点分别进行所述直方图统计,获得第一统计结果和第二统计结果;In an optional implementation manner, the processor 1002 is configured to: perform the histogram statistics on the pixels of the target object and the pixels of the non-target object in the image, respectively, to obtain a first statistical result And the second statistical result;
对所述第一统计结果和所述第二统计结果分别进行拉伸处理,并将分别拉伸处理后的图像进行图像融合,获得拉伸处理后的图像。The first statistical result and the second statistical result are respectively subjected to stretching processing, and the images after the stretching processing are subjected to image fusion to obtain the image after the stretching processing.
在一种可选的实现方式中,处理器1002用于:采用第一拉伸区间对所述第一统计结果进行拉伸处理,以及采用第二拉伸区间对所述第二统计结果进行拉伸处理,所述第一拉伸区间与所述第二拉伸区间不同。In an optional implementation manner, the processor 1002 is configured to: use a first stretch interval to stretch the first statistical result, and use a second stretch interval to stretch the second statistical result. For stretching treatment, the first stretching interval is different from the second stretching interval.
在一种可选的实现方式中,第一拉伸区间中的最大值大于或等于第二拉伸区间中的最大值,且第一拉伸区间中的最小值小于或等于第二拉伸区间中的最小值。In an optional implementation manner, the maximum value in the first stretching interval is greater than or equal to the maximum value in the second stretching interval, and the minimum value in the first stretching interval is less than or equal to the second stretching interval The minimum value in.
在一种可选的实现方式中,处理器1002用于:针对所述图像中所述目标对象的像素点进行中高频细节增强处理,获得中高频细节增强处理后的图像。In an optional implementation manner, the processor 1002 is configured to: perform medium and high frequency detail enhancement processing on the pixels of the target object in the image to obtain an image after the medium and high frequency detail enhancement processing.
在一种可选的实现方式中,处理器1002用于:针对所述图像中所述目标对象的像素点以及非所述目标对象的像素点分别进行中高频细节增强处理,获得中高频细节增强处理后的图像。In an optional implementation manner, the processor 1002 is configured to: perform medium and high frequency detail enhancement processing on the pixels of the target object and the pixels of the non-target object in the image, respectively, to obtain medium and high frequency detail enhancement The processed image.
在一种可选的实现方式中,处理器1002用于:采用目标调色盘对所述图像中所述目标对象的像素点进行伪彩处理,获得伪彩处理后的图像。In an optional implementation manner, the processor 1002 is configured to: use a target color palette to perform pseudo-color processing on the pixels of the target object in the image to obtain a pseudo-color processed image.
在一种可选的实现方式中,处理器1002用于:从预设调色盘库中选择所述目标对象对应的所述目标调色盘,所述预设调色盘库中包括一个或多个对象分别对应的一个或多个调色盘。In an optional implementation manner, the processor 1002 is configured to: select the target palette corresponding to the target object from a preset palette library, and the preset palette library includes one or One or more color palettes corresponding to multiple objects.
在一种可选的实现方式中,处理器1002用于:根据所述图像中所述目标对象的轮廓形状和所述图像的温度分布,识别所述图像中的所述目标对象。In an optional implementation manner, the processor 1002 is configured to: identify the target object in the image according to the contour shape of the target object in the image and the temperature distribution of the image.
在一种可选的实现方式中,处理器1002用于:采用物体识别和/或语义分割算法,获取所述图像中所述目标对象的轮廓形状。In an optional implementation manner, the processor 1002 is configured to use an object recognition and/or semantic segmentation algorithm to obtain the contour shape of the target object in the image.
在一种可选的实现方式中,处理器1002用于:对所述图像进行图像处理,获得图像处理后的图像;In an optional implementation manner, the processor 1002 is configured to: perform image processing on the image to obtain an image after image processing;
所述处理器1002从红外视频帧中的图像中识别出目标对象,包括:The processor 1002 recognizes the target object from the image in the infrared video frame, including:
所述从图像处理后的图像中识别出目标对象。The target object is identified from the image after image processing.
在一种可选的实现方式中,图像处理包括直方图统计和拉伸、中高频细节增强或伪彩映射中的一种或多种处理。In an optional implementation manner, the image processing includes one or more of histogram statistics and stretching, medium and high frequency detail enhancement, or pseudo-color mapping.
在一种可选的实现方式中,红外视频帧为红外传感器获得的红外视频帧。In an optional implementation manner, the infrared video frame is an infrared video frame obtained by an infrared sensor.
在一种可选的实现方式中,目标对象为系统预设的或用户指定的。In an optional implementation manner, the target object is preset by the system or specified by the user.
本实施例提供的图像处理设备能够执行前述实施例提供的图像处理的方法,其执行方式和有益效果类似,在这里不再赘述。The image processing device provided in this embodiment can execute the image processing method provided in the foregoing embodiment, and its execution mode and beneficial effects are similar, and will not be repeated here.
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序指令,计算机程序指令被处理器执行时,用于执行图3至图9所述的任一或多个实施例。The embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, they are used to execute any of the instructions described in FIGS. 3 to 9 Or multiple embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there may be other divisions in actual implementation, for example, multiple modules or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or modules, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, the functional modules in the various embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, or in the form of hardware plus software functional modules.
上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机装置(可以是个人计算机,服务器,或者网络装置等)或处理器(processor)执行本申请各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序指令的介质。The above-mentioned integrated modules implemented in the form of software functional modules may be stored in a computer readable storage medium. The above-mentioned software function module is stored in a storage medium, and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute the method described in each embodiment of the present application. Part of the steps. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program instructions .
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used as an example. In practical applications, the above-mentioned functions can be allocated by different functional modules as required, that is, the device The internal structure is divided into different functional modules to complete all or part of the functions described above. For the working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which will not be repeated here.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application, not to limit it; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present application. range.

Claims (35)

  1. 一种图像处理方法,其特征在于,包括:An image processing method, characterized in that it comprises:
    从红外视频帧中的图像中识别出目标对象;Identify the target object from the image in the infrared video frame;
    基于所述目标对象对所述图像进行图像增强处理;Performing image enhancement processing on the image based on the target object;
    输出图像增强处理后的图像,所述图像增强处理包括直方图统计和拉伸、中高频细节增强或伪彩映射中的一种或多种处理。An image after image enhancement processing is output, and the image enhancement processing includes one or more processing of histogram statistics and stretching, medium and high frequency detail enhancement, or pseudo-color mapping.
  2. 如权利要求1所述的方法,其特征在于,所述基于所述目标对象对所述图像进行图像增强处理,包括:The method of claim 1, wherein the performing image enhancement processing on the image based on the target object comprises:
    针对所述图像中所述目标对象所在区域的像素点进行直方图统计,获得统计结果;Performing histogram statistics on the pixels in the area where the target object in the image is located to obtain a statistical result;
    对所述统计结果进行拉伸处理,获得拉伸处理后的图像。Stretching processing is performed on the statistical result to obtain a stretched image.
  3. 如权利要求1所述的方法,其特征在于,所述基于所述目标对象对所述图像进行图像增强处理,包括:The method of claim 1, wherein the performing image enhancement processing on the image based on the target object comprises:
    针对所述图像中所述目标对象的像素点以及非所述目标对象的像素点分别进行所述直方图统计,获得第一统计结果和第二统计结果;Performing the histogram statistics on the pixels of the target object and the pixels of the non-target object in the image, respectively, to obtain a first statistical result and a second statistical result;
    对所述第一统计结果和所述第二统计结果分别进行拉伸处理,并将分别拉伸处理后的图像进行图像融合,获得拉伸处理后的图像。The first statistical result and the second statistical result are respectively subjected to stretching processing, and the images after the stretching processing are subjected to image fusion to obtain the image after the stretching processing.
  4. 如权利要求3所述的方法,其特征在于,所述对所述第一统计结果和所述第二统计结果分别进行拉伸处理,包括:The method according to claim 3, wherein said performing stretching processing on said first statistical result and said second statistical result respectively comprises:
    采用第一拉伸区间对所述第一统计结果进行拉伸处理,以及采用第二拉伸区间对所述第二统计结果进行拉伸处理,所述第一拉伸区间与所述第二拉伸区间不同。The first stretching interval is used to perform stretching processing on the first statistical result, and the second stretching interval is used to perform stretching processing on the second statistical result. The first stretching interval is compared with the second stretching interval. The stretch range is different.
  5. 如权利要求4所述的方法,其特征在于,所述第一拉伸区间中的最大值大于或等于所述第二拉伸区间中的最大值,且所述第一拉伸区间中的最小值小于或等于所述第二拉伸区间中的最小值。The method of claim 4, wherein the maximum value in the first stretching interval is greater than or equal to the maximum value in the second stretching interval, and the minimum value in the first stretching interval is The value is less than or equal to the minimum value in the second stretching interval.
  6. 如权利要求1至5任一项所述的方法,其特征在于,所述基于所述目标对象对所述图像进行图像增强处理,还包括:The method according to any one of claims 1 to 5, wherein the performing image enhancement processing on the image based on the target object further comprises:
    针对所述图像中所述目标对象的像素点进行中高频细节增强处理,获得中高频细节增强处理后的图像。Medium and high frequency detail enhancement processing is performed on the pixel points of the target object in the image to obtain an image after the medium and high frequency detail enhancement processing.
  7. 如权利要求1至6任一项所述的方法,其特征在于,所述基于所述目标对象对所述图像进行图像增强处理,还包括:The method according to any one of claims 1 to 6, wherein the performing image enhancement processing on the image based on the target object further comprises:
    针对所述图像中所述目标对象的像素点以及非所述目标对象的像素点分别进行中高频细节增强处理,获得中高频细节增强处理后的图像。Medium and high frequency detail enhancement processing is performed on the pixel points of the target object and the pixel points of the non-target object in the image, respectively, to obtain an image after the medium and high frequency detail enhancement processing.
  8. 如权利要求1至6任一项所述的方法,其特征在于,所述基于所述目标对象对所述图像进行图像增强处理,还包括:The method according to any one of claims 1 to 6, wherein the performing image enhancement processing on the image based on the target object further comprises:
    采用目标调色盘对所述图像中所述目标对象的像素点进行伪彩处理,获得伪彩处理后的图像。A target color palette is used to perform pseudo-color processing on the pixels of the target object in the image to obtain a pseudo-color processed image.
  9. 如权利要求8所述的方法,其特征在于,所述采用目标调色盘对所述图像中所述目标对象的像素点进行伪彩处理,获得伪彩处理后的图像之前,还包括:8. The method according to claim 8, wherein said using a target color palette to perform pseudo-color processing on the pixels of the target object in the image, and before obtaining the pseudo-color processed image, the method further comprises:
    从预设调色盘库中选择所述目标对象对应的所述目标调色盘,所述预设调色盘库中包括一个或多个对象分别对应的一个或多个调色盘。The target color palette corresponding to the target object is selected from a preset color palette library, and the preset color palette library includes one or more color palettes respectively corresponding to one or more objects.
  10. 如权利要求1至9任一项所述的方法,其特征在于,所述从红外视频帧中的图像中识别出目标对象,包括:The method according to any one of claims 1 to 9, wherein the recognizing the target object from the image in the infrared video frame comprises:
    根据所述图像中所述目标对象的轮廓形状和所述图像的温度分布,识别所述图像中的所述目标对象。Identify the target object in the image according to the contour shape of the target object in the image and the temperature distribution of the image.
  11. 根据权利要求10所述的方法,其特征在于,所述根据所述图像中所述目标对象的轮廓形状和温度分布,识别所述图像中的所述目标对象之前,还包括:The method according to claim 10, characterized in that, before recognizing the target object in the image according to the contour shape and temperature distribution of the target object in the image, the method further comprises:
    采用物体识别和/或语义分割算法,获取所述图像中所述目标对象的轮廓形状。An object recognition and/or semantic segmentation algorithm is used to obtain the contour shape of the target object in the image.
  12. 如权利要求1至11任一项所述的方法,其特征在于,所述从红外视频帧中的图像中识别出目标对象之前,还包括:The method according to any one of claims 1 to 11, wherein before the identifying the target object from the image in the infrared video frame, the method further comprises:
    对所述图像进行图像处理,获得图像处理后的图像;Performing image processing on the image to obtain an image after image processing;
    所述从红外视频帧中的图像中识别出目标对象,包括:The identifying the target object from the image in the infrared video frame includes:
    所述从图像处理后的图像中识别出目标对象。The target object is identified from the image after image processing.
  13. 如权利要求12所述的方法,其特征在于,所述图像处理包括直方图统计和拉伸、中高频细节增强或伪彩映射中的一种或多种处理。The method according to claim 12, wherein the image processing includes one or more of histogram statistics and stretching, medium and high frequency detail enhancement, or pseudo color mapping.
  14. 如权利要求1至13任一项所述的方法,其特征在于,所述红外视频帧为红外传感器获得的红外视频帧。The method according to any one of claims 1 to 13, wherein the infrared video frame is an infrared video frame obtained by an infrared sensor.
  15. 如权利要求1至14任一项所述的方法,其特征在于,所述目标对象为系统预设的或用户指定的。The method according to any one of claims 1 to 14, wherein the target object is preset by the system or specified by the user.
  16. 一种图像处理设备,其特征在于,所述图像处理设备包括:处理器和存储器;An image processing device, characterized in that the image processing device includes: a processor and a memory;
    所述存储器中存储有程序指令;Program instructions are stored in the memory;
    所述处理器调用所述程序指令,用于The processor calls the program instructions for
    从红外视频帧中的图像中识别出目标对象;Identify the target object from the image in the infrared video frame;
    基于所述目标对象对所述图像进行图像增强处理;Performing image enhancement processing on the image based on the target object;
    输出图像增强处理后的图像,所述图像增强处理包括直方图统计和拉伸、中高频细节增强或伪彩映射中的一种或多种处理。An image after image enhancement processing is output, and the image enhancement processing includes one or more processing of histogram statistics and stretching, medium and high frequency detail enhancement, or pseudo-color mapping.
  17. 如权利要求16所述的设备,其特征在于,所述图像处理设备还包括传感器;The device according to claim 16, wherein the image processing device further comprises a sensor;
    所述传感器用于获取红外视频帧。The sensor is used to obtain infrared video frames.
  18. 如权利要求16所述的设备,其特征在于,所述图像处理设备还包括显示器;The device according to claim 16, wherein the image processing device further comprises a display;
    所述显示器用于显示图像增强处理后的图像。The display is used to display the image after image enhancement processing.
  19. 如权利要求17所述的设备,其特征在于,所述传感器包括红外传感器。The device of claim 17, wherein the sensor comprises an infrared sensor.
  20. 如权利要求16至19任一项所述的设备,其特征在于,所述图像处理设备为可移动设备或所述可移动设备的控制设备。The device according to any one of claims 16 to 19, wherein the image processing device is a movable device or a control device of the movable device.
  21. 如权利要求16至19任一项所述的设备,其特征在于,所述处理器基于所述目标对象对所述图像进行图像增强处理,包括:The device according to any one of claims 16 to 19, wherein the processor performs image enhancement processing on the image based on the target object, comprising:
    针对所述图像中所述目标对象所在区域的像素点进行直方图统计,获得统计结果;Performing histogram statistics on the pixels in the area where the target object in the image is located to obtain a statistical result;
    对所述统计结果进行拉伸处理,获得拉伸处理后的图像。Stretching processing is performed on the statistical result to obtain a stretched image.
  22. 如权利要求16至19任一项所述的设备,其特征在于,所述处理器基于所述目标对象对所述图像进行图像增强处理,包括:The device according to any one of claims 16 to 19, wherein the processor performs image enhancement processing on the image based on the target object, comprising:
    针对所述图像中所述目标对象的像素点以及非所述目标对象的像素点分别进行所述直方图统计,获得第一统计结果和第二统计结果;Performing the histogram statistics on the pixels of the target object and the pixels of the non-target object in the image, respectively, to obtain a first statistical result and a second statistical result;
    对所述第一统计结果和所述第二统计结果分别进行拉伸处理,并将分别拉伸处理后的图像进行图像融合,获得拉伸处理后的图像。The first statistical result and the second statistical result are respectively subjected to stretching processing, and the images after the stretching processing are subjected to image fusion to obtain the image after the stretching processing.
  23. 如权利要求22所述的设备,其特征在于,所述处理器对所述第一统计结果和所述第二统计结果分别进行拉伸处理,包括:The device according to claim 22, wherein the processor performs stretching processing on the first statistical result and the second statistical result respectively, comprising:
    采用第一拉伸区间对所述第一统计结果进行拉伸处理,以及采用第二拉伸区间对所述第二统计结果进行拉伸处理,所述第一拉伸区间与所述第二拉伸区间不同。The first stretching interval is used to perform stretching processing on the first statistical result, and the second stretching interval is used to perform stretching processing on the second statistical result. The first stretching interval is compared with the second stretching interval. The stretch range is different.
  24. 如权利要求23所述的设备,其特征在于,所述第一拉伸区间中的最大值大于或等于所述第二拉伸区间中的最大值,且所述第一拉伸区间中的最小值小于或等于所述第二拉伸区间中的最小值。The device according to claim 23, wherein the maximum value in the first stretching interval is greater than or equal to the maximum value in the second stretching interval, and the minimum value in the first stretching interval is The value is less than or equal to the minimum value in the second stretching interval.
  25. 如权利要求16至24任一项所述的设备,其特征在于,所述处理器基于所述目标对象对所述图像进行图像增强处理,包括:The device according to any one of claims 16 to 24, wherein the processor performs image enhancement processing on the image based on the target object, comprising:
    针对所述图像中所述目标对象的像素点进行中高频细节增强处理,获得中高频细节增 强处理后的图像。Perform mid- and high-frequency detail enhancement processing on the pixels of the target object in the image to obtain an image after mid- and high-frequency detail enhancement processing.
  26. 如权利要求16至24任一项所述的设备,其特征在于,所述处理器基于所述目标对象对所述图像进行图像增强处理,包括:The device according to any one of claims 16 to 24, wherein the processor performs image enhancement processing on the image based on the target object, comprising:
    针对所述图像中所述目标对象的像素点以及非所述目标对象的像素点分别进行中高频细节增强处理,获得中高频细节增强处理后的图像。Medium and high frequency detail enhancement processing is performed on the pixel points of the target object and the pixel points of the non-target object in the image, respectively, to obtain an image after the medium and high frequency detail enhancement processing.
  27. 如权利要求16至26任一项所述的设备,其特征在于,所述处理器基于所述目标对象对所述图像进行图像增强处理,包括:The device according to any one of claims 16 to 26, wherein the processor performs image enhancement processing on the image based on the target object, comprising:
    采用目标调色盘对所述图像中所述目标对象的像素点进行伪彩处理,获得伪彩处理后的图像。A target color palette is used to perform pseudo-color processing on the pixels of the target object in the image to obtain a pseudo-color processed image.
  28. 如权利要求27所述的设备,其特征在于,所述处理器采用目标调色盘对所述图像中所述目标对象的像素点进行伪彩处理,获得伪彩处理后的图像之前,还包括:The device of claim 27, wherein the processor uses a target color palette to perform pseudo-color processing on the pixels of the target object in the image, and before obtaining the pseudo-color processed image, the processor further comprises :
    从预设调色盘库中选择所述目标对象对应的所述目标调色盘,所述预设调色盘库中包括一个或多个对象分别对应的一个或多个调色盘。The target color palette corresponding to the target object is selected from a preset color palette library, and the preset color palette library includes one or more color palettes respectively corresponding to one or more objects.
  29. 如权利要求16至28任一项所述的设备,其特征在于,所述处理器从红外视频帧中的图像中识别出目标对象,包括:The device according to any one of claims 16 to 28, wherein the processor recognizing the target object from the image in the infrared video frame comprises:
    根据所述图像中所述目标对象的轮廓形状和所述图像的温度分布,识别所述图像中的所述目标对象。Identify the target object in the image according to the contour shape of the target object in the image and the temperature distribution of the image.
  30. 如权利要求29所述的设备,其特征在于,所述处理器根据所述图像中所述目标对象的轮廓形状和温度分布,识别所述图像中的所述目标对象之前,还用于采用物体识别和/或语义分割算法,获取所述图像中所述目标对象的轮廓形状。The device according to claim 29, wherein the processor is further configured to use an object before recognizing the target object in the image according to the contour shape and temperature distribution of the target object in the image A recognition and/or semantic segmentation algorithm is used to obtain the contour shape of the target object in the image.
  31. 如权利要求16至28任一项所述的设备,其特征在于,The device according to any one of claims 16 to 28, characterized in that:
    所述处理器从红外视频帧中的图像中识别出目标对象之前,还用于对所述图像进行图像处理,获得图像处理后的图像;Before the processor recognizes the target object from the image in the infrared video frame, it is also used to perform image processing on the image to obtain an image after image processing;
    所述处理器从红外视频帧中的图像中识别出目标对象,包括:The processor identifying the target object from the image in the infrared video frame includes:
    所述从图像处理后的图像中识别出目标对象。The target object is identified from the image after image processing.
  32. 如权利要求31所述的设备,其特征在于,所述图像处理包括直方图统计和拉伸、中高频细节增强或伪彩映射中的一种或多种处理。The device according to claim 31, wherein the image processing includes one or more of histogram statistics and stretching, medium and high frequency detail enhancement, or pseudo-color mapping.
  33. 如权利要求16至32任一项所述的设备,其特征在于,所述红外视频帧为红外传感器获得的红外视频帧。The device according to any one of claims 16 to 32, wherein the infrared video frame is an infrared video frame obtained by an infrared sensor.
  34. 如权利要求16至32任一项所述的方法,其特征在于,所述目标对象为系统预设的或用户指定的。The method according to any one of claims 16 to 32, wherein the target object is preset by the system or specified by the user.
  35. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序指令,所述计算机程序指令被处理器执行时,用于执行如权利要求1至15任一项所述的图像处理方法。A computer-readable storage medium, characterized in that computer program instructions are stored in the computer-readable storage medium, and when the computer program instructions are executed by a processor, they are used to execute any one of claims 1 to 15 The image processing method described.
PCT/CN2019/122034 2019-11-29 2019-11-29 Image processing method and apparatus WO2021102928A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/122034 WO2021102928A1 (en) 2019-11-29 2019-11-29 Image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/122034 WO2021102928A1 (en) 2019-11-29 2019-11-29 Image processing method and apparatus

Publications (1)

Publication Number Publication Date
WO2021102928A1 true WO2021102928A1 (en) 2021-06-03

Family

ID=76129870

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/122034 WO2021102928A1 (en) 2019-11-29 2019-11-29 Image processing method and apparatus

Country Status (1)

Country Link
WO (1) WO2021102928A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012083822A (en) * 2010-10-07 2012-04-26 Seiko Epson Corp Image processor and image processing method
CN106934782A (en) * 2017-01-16 2017-07-07 中国计量大学 A kind of infrared image enhancing method
CN107481210A (en) * 2017-08-03 2017-12-15 北京长峰科威光电技术有限公司 The infrared image enhancing method of local selective mapping based on details
CN108257099A (en) * 2018-01-11 2018-07-06 重庆邮电大学 A kind of adaptive infrared image enhancing method of view-based access control model contrast resolution
CN109493292A (en) * 2018-10-29 2019-03-19 平高集团有限公司 Enhancing treating method and apparatus based on power equipment infrared measurement of temperature image

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012083822A (en) * 2010-10-07 2012-04-26 Seiko Epson Corp Image processor and image processing method
CN106934782A (en) * 2017-01-16 2017-07-07 中国计量大学 A kind of infrared image enhancing method
CN107481210A (en) * 2017-08-03 2017-12-15 北京长峰科威光电技术有限公司 The infrared image enhancing method of local selective mapping based on details
CN108257099A (en) * 2018-01-11 2018-07-06 重庆邮电大学 A kind of adaptive infrared image enhancing method of view-based access control model contrast resolution
CN109493292A (en) * 2018-10-29 2019-03-19 平高集团有限公司 Enhancing treating method and apparatus based on power equipment infrared measurement of temperature image

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
FAN XIAO-QING, GU GUO-HUA ,LIU NING, SUI XIU-BAO: "Design of Pseudo-color Coding and Display for Infrared Digital Images", INFRARED TECHNOLOGY, vol. 35, no. 7, 31 July 2013 (2013-07-31), CN, pages 398 - 403, XP055815044, ISSN: 1001-8891 *

Similar Documents

Publication Publication Date Title
US10937167B2 (en) Automated generation of pre-labeled training data
US11727577B2 (en) Video background subtraction using depth
US11882357B2 (en) Image display method and device
US20220092882A1 (en) Living body detection method based on facial recognition, and electronic device and storage medium
EP4109392A1 (en) Image processing method and image processing device
US10979622B2 (en) Method and system for performing object detection using a convolutional neural network
WO2016101883A1 (en) Method for face beautification in real-time video and electronic equipment
WO2018133825A1 (en) Method for processing video images in video call, terminal device, server, and storage medium
JP2016505186A (en) Image processor with edge preservation and noise suppression functions
CN111985281B (en) Image generation model generation method and device and image generation method and device
WO2021042823A1 (en) Picture test method and device
CN110674759A (en) Monocular face in-vivo detection method, device and equipment based on depth map
WO2022135574A1 (en) Skin color detection method and apparatus, and mobile terminal and storage medium
CN113673584A (en) Image detection method and related device
CN114627034A (en) Image enhancement method, training method of image enhancement model and related equipment
WO2022194079A1 (en) Sky region segmentation method and apparatus, computer device, and storage medium
Wang et al. Low-light image enhancement based on virtual exposure
CN113221767B (en) Method for training living body face recognition model and recognizing living body face and related device
CN113868457A (en) Image processing method based on image gathering and related device
US9392146B2 (en) Apparatus and method for extracting object
WO2021102928A1 (en) Image processing method and apparatus
CN115273184A (en) Face living body detection model training method and device
WO2021164329A1 (en) Image processing method and apparatus, and communication device and readable storage medium
Xie et al. Underwater image enhancement based on zero-shot learning and level adjustment
Kannan et al. Quality Assessment of Low-Light Restored Images: A Subjective Study and an Unsupervised Model

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19954006

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19954006

Country of ref document: EP

Kind code of ref document: A1