WO2023216866A1 - 图像处理方法、智能终端及存储介质 - Google Patents
图像处理方法、智能终端及存储介质 Download PDFInfo
- Publication number
- WO2023216866A1 WO2023216866A1 PCT/CN2023/090367 CN2023090367W WO2023216866A1 WO 2023216866 A1 WO2023216866 A1 WO 2023216866A1 CN 2023090367 W CN2023090367 W CN 2023090367W WO 2023216866 A1 WO2023216866 A1 WO 2023216866A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sampling point
- reference sampling
- partition
- image block
- target image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
Definitions
- This application relates to the field of image processing technology, and specifically relates to an image processing method, an intelligent terminal and a storage medium.
- prediction mode In the process of video encoding and decoding, using prediction mode to predict image blocks is a very important step. Predicting image blocks through corresponding prediction modes can effectively remove redundancy in the video temporal or spatial domain, thereby compressing the video for better transmission.
- this application provides an image processing method, which can be applied to smart terminals, including:
- the prediction result set of the target image block is determined according to the preset prediction mode, and the prediction result set is used to determine the prediction result of the target image block.
- the target image block includes a first partition and/or a second partition, and the first partition and/or the second partition are image areas divided by dividing lines;
- the preset prediction mode includes the The prediction mode used by the partitions divided by the dividing lines in the target image block;
- the prediction result set includes a first prediction result set and/or a second prediction result set.
- the method further includes: determining a target division mode parameter of the target image block according to the first division mode set; the target division mode parameter includes a prediction indicating a prediction mode used by the corresponding partition in the target image block. Mode indication information.
- determining the prediction result set of the corresponding partition in the target image block according to the preset prediction mode includes at least one of the following: if the prediction mode is the first prediction mode, determining the prediction result set according to the corresponding partition in the target image block.
- the motion vector determines the prediction result set of the corresponding partition in the target image block; if the prediction mode is the second prediction mode, determine the prediction result set of the corresponding partition in the target image block according to the target reference sampling point of the corresponding partition in the target image block.
- the set of prediction results corresponding to the partition includes at least one of the following: if the prediction mode is the first prediction mode, determining the prediction result set according to the corresponding partition in the target image block.
- the motion vector determines the prediction result set of the corresponding partition in the target image block; if the prediction mode is the second prediction mode, determine the prediction result set of the corresponding partition in the target image block according to the target reference sampling point of the corresponding partition in the target image block.
- determining the prediction result set of the corresponding partition in the target image block based on the motion vector of the corresponding partition in the target image block includes: based on the merge candidate list and/or target reference sampling of the target image block Determine the first motion vector and/or the second motion vector of the corresponding partition in the target image block; determine the prediction of the corresponding partition in the target image block based on the first motion vector and/or the second motion vector. Result collection.
- the target reference sampling point includes a first reference sampling point and/or a second reference sampling point.
- the method also includes at least one of the following:
- the first reference sampling point and the second reference sampling point are different;
- the first reference sampling point is adjacent to the corresponding partition and not adjacent to another partition
- the second reference sampling point is not adjacent to the corresponding partition and adjacent to the other partition;
- the positional relationship of the first reference sampling point relative to the corresponding partition is different from the positional relationship of the second reference sampling point relative to the corresponding partition;
- the first reference sampling point or the second reference sampling point is a pixel point adjacent to the coding tree unit where the target image block is located and not adjacent to the target image block.
- the second prediction mode includes at least one type of second prediction mode. If the prediction mode is the second prediction mode, the method further includes: selecting from the at least one type of second prediction mode. In the mode, a second prediction mode of the target type used in the corresponding partition of the target image block is determined, and the second prediction mode of the target type is used to determine a prediction result set of the target image block.
- determining the prediction result set of the corresponding partition in the target image block based on the target reference sampling point of the corresponding partition in the target image block includes the following steps: S21: Determine the prediction result set of the corresponding partition in the target image block. The first reference sampling point and/or the second reference sampling point; S22: Determine the prediction result set of the corresponding partition in the target image block according to the first reference sampling point and/or the second reference sampling point.
- the step S21 includes: determining the target according to the positional relationship between the corresponding partition in the target image block and the boundary sampling point of the dividing line used by the target image block in the target image block.
- the method further includes: determining a boundary passed by a dividing line used by the target image block according to a boundary mapping table; and determining the boundary sampling point according to a boundary passed by the dividing line.
- determining the boundary sampling point according to the boundary passed by the dividing line includes at least one of the following: when the dividing line used by the target image block passes the first boundary of the target image block, It is determined that the boundary sampling point includes a first boundary sampling point; when the dividing line used by the target image block passes through the second boundary of the target image block, it is determined that the boundary sampling point includes a second boundary sampling point.
- the method for determining the boundary sampling point includes: determining a dividing line equation according to a target division mode parameter of the target image block; and determining at least one boundary sampling point according to a boundary reference point and the dividing line equation.
- the corresponding partition in the target image block is determined based on the positional relationship between the corresponding partition in the target image block and the boundary sampling point in the target image block of the dividing line used by the target image block.
- the first reference sampling point and/or the second reference sampling point of the partition include: determining the first coordinate range and/or the second coordinate range according to the at least one boundary sampling point; and determining the first coordinate range and/or the second coordinate range according to the first coordinate range and/or the The second coordinate range determines the first reference sampling point and/or the second reference sampling point.
- the step S21 includes: determining the partition range of the corresponding partition in the target image block based on the distance between the sampling point of the corresponding partition in the target image block and the dividing line; based on the coordinates of the first sampling point
- the range and the partition range determine the first reference sampling point and/or the first reference sampling point of the corresponding partition in the target image block.
- the step S22 includes: filling the second reference sampling point according to the first reference sampling point to obtain a filled reference sampling point; and filling the second reference sampling point according to the first reference sampling point and the filled reference sampling point.
- the reference sampling points determine the prediction result set of the corresponding partition of the target image block.
- filling the second reference sampling point according to the first reference sampling point to obtain a filled reference sampling point includes: determining at least one filling reference sample in the first reference sampling point point; determine the filling value of the second reference sampling point based on the sampling value of the at least one filling reference sampling point; fill the second reference sampling point based on the filling value to obtain a filled reference sampling point.
- determining the filling value of the second reference sampling point based on the sampling value of the at least one filling reference sampling point includes: based on the position between each filling reference sampling point and the second reference sampling point The filling weight of each filling reference sampling point is determined based on the relationship; the filling value of the second reference sampling point is determined based on the filling weight and the sampling value of each filling reference sampling point.
- the position relationship includes the distance between each filling reference sampling point and the second reference sampling point;
- the first reference sampling point includes the distance between the first reference sampling point and the target image block.
- the at least one filling reference sampling point includes a first reference sampling point adjacent to the first boundary. a first filling reference sampling point among the adjacent first reference sampling points, and/or a second filling reference sampling point among the first reference sampling points adjacent to the second boundary.
- determining the filling value of the second reference sampling point based on the filling weight and the sampling value of each filling reference sampling point includes: based on the sampling value of the first filling reference sampling point and the first filling The filling weight of the reference sampling point, and/or, the sampling value of the second filling reference sampling point and the filling weight of the second filling reference sampling point, determine the filling value of the second reference sampling point adjacent to the corresponding boundary.
- This application provides another image processing method that can be applied to smart terminals, including the following steps:
- the target reference sampling point is determined based on the positional relationship between the reference sampling point and the sampling point in the image block partition.
- step S1 includes: determining the target reference sampling point through the positional relationship between the reference sampling point and the sampling point in the image block partition.
- determining the target reference sampling point through the positional relationship between the reference sampling point and the sampling point in the image block partition includes: determining at least one boundary sampling point from the sampling points in the image block partition; based on the reference sampling point and the The positional relationship between at least one boundary sampling point determines the target reference sampling point.
- the step S2 includes: determining a preset prediction mode according to the prediction mode indication information of the image block; and determining a prediction result set according to the preset prediction mode and the target reference sampling point.
- the preset prediction mode is at least one of the following: a prediction mode used by partitions divided by dividing lines in the image block and/or a prediction mode used by adjacent image blocks.
- the preset prediction mode is a prediction mode used by partitions divided by dividing lines in the image block; and determining the prediction result set according to the preset prediction mode and the target reference sampling point includes: if If the prediction mode includes the first prediction mode and/or the second prediction mode, then according to the motion vector and/or the target reference sampling point, the prediction result set of the corresponding partition of the image block is determined; according to the prediction result set of the corresponding partition of the image block A set of prediction results for the image block is determined.
- determining a prediction result set of the corresponding partition of the image block according to the target reference sampling point including:
- the prediction mode includes a second prediction mode, fill the second reference sampling point according to the first reference sampling point to obtain a filled reference sampling point;
- a prediction result set corresponding to the partition of the image block is determined according to the first reference sampling point and the filled reference sampling point.
- the present application also provides an intelligent terminal, including: a memory and a processor, wherein an image processing program is stored on the memory, and when the image processing program is executed by the processor, the steps of any of the above image processing methods are implemented.
- This application also provides a computer storage medium.
- the computer storage medium stores a computer program.
- the computer program is executed by a processor, the steps of any of the above image processing methods are implemented.
- the image processing method of the present application can be applied to smart terminals, including: determining a prediction result set of a target image block according to a preset prediction mode, and the prediction result set is used to determine the prediction result of the target image block.
- the preset prediction mode can be any type of preset prediction mode.
- the selection range of the preset prediction mode is not limited, and the use flexibility is high; a more accurate target image block can be determined according to the preset prediction mode.
- the prediction result set corresponding to the partition in the prediction result set can then determine the prediction result of the target image block with a smaller deviation based on the prediction result set, thereby improving the accuracy of the prediction result. It can be seen that using this solution can realize the function of flexibly using the preset prediction mode, improving the accuracy of the prediction results, and solving the problem of imbalance between the flexibility of using the prediction mode and the accuracy of the prediction results.
- Figure 1 is a schematic diagram of the hardware structure of a mobile terminal that implements various embodiments of the present application
- FIG. 2 is a communication network system architecture diagram provided by an embodiment of the present application.
- Figure 3 is a schematic flowchart of an image processing method according to the first embodiment
- Figure 4a is a schematic diagram showing the effect of dividing image blocks by a dividing line according to the first embodiment
- Figure 4b is a schematic diagram of angle division according to the first embodiment
- Figure 4c is a schematic diagram showing various offsets corresponding to angle ⁇ i according to the first embodiment
- Figure 4d is a schematic diagram of a division mode according to the first embodiment
- Figure 5 is a schematic flowchart of an image processing method according to a second embodiment
- Figure 6b is a schematic diagram illustrating an exemplary merging of candidate lists according to the second embodiment
- Figure 6c is a schematic diagram of an exemplary target reference sampling point according to the second embodiment
- Figure 6d is a schematic diagram of encoding of a target image block according to the second embodiment
- Figure 7 is a schematic flowchart of an image processing method according to a third embodiment
- Figure 8a shows a situation in which the dividing line in the target image block passes through the boundary according to the third embodiment
- Figure 8b is a schematic diagram of the positional relationship between the boundary reference point and the boundary sampling point according to the third embodiment
- Figure 8c is a schematic diagram of a target reference sampling point division according to the third embodiment.
- Figures 9a and 9b are schematic diagrams of some filled reference sampling points according to a third embodiment
- Figure 9c is a schematic diagram showing the use of filling reference sampling points according to the third embodiment.
- Figure 9d is a schematic diagram illustrating another method of using filled reference sampling points according to the third embodiment.
- Figure 9e is a schematic diagram illustrating yet another use of filling reference sampling points according to the third embodiment.
- Figure 9f is a schematic diagram of a wide-angle intra prediction mode according to the third embodiment.
- Figure 10 is a schematic flowchart of an image processing method according to a fourth embodiment
- FIG 11 is a schematic flowchart of an image processing method according to the fifth embodiment.
- Figure 12 is a schematic structural diagram of an image processing device according to an embodiment of the present application.
- Figure 13 is a schematic diagram of the hardware structure of a controller according to an embodiment of the present application.
- Figure 14 is a schematic diagram of the hardware structure of a network node according to an embodiment of the present application.
- first, second, third, etc. may be used herein to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other.
- first information may also be called second information, and similarly, the second information may also be called first information.
- word “if” as used herein may be interpreted as “when” or “when” or “in response to determining.”
- singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context indicates otherwise.
- A, B, C means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C"; another example is, “ A, B or C” or "A, B and/or C” means "any of the following: A; B; C; A and B; A and C; B and C; A and B and C". Exceptions to this definition occur only when the combination of elements, functions, steps, or operations is inherently mutually exclusive in some manner.
- each step in the flow chart in the embodiment of the present application is displayed in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least some of the steps in the figure may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and their execution order is not necessarily sequential. may be performed in turn or alternately with other steps or sub-steps of other steps or at least part of stages.
- the words “if” or “if” as used herein may be interpreted as “when” or “when” or “in response to determination” or “in response to detection.”
- the phrase “if determined” or “if (stated condition or event) is detected” may be interpreted as “when determined” or “in response to determining” or “when (stated condition or event) is detected )” or “in response to detecting (a stated condition or event)”.
- step codes such as S501 and S502 are used for the purpose of describing the corresponding content more clearly and concisely, and do not constitute a substantial restriction on the sequence. Those skilled in the art may S502 will be executed first and then S501, etc., but these should be within the protection scope of this application.
- Smart terminals can be implemented in various forms.
- the smart terminals described in this application may include mobile phones, tablet computers, notebook computers, PDAs, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, Smart terminals such as wearable devices, smart bracelets, and pedometers, as well as fixed terminals such as digital TVs and desktop computers.
- PDA Personal Digital Assistant
- PMP portable media players
- navigation devices Smart terminals such as wearable devices, smart bracelets, and pedometers
- Smart terminals such as wearable devices, smart bracelets, and pedometers
- fixed terminals such as digital TVs and desktop computers.
- a mobile terminal will be taken as an example.
- the structure according to the embodiments of the present application can also be applied to fixed-type terminals.
- the mobile terminal 100 may include: an RF (Radio Frequency, radio frequency) unit 101, a WiFi module 102, an audio output unit 103, and a /V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components.
- RF Radio Frequency, radio frequency
- the above wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, Global Mobile Communication System), GPRS (General Packet Radio Service, General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000) , Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time division synchronous code division multiple access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long-term evolution) ), TDD-LTE (Time Division Duplexing-Long Term Evolution, Time Division Duplexing-Long Term Evolution) and 5G, etc.
- GSM Global System of Mobile communication, Global Mobile Communication System
- GPRS General Packet Radio Service, General Packet Radio Service
- CDMA2000 Code Division Multiple Access 2000
- Code Division Multiple Access 2000 Code Division Multiple Access 2000
- WCDMA Wideband Code Division Multiple Access, wideband code division multiple
- WiFi is a short-distance wireless transmission technology.
- the mobile terminal can help users send and receive emails, browse web pages, access streaming media, etc. through the WiFi module 102. It provides users with wireless broadband Internet access.
- FIG. 1 shows the WiFi module 102, it can be understood that it is not a necessary component of the mobile terminal and can be omitted as needed without changing the essence of the invention.
- the audio output unit 103 may, when the mobile terminal 100 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, etc., receive the audio signal received by the radio frequency unit 101 or the WiFi module 102 or store it in the memory 109 The audio data is converted into audio signals and output as sound. Furthermore, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, or the like.
- the A/V input unit 104 is used to receive audio or video signals.
- the A/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042.
- the graphics processor 1041 can process still pictures or images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Video image data is processed.
- the processed image frames may be displayed on the display unit 106.
- the image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage media) or sent via the radio frequency unit 101 or WiFi module 102.
- the microphone 1042 can receive sounds (audio data) via the microphone 1042 in operating modes such as a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sounds into audio data.
- the processed audio (voice) data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in a phone call mode.
- Microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.
- the mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
- the light sensor includes an ambient light sensor and a proximity sensor.
- the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
- the proximity sensor can turn off the display when the mobile terminal 100 moves to the ear. Panel 1061 and/or backlight.
- the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes). It can detect the magnitude and direction of gravity when stationary.
- It can be used to identify applications of mobile phone posture (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone, it can also be configured with fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, Other sensors such as thermometers and infrared sensors will not be described in detail here.
- the display unit 106 is used to display information input by the user or information provided to the user.
- the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
- LCD liquid crystal display
- OLED organic light-emitting diode
- the user input unit 107 may be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the mobile terminal.
- the user input unit 107 may include a touch panel 1071 and other input devices 1072.
- the touch panel 1071 also known as a touch screen, can collect the user's touch operations on or near the touch panel 1071 (for example, the user uses a finger, stylus, or any suitable object or accessory on or near the touch panel 1071 operation), and drive the corresponding connection device according to the preset program.
- the touch panel 1071 may include two parts: a touch detection device and a touch controller.
- the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device and converts it into contact point coordinates , and then sent to the processor 110, and can receive the commands sent by the processor 110 and execute them.
- the touch panel 1071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave.
- the user input unit 107 may also include other input devices 1072.
- other input devices 1072 may include but are not limited to one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, etc., which are not specifically discussed here. limited.
- the touch panel 1071 can cover the display panel 1061.
- the touch panel 1071 detects a touch operation on or near it, it is transmitted to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch event.
- the type provides corresponding visual output on the display panel 1061.
- the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated. The implementation of the input and output functions of the mobile terminal is not limited here.
- the interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100 .
- external devices may include a wired or wireless headphone port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
- the interface unit 108 may be used to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to connect between the mobile terminal 100 and an external device. Transfer data between devices.
- Memory 109 may be used to store software programs as well as various data.
- the memory 109 may mainly include a storage program area and a storage data area.
- the storage program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.;
- the storage data area may Store data created based on the use of the mobile phone (such as audio data, phone book, etc.), etc.
- memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
- the processor 110 is the control center of the mobile terminal, using various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 109, and calling data stored in the memory 109 , execute various functions of the mobile terminal and process data, thereby overall monitoring the mobile terminal.
- the processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor.
- the application processor mainly processes the operating system, user interface, application programs, etc., and modulation
- the demodulation processor mainly handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 110 .
- the mobile terminal 100 may also include a power supply 111 (such as a battery) that supplies power to various components.
- a power supply 111 such as a battery
- the power supply 111 may be logically connected to the processor 110 through a power management system, thereby managing charging, discharging, and power consumption management through the power management system. and other functions.
- the mobile terminal 100 may also include a Bluetooth module, etc., which will not be described again here.
- FIG. 2 is an architecture diagram of a communication network system provided by an embodiment of the present application.
- the communication network system is an LTE system of universal mobile communication technology.
- the LTE system includes UEs (User Equipment, User Equipment) connected in sequence. )201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, Evolved UMTS Terrestrial Radio Access Network) 202, EPC (Evolved Packet Core, Evolved Packet Core Network) 203 and the operator's IP business 204.
- UEs User Equipment, User Equipment
- E-UTRAN Evolved UMTS Terrestrial Radio Access Network
- EPC Evolved Packet Core, Evolved Packet Core Network
- UE201 may be the above-mentioned mobile terminal 100, which will not be described again here.
- E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc.
- eNodeB2021 can be connected to other eNodeB2022 through backhaul (for example, X2 interface), eNodeB2021 is connected to EPC203, and eNodeB2021 can provide access from UE201 to EPC203.
- backhaul for example, X2 interface
- EPC 203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home user server) 2032, other MME 2033, SGW (Serving Gate Way, service gateway) 2034, PGW (PDN Gate Way, packet data Network Gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and charging functional entity) 2036, etc.
- MME2031 is a control node that processes signaling between UE201 and EPC203, and provides bearer and connection management.
- HSS2032 is used to provide some registers to manage functions such as the home location register (not shown in the figure), and to save some user-specific information about service characteristics, data rates, etc. All user data can be sent through SGW2034.
- PGW2035 can provide IP address allocation and other functions for UE201.
- PCRF2036 is the policy and charging control policy decision point for business data flows and IP bearer resources. It is a policy and charging execution functional unit (Not shown) Select and provide available policy and billing control decisions.
- IP services 204 may include the Internet, Intranet, IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) or other IP services.
- IMS IP Multimedia Subsystem, IP Multimedia Subsystem
- predicting image blocks is an essential step. By predicting image blocks to obtain prediction blocks, and constructing residual blocks with smaller energy, transmission bits can be reduced. Prediction of image blocks can be achieved through some preset prediction modes, which can include inter prediction modes and intra prediction modes.
- Inter-frame prediction mode uses the correlation between pixels of different images to remove temporal redundancy. Compared with intra-frame prediction mode, it is a prediction mode with higher coding efficiency.
- Intra-frame prediction mode uses the correlation of the video spatial domain to predict the current pixel using adjacent coded pixels in the same frame.
- the current coding unit (CU) can use reconstructed pixels at adjacent positions to predict pixels in the current CU.
- the intra prediction mode can be: Direct Current (DC) mode, or planar (PLANAR) mode, or angle mode.
- the image can be divided into different areas for prediction.
- the geometric partitioning mode (GPM) is also proposed.
- GPM mode can more precisely divide the boundaries of moving objects in the image, and divide the edge coding unit (Coding Unit) of the moving object into rectangular or non-rectangular sub-coding by fitting the dividing line with the boundary of the moving object.
- the coding unit is predicted to obtain the prediction value of the entire coding unit.
- Figure 3 is a schematic flow chart of an image processing method according to the first embodiment.
- the execution subject in this embodiment can be a computer device or a cluster composed of multiple computer devices.
- the computer device can It may be an intelligent terminal (such as the aforementioned mobile terminal 100), or it may be a server.
- the execution subject in this embodiment is an intelligent terminal as an example for explanation.
- the target image block refers to the image block currently being encoded in the input video image (ie, the video frame), which may be referred to as the current block, the current image block, or the current coding block.
- the target image block can be a coding tree unit (Coding Tree Units, CTU) in the input video image, or a coding unit (Coding Unit, CU), or a transformation unit (Transform Unit, TU), etc. There are no restrictions on this.
- the target image block can be a square block (that is, the size of the image block is square) or a non-square block. Non-square blocks can be rectangular-sized image blocks, including horizontal blocks (width is greater than height) and/or vertical blocks (height is greater than width). For example, when the target image block is a CU, the CU can be a square block or a non-square block piece. There are no restrictions here.
- the target image block includes a first partition and/or a second partition, and the first partition and/or the second partition are image areas divided by dividing lines.
- the corresponding partition in the target image block may be the first partition or the second partition.
- the first partition and/or the second partition are rectangular or non-rectangular areas in the target image block, and the first partition and the second partition are relative.
- the first partition and the second partition are rectangular, triangular, or trapezoidal areas related to the target image block obtained through the GPM mode.
- a horizontal dividing line is used to divide the target image block.
- the image area above the horizontal dividing line can be called the first partition
- the image area below the horizontal dividing line can be called the first partition.
- the preset prediction mode includes a prediction mode used by partitions divided by dividing lines in the target image block.
- the partitions divided by the dividing line in the target image block include the first partition and/or the second partition.
- the preset prediction mode includes the prediction mode used by the first partition and/or the prediction used by the second partition in the target image block. model.
- the prediction mode used by the adjacent image block may be used as the prediction mode used by the partition divided by the dividing line in the target image block.
- the prediction mode that is used the most or more frequently among the prediction modes used by at least one adjacent image block may be used as the prediction mode used by the partitions divided by the dividing lines in the target image.
- the prediction mode used by the partitions divided by the dividing lines in the target image can be obtained through other methods.
- the adjacent image blocks are coded image blocks adjacent to the target image block, and the adjacent image blocks may include one or more. When the adjacent image block includes one, the prediction mode used by the adjacent image block can be directly determined as the preset prediction mode.
- the preset prediction mode may also be determined by calculating the rate distortion cost. Due to the correlation between adjacent image blocks and the target image block, by referring to the prediction modes used by adjacent image blocks, the preset prediction mode used by the current encoding block can not only ensure encoding quality, but also improve encoding efficiency.
- the prediction mode used for the partitions divided by the dividing lines in the target image block may be determined using a rate-distortion cost.
- the preset prediction mode is a prediction mode that better matches the corresponding partition in the target image block, which can effectively ensure the accuracy of the prediction results. Compared with the first two methods, the accuracy will be improved.
- the preset prediction modes corresponding to different partitions may be different. For example, the prediction modes used by the first partition and the second partition in the target image block are different.
- the determination process for the preset prediction mode includes the following 1) and 2):
- the rate distortion cost of each division mode included in the first division mode applied to the target image block can be determined, and then the division mode with the smallest rate distortion cost is determined as the division line in the target image block.
- the target partitioning mode used by the partitioned partition That is to say, all division modes included in the first division mode can be traversed to determine the rate distortion cost required for the target image block to adopt various division modes respectively. In order to achieve optimal coding performance, it is necessary to seek as much as possible under a certain code rate.
- the rate distortion costs corresponding to each division mode can be compared, and the division mode with the minimum rate distortion cost can be determined and the rate distortion cost can be minimized.
- the division mode is used as the target division mode of the target image block. This target division mode is used to divide the target image block into different partitions, thereby achieving optimal encoding of the target image block.
- the mode parameters corresponding to the target division mode can be queried from the first division mode parameter set, and the mode parameters are used as the target division mode parameters to be used for the target image blocks. Subsequent divisions can be performed according to the target division mode parameters.
- the target image block is predicted and the prediction result of the target image block is obtained.
- the first division mode is the GPM mode
- the division mode is any one of the 64 division modes corresponding to the GPM mode
- the first division mode parameter set is the GPM mapping table
- the target division mode parameter is the GPM parameter.
- the encoder determines the color component of the current block (including luminance component and/or chrominance component); based on the parameters of the current block, multiple prediction modes are used (including intra prediction mode and/or (or inter-frame prediction mode) perform predictive coding on color components respectively, calculate the rate distortion cost corresponding to each prediction mode, and determine the minimum rate distortion cost from the rate distortion costs corresponding to multiple prediction modes.
- the prediction mode corresponding to the minimum rate distortion cost is determined as the prediction mode parameter of the current block.
- the prediction mode corresponding to the minimum rate distortion cost is the GPM mode
- the GPM mode is determined as the prediction mode parameter of the current block.
- the prediction mode parameters corresponding to the GPM mode are binarized and packaged into a bit stream for transmission.
- the division mode with the minimum rate distortion cost can be determined, and the division mode with the minimum rate distortion cost is used as the target division mode of the current block.
- the target partition mode use the GPM partition index gpm_partition_idx, angle index angleIdx and distance
- the mapping table of the distance index distanceIdx determines the target GPM partition index merge_gpm_partition_idxT, the target angle index angleIdxT and the target distance index distanceIdxT corresponding to the target partition mode.
- the GPM mapping table is shown in Table 1 below.
- the GPM mode includes 64 division modes, and each division mode corresponds to a dividing line.
- GPM parameters include partition index gpm_partition_idx, angle index angleIdx and distance index distanceIdx. It should be noted that when the angle index angleIdx takes different values, it corresponds to the different angles shown in Figure 4b Optionally, i ranges from 1 to 24. When the distance index distanceIdx takes different values, it corresponds to ⁇ j in Figure 4c. Optionally, j is 0 to 3. Because the angle index angleIdx, the combination of different values of the distance index distanceIdx respectively constitute different division methods. For example, as shown in Figure 4d.
- a lookup table can be used to represent the relationship between the partition index pm_partition_idx, the angle index angleIdx, and the distance index distanceIdx. For example, see Table 2 below.
- angle index angleIdx corresponds to the sine of the angle and the distance index distanceIdx corresponds to ⁇ j.
- you can set the angleIdx and The mapping table is shown in Table 3 below. In another implementation, it is also possible to set an intermediate variable about angleIdx and mapping table.
- a mapping table regarding the angle index angleIdx and the slope may also be set. For example, use a variety of fixed slopes ⁇ slope0, slope1, slope2,..., slopen ⁇ to construct a table of angles at unequal intervals.
- the prediction mode parameters of the target image block can be determined at the decoding end by parsing the bit stream.
- the prediction mode parameters are parameter information used to indicate the prediction mode used by the target image block. . If the prediction mode parameter is a target division mode parameter used to indicate the use of the first division mode, then the specific type of first division mode to be used may be determined by the target division mode parameter.
- the target partition mode parameter includes at least one of a segmentation index, an angle index, and a distance index.
- the target partition mode parameter includes a prediction mode used to indicate a prediction mode used by a corresponding partition in the target image block. Instructions.
- the prediction mode indication information is used at the decoding end to indicate the prediction mode used by the corresponding partition in the target image block.
- the prediction mode used by the partition included in the target image block may be determined according to the prediction mode indication information included in the target partition mode parameter.
- the prediction mode indication information includes prediction mode indication information used to indicate the prediction mode used by the first partition, and/or prediction mode indication information used to indicate the prediction mode used by the second partition.
- the prediction mode indication information may be a tag or index of the prediction mode type used by the corresponding partition of the target image block at the encoding end.
- the prediction mode includes an intra prediction mode and/or an inter prediction mode. If the preset prediction mode is intra prediction mode, you can use the coded pixels of the corresponding partition in the target image block to predict the pixels in the current image block (such as angle prediction mode), or you can use the coded brightness component to predict the current image.
- the color component of the block for example in CCLM (Crossed Component Linear Model) mode, predicts the pixels of the chrominance component from the pixels of the Y component.
- the preset prediction mode is the intra prediction mode, the motion vector can be determined using the reference image of the image where the target image block is located, and prediction is performed based on the motion vector to obtain the prediction result.
- a motion vector index indicating the motion vector used by the encoding side is encoded in the bitstream.
- the motion vector includes a first motion vector and/or a second motion vector, and the motion vector index is, for example, gpm_idx0[x0][y0] and gpm_idx1[x0][y0]. It should be noted that gpm_idx0[x0][y0] and gpm_idx1[x0][y0] can also be sent in the merged data merge_data().
- the target partition mode parameter when the prediction mode parameter is a target partition mode parameter, the target partition mode parameter also includes a motion vector index.
- the motion vector index includes a first motion vector index and/or a second motion vector index.
- the motion vector corresponds to a first motion vector and/or a second motion vector, and the motion vector may be required by using the inter prediction mode for the corresponding partition of the target image block.
- the prediction mode indication information indicates that the first partition adopts inter prediction mode and the second partition adopts intra prediction mode
- the first motion vector and/or the second motion vector is the motion vector of the first partition
- prediction The mode indication information indicates that the second partition adopts the inter prediction mode and the first partition adopts the intra prediction mode
- the first motion vector and/or the second motion vector is the motion vector of the second partition.
- the prediction result set corresponding to the partition in the target image block may be determined by using the prediction mode corresponding to the partition of the target image block to determine the prediction result set corresponding to the partition of the target image block.
- the set of prediction results includes a first set of prediction results of the first partition and/or a second set of prediction results of the second partition.
- the first prediction result set may be determined according to the prediction mode used by the first partition in the target image block
- the second prediction result set may be determined according to the prediction mode used by the second partition in the target image block.
- the prediction result set of the target image block includes a first prediction result set and a second prediction result set.
- the first prediction result set of the first partition (or the second prediction result set of the second partition) refers to the prediction based on the data in the first partition (or the second partition) according to the preset prediction mode.
- the first prediction result set and the second prediction result set may be shared by the first partition and the second partition.
- the prediction result set of the corresponding partition of the target image block is used to determine the prediction result of the target image block.
- the prediction result of the target image block may be determined according to the first prediction result set of the first partition and/or the second prediction result set of the second partition.
- the image processing solution provided by the embodiment of the present application predicts the target image block through the preset prediction mode, determines the prediction result set of partition pairs corresponding to the target image block, and then obtains the prediction result.
- the selection range of the preset prediction mode is large. , it has high flexibility when used with the corresponding partitions of the target image block; and, according to the prediction result set of the corresponding partition in the target image block determined by the preset prediction mode, the prediction result set of the different partition games can be combined to ensure the prediction result of the target image block accuracy. As a result, a better balance can be achieved between the flexibility of using the preset prediction mode and the accuracy of the prediction results.
- Figure 5 is a schematic flowchart of an image processing method according to a second embodiment.
- the execution subject in this embodiment can be a computer device or a cluster composed of multiple computer devices.
- the computer device can It may be an intelligent terminal (such as the aforementioned mobile terminal 100), or it may be a server.
- the execution subject in this embodiment is an intelligent terminal as an example for explanation.
- the prediction mode is the prediction mode used by the partitions divided by the dividing lines in the target image block
- the prediction result set of the corresponding partition in the target image block can be determined according to the contents introduced in S501 and S502.
- the prediction mode includes a first prediction mode and/or a second prediction mode. Since the prediction mode used by the corresponding partition may be the first prediction mode or the second prediction mode, the preset prediction mode may be the first prediction mode or the second prediction mode.
- the first prediction mode is an inter prediction mode.
- the prediction mode used by the partitions along the dividing lines of the target image block is the inter-frame prediction mode
- the partitions divided by the dividing lines in the target image block include the first partition and/or the second partition.
- the partition corresponding to the target image block is a partition using the inter prediction mode, and the partition may include a first partition and/or a second partition.
- the first partition in the target image block uses the inter prediction mode, or the target image
- the second partition in the block uses the inter prediction mode, or both the first and second partitions in the target image block use the inter prediction mode.
- a prediction result set of the corresponding partition in the target image block may be determined based on the motion vector.
- the first prediction result set is determined according to the motion vector of the first partition
- the second prediction result set is determined according to the motion vector of the second partition.
- the merging candidate list is obtained based on the spatial merging candidate list.
- the merge candidate list is an inter-frame prediction candidate list and can be used to determine the first motion vector and/or the second motion vector when a unidirectional prediction candidate or a bidirectional prediction candidate is used.
- the following introduces the construction process of the merge candidate list of the target image patch.
- Figure 6a is a schematic diagram of adjacent block locations of an exemplary spatial domain merging candidate list provided by an embodiment of the present application.
- the spatial merging candidate list can select up to 4 candidate motion vectors.
- the construction order is: upper adjacent block B1, left adjacent block A1, upper right adjacent block B0, lower left adjacent block A0, upper left adjacent block Block B2, the reference frame corresponding position block col is the motion vector information of adjacent blocks arranged in sequence. It should be noted that B2 will only be considered if other locations are not available. After adding the lower left adjacent block A0, redundancy detection is required to ensure that there are no candidates with the same motion information in the list.
- Figure 6b is a schematic diagram of an exemplary merging of candidate lists provided by an embodiment of the present application.
- the merge candidate list includes the motion information of the five adjacent blocks shown in Figure 6a, with serial numbers 0, 1, 2, 3, and 4 respectively.
- Each adjacent block contains bidirectional prediction motion vector information, that is, list 0 ( The motion vector information corresponding to list0) and list1 (list1) respectively.
- inter prediction modes include unidirectional prediction mode and bidirectional prediction mode.
- the unidirectional prediction mode or the bidirectional prediction mode can be used for partitions in the target image block that use the inter prediction mode.
- the unidirectional prediction mode and/or the bidirectional prediction mode can be used by the unidirectional prediction used by a partition in the target image block.
- bidirectional prediction indication information (such as a mark or index) to determine. Therefore, it can be determined according to the indication information whether a partition in the target image block specifically adopts the unidirectional prediction mode or the bidirectional prediction mode, and then further determines the unidirectional motion vector (the first motion vector or the third motion vector) of the partition from the merge candidate list.
- first motion vector and second motion vector When the first partition (or second partition) in the target image block uses unidirectional prediction indication information, determine the first partition (or second partition) in the target image block. One partition (or the second partition) uses the unidirectional prediction mode, and determines the first motion vector or the second motion vector of the first partition (or the second partition) from the merge candidate list; when the first partition in the target image block (or second partition) when using bidirectional prediction indication information, determine that the first partition (or second partition) in the target image block uses the bidirectional prediction mode, and determine the first partition (or second partition) from the merge candidate list first motion vector and second motion vector.
- the first motion vector and/or the second motion vector are both inter-frame predicted motion vectors. After the first motion vector and/or the second motion vector of the corresponding partition in the target image block are obtained by merging the candidate lists, the first motion vector can be calculated according to the first motion vector. The vector and/or the second motion vector perform motion compensation to determine the inter prediction value of the target image block with respect to the inter prediction motion vector, thereby obtaining a prediction result set, which contains the inter prediction value.
- the prediction result set of the target image block can be determined in the above manner for each partition, and at this time
- the prediction result set includes a first prediction result set and a second prediction result set, that is, the first prediction result set of the target image block is determined according to the motion vector of the first partition in the target image block, and the prediction result set is determined according to the motion vector of the second partition in the target image block.
- the motion vector determines a second set of prediction results for the target image block.
- both the first prediction result set and the second prediction result set are obtained through inter-frame prediction.
- the target reference sampling point of the partition can also be used to determine the inter prediction corresponding to the partition.
- Motion vector in mode if the B partition uses inter prediction mode, and there is one reference sample point x among the reference sampling points available for the B partition (for example, the first reference sampling point in Figure 6c) using inter prediction, then The motion vector of the reference sampling point x can be used to determine the motion vector in the inter prediction mode corresponding to the B partition. Alternatively, the motion vector of the reference sampling point x can be directly used as the motion vector of the B partition.
- the reference sampling point x is a reference sampling point located at the center or middle among the available reference sampling points.
- the prediction result set of the corresponding partition in the target image block is determined according to the value of the target reference sampling point of the corresponding partition in the target image block.
- the prediction result set of the corresponding partition in the target image block is determined based on the pixel value of the brightness sampling point.
- the pixel value of the brightness sampling point may be used as the pixel value of the sampling point in the partition.
- the second prediction mode is an intra prediction mode.
- the prediction mode used by the corresponding partition of the target image block is the first prediction mode or the second prediction mode, which is determined based on the prediction indication information.
- the second prediction mode includes at least one type of second prediction mode.
- the second prediction mode is an intra prediction mode, which includes multiple types of intra prediction modes.
- the prediction mode types included in the intra prediction mode add more prediction directions to improve the accuracy of intra prediction.
- the angle prediction modes included in VVC have been expanded to 65, while retaining the Planar mode and DC mode, for a total of 67 types of intra prediction modes. Details are shown in Table 4 below.
- At least one type of intra prediction mode includes Planar mode, DC mode, and angle prediction mode.
- Planar mode is used to solve gradient smooth texture areas.
- DC mode is suitable for large flat areas.
- Angle prediction modes include angle prediction mode 2 to angle prediction mode 66. Different angle prediction modes have different prediction directions to better Adapt textures to different orientations in video content.
- the prediction mode when the prediction mode is the second prediction mode, it is also possible to: determine the second prediction of the target type used by the corresponding partition of the target image block from the at least one type of second prediction mode. model.
- the partition of the target image block includes a first partition and/or a second partition.
- the second prediction mode may be indicated by prediction indication information.
- the prediction indication information of the first partition indicates that the prediction mode used by the first partition is an intra prediction mode
- the intra prediction mode of the target type may be specifically determined.
- the second prediction mode of the target type may be any one of Planar mode (ie, plane mode), DC mode, and 65 angle prediction modes.
- the intra prediction mode of the target type used by the partition corresponding to the target image block is determined based on the most likely mode index within the frame.
- the intra-frame most probable mode index refers to the index of the intra-frame prediction mode of the most likely target type to be used.
- the intra-frame most probable mode index can be determined by constructing a most probable mode (Most Probable Mode, MPM) list. There are 6 prediction modes in the MPM list in the VVC. If the prediction mode of the current block only needs to encode its index in the MPM, the index is the most likely mode index in the frame. The amount of data can be effectively reduced and coding efficiency improved by constructing the most likely pattern list.
- the target reference sampling point includes a first reference sampling point and/or a second reference sampling point, and the first reference sampling point and/or the second reference sampling point are different.
- the selection of the first reference sampling point and/or the second reference sampling point is different.
- the first reference sampling point and the second reference sampling point are different as follows:
- the first reference sampling point is adjacent to the corresponding partition and not adjacent to another partition; the second reference sampling point is not adjacent to the corresponding partition and adjacent to the other partition.
- the first reference sampling point is adjacent to the first partition and not adjacent to the second partition
- the second reference sampling point is adjacent to the second partition and not adjacent to the first partition. Adjacent; when the corresponding partition in the target image block is the second partition, the first reference sampling point is adjacent to the second partition and not adjacent to the first partition, and the second reference sampling point is adjacent to the first partition and not adjacent to the first partition.
- the two partitions are not adjacent.
- a schematic diagram of an exemplary target reference sampling point shown in Figure 6c As shown in (1) in Figure 6c, the first reference sampling point (or the second reference sampling point) is different for different partitions.
- the first reference sampling point may be a reference sampling point adjacent to the corresponding partition, and the second reference sampling point may be not adjacent to the corresponding partition in the target image block and adjacent to another partition other than the corresponding partition.
- Reference sampling point For example, as shown in (1) in Figure 6c, for the first partition, the first reference sampling point may be a reference sampling point adjacent to the first partition, and the second reference sampling point may be a reference sampling point adjacent to the target image block. A reference sampling point that is not adjacent to the first partition and adjacent to the second partition.
- the first reference sampling point may be a reference sampling point adjacent to the second partition, and the second reference sampling point may be a reference sampling point in the target image block that is not adjacent to the second partition and is adjacent to the first partition. adjacent reference sampling points.
- the first reference sampling point or the second reference sampling point also includes reference sampling points that are not adjacent to the corresponding partition.
- the first reference sampling point when the corresponding partition in the target image block is the first partition, the first reference sampling point includes a reference sampling point adjacent to the first partition and not adjacent to the second partition.
- the two reference sampling points include reference sampling points that are adjacent to the second partition and not adjacent to the first partition, and reference sampling points that are not adjacent to neither the first partition nor the second partition; when the corresponding partition in the target image block is During the second partition, the first reference sampling points include reference sampling points that are adjacent to the second partition and not adjacent to the first partition, and reference sampling points that are not adjacent to neither the first partition nor the second partition.
- the reference sampling points include reference sampling points adjacent to the first partition and not adjacent to the second partition.
- the positional relationship of the first reference sampling point relative to the corresponding partition is different from the positional relationship of the second reference sampling point relative to the corresponding partition.
- the first reference sampling point or the second reference sampling point is a pixel point adjacent to the coding tree unit where the target image block is located, and not adjacent to the target image block.
- the target image block is a coding unit
- the coding unit may be any coding unit being coded in the coding tree unit.
- VVC coding one frame of image can be divided into multiple coding tree units for sequential encoding, and each coding tree unit is divided into multiple coding units for sequential encoding.
- the coding unit in the next coding tree unit is then coded, as shown in Figure 6d.
- the target reference sampling point includes the first reference sampling point and the second reference sampling point adjacent to the coding tree unit; when the target image block is the coding tree unit
- the target reference sampling point includes the reference sampling point adjacent to the coding tree unit and/or the reference sampling point adjacent to the coding unit, as shown in (1) in Figure 6c,
- the first reference sampling point and the second reference sampling point included in the target reference sampling point are both adjacent to the coding unit. These reference sampling points are already encoded pixels.
- the first partition in the target image block can use the first prediction mode and the second partition can use the second prediction mode
- the contents described in S501 and S502 can be executed at the same time, and the target image block in S501
- the corresponding partition is the first partition
- the corresponding partition of the target image block in S502 is the second partition.
- the first prediction mode can be used for the second partition
- the second prediction mode can be used for the first partition
- the contents described in S501 and S502 can be executed simultaneously
- the corresponding partition of the target image block in S501 is the second partition.
- the corresponding partition of the target image block in S502 is the first partition.
- the prediction result set of the corresponding partition of the target image block is used to determine the prediction result of the target image block.
- partition weight is determined based on the angle index and the distance index included in the target partition mode parameters.
- Partition weight refers to the weight corresponding to the two partitions included in the image block. The partition weight is used to weight each pixel point in the corresponding partition to obtain a weighted predicted pixel value, recorded as predSamples. The weighted predicted pixel value of the corresponding partition can be used as forecast result.
- the straight line equation of the dividing line can be obtained according to the angle index angleIdx and the distance index distanceIdx.
- the straight line equation in the straight line equation can be determined according to the angle index angleIdx.
- ⁇ in the straight line equation can be determined according to the distance index distanceIdx.
- (x c , y c ) is the coordinate of any sampling point in the target image block.
- the angle index and distance index included in the target division mode parameters can determine the distance between each pixel point in the target image block and the dividing line, and the weight corresponding to each pixel value of the target image block can be determined based on this distance. .
- set different weights according to the distance of the pixel point (x c , y c ) relative to the dividing line For example, if the distance between the pixel point (x c , y c ) and the dividing line is greater than or equal to the set distance threshold , then the weight corresponding to the pixel point (x c , y c ) is set to K1, otherwise, the weight corresponding to the pixel point (x c , y c ) is set to K2. It is obvious that the pixel points smaller than the set distance threshold are located near the dividing line, and the pixel points larger than the set distance threshold are far away from the dividing line.
- the above rules are used to set the weights to obtain the partition weights.
- different fixed weights can be set. It can be seen that the weight of each pixel value is not only related to the distance from the dividing line, but also to the location of each pixel. Partition related.
- the partition weight By setting the partition weight in this way, different degrees of attention can be given to the pixels in the two image areas bounded by the dividing line in the target image block, and the pixels corresponding to the pixels close to the dividing line and those not close to the dividing line can
- the weights can also be different.
- the pixels closer to the dividing line have greater weights. In this way, the two partitions of the target image block can be better fused along the edge of the dividing line to obtain the prediction result.
- the first prediction result set is obtained by using a first prediction mode (such as inter prediction mode), or is obtained by using a first prediction mode (such as intra prediction mode), and the second prediction result set is the same as reason.
- a first prediction mode such as inter prediction mode
- a first prediction mode such as intra prediction mode
- For the first partition it may be: based on the first weight, the first prediction result of the sampling point included in the target image block in the first prediction result set, and the second prediction result of the sampling point in the second prediction result set. At least one of the prediction results determines the prediction result of the sampling point in the first partition included in the target image block.
- the first weight may be a weight set corresponding to the first partition, which may be called the first weight set, including ⁇ w 11, w 12 ⁇ .
- the rule for determining the weight is determined based on the distance between the sampling point and the dividing line, which respectively represents the distance between the sampling point and the dividing line.
- the weight corresponding to the dividing line and the weight corresponding to the distance from the dividing line are divided by the distance threshold.
- Using the first weight perform a weighted summation process on the first prediction result corresponding to the sampling point in the first partition included in the target image block in the first prediction result set and the corresponding second prediction result in the second prediction result set. , to obtain the fused predicted value, that is, the predicted result of the sampling point in the first partition.
- (x c1 , y c1 ) represents the sampling point in the first partition
- P 11 represents the first prediction result of the sampling point in the first partition in the first prediction result set
- P 12 represents the sampling of the first partition
- w 11 can be set to K1, and w 12 corresponds to (1-K1); or w 11 is set to K2, w 12 corresponds to (1-K2).
- For the second partition it may be: based on the second weight, the first prediction result of the sampling point included in the target image block in the first prediction result set, and the second prediction result of the sampling point in the second prediction result set. At least one of the prediction results determines the prediction result of the sampling point in the second partition included in the target image block.
- the second weight is the set of weights corresponding to the second partition, which can be called the second weight set, including ⁇ w 21, w 22 ⁇ , which respectively represent the weight corresponding to the dividing line in the second partition and the weight corresponding to far away from the dividing line.
- the distance threshold can be the same as the distance threshold used in the first partition, or it can be different.
- the sampling points in the second partition included in the target image block have corresponding prediction results in both the first prediction result set and the second prediction result set.
- the second weight can be used to include the target image block
- the first prediction result corresponding to the sampling point in the second partition in the first prediction result set and the second prediction result corresponding to the second prediction result set are weighted and summed to obtain the fused prediction value, that is, the Prediction results of sampling points in the binary partition.
- the corresponding prediction results can be determined in the above manner, and then the prediction results of the first partition and the prediction results of the second partition are obtained.
- the prediction results include the prediction results of all sampling points in the first partition
- the prediction results of the second partition include the prediction results of all sampling points in the second partition.
- the prediction results of the first partition and the prediction results of the second partition can be combined to obtain the prediction results of the sampling points of all partitions, and the prediction results are the prediction results of the target image block. Or edge fuse the prediction results of the two partitions to obtain the prediction result of the target image block.
- the image processing solution provided by the embodiment of the present application can determine the prediction result set according to different information of the corresponding partitions of the target image block in different prediction modes. That is, when the prediction mode is the first prediction mode, the prediction result set can be determined according to the first prediction mode.
- the first prediction result set is determined by the motion vectors of the partitions in the target image block using the first prediction mode.
- the prediction mode is the second prediction mode, it can be determined based on the target reference sampling points of the partitions in the target image block using the second prediction mode.
- a second set of prediction results, and both the first prediction mode and the second prediction mode include multiple types, especially the second prediction mode has a wider range of choices and more combinations with the division modes used by the target image block, and The accuracy of prediction results has been improved.
- Figure 7 is a schematic flowchart of an image processing method according to a third embodiment.
- the execution subject in this embodiment can be a computer device or a cluster composed of multiple computer devices.
- the computer device can It may be an intelligent terminal (such as the aforementioned mobile terminal 100), or it may be a server.
- the execution subject in this embodiment is an intelligent terminal as an example for explanation.
- the target image block is determined according to the target reference sampling point of the corresponding partition in the target image block.
- the prediction result set corresponding to the partition in please refer to the content introduced in S701 and S702 below.
- the target image block includes a first partition and/or a second partition, and the corresponding partition in the target image block is the first partition or the second partition.
- the first reference sampling point and/or the second reference sampling point of the first partition, and the first reference sampling point and/or the second reference point of the second partition may be determined. Sampling points, since the logic of the reference sampling points determined for different partitions is similar, only the contents of the first reference sampling point and/or the second reference sampling point are different for different partitions. Therefore, in this embodiment, determining the first reference sampling point and/or the second reference sampling point of a partition (for example, the first partition) is taken as an example for explanation.
- the implementation of S701 may be: based on the positional relationship between the corresponding partition in the target image block and the boundary sampling point of the dividing line used by the target image block in the target image block, determine The first reference sampling point and/or the second reference sampling point of the corresponding partition in the target image block.
- the partition corresponding to the target image block here refers to the partition in the target image block using the second prediction mode.
- the second prediction mode is an intra prediction mode.
- the positional relationship between the corresponding partition and the boundary sampling point in the target image block refers to the relative positional relationship between the sampling point in the partition using the second prediction mode and the boundary sampling point. According to the positional relationship, the first partition or the first partition can be determined.
- the dividing lines used by the target image block pass through different boundaries of the target image block to divide the target image block into different image areas, which are called first partitions and second partitions here.
- the target image block includes at least one sampling point, and optionally, the sampling point is a pixel point.
- the boundary sampling points of the dividing line in the target image block refer to the samples passed by the dividing line among the N sampling points adjacent to the encoded pixel points in the target image block.
- point, N is a positive integer.
- Figure 8a it is a schematic diagram of the boundary sampling point where the dividing line is located.
- the dividing line divides the target image block into partition A and partition B, and the dividing line passes through the upper boundary and the left boundary of the target image block, so the boundary sampling points include boundary sampling point 1 and boundary sampling point 2.
- the following steps may be included: determining the boundary through which the dividing line used by the target image block passes according to the boundary mapping table; determining the boundary sampling point according to the boundary through which the dividing line passes.
- the boundary mapping table includes a mapping relationship between each dividing line passing through a specified boundary in the target image block, where the specified boundary includes a first boundary and/or a second boundary.
- the first boundary is the upper boundary and the second boundary is the left boundary.
- the mapping relationship between each dividing line passing through the specified boundary in the target image block may be used to indicate the dividing index of the dividing line and whether the dividing line passes through the upper boundary and the left boundary of the target image block.
- the boundary mapping table is shown in Table 5 below.
- This boundary mapping table is a dividing line index corresponding to 64 dividing modes in the geometric dividing mode, and records information about each dividing line index and whether the dividing line passes through the left boundary or the upper boundary. Therefore, the boundary through which the dividing line used by the target image block passes can be quickly determined through the boundary mapping table, thereby determining the boundary sampling point.
- the boundary sampling point includes the first boundary sampling point; and/or, when the target image block uses When the dividing line passes through the second boundary of the target image block, it is determined that the boundary sampling point includes the second boundary sampling point.
- the boundary mapping table can be used to determine the situation where the dividing line passes through the specified boundary, and then determine the content included in the boundary sampling points.
- the first boundary is the upper boundary and the second boundary is the left boundary.
- the boundary sampling points include the upper boundary sampling points, and/or when the dividing line passes through the left boundary of the target image block, the boundary sampling points include the left boundary sampling points.
- the dividing line may pass through the upper boundary and the left boundary, or may pass through the upper boundary or the left boundary.
- the boundary sampling points include upper boundary sampling points and/or left boundary sampling points.
- the boundary sampling point includes at least one boundary sampling point.
- the dividing line may also pass through any of the left border, right border, and lower border at the same time.
- the dividing line may also pass through the upper border, the right border, and the lower border at the same time. any of them.
- the segmentation situation of different segmentation lines in the image block is as shown in the aforementioned Figure 4c.
- the method for determining the boundary sampling point includes: determining the dividing line equation according to the target division mode parameter of the target image block; determining at least one boundary sampling point according to the boundary reference point and the dividing line equation. .
- the target division mode parameter of the target image block includes at least one of the following: angle index, distance index and division index.
- the target partition mode parameter may be a geometric partition mode parameter.
- the dividing line equation is determined according to the angle index and the distance index included in the target dividing mode parameters.
- the dividing line equation refers to the straight line equation of the dividing line. According to the angle index angleIdx, the dividing line equation is determined in the angle mapping table. and And determine ⁇ in the dividing line equation according to the distance index distanceIdx.
- the expression for the dividing line equation is as follows:
- (x c , y c ) is the coordinate of any sampling point in the target image block.
- At least one boundary sampling point can be determined based on the boundary reference point and the dividing line equation.
- the boundary reference point is a sampling point arranged first in coding order in the target image block. From a positional point of view, the boundary reference point is the sampling point at the upper left position of the target image block.
- the position of the boundary reference point is recorded as (xCb, yCb).
- the position coordinates of at least one boundary sampling point are determined according to the boundary reference point.
- At least one boundary sampling point includes a first boundary sampling point and/or a second boundary sampling point. If the dividing line passes through the second boundary (the second boundary is the left boundary), then the boundary sampling points include the second boundary sampling point, and the position coordinates of the second boundary sampling point are (x_gpm_left,y_gpm_left); if the dividing line also passes through the first boundary (The first boundary is the upper boundary) Then the boundary sampling point also includes the first boundary sampling point, and the position coordinates of the first boundary sampling point are (x_gpm_above, y_gpm_above).
- x_gpm_left xCb
- the first boundary sampling point and the boundary reference point are on the same x-axis
- the y_gpm_left of the second boundary sampling point and the x_gpm_above of the first boundary sampling point can be determined through the dividing line equation.
- the dividing line does not pass through the second boundary of the target image block (for example, the left boundary), then the second boundary sample The point does not exist.
- the value of x_gpm_above exceeds the predetermined range (referring to the x value of the last critical sampling point arranged on the first boundary)
- the dividing line does not pass through the target image block.
- the first boundary such as the upper boundary
- the first boundary sampling point does not exist.
- the y1 of the critical sampling point 1 can be used as a measure of whether the second boundary sampling point exists. That is to say, the y_gpm_left calculated based on the dividing line is compared with y1. If y_gpm_left is greater than y1, the second boundary sampling point does not exist. Otherwise, then exist.
- similarly x2 can be used as a judgment value to determine whether x_gpm_above exceeds the predetermined range, thereby determining whether the first boundary sampling point exists.
- the boundary through which the dividing line passes is determined according to the boundary mapping table, you can first determine whether a boundary sampling point that meets the conditions exists, and then obtain the position coordinates of the corresponding boundary sampling point in the above manner. For example, if the boundary mapping table is queried according to the dividing line index and it is determined that the dividing line used by the target image block passes through the upper boundary and the left boundary, then the upper boundary sampling point and the left boundary sampling point can be determined based on the dividing line equation and the boundary reference point. specific location.
- the first reference sampling point and/or the second reference sampling point may be determined based on the positional relationship between the boundary sampling point and the corresponding partition of the target image block. In one embodiment, the following steps may be included: determining the first coordinate range and/or the second coordinate range according to the at least one boundary sampling point; determining the first coordinate range and/or the second coordinate range. The first reference sampling point and/or the second reference sampling point.
- At least one boundary sampling point includes a first boundary sampling point and/or a second boundary sampling point.
- at least one of the following methods is included: determining the first coordinate range according to the first boundary sampling point and/or the second boundary sampling point, and determining the second coordinate range according to the first boundary sampling point and/or the second boundary sampling point. scope.
- At least one boundary sampling point includes a first boundary sampling point and a second boundary sampling point, and the position coordinates of the first boundary sampling point are (x_gpm_above, y_gpm_above), and the position coordinates of the second boundary sampling point are (x_gpm_left, y_gpm_left).
- the first coordinate range and the second coordinate range are illustrated.
- the reference sampling points within the first coordinate range include the reference sampling point located above and to the left of the second boundary sampling point, and the reference sampling point located above and to the left of the first boundary sampling point;
- the reference sampling points include a reference sampling point located above and to the right of the second boundary sampling point, and a reference sampling point located below and to the left of the first boundary sampling point.
- the reference sampling point located within the first coordinate range may be determined as the first reference sampling point, and/or The reference sampling point located within the second coordinate range is determined as the second reference sampling point.
- the reference sampling point located in the second coordinate range can be determined as The first reference sampling point, and/or the reference sampling point located within the first coordinate range is determined as the second reference sampling point.
- the first reference sampling point and/or the second reference sampling point may be available or unavailable.
- the first reference sampling point refers to the reference sampling point that is available in the partition corresponding to the target image block
- the second reference sampling point refers to the reference sampling point that is unavailable in the corresponding partition of the target image block.
- the A partition adopts the intra prediction mode.
- the sampling value of the upper reference sampling point located on the right side of gpm_above and the original sampling value in the A partition are greatly different.
- the upper reference sampling points located on the right side of gpm_above are all reference sampling points that are unavailable for the A partition.
- the left reference sampling points located below gpm_lef are all reference sampling points that are unavailable for partition A. It should be noted that for partition A, the available reference sampling points are the reference sampling points immediately adjacent to partition A.
- the upper reference sampling points located to the left of gpm_above are all reference samples that are unavailable for the B partition.
- the left reference sampling points located above gpm_lef are all reference sampling points that are unavailable for the B partition. It should be noted that for partition B, the available reference sampling points are the reference sampling points immediately adjacent to partition B.
- the implementation of S701 may also be: based on the distance between the sampling point of the corresponding partition in the target image block and the dividing line. , determine the partition range of the corresponding partition in the target image block; determine the first reference sampling point and/or the second reference sampling point of the corresponding partition in the target image block based on the coordinate range of the first sampling point and the partition range. ; Or, based on the distance information between the first sampling point adjacent to the target image block and the dividing line, determine the first sampling point as the first reference sampling point of the corresponding partition in the target image block. Or the second reference sampling point.
- the equation of the dividing line can first be determined.
- the distance between the sampling point of the corresponding partition in the target image block and the dividing line can be determined. Assume that the sampling point of the corresponding partition in the target image block is (x c , y c ). According to the dividing line equation, the distance from the sampling point to the dividing line can be obtained, as shown in the following formula.
- d(x c , y c ) is the distance between the sampling point in the target image block and the used dividing line.
- Sampling points can refer to pixel points.
- the partition corresponding to the target image block is a partition using the first prediction mode (eg, intra prediction mode).
- the first prediction mode eg, intra prediction mode
- a partition whose distance from a specific position of the target image block or the position of an adjacent image block of the target image block is less than a preset distance may be determined as the first partition, and A partition whose distance between specific positions is greater than the preset distance is determined as a second partition.
- a partition whose distance from the position of adjacent image blocks of the target image block is less than a preset distance may be determined as the first partition, and the distance between the position of the adjacent image block and the position of the adjacent image block of the target image block may be determined as the first partition.
- the partition whose distance is greater than the preset distance is determined as the second partition.
- the specific position of the target image block corresponds to the coordinates of the upper left corner sampling point of the target image block
- the positions of the adjacent image blocks of the target image block correspond to the spatial adjacent blocks of the target image block in the constructed spatial merging candidate list. coordinate.
- the spatial adjacent blocks are the upper adjacent block B1, the left adjacent block A1, the upper right adjacent block B0, the lower left adjacent block A0, and the upper left adjacent block B2.
- the first sampling point is a reference sampling point adjacent to the target image block, the first sampling point includes at least one and the first sampling point is a coded sampling point.
- the first sampling point can be used as the first reference sampling point or the second reference sampling point, and can be determined in either of the following two ways:
- the first sampling point adjacent to the corresponding partition may be determined as the first reference sampling point of the corresponding partition, and the first sampling point not adjacent to the corresponding partition may be determined as the second reference sampling point of the corresponding partition.
- the first reference sampling point (or the second reference sampling point) is an available or unavailable reference sampling point.
- Figure 8d is a schematic diagram of the division of target reference sampling points according to an embodiment of the present application. As shown in Figure 8d, the image block includes partition A and partition B.
- the reference sampling points include reference sampling points adjacent to partition A, reference sampling points adjacent to partition B, and reference sampling points that are not adjacent to either partition A/B. Sampling point.
- the reference sampling point that is not adjacent to any A/B partition is a reference sampling point that is adjacent to the coding tree unit where the target image block is located. If the intra prediction mode partition in the target image block is partition A, then determine the first reference sampling point corresponding to partition A as the reference sampling point adjacent to partition A, and the second reference sampling point corresponding to partition A as partition B. Adjacent reference sampling points and reference sampling points that are not adjacent to the A/B partitions.
- the partition in the target image block that uses the intra prediction mode is the B partition
- the second reference sampling point corresponding to partition B is the reference sampling point adjacent to partition A. It can be seen that the first reference sampling point also includes reference sampling points that are not adjacent to the corresponding partition.
- the distance information includes a sign of the distance between the first sampling point and the dividing line.
- the first sampling point is a reference sampling point adjacent to the target image block. Whether the reference sampling point is adjacent to the first partition or the second partition can be determined by calculating the sign of the distance from the reference sampling point to the dividing line. For example, if the sign of the distance from the reference sampling point to the dividing line is the same as the sign of the distance from the sampling point in the first partition to the dividing line, then the reference sampling point is adjacent to the first partition.
- the reference sampling point is different from the sign of the distance between the reference sampling point and the dividing line.
- a partition is not adjacent.
- the sign of the distance here can be the positive or negative sign used to characterize the distance.
- the first reference sample and the second reference sample corresponding to the partition are determined according to the partition corresponding to the target image block in the adopted second prediction mode.
- the second prediction mode is intra prediction mode.
- the reference sampling points adjacent to the first partition are available reference sampling points of the first partition, and the reference sampling points not adjacent to the first partition are unavailable references of the first partition. Sampling point.
- the reference sampling points that are not adjacent to the first partition are available reference sampling points for the second partition, and the reference sampling points adjacent to the first partition are unavailable references for the second partition. Sampling point.
- S702 Determine a set of prediction results for corresponding partitions in the target image block according to the first reference sampling point and/or the second reference sampling point.
- the two reference sampling points can be further used for intra-frame prediction to obtain a prediction result set of the target image block.
- one of the reference sampling points is not available for a certain partition, it can be used in the actual prediction process of intra prediction through corresponding processing, and the encoding quality is guaranteed, so that the target image block is divided into different When predicting an image area, you can flexibly select from different types of second prediction modes.
- the second prediction mode is an intra prediction mode
- any one of multiple intra prediction mode candidates can be selected.
- the selection range of intra prediction mode types used for dividing modes is fully expanded, ensuring the coding quality while improving the flexibility and range of selection.
- step S702 includes the following content: (1) filling the second reference sampling point according to the first reference sampling point to obtain a filled reference sampling point; (2) filling the second reference sampling point according to the first reference sampling point; The reference sampling point and the filled reference sampling point determine a prediction result set corresponding to the partition of the target image block.
- the first reference sampling point is an available reference sampling point for the corresponding partition of the target image block
- the second reference sampling point is an unavailable reference sampling point for the corresponding partition of the target image block
- Filling the unavailable reference sampling points can replace the unavailable reference sampling points with other pixels to obtain the filled reference sampling points, thereby making the second reference sampling points available for use in the actual processing process, that is, :
- the determination process of the prediction result set corresponding to the partition of the target image block is jointly participated or acted upon by the first reference sampling point and the filled reference sampling point.
- S7021 Determine at least one filling reference sampling point in the first reference sampling point.
- the at least one filling reference sampling point may be an adjacent one or at least one first reference sampling point, such as the first reference sampling point closest to the second reference sampling point, or at least one sequentially arranged adjacent to the second reference sampling point.
- the at least one filling reference sampling point may also be any one or more of the first reference sampling points, such as the first reference sampling point.
- first reference sampling point and the second reference sampling point include different sampling points for different partitions of the target image block, therefore, at least one filling reference sampling point is different for the target image block.
- the divisions are also different.
- FIGS 9a and 9b are schematic diagrams of some filled reference sampling points provided by embodiments of the present application.
- partition A is a partition in the target image block that uses intra prediction mode.
- the reference sampling points adjacent to partition A are available reference sampling points for partition A, which are different from partition A.
- the adjacent reference sampling point is an unavailable reference sampling point in partition A.
- At least one fill reference sampling point includes two available nearest reference sampling points among the reference sampling points available in the A partition.
- the B partition is a partition using the intra prediction mode in the target image block.
- the reference sampling points that are not adjacent to the A partition are available reference sampling points for the B partition.
- the adjacent reference sampling point is an unavailable reference sampling point in partition B.
- At least one filling reference sampling point includes two available nearest reference sampling points among the available reference sampling points in the B partition.
- S7022 Determine the filling value of the second reference sampling point based on the sampling value of the at least one filling reference sampling point.
- the sampling value of the nearest first reference sampling point can be used as the filling value of the second reference sampling point.
- the filling value of the second reference sampling point may be determined based on at least one adjacent first reference sampling point. For example, the average value of at least one adjacent first reference sampling point is used as the filling value of the second reference sampling point.
- different weights can be given to at least one filling reference sampling point, so that the influence of filling reference sampling points at different positions on the filling value of the second reference sampling point can be taken into account.
- each of the filling reference sampling points is each of the at least one filling reference sampling point. Therefore, each filling reference sampling point corresponds to a filling weight. For example, three filling reference sampling points correspond to three filling weights respectively. Based on the filling weight, the sample values of each filling reference sampling point can be weighted and summed. The obtained weighted summation value can be used as the filling of the second reference sampling point. top up.
- the positional relationship includes the distance between each filling reference sampling point and the second reference sampling point.
- the distance here may refer to the straight-line distance between two reference sampling points, and the filling weight may be determined based on the distance between the filling reference sampling point and the second reference sampling point. Since the distance between the second reference sampling point and the second reference sampling point is greater, The correlation between distant filling reference sampling points is smaller, so the farther away the filling reference sampling points are, the smaller the filling weight can be set, so that the filling weight decreases as the distance increases.
- the filling reference sampling point with strong correlation can play a greater role in adjusting the difference between the second reference sampling point and the sampling points in the partition, and obtain better results. Filling quality, thereby better reducing residuals and improving encoding quality.
- the first reference sampling point includes a first reference sampling point adjacent to the first boundary of the target image block, and/or a first reference sampling point adjacent to the second boundary of the target image block.
- the first boundary is the upper boundary and the second boundary is the left boundary.
- the first reference sampling points can be divided into two categories according to their proximity to the boundary of the target image block, namely, the first reference sampling points adjacent to the upper boundary and the first reference sampling points adjacent to the left boundary.
- the available reference sampling points (ie, the first reference sampling points) in the B partition include reference sampling points that are not adjacent to either the A or B partitions.
- the at least one filling reference sampling point includes the first filling reference sample among the first reference sampling points adjacent to the first boundary. point, and/or a second filled reference sample point among the first reference sample points adjacent to the second boundary. That is to say, at least one filling reference sampling point includes a first filling reference sampling point and a second filling reference sampling point, and the first filling reference sampling point is one or more of the first reference sampling points adjacent to the upper boundary, The second filling reference sample point is one or more of the first reference sample points adjacent to the left boundary.
- the filling value of the second reference sampling point can optionally be determined based on the sampling value of the first filling reference sampling point and the first filling reference sampling point.
- the corresponding boundary includes the first boundary and/or the second boundary of the target image block.
- the first boundary is the upper boundary and the second boundary is the left boundary.
- the filling value determination for the second reference sampling point includes any one or more of the following situations: determining the filling value based on the sampling value of the first filling reference sampling point and the filling weight of the first filling reference sampling point and The filling value of the second reference sampling point adjacent to the first boundary; the filling value of the second reference sampling point adjacent to the second boundary is determined based on the sampling value of the second filling reference sampling point and the filling weight of the second filling reference sampling point.
- Recharge determine all second reference samples based on the sampling value of the first filling reference sampling point and the filling weight of the first filling reference sampling point, and the sampling value of the second filling reference sampling point and the filling weight of the second filling reference sampling point.
- Filling values of points, all second reference sample points include second reference sample points adjacent to the first boundary, and/or second reference samples adjacent to the second boundary.
- At least one filling reference sampling point includes a first filling reference sampling point and a second filling reference sampling point.
- the first filling reference sampling point includes 3 adjacent available reference sampling points among the available reference sampling points adjacent to the upper boundary of the B partition (the available reference sampling point is the first reference sampling point), and the left boundary of the B partition Among the three adjacent available reference sampling points, these filling sampling points are adjacent to the unavailable reference sampling point (ie, the second reference sampling point).
- the first filling reference sampling point may be used to fill the first reference sampling point adjacent to the upper boundary of the A partition, and the filling values of each first reference sampling point adjacent to the upper boundary of the A partition are the same.
- Second fill reference The sampling points can be used to fill the first reference sampling points adjacent to the left boundary of the A partition, and the filling values of each first reference sampling point adjacent to the left boundary of the A partition are the same.
- At least one filling reference sampling point also includes a first filling reference sampling point and a second filling reference sampling point;
- the first filling reference sampling point includes available references that are not adjacent to each other and adjacent to the upper boundary.
- the sampling points, the second filling reference sampling points include available reference sampling points that are not adjacent to each other and adjacent to the left boundary.
- the second reference sampling point on the same boundary can be filled according to the first filling reference sampling point: the filling value is obtained by performing a weighted sum of the filling weight and the sampling value of the first filling reference sampling point to fill the second reference sampling point. .
- the finally obtained sample value of the filled second reference sampling point on the boundary is the same.
- the sampling value of the first filling reference sampling point may also be directly used as the filling value, and the filling may be alternately performed in a preset direction.
- the first filling reference sampling point includes sampling points 1, 2, and 3, then the sampling value of sampling point 1 can be filled to the first second reference sampling point from right to left, and the sampling value of sampling point 2 can be filled from right to left.
- the second second reference sampling point to the left, the sampling value of sampling point 2 fills the third second reference sampling point from right to left, and sampling point 1 then fills the fourth second reference sample from right to left. points, looping in turn until the second reference sampling point adjacent to the upper boundary is filled.
- the filling value of the second reference sampling point is also the average value between the first filling reference sampling point and the second filling reference sampling point.
- the first filling reference sampling point and the second filling reference sampling point have different distances from the second reference sampling point to be filled, and the set filling weights are also different.
- S7023 Fill the second reference sampling point based on the filling value to obtain a filled reference sampling point.
- the filling of the second reference sampling point based on the filling value may be a process of assignment, for example, assigning the sampling value of the nearest first reference sampling point to the second reference point, or assigning the sampling value of at least one adjacent first reference sampling point to the second reference point.
- the average sampling value is assigned to the second reference sampling point to obtain the filled reference sampling point.
- the sample value in the filled reference sampling point is the filling value.
- the prediction result set of the corresponding partition of the target image block may be determined based on the first reference sampling point and the filled reference sampling points. In this way, when determining the prediction result set corresponding to the partition of the target image block, even if there are unavailable reference sampling points (ie, the second reference sampling point), by processing the unavailable reference sampling points, compared with using without doing anything In the case of prediction based on the second reference point, the unsatisfactory prediction results will be effectively improved.
- the solution provided by the embodiment of the present application can also be applied to non-square coding blocks. Since the non-square coding blocks adopt the wide-angle intra prediction mode, when the coding block adopts the GPM mode, the wide-angle intra prediction mode It can also be combined with GPM mode, thereby expanding the types of intra prediction modes combined with GPM mode.
- the intra prediction mode corresponding to the intra prediction direction indicated by the dotted arrow is the wide-angle intra prediction mode.
- the image processing solution provided by the embodiment of the present application predicts the target image block using the second prediction mode (such as intra prediction mode), it can determine the first reference sampling point corresponding to the partition using the second prediction mode. and/or second reference sampling points.
- These reference sampling points include available reference sampling points and unavailable reference sampling points. Filling the unavailable reference sampling points with the available reference sampling points can reduce the original unavailable reference sampling points.
- the difference in the original value between the reference sampling point and the sampling point in the partition using the second prediction mode, in the actual use process turns the originally unavailable reference sampling point into an available reference sampling point, and predicts the image block used in the process to obtain smaller residuals and improve coding quality. In this way, the poor processing effect of the original second prediction mode has been effectively improved.
- Any type of second prediction mode does not have to be limited to scenarios with poor prediction effects, so that multiple types of second prediction modes can be used.
- the selection range of prediction modes is enlarged, the flexibility is higher, and the encoding quality can be ensured.
- the intra prediction mode available for the target image block in GPM mode can be effectively expanded by ensuring the coding quality, the combination of GPM mode and intra prediction mode is more flexible, thus achieving a balance between flexibility and coding quality. Better balance.
- Figure 10 is a schematic flowchart of an image processing method according to a fourth embodiment.
- the execution subject in this embodiment can be a computer device or a cluster composed of multiple computer devices.
- the computer device can It may be an intelligent terminal (such as the aforementioned mobile terminal 100), or it may be a server.
- the execution subject in this embodiment is an intelligent terminal as an example for explanation.
- an optional implementation of step S1001 may be: determining the target reference sampling point through the positional relationship between the reference sampling point and the sampling point in the image block partition.
- the image block refers to the image block currently being encoded in the input video image (ie, the video frame), which may be referred to as the current block or the current image block or the current coding block.
- the image block here corresponds to the target image block mentioned in the foregoing embodiment.
- the image block may be a target image block.
- the image block partition is an image area divided by a dividing line used by the image block.
- the image block partition includes a first partition and/or a second partition.
- the sampling points in the image block partition include sampling points of the first partition and/or Sampling points for the second partition.
- the reference sampling points include coded sampling points adjacent to the image block partition and/or coded sampling points adjacent to the reference image block where the image block is located.
- the reference image block is a coding tree unit.
- the reference image block includes at least one image block. When at least one image block is sequentially encoded, the encoding of the reference image block is completed, as shown in FIG. 6d above.
- the positional relationship between the reference sampling point and the sampling point in the image block partition can be a relative orientation relationship, or can also be characterized by distance information. Whether the reference sampling point is available or unavailable for the image block partition can be determined based on the positional relationship between the reference sampling point and the sampling point of the image block partition, and then the target reference sampling point can be determined.
- the target reference sampling points may include reference sampling points that are available in the image block partition and/or reference sampling points that are unavailable in the image block partition.
- determining the target reference sampling point through the positional relationship between the reference sampling point and the sampling point in the image block partition may include the following steps 1) and 2):
- the at least one boundary sampling point includes a first boundary sampling point and/or a second boundary sampling point.
- the at least one boundary sampling point includes the first boundary.
- the first boundary is the upper boundary
- the second boundary is the left boundary
- the first boundary sampling point is the upper boundary sampling point
- the second boundary sampling point is the left boundary sampling point.
- the method of determining at least one boundary sampling point includes: determining a dividing line equation according to a target division mode parameter of an image block; determining at least one boundary sampling point based on a boundary reference point and the dividing line equation.
- At least one boundary sampling point includes a first boundary sampling point and/or a second boundary sampling point.
- Optional implementations of step 2) include: determining a first coordinate range based on the first boundary sampling point, and/or determining a second coordinate range based on the second boundary sampling point; The target reference sampling point is determined based on the positional relationship between a coordinate range, and/or based on the positional relationship between the reference sampling point and the second coordinate range.
- the first coordinate range and/or the second coordinate range are used to delimit the sampling area of the target reference sampling point.
- the area where the reference sampling point of the upper side point is located is determined as the first coordinate range.
- the target reference sampling point includes a first reference sampling point and/or a second reference sampling point, and the sampling values of the target reference sampling point are different for different partitions of the image block.
- the reference sampling point within the first coordinate range can be used as the first reference sampling point
- the reference sampling point within the second coordinate range can be used as the first reference sampling point. point as the second reference sampling point.
- determining the target reference sampling point through the positional relationship between the reference sampling point and the sampling point in the image block partition may include the following steps: determining the partition range according to the sampling point in the image block partition; according to the reference sampling point and the The location relationship within the partition range determines the target reference sampling point.
- the partition range can be delimited based on the sampling points on the boundary in the image block partition. For example, when the dividing line used by the image block passes through the specified boundary (including the first boundary and/or the second boundary), the dividing line can be based on the location of the dividing line in the image block.
- the boundary sampling point and the critical sampling point on the specified boundary determine the partition range.
- the critical sampling point refers to the sampling point at the edge of the image block, such as the critical sampling point included in Figure 8b above.
- the range value of the partition range along the specified boundary can be determined based on the different position coordinates of the boundary sampling point and the critical sampling point.
- the target reference sampling point includes a first reference sampling point and/or a second reference sampling point, which may be adjacent to the image block partition or not adjacent to the image block partition.
- a first reference sampling point and/or a second reference sampling point which may be adjacent to the image block partition or not adjacent to the image block partition.
- the target reference sampling point includes a first reference sampling point and/or a second reference sampling point
- the first reference sampling point is adjacent to the corresponding partition and not adjacent to another partition
- the second reference sampling point is not adjacent to the corresponding partition and adjacent to the other partition;
- the positional relationship of the first reference sampling point relative to the corresponding partition is different from the positional relationship of the second reference sampling point relative to the corresponding partition;
- the first reference sampling point or the second reference sampling point is a pixel point adjacent to the coding tree unit where the target image block is located and not adjacent to the target image block.
- S1002 Determine a prediction result set based on the target reference sampling point and the preset prediction mode.
- a prediction result set of the image block may be determined based on the target reference sampling point and the preset prediction mode.
- the prediction result set is used to determine the prediction result of the image block.
- the prediction result set is used to determine the prediction result of the image block.
- the prediction result set includes a first prediction result set and/or a second prediction result set.
- the first prediction result set and/or the second prediction result set can be obtained according to the preset prediction modes used in different partitions of the image block.
- the prediction result of the image block can be determined based on the first prediction result set and/or the second prediction result set.
- the image processing solution provided by this embodiment determines the target reference sampling point through a preset strategy.
- the prediction strategy may refer to whether the positional relationship between the reference sampling point and the image block partition sampling point meets the conditions. When the conditions are met, for example, the reference sampling point The point is adjacent to the corresponding partition of the image block, and is the target reference sampling point for this partition.
- the target reference sampling points can be used to determine the reference sampling points that are available or unavailable for the image block partition, and in the preset prediction mode, an accurate prediction result set can be obtained based on the target reference sampling points, thereby improving the quality of the prediction results.
- Figure 11 is a schematic flow chart of an image processing method according to the fifth embodiment.
- the execution subject in this embodiment can be a computer device or a cluster composed of multiple computer devices.
- the computer device can It may be an intelligent terminal (such as the aforementioned mobile terminal 100), or it may be a server.
- the execution subject in this embodiment is an intelligent terminal as an example for explanation.
- a preset prediction mode may be determined according to prediction mode indication information of an image block, and a prediction result set may be determined according to the preset prediction mode and the target reference sampling point.
- the prediction mode indication information of the image block includes prediction mode indication information used to indicate the prediction mode used by the first partition, and/or prediction information used to indicate the prediction mode used by the second partition.
- Mode indication information may be a tag or index of the prediction mode type used by the corresponding partition of the target image block at the encoding end, and may be used at the encoding end or the decoding end.
- the preset prediction mode is: the prediction mode used by the partitions divided by the dividing lines in the image block and/or the prediction mode used by the adjacent image blocks.
- the prediction modes used by the partitions divided by the dividing lines in the target image block include any of the following: prediction modes used by adjacent image blocks, and the prediction mode used by at least one adjacent image block has a usage number greater than or Prediction mode equal to preset threshold.
- the prediction mode used by the adjacent image block may be used as the prediction mode used by the partition divided by the dividing line in the target image block.
- the prediction mode that is used the most or more frequently among the prediction modes used by at least one adjacent image block may be used as the prediction mode used by the partitions divided by the dividing lines in the target image.
- the prediction mode used by the partitions divided by the dividing lines in the target image can be obtained through other methods.
- the preset prediction mode may also be determined by calculating the rate distortion cost.
- the preset prediction mode may include the prediction mode used by the first partition and/or the prediction mode used by the second partition, and the prediction mode includes the third partition.
- a prediction mode and/or a second prediction mode For example, if the image block partition includes a first partition and a second partition, then there is any of the following situations: both partitions use the first prediction mode; both partitions use Second prediction mode; one partition uses the first prediction mode and the other partition uses the second prediction mode.
- the prediction mode used by the adjacent image block can be used as a reference for the image block currently being encoded. For example, if the adjacent image block uses the first prediction mode, the currently encoded image block can also directly use the first prediction mode.
- the prediction mode is the prediction mode used by the partitions divided by the dividing lines in the image block.
- the prediction mode is the prediction mode used by the partitions divided by the dividing lines in the image block.
- the prediction mode includes the first prediction mode and/or the second prediction mode, determine a prediction result set corresponding to the partition of the image block based on the motion vector and/or the target reference sampling point.
- the prediction mode includes the second prediction mode
- a set of prediction results for the corresponding partition of the image block is determined according to the target reference sampling point.
- the second prediction mode is an intra prediction mode.
- the target reference sampling point includes a first reference sampling point and a second reference sampling point
- determining a prediction result set corresponding to the partition of the image block based on the target reference sampling point includes: The second reference sampling point is filled to obtain a filled reference sampling point; and a prediction result set corresponding to the partition of the image block is determined based on the first reference sampling point and the filled reference sampling point.
- the second reference sampling point is unavailable for the image block corresponding partition using the second prediction mode
- the first reference sampling point is available for the image block corresponding partition using the second prediction mode
- use the available reference sampling points to fill the unavailable reference sampling points, and determine the prediction result set corresponding to the partition of the image block based on the filled reference sampling points and the available reference sampling points, which can reduce the number of unavailable reference sampling points.
- the filling method for the second reference sampling point may include: determining at least one filling reference sampling point in the first reference sampling point; determining the filling reference sampling point based on the sample value of the at least one filling reference sampling point. filling value of the second reference sampling point; filling the second reference sampling point based on the filling value to obtain a filled reference sampling point.
- a filling weight can be introduced for different filling reference samples to determine the filling value: based on the relationship between each of the at least one filling reference sampling point and the The positional relationship between the second reference sampling points determines the filling weight of each filling reference sampling point; the filling value of the second reference sampling point is determined based on the filling weight and the sampling value of each filling reference sampling point.
- the padding weight decreases with distance.
- filling reference sampling points with strong correlation can be used to make the filling reference sampling points play a greater role in adjusting the difference between the second reference sampling point and the sampling points in the partition. , obtain better filling quality, thereby better reducing residual errors and improving coding quality.
- the positional relationship includes the distance between each of the at least one filling reference sampling point and the second reference sampling point; the first reference sampling point includes the distance between the first reference sampling point and the target image block.
- Determining the filling value of the second reference sampling point based on the filling weight and the sampling value of each filling reference sampling point includes: based on the sampling value of the first filling reference sampling point and the first filling The filling weight of the reference sampling point, and/or, the sampling value of the second filling reference sampling point and the filling weight of the second filling reference sampling point, determine the filling weight of the second reference sampling point adjacent to the corresponding boundary. Fill value.
- the prediction mode includes the first prediction mode
- a set of prediction results for the partition corresponding to the image block is determined according to the motion vector.
- the motion vector includes a first running vector and/or a second motion vector.
- the type of the first prediction mode includes a bidirectional prediction mode and/or a unidirectional prediction mode.
- the prediction result set of the corresponding partition of the image block can be determined according to the first motion vector and the second motion vector
- the prediction result set of the corresponding partition of the image block may be determined according to the first motion vector or the second motion vector.
- the prediction mode includes a first prediction mode and a second prediction mode
- a set of prediction results for the partition corresponding to the image block is determined based on the motion vector
- a prediction result set for the partition corresponding to the image block is determined based on the target reference sampling point.
- Result collection refers to the motion vector of the image block partition using the first prediction mode
- the target reference sampling point is the reference sampling point corresponding to the image block partition using the second prediction mode.
- the image block partition using the first prediction mode is different from the image block partition using the second prediction mode.
- S1102 Determine the prediction result set of the image block according to the prediction result set of the corresponding partition of the image block.
- the prediction result set of the corresponding partition of the image block includes a first prediction result set of the first partition and/or a second prediction result set of the second partition.
- the first prediction result set may be obtained through the first prediction mode or the second prediction mode.
- the second prediction result set may also be obtained through the first prediction mode or the second prediction mode.
- the image block shown in FIG. 8c includes A partition and B partition, the first prediction mode is the inter prediction mode, and the second prediction mode is the intra prediction mode.
- the process of determining the first prediction result set and the second prediction result set of the current block includes the following content: For using intra prediction partition, after determining the target reference sampling point of the partition, use the specifically used intra prediction mode type to determine the intra prediction value of the current block, and obtain the first prediction value set, which is a set of intra prediction values.
- the predicted set of predicted values depending on the partition using the intra prediction mode, can use the first set of predicted values as the first set of prediction results or the second set of prediction results.
- the first set of predicted values can be used as the first set of prediction results.
- the inter prediction motion vector corresponding to the partition is obtained through the spatial domain merging candidate list, and then the inter prediction motion vector of the current block with respect to the inter prediction motion vector is determined. Predicted values, thereby obtaining a second set of predicted values.
- the first set of predicted values is a set of predicted values related to intra prediction.
- the process of determining the first prediction value set and the second prediction value set of the current block includes the following content: if both the A partition and the B partition perform intra prediction, determine respectively The respective reference sampling points and unavailable reference sampling points of partition A and partition B. After each unavailable reference sampling point is filled with the respective nearest available reference sampling point, the intra prediction mode type determined by each partition and the respective final reference sampling point are respectively used to determine the current block for each partition. The intra prediction value corresponding to the determined intra prediction mode type is used to obtain a first prediction result set and a second prediction result set.
- the first prediction result set and the second prediction result set are both obtained through intra-frame prediction.
- the first prediction result set and the second prediction result set may be prediction value sets related to intra-frame prediction.
- these unavailable reference sampling points are Reference sampling assigns new sample values based on the sample values of available reference sample points, which can make the difference between the sample values of these reference sample points and the original values of the sample points in the partition where the second prediction (such as intra prediction) is performed is small, so the corresponding The resulting residuals are smaller and the coding quality is higher.
- the types of second prediction modes (such as intra prediction modes) that can be combined with the division mode of image blocks (such as GPM mode) are expanded, thereby making prediction according to the second prediction mode in the division mode flexible. The accuracy and quality of prediction results are improved.
- Figure 12 is a schematic structural diagram of an image processing device according to an embodiment of the present application.
- the image processing device can be a computer program (including program code) running in a server.
- the image processing device is an application.
- Software this device can be used to execute corresponding steps in the method provided by the embodiments of this application.
- the image processing device 1200 includes: a determination module 1201 and a filling module 1202.
- the determination module 1201 is configured to determine a prediction result set of a corresponding partition in a target image block according to a preset prediction mode, and the prediction result set is used to determine a prediction result of the target image block.
- the target image block includes a first partition and/or a second partition, and the first partition and/or the second partition are image areas divided by dividing lines;
- the preset prediction mode includes the The prediction mode used by the partitions divided by the dividing lines in the target image block;
- the prediction result set includes a first prediction result set of the first partition and/or a second prediction result set of the second partition.
- the determination module 1201 is further configured to: determine a target division mode parameter of the target image block according to the first division mode set; the target division mode parameter includes a parameter used to indicate the corresponding partition in the target image block. Prediction mode indication information for the prediction mode.
- the determination module 1201 is specifically configured to at least one of the following: if the prediction mode is the first prediction mode, determine the corresponding partition in the target image block according to the motion vector of the corresponding partition in the target image block. A set of prediction results of the partition; if the prediction mode is the second prediction mode, the set of prediction results of the corresponding partition in the target image block is determined according to the target reference sampling point of the corresponding partition in the target image block.
- the determination module 1201 is specifically configured to: determine the first motion vector and/or the second motion vector of the corresponding partition in the target image block according to the merge candidate list of the target image block; A motion vector and/or the second motion vector determines a prediction result set of a corresponding partition in the target image block.
- the target reference sampling point includes a first reference sampling point and/or a second reference sampling point.
- the first reference sampling point and the second reference sampling point are different;
- the first reference sampling point is adjacent to the corresponding partition and not adjacent to another partition
- the second reference sampling point is not adjacent to the corresponding partition and adjacent to the other partition;
- the first reference sampling point or the second reference sampling point is a pixel point adjacent to the coding tree unit where the target image block is located and not adjacent to the target image block.
- the determination module 1201 is specifically configured to: determine the first reference sampling point and/or the second reference sampling point of the corresponding partition in the target image block; according to the first reference sampling point and/or the The second reference sampling point determines the prediction result set of the corresponding partition in the target image block.
- the determination module 1201 is specifically configured to: based on the positional relationship between the corresponding partition in the target image block and the boundary sampling point of the dividing line used in the target image block in the target image block, Determine the first reference sampling point and/or the second reference sampling point of the corresponding partition in the target image block.
- the determination module 1201 is specifically configured to at least one of the following: when the dividing line used by the target image block passes through the first boundary of the target image block, determine that the boundary sampling point includes the first boundary. Sampling point; when the dividing line used by the target image block passes through the second boundary of the target image block, it is determined that the boundary sampling point includes the second boundary sampling point.
- the determination module 1201 is further configured to determine a dividing line equation according to the target division mode parameter of the target image block; and determine at least one boundary sampling point according to a boundary reference point and the dividing line equation.
- the determination module 1201 is specifically configured to: determine the first coordinate range and/or the second coordinate range according to the at least one boundary sampling point; The range determines the first reference sampling point and/or the second reference sampling point.
- the determination module 1201 is specifically configured to: determine the partition range of the corresponding partition in the target image block based on the distance between the sampling point of the corresponding partition in the target image block and the dividing line; based on the first The coordinate range of the sampling point and the partition range determine the first reference sampling point and/or the second reference sampling point of the corresponding partition in the target image block; or, based on the first sampling point adjacent to the target image block The distance information from the dividing line determines that the first sampling point is the first reference sampling point or the second reference sampling point of the corresponding partition in the target image block.
- the filling module 1202 is configured to: fill the second reference sampling point according to the first reference sampling point to obtain a filled reference sampling point; according to the first reference sampling point and the The filled reference sampling points determine the prediction result set of the corresponding partition of the target image block.
- the filling value of the second reference sampling point is determined based on the sampling value of the at least one filling reference sampling point; the second reference sampling point is filled based on the filling value to obtain a filled reference sampling point.
- the first reference sampling point includes a first reference sampling point adjacent to a first boundary of the target image block, and/or a first reference sampling point adjacent to a second boundary of the target image block;
- the at least one filling reference sampling point includes a first filling reference sampling point among the first reference sampling points adjacent to the first boundary, and/or one of the first reference sampling points adjacent to the second boundary.
- the filling module 1202 is specifically configured to: based on the sampling value of the first filling reference sampling point and the filling weight of the first filling reference sampling point, and/or, the sampling value of the second filling reference sampling point and the filling weight of the first filling reference sampling point.
- the filling weight of the second filling reference sampling point determines the filling value of the second reference sampling point adjacent to the corresponding boundary.
- the image processing device 1200 shown in FIG. 12 can also be used for the content included in the following image processing method.
- Determination module 1201 used to determine the target reference sampling point through a preset strategy
- the determination module 1201 is also used to determine a prediction result set according to the target reference sampling point and the preset prediction mode.
- the determination module 1201 is specifically configured to determine the target reference sampling point through the positional relationship between the reference sampling point and the sampling point in the image block partition.
- the determination module 1201 is specifically configured to: determine at least one boundary sampling point from the sampling points of the image block partition; determine the target reference sample according to the positional relationship between the reference sampling point and the at least one boundary sampling point. point.
- the at least one boundary sampling point includes a first boundary sampling point and/or a second boundary sampling point
- the determination module 1201 is specifically configured to: determine a first coordinate range according to the first boundary sampling point, and/ Or, determine the second coordinate range according to the second boundary sampling point;
- the target reference sampling point is determined according to the positional relationship between the reference sampling point and the first coordinate range, and/or according to the positional relationship between the reference sampling point and the second coordinate range.
- the determination module 1201 is specifically configured to: determine the partition range according to the sampling points in the image block partition; and determine the target reference sampling point according to the positional relationship between the reference sampling point and the partition range.
- the determination module 1201 is specifically configured to: determine a preset prediction mode according to the prediction mode indication information of the image block; and determine a prediction result set according to the preset prediction mode and the target reference sampling point.
- the preset prediction mode is at least one of the following: a prediction mode used by partitions divided by dividing lines in the image block and/or a prediction mode used by adjacent image blocks.
- the determination module 1201 is specifically configured to: if the prediction mode includes a first prediction mode and/or a second prediction mode, determine the partition corresponding to the image block according to the motion vector and/or the target reference sampling point.
- Prediction result set determine the prediction result set of the image block according to the prediction result set of the corresponding partition of the image block.
- the target reference sampling point includes a first reference sampling point and/or a second reference sampling point
- the first reference sampling point is adjacent to the corresponding partition and not adjacent to another partition
- the second reference sampling point is not adjacent to the corresponding partition and adjacent to the other partition;
- the positional relationship of the first reference sampling point relative to the corresponding partition is different from the positional relationship of the second reference sampling point relative to the corresponding partition;
- the first reference sampling point or the second reference sampling point is a pixel point adjacent to the coding tree unit where the target image block is located and not adjacent to the target image block.
- the filling module 1202 is specifically configured to: if the prediction mode includes a second prediction mode, fill the second reference sampling point according to the first reference sampling point to obtain a filled reference Sampling point; determine the image block according to the first reference sampling point and the filled reference sampling point The set of prediction results corresponding to the partition.
- An embodiment of the present application also provides an intelligent terminal.
- the intelligent terminal includes a memory and a processor.
- An image processing program is stored on the memory. When the image processing program is executed by the processor, the steps of the image processing method in any of the above embodiments are implemented.
- the smart terminal may be the mobile terminal 100 as shown in FIG. 1 .
- the processor 110 of the mobile terminal 100 as shown in FIG. 1 can be used to call the image processing program stored in the memory 109 to perform the following operations: determine the corresponding target image block in the target image block according to the preset prediction mode. A set of prediction results of the partition, the set of prediction results is used to determine the prediction result of the target image block.
- the target image block includes a first partition and/or a second partition, and the first partition and/or the second partition are image areas divided by dividing lines;
- the preset prediction mode includes the The prediction mode used by the partitions divided by the dividing lines in the target image block;
- the prediction result set includes a first prediction result set of the first partition and/or a second prediction result set of the second partition.
- the processor 110 is further configured to: determine a target division mode parameter of the target image block according to the first division mode set; the target division mode parameter includes a parameter used to indicate the corresponding partition in the target image block. Prediction mode indication information for the prediction mode.
- the processor 110 is specifically configured to at least one of the following: if the prediction mode is the first prediction mode, determine the corresponding partition in the target image block according to the motion vector of the corresponding partition in the target image block. A set of prediction results of the partition; if the prediction mode is the second prediction mode, the set of prediction results of the corresponding partition in the target image block is determined according to the target reference sampling point of the corresponding partition in the target image block.
- the processor 110 is specifically configured to: determine the first motion vector and/or the second motion vector of the corresponding partition in the target image block according to the merge candidate list of the target image block; A motion vector and/or the second motion vector determines a prediction result set of a corresponding partition in the target image block.
- the target reference sampling point includes a first reference sampling point and/or a second reference sampling point.
- the first reference sampling point and the second reference sampling point are different;
- the first reference sampling point is adjacent to the corresponding partition and not adjacent to another partition
- the second reference sampling point is not adjacent to the corresponding partition and adjacent to the other partition;
- the positional relationship of the first reference sampling point relative to the corresponding partition is different from the positional relationship of the second reference sampling point relative to the corresponding partition;
- the first reference sampling point or the second reference sampling point is a pixel point adjacent to the coding tree unit where the target image block is located and not adjacent to the target image block.
- the second prediction mode includes at least one type of second prediction mode. If the prediction mode is the second prediction mode, the processor 110 is further configured to: select the second prediction mode from the at least one type of second prediction mode. Among the two prediction modes, a second prediction mode of a target type used in a partition corresponding to the target image block is determined, and the second prediction mode of the target type is used to determine a prediction result set of the target image block.
- the processor 110 is specifically configured to: determine the first reference sampling point and/or the second reference sampling point of the corresponding partition in the target image block; according to the first reference sampling point and/or the The second reference sampling point determines the prediction result set of the corresponding partition in the target image block.
- the processor 110 is specifically configured to: based on the positional relationship between the corresponding partition in the target image block and the boundary sampling point of the dividing line used in the target image block in the target image block, Determine the first reference sampling point and/or the second reference sampling point of the corresponding partition in the target image block.
- the processor 110 is specifically configured to: determine the boundary through which the dividing line used by the target image block passes according to the boundary mapping table; determine the boundary sampling point according to the boundary through which the dividing line passes.
- the processor 110 is specifically configured to at least one of the following: when the dividing line used by the target image block passes through the first boundary of the target image block, determine that the boundary sampling point includes the first boundary Sampling point; when the dividing line used by the target image block passes through the second boundary of the target image block, it is determined that the boundary sampling point includes the second boundary sampling point.
- the processor 110 is further configured to determine a dividing line equation according to a target division mode parameter of the target image block; and determine at least one boundary sampling point according to a boundary reference point and the dividing line equation.
- the processor 110 is specifically configured to: determine a first coordinate range and/or a second coordinate range according to the at least one boundary sampling point; The range determines the first reference sampling point and/or the second reference sampling point.
- the processor 110 is specifically configured to: determine the partition range of the corresponding partition in the target image block based on the distance between the sampling point of the corresponding partition in the target image block and the dividing line; based on the first The coordinate range of the sampling point and the partition range determine the first reference sampling point and/or the second reference sampling point of the corresponding partition in the target image block; or, based on the first sampling point adjacent to the target image block The distance information from the dividing line determines that the first sampling point is the first reference sampling point or the second reference sampling point of the corresponding partition in the target image block.
- the processor 110 is configured to: fill the second reference sampling point according to the first reference sampling point to obtain a filled reference sampling point; according to the first reference sampling point and the The filled reference sampling points determine the prediction result set of the corresponding partition of the target image block.
- the processor 110 is specifically configured to: determine at least one filling reference sampling point in the first reference sampling point;
- the filling value of the second reference sampling point is determined based on the sampling value of the at least one filling reference sampling point; the second reference sampling point is filled based on the filling value to obtain a filled reference sampling point.
- the processor 110 is specifically configured to: determine the filling weight of each filling reference sampling point based on the positional relationship between each filling reference sampling point and the second reference sampling point; based on the filling weight and the sampling values of each filling reference sampling point to determine the filling value of the second reference sampling point.
- the positional relationship includes the distance between each of the filling reference sampling points and the second reference sampling point
- the first reference sampling point includes a first reference sampling point adjacent to a first boundary of the target image block, and/or a first reference sampling point adjacent to a second boundary of the target image block;
- the at least one filling reference sampling point includes a first filling reference sampling point among the first reference sampling points adjacent to the first boundary, and/or one of the first reference sampling points adjacent to the second boundary.
- the processor 110 is specifically configured to: based on the sampling value of the first filling reference sampling point and the filling weight of the first filling reference sampling point, and/or, the sampling value of the second filling reference sampling point and the filling weight of the first filling reference sampling point.
- the filling weight of the second filling reference sampling point determines the filling value of the second reference sampling point adjacent to the corresponding boundary.
- the processor 110 of the mobile terminal 100 as shown in FIG. 1 can be used to call an image processing program stored in the memory 109 to perform the following operations: determine the target reference sampling through a preset strategy point; determine a prediction result set according to the target reference sampling point and the preset prediction mode.
- the processor 110 is specifically configured to: determine the target reference sampling point through the positional relationship between the reference sampling point and the sampling point in the image block partition.
- the processor 110 is specifically configured to: determine at least one boundary sampling point from the sampling points of the image block partition; determine the target reference sample according to the positional relationship between the reference sampling point and the at least one boundary sampling point. point.
- the at least one boundary sampling point includes a first boundary sampling point and/or a second boundary sampling point
- the processor 110 is specifically configured to: determine a first coordinate range according to the first boundary sampling point, and/ Or, determine the second coordinate range according to the second boundary sampling point;
- the target reference sampling point is determined according to the positional relationship between the reference sampling point and the first coordinate range, and/or according to the positional relationship between the reference sampling point and the second coordinate range.
- the processor 110 is specifically configured to: determine the partition range according to the sampling points in the image block partition; and determine the target reference sampling point according to the positional relationship between the reference sampling point and the partition range.
- the processor 110 is specifically configured to: determine a preset prediction mode according to the prediction mode indication information of the image block; and determine a prediction result set according to the preset prediction mode and the target reference sampling point.
- the preset prediction mode is at least one of the following: a prediction mode used by partitions divided by dividing lines in the image block and/or a prediction mode used by adjacent image blocks.
- the processor 110 is specifically configured to: if the prediction mode includes a first prediction mode and/or a second prediction mode, determine the partition corresponding to the image block according to the motion vector and/or the target reference sampling point.
- Prediction result set determine the prediction result set of the image block according to the prediction result set of the corresponding partition of the image block.
- the target reference sampling point includes a first reference sampling point and/or a second reference sampling point
- the first reference sampling point is adjacent to the corresponding partition and not adjacent to another partition
- the positional relationship of the first reference sampling point relative to the corresponding partition is different from the positional relationship of the second reference sampling point relative to the corresponding partition;
- the first reference sampling point or the second reference sampling point is a pixel point adjacent to the coding tree unit where the target image block is located and not adjacent to the target image block.
- the processor 110 is specifically configured to: if the prediction mode includes a second prediction mode, fill the second reference sampling point according to the first reference sampling point to obtain a filled reference Sampling points; determine a prediction result set corresponding to the partition of the image block based on the first reference sampling point and the filled reference sampling point.
- the mobile terminal described in the embodiments of this application can execute the method description in any of the above embodiments, and can also execute the description of the image processing device in the above corresponding embodiment, which will not be described again here. In addition, the description of the beneficial effects of using the same method will not be described again.
- Embodiments of the present application also provide a computer-readable storage medium.
- An image processing program is stored on the storage medium.
- the image processing program is executed by a processor, the steps of the image processing method in any of the above embodiments are implemented.
- FIG 13 is a schematic diagram of the hardware structure of a controller according to an embodiment of the present application.
- the controller 140 includes: a memory 1401 and a processor 1402.
- the memory 1401 is used to store program instructions.
- the processor 1402 is used to call the program instructions in the memory 1401 to execute the steps performed by the controller in the above method embodiment. Its implementation principle and The beneficial effects are similar and will not be described again here.
- the above-mentioned controller also includes a communication interface 1403, which can be connected to the processor 1402 through a bus 1404.
- the processor 1402 can control the communication interface 1403 to implement the receiving and sending functions of the controller 140.
- FIG 14 is a schematic diagram of the hardware structure of a network node according to an embodiment of the present application.
- the network node 150 includes: a memory 1501 and a processor 1502.
- the memory 1501 is used to store program instructions.
- the processor 1502 is used to call the program instructions in the memory 1501 to execute the steps performed by the first node in the above method embodiment. Its implementation principle and The beneficial effects are similar and will not be described again here.
- the above-mentioned network node also includes a communication interface 1503, which can be connected to the processor 1502 through a bus 1504.
- the processor 1502 can control the communication interface 1503 to implement the receiving and transmitting functions of the network node 150 .
- Embodiments of the present application also provide a computer program product.
- the computer program product includes computer program code.
- the computer program code When the computer program code is run on a computer, it causes the computer to execute the methods in the above various possible implementations.
- Embodiments of the present application also provide a chip, which includes a memory and a processor.
- the memory is used to store a computer program.
- the processor is used to call and run the computer program from the memory, so that the device equipped with the chip executes the above various possible implementations. Methods.
- the units in the equipment of the embodiments of this application can be merged, divided, and deleted according to actual needs.
- the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or that contributes to the existing technology.
- the computer software product is stored in one of the above storage media (such as ROM/RAM, magnetic disk, optical disk), including several instructions to cause a terminal device (which can be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present application.
- a computer program product includes one or more computer instructions.
- Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g., computer instructions may be transmitted from a website, computer, server or data center via a wired link (e.g.
- Coaxial cable, optical fiber, digital subscriber line) or wireless means to transmit to another website, computer, server or data center.
- Computer-readable storage media can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or other integrated media that contains one or more available media. Available media may be magnetic media (eg, floppy disks, storage disks, tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), etc.
- the above integrated modules implemented in the form of software function modules can be stored in a computer-readable storage medium.
- the above-mentioned software function modules are stored in a storage medium and include a number of instructions to cause a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute the methods of various embodiments of the present application. Some steps.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
P(xc1,yc1)=f(w11*P11+w12*P12)
P(xc2,yc2)=f(w21*P21+w22*P22)
Claims (26)
- 一种图像处理方法,其中,包括:根据预设预测模式确定目标图像块中对应分区的预测结果集合,所述预测结果集合用于确定所述目标图像块的预测结果。
- 如权利要求1所述的方法,其中,包括以下至少一项:所述目标图像块包括第一分区和/或第二分区,所述第一分区和/或第二分区是由分割线划分得到的图像区域;所述预设预测模式包括所述目标图像块中分割线划分的分区所使用的预测模式;所述预测结果集合包括所述第一分区的第一预测结果集合和/或所述第二分区的第二预测结果集合。
- 如权利要求2所述的方法,其中,所述方法还包括:根据第一划分模式集合确定目标图像块的目标划分模式参数;所述目标划分模式参数包括用于指示所述目标图像块中对应分区所使用的预测模式的预测模式指示信息。
- 如权利要求2所述的方法,其中,所述根据预设预测模式确定目标图像块中对应分区的预测结果集合,包括以下至少一项:若所述预测模式为第一预测模式,则根据所述目标图像块中对应分区的运动矢量确定所述目标图像块中对应分区的预测结果集合;若所述预测模式为第二预测模式,则根据所述目标图像块中对应分区的目标参考采样点确定所述目标图像块中对应分区的预测结果集合。
- 如权利要求4所述的方法,其中,所述根据所述目标图像块中对应分区的运动矢量确定所述目标图像块中对应分区的预测结果集合,包括:根据所述目标图像块的合并候选列表和/或目标参考采样点确定所述目标图像块中对应分区的第一运动矢量和/或第二运动矢量;根据所述第一运动矢量和/或所述第二运动矢量确定所述目标图像块中对应分区的预测结果集合。
- 如权利要求4所述的方法,其中,所述方法还包括以下至少一项:所述目标参考采样点包括第一参考采样点和/或第二参考采样点;所述第二预测模式包括至少一种类型的第二预测模式。
- 如权利要求6所述的方法,其中,所述方法还包括以下至少一项:所述第一参考采样点和所述第二参考采样点不同;所述第一参考采样点与所述对应分区相邻且与另一分区不相邻;所述第二参考采样点与所述对应分区不相邻且与所述另一分区相邻;所述第一参考采样点相对于所述对应分区的位置关系与所述第二参考采样点相对于所述对应分区的位置关系不同;所述第一参考采样点或者所述第二参考采样点为与所述目标图像块所在的编码树单元相邻,且与所述目标图像块不相邻的像素点;若所述预测模式为第二预测模式,则所述方法还包括:从所述至少一种类型的第二预测模式中确定所述目标图像块对应分区所使用的目标类型的第二预测模式,所述目标类型的第二预测模式用于确定所述目标图像块的预测结果集合。
- 如权利要求6所述的方法,其中,所述根据所述目标图像块中对应分区的目标参考采样点确定所述目标图像块中对应分区的预测结果集合,包括以下步骤:S21:确定所述目标图像块中对应分区的第一参考采样点和/或第二参考采样点;S22:根据所述第一参考采样点和/或所述第二参考采样点确定所述目标图像块中对应分区的预测结果集合。
- 如权利要求8所述的方法,其中,所述步骤S21包括以下至少一项:根据所述目标图像块中对应分区与所述目标图像块使用的分割线在所述目标图像块中的边界采样点之间的位置关系,确定所述目标图像块中对应分区的第一参考采样点和/或第二参考采样点;根据所述目标图像块中对应分区的采样点与分割线之间的距离,确定所述目标图像块中对应分区的分区范围,基于第一采样点的坐标范围和所述分区范围确定所述目标图像块中对应分区的第一参考采样点和/或第二参考采样点,或者,基于与所述目标图像块相邻的第一采样点与所述分割线之间的距离信息,确定所述第一采样点为所述目标图像块中对应分区的第一参考采样点或者第二参考采样点。
- 如权利要求9所述的方法,其中,所述方法还包括:根据边界映射表确定所述目标图像块使用的分割线所经过的边界;根据所述分割线所经过的边界确定所述边界采样点。
- 如权利要求10所述的方法,其中,所述根据所述分割线所经过的边界确定所述边界采样点,包括以下至少一项:当所述目标图像块使用的分割线经过所述目标图像块的第一边界时,确定所述边界采样点包括第一边界采样点;当所述目标图像块使用的分割线经过所述目标图像块的第二边界时,确定所述边界采样点包括第二边界采样点。
- 如权利要求10所述的方法,其中,所述边界采样点的确定方式,包括:根据所述目标图像块的目标划分模式参数确定分割线方程;根据边界参考点和所述分割线方程确定至少一所述边界采样点。
- 如权利要求9至12中任一项所述的方法,其中,所述根据所述目标图像块中对应分区与所述目标图像块使用的分割线在所述目标图像块中的边界采样点之间的位置关系,确定所述目标图像块中对应分区的第一参考采样点和/或第二参考采样点,包括:根据所述至少一边界采样点确定第一坐标范围和/或第二坐标范围;根据所述第一坐标范围和/或所述第二坐标范围确定第一参考采样点和/或第二参考采样点。
- 如权利要求8至12中任一项所述的方法,其中,所述步骤S22包括:根据所述第一参考采样点对所述第二参考采样点进行填充,得到填充后的参考采样点;根据所述第一参考采样点和所述填充后的参考采样点确定所述目标图像块对应分区的预测结果集合。
- 如权利要求14所述的方法,其中,所述根据所述第一参考采样点对所述第二参考采样点进行填充,得到填充后的参考采样点,包括:在所述第一参考采样点中确定至少一个填充参考采样点;基于所述至少一个填充参考采样点的采样值确定所述第二参考采样点的填充值;基于所述填充值对所述第二参考采样点进行填充,得到填充后的参考采样点。
- 如权利要求15所述的方法,其中,所述基于所述至少一个填充参考采样点的采样值确定所述第二参考采样点的填充值,包括:基于各个填充参考采样点与所述第二参考采样点之间的位置关系确定所述各个填充参考采样点的填充权重;基于所述填充权重和所述各个填充参考采样点的采样值确定所述第二参考采样点的填充值。
- 如权利要求16所述的方法,其中,包括以下至少一项:所述位置关系包括所述各个填充参考采样点和所述第二参考采样点之间的距离;所述第一参考采样点包括与所述目标图像块的第一边界相邻的第一参考采样点,和/或与所述目标图像块的第二边界相邻的第一参考采样点;所述至少一个填充参考采样点包括与所述第一边界相邻的第一参考采样点中的第一填充参考采样点,和/或与所述第二边界相邻的第一参考采样点中的第二填充参考采样点;所述基于所述填充权重和所述各个填充参考采样点的采样值确定所述第二参考采样点的填充值,包括:基于第一填充参考采样点的采样值和第一填充参考采样点的填充权重,和/或,第二填充参考采样点的采样值和第二填充参考采样点的填充权重,确定与对应边界相邻的所述第二参考采样点的填充值。
- 一种图像处理方法,其中,包括以下步骤:S1:通过预设策略确定目标参考采样点;S2:根据所述目标参考采样点和预设预测模式,确定预测结果集合。
- 如权利要求18所述的方法,其中,所述S1步骤,包括:通过参考采样点与图像块分区中采样点的位置关系确定目标参考采样点。
- 如权利要求19所述的方法,其中,所述通过参考采样点与图像块分区中采样点的位置关系确定目标参考采样点,包括以下至少一项:从图像块分区的采样点中确定至少一边界采样点,根据参考采样点与所述至少一边界采样点之间的位置关系确定目标参考采样点;根据图像块分区中采样点确定分区范围,根据参考采样点和所述分区范围的位置关系确定目标参考采样点。
- 如权利要求20所述的方法,其中,所述至少一边界采样点包括第一边界采样点和/或第二边界采样点,所述根据参考采样点与所述至少一边界采样点之间的位置关系确定目标参考采样点,包括:根据所述第一边界采样点确定第一坐标范围,和/或,根据所述第二边界采样点确定第二坐标范围;根据参考采样点与所述第一坐标范围之间的位置关系,和/或,根据所参考采样点与所述第二坐标范围之间的位置关系,确定目标参考采样点。
- 如权利要求18至21中任一项所述的方法,其中,所述步骤S2包括:根据图像块的预测模式指示信息确定预设预测模式;根据所述预设预测模式和所述目标参考采样点,确定预测结果集合。
- 如权利要求22所述的方法,其中,包括以下至少一项:所述预设预测模式为:图像块中分割线划分的分区所使用的预测模式和/或相邻图像块所使用的预测模式;所述预设预测模式为图像块中分割线划分的分区所使用的预测模式,所述根据所述预设预测模式和所述目标参考采样点,确定预测结果集合,包括:若所述预测模式包括第一预测模式和/或第二预测模式,则根据运动矢量和/或目标参考采样 点,确定图像块对应分区的预测结果集合,根据所述图像块对应分区的预测结果集合确定所述图像块的预测结果集合;所述目标参考采样点包括第一参考采样点和/或第二参考采样点;所述第一参考采样点与所述对应分区相邻且与另一分区不相邻;所述第二参考采样点与所述对应分区不相邻且与所述另一分区相邻;所述第一参考采样点相对于所述对应分区的位置关系与所述第二参考采样点相对于所述对应分区的位置关系不同;所述第一参考采样点或者所述第二参考采样点为与所述目标图像块所在的编码树单元相邻,且与所述目标图像块不相邻的像素点。
- 如权利要求23所述的方法,其中,若所述预测模式包括第二预测模式,则根据所述目标参考采样点确定图像块对应分区的预测结果集合,包括:若所述预测模式包括第二预测模式,则根据所述第一参考采样点对所述第二参考采样点进行填充,得到填充后的参考采样点;根据所述第一参考采样点和所述填充后的参考采样点确定所述图像块对应分区的预测结果集合。
- 一种智能终端,其中,所述智能终端包括:存储器、处理器,其中,所述存储器上存储有图像处理程序,所述图像处理程序被所述处理器执行时实现如权利要求1所述的图像处理方法的步骤。
- 一种计算机可读存储介质,其中,所述存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1所述的图像处理方法的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210491875.0A CN114598880B (zh) | 2022-05-07 | 2022-05-07 | 图像处理方法、智能终端及存储介质 |
| CN202210491875.0 | 2022-05-07 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023216866A1 true WO2023216866A1 (zh) | 2023-11-16 |
Family
ID=81812890
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/090367 Ceased WO2023216866A1 (zh) | 2022-05-07 | 2023-04-24 | 图像处理方法、智能终端及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN114598880B (zh) |
| WO (1) | WO2023216866A1 (zh) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114598880B (zh) * | 2022-05-07 | 2022-09-16 | 深圳传音控股股份有限公司 | 图像处理方法、智能终端及存储介质 |
| CN115002463B (zh) * | 2022-07-15 | 2023-01-13 | 深圳传音控股股份有限公司 | 图像处理方法、智能终端及存储介质 |
| CN115379214B (zh) * | 2022-10-26 | 2023-05-23 | 深圳传音控股股份有限公司 | 图像处理方法、智能终端及存储介质 |
| CN115955565B (zh) * | 2023-03-15 | 2023-07-04 | 深圳传音控股股份有限公司 | 处理方法、处理设备及存储介质 |
| CN117979010A (zh) * | 2023-08-24 | 2024-05-03 | 深圳传音控股股份有限公司 | 图像处理方法、处理设备及存储介质 |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160142710A1 (en) * | 2013-07-19 | 2016-05-19 | Huawei Technologies Co., Ltd. | Image encoding and decoding method and apparatus |
| WO2016200235A1 (ko) * | 2015-06-11 | 2016-12-15 | 엘지전자(주) | 인트라 예측 모드 기반 영상 처리 방법 및 이를 위한 장치 |
| WO2020086248A1 (en) * | 2018-10-23 | 2020-04-30 | Interdigital Vc Holdings, Inc. | Method and device for picture encoding and decoding |
| CN112532997A (zh) * | 2019-10-04 | 2021-03-19 | Oppo广东移动通信有限公司 | 图像预测方法、编码器、解码器以及存储介质 |
| CN114422781A (zh) * | 2022-03-29 | 2022-04-29 | 深圳传音控股股份有限公司 | 图像处理方法、智能终端及存储介质 |
| CN114598880A (zh) * | 2022-05-07 | 2022-06-07 | 深圳传音控股股份有限公司 | 图像处理方法、智能终端及存储介质 |
| US20220321890A1 (en) * | 2019-07-23 | 2022-10-06 | Electronics And Telecommunications Research Institute | Method, apparatus, and recording medium for encoding/decoding image by using geometric partitioning |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017124305A1 (zh) * | 2016-01-19 | 2017-07-27 | 北京大学深圳研究生院 | 基于多方式边界填充的全景视频编码、解码方法和装置 |
| WO2018026166A1 (ko) * | 2016-08-01 | 2018-02-08 | 한국전자통신연구원 | 영상 부호화/복호화 방법, 장치 및 비트스트림을 저장한 기록 매체 |
| CN111083486A (zh) * | 2019-01-03 | 2020-04-28 | 北京达佳互联信息技术有限公司 | 一种确定编码单元的色度信息的方法和装置 |
| CN114586366B (zh) * | 2020-04-03 | 2025-09-05 | Oppo广东移动通信有限公司 | 帧间预测方法、编码器、解码器及存储介质 |
| US20230319271A1 (en) * | 2020-07-20 | 2023-10-05 | Electronics And Telecommunications Research Institute | Method, apparatus, and recording medium for encoding/decoding image by using geometric partitioning |
| CN116325727A (zh) * | 2020-10-16 | 2023-06-23 | Oppo广东移动通信有限公司 | 一种帧内预测方法、编码器、解码器及存储介质 |
-
2022
- 2022-05-07 CN CN202210491875.0A patent/CN114598880B/zh active Active
-
2023
- 2023-04-24 WO PCT/CN2023/090367 patent/WO2023216866A1/zh not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160142710A1 (en) * | 2013-07-19 | 2016-05-19 | Huawei Technologies Co., Ltd. | Image encoding and decoding method and apparatus |
| WO2016200235A1 (ko) * | 2015-06-11 | 2016-12-15 | 엘지전자(주) | 인트라 예측 모드 기반 영상 처리 방법 및 이를 위한 장치 |
| WO2020086248A1 (en) * | 2018-10-23 | 2020-04-30 | Interdigital Vc Holdings, Inc. | Method and device for picture encoding and decoding |
| US20220321890A1 (en) * | 2019-07-23 | 2022-10-06 | Electronics And Telecommunications Research Institute | Method, apparatus, and recording medium for encoding/decoding image by using geometric partitioning |
| CN112532997A (zh) * | 2019-10-04 | 2021-03-19 | Oppo广东移动通信有限公司 | 图像预测方法、编码器、解码器以及存储介质 |
| CN114422781A (zh) * | 2022-03-29 | 2022-04-29 | 深圳传音控股股份有限公司 | 图像处理方法、智能终端及存储介质 |
| CN114598880A (zh) * | 2022-05-07 | 2022-06-07 | 深圳传音控股股份有限公司 | 图像处理方法、智能终端及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114598880B (zh) | 2022-09-16 |
| CN114598880A (zh) | 2022-06-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN115002463B (zh) | 图像处理方法、智能终端及存储介质 | |
| WO2023216866A1 (zh) | 图像处理方法、智能终端及存储介质 | |
| CN114422781B (zh) | 图像处理方法、智能终端及存储介质 | |
| CN115988206B (zh) | 图像处理方法、处理设备及存储介质 | |
| CN115834897B (zh) | 处理方法、处理设备及存储介质 | |
| CN116847088B (zh) | 图像处理方法、处理设备及存储介质 | |
| CN115379214B (zh) | 图像处理方法、智能终端及存储介质 | |
| CN116456102B (zh) | 图像处理方法、处理设备及存储介质 | |
| CN116668704A (zh) | 处理方法、处理设备及存储介质 | |
| CN115955565B (zh) | 处理方法、处理设备及存储介质 | |
| US20260032276A1 (en) | Image processing method, processing device and storage medium | |
| CN115422986A (zh) | 处理方法、处理设备及存储介质 | |
| WO2026085724A1 (zh) | 图像处理方法、处理设备及存储介质 | |
| WO2025147920A1 (zh) | 处理方法、处理设备及存储介质 | |
| WO2026001802A2 (zh) | 处理方法、处理设备及存储介质 | |
| CN121357328A (zh) | 图像处理方法、处理设备及存储介质 | |
| WO2025241193A1 (zh) | 处理方法、处理设备及存储介质 | |
| CN120186342A (zh) | 图像处理方法、处理设备及存储介质 | |
| WO2026001800A2 (zh) | 处理方法、处理设备及存储介质 | |
| WO2025256661A1 (zh) | 图像处理方法、处理设备及存储介质 | |
| WO2025153117A2 (zh) | 处理方法、处理设备及存储介质 | |
| WO2025213305A1 (zh) | 处理方法、处理设备及存储介质 | |
| CN121125987A (zh) | 图像处理方法、处理设备及存储介质 | |
| CN121217925A (zh) | 处理方法、处理设备及存储介质 | |
| WO2026001799A2 (zh) | 处理方法、处理设备及存储介质 |
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: 23802640 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202417096779 Country of ref document: IN |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08.04.2025) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23802640 Country of ref document: EP Kind code of ref document: A1 |