CN112188280B - Image processing method, device and system and computer readable medium - Google Patents

Image processing method, device and system and computer readable medium Download PDF

Info

Publication number
CN112188280B
CN112188280B CN201910592364.6A CN201910592364A CN112188280B CN 112188280 B CN112188280 B CN 112188280B CN 201910592364 A CN201910592364 A CN 201910592364A CN 112188280 B CN112188280 B CN 112188280B
Authority
CN
China
Prior art keywords
image data
line image
color coding
format
coding format
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.)
Active
Application number
CN201910592364.6A
Other languages
Chinese (zh)
Other versions
CN112188280A (en
Inventor
刘恒
宗靖国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pixelhue Technology Ltd
Original Assignee
Pixelhue Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pixelhue Technology Ltd filed Critical Pixelhue Technology Ltd
Priority to CN201910592364.6A priority Critical patent/CN112188280B/en
Publication of CN112188280A publication Critical patent/CN112188280A/en
Application granted granted Critical
Publication of CN112188280B publication Critical patent/CN112188280B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/186Methods 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 a colour or a chrominance component
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

An embodiment of the present invention provides an image processing method, an image processing apparatus, an image processing system, and a computer readable medium, where the image processing method includes: receiving odd-numbered line image data in a first color coding format; caching odd-line image data in the first color coding format; receiving even line image data in a first color coding format; format conversion is carried out on the cached first color coding format odd line image data and the received first color coding format even line image data, so that second color coding format odd line image data and second color coding format even line image data are obtained; outputting the second color-coded-format odd-line image data; and buffering the second color-coded-format even-line image data. The image processing method provided by the embodiment of the invention can enable the video processing equipment to support the input of the video source in the YUV420 format, and improve the compatibility of the equipment.

Description

Image processing method, device and system and computer readable medium
Technical Field
The present invention relates to the field of image processing and display technologies, and in particular, to an image processing method, an image processing apparatus, an image processing system, and a computer readable medium.
Background
In a video processing device, the compatibility and processing capability of its input interface is very important. It is often desirable that the input interface can support video source input in a variety of image data formats, such as RGB or YUV. YUV is a color coding method that separates luminance information (Y) from chrominance information (UV), and since the human eye is mainly sensitive to luminance information, the bandwidth can be further reduced by sampling the U and V components. YUV generally includes: YUV444, YUV422 and YUV 420. The YUV420 can use a relatively small bandwidth to transfer image information of the same size, thereby reducing bandwidth consumption. The image is typically processed internally in the video processing device in YUV444/RGB, which requires converting the image in YUV420 format to YUV444 format. However, at present, few video processing devices support YUV420 format input sources, and in addition, video processing devices supporting YUV420 format input sources individually do not restore image information well, so that image information loss is serious.
Disclosure of Invention
Therefore, an embodiment of the present invention provides an image processing method, an image processing apparatus, an image processing system, and a computer readable medium, so that a video processing device supports video source input in the YUV420 format, thereby improving compatibility of the device.
In one aspect, an embodiment of the present invention provides an image processing method, including: receiving odd line image data in a first color coding format; caching the first color coding format odd line image data; receiving even line image data in a first color coding format; format conversion is carried out on the cached first color coding format odd-line image data and the received first color coding format even-line image data to obtain second color coding format odd-line image data and second color coding format even-line image data; outputting the second color-coded-format odd-line image data; and buffering the second color-coded-format even-line image data.
In the prior art, few video processing devices support input sources in YUV420 format, and the video processing devices supported individually do not restore image information well, so that image information loss is serious. According to the embodiment of the invention, the odd-numbered line image data in the first color coding format is firstly cached, the format conversion is carried out on the input even-numbered line image data in the first color coding format and the cached odd-numbered line image data in the first color coding format, the output odd-numbered line image data in the second color coding format and the cached even-numbered line image data in the second color coding format, so that the video processing equipment can support the input sources in the color coding formats of YUV420 and the like, the compatibility and the processing capability of the equipment are improved, and the situation that the image information is seriously lost due to the fact that the video processing equipment supporting the input sources in the color coding formats of YUV420 and the like individually reduces the image information is poor is avoided; in addition, the provided image processing method can be widely applied to occasions that video sources in color coding formats such as YUV420 and the like need to be optimized and output with higher resolution.
In an embodiment of the present invention, the foregoing image processing method further includes: and outputting the buffered second color coding format even line image data in the process of buffering the next first color coding format odd line image data.
In an embodiment of the present invention, the format converting the buffered first color-coded format odd-line image data and the received first color-coded format even-line image data to obtain second color-coded format odd-line image data and second color-coded format even-line image data includes: and performing format conversion by using every two pixel point data in the cached first color coding format odd-numbered line image data and every two pixel point data in the received first color coding format even-numbered line image data to obtain every two pixel point data in the second color coding format odd-numbered line image data and every two pixel point data in the second color coding format even-numbered line image data.
In one embodiment of the invention, the first color encoding format is YUV420 and the second color encoding format is YUV 444.
In another aspect, an embodiment of the present invention provides an image processing apparatus, including: the first receiving module is used for receiving the odd-numbered line image data in the first color coding format; the first cache module is used for caching the first color coding format odd-line image data; the second receiving module is used for receiving the image data of the even lines in the first color coding format; the format conversion module is used for carrying out format conversion on the cached first color coding format odd-line image data and the received first color coding format even-line image data to obtain second color coding format odd-line image data and second color coding format even-line image data; the first output module is used for outputting the second color coding format odd-line image data; and the second buffer module is used for buffering the even line image data in the second color coding format.
In the prior art, few video processing devices support an input source in YUV420 format, and the video processing devices supported individually do not restore image information well, so that image information loss is serious. According to the embodiment of the invention, the first color coding format odd-numbered line image data is cached by the first cache module, the format conversion module performs format conversion on the input first color coding format even-numbered line image data and the cached first color coding format odd-numbered line image data, the second color coding format odd-numbered line image data is output by the first output module, and the second color coding format even-numbered line image data is cached by the second cache module, so that the video processing equipment can support the input sources of the color coding formats such as YUV420, the compatibility and the processing capability of the equipment are improved, and the situation that the image information is relatively poor to be restored by the video processing equipment which individually supports the input sources of the color coding formats such as YUV420 and the like, and the image information is relatively seriously lost is avoided.
In an embodiment of the present invention, the image processing apparatus further includes: and the second output module is used for outputting the cached even line image data in the second color coding format in the process of caching the next odd line image data in the first color coding format by the first caching module.
In an embodiment of the present invention, the format conversion module is specifically configured to: performing format conversion by using every two pixel point data in the cached first color coding format odd-numbered line image data and every two pixel point data in the received first color coding format even-numbered line image data to obtain every two pixel point data in the second color coding format odd-numbered line image data and every two pixel point data in the second color coding format even-numbered line image data; the first color encoding format is YUV420 and the second color encoding format is YUV 444.
In an embodiment of the present invention, the first receiving module, the first cache module, the second receiving module, the format conversion module, the first output module, and the second cache module are integrated in a programmable logic device.
In another aspect, an embodiment of the present invention provides an image processing system, including: a processor and a memory coupled to the processor; wherein the memory stores instructions for execution by the processor and the instructions cause the processor to perform operations to perform an image processing method as described in any one of the preceding.
In still another aspect, an embodiment of the present invention provides a computer-readable medium, where a program code is stored, where the program code includes instructions for executing the image processing method according to any one of the foregoing items.
As can be seen from the above, the embodiments of the present invention can achieve one or more of the following advantages: the video processing equipment can support the input sources of the color coding formats such as YUV420 and the like, the compatibility and the processing capacity of the equipment are improved, and the condition that the image information is seriously lost due to the fact that the image information is relatively poor to restore by the video processing equipment which individually supports the input sources of the color coding formats such as YUV420 and the like is avoided; in addition, the provided image processing method can be widely applied to occasions that video sources in color coding formats such as YUV420 and the like need to be optimized and output with higher resolution.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an image processing method according to a first embodiment of the present invention;
fig. 2 is a schematic diagram of two data formats involved in the image processing method according to the first embodiment of the present invention;
fig. 3 is a schematic diagram illustrating sampling of YUV420 format data in a specific implementation of an image processing method according to a first embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a pixel transmission manner in an embodiment of an image processing method according to a first embodiment of the present invention;
fig. 5 is a schematic diagram illustrating format conversion performed on first odd line data and first even line data in a specific implementation of an image processing method according to a first embodiment of the present invention;
fig. 6 is a schematic diagram illustrating format conversion performed on second odd line data and second even line data in a specific implementation of the image processing method according to the first embodiment of the present invention;
FIG. 7 is a block diagram of an image processing apparatus according to a second embodiment of the present invention;
FIG. 8 is a schematic structural diagram of an image processing system according to a third embodiment of the present invention;
fig. 9 is a schematic structural diagram of a computer-readable medium according to a fourth embodiment of the present invention.
[ brief description of the drawings ]
S11-S17: a step of an image processing method;
30: an image processing device; 31: a receiving module; 32: a cache module; 33: a receiving module; 34: a format conversion module; 35: an output module; 36: a cache module; 37: an output module;
50: an image processing system; 51: a processor; 52: a memory;
60: a computer readable medium.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
[ first embodiment ] A
Referring to fig. 1, a first embodiment of the present invention provides an image processing method. As shown in fig. 1, the image processing method includes, for example, steps S11-S16.
Step S11: receiving odd line image data in a first color coding format;
step S12: caching odd-line image data in the first color coding format;
step S13: receiving even line image data in a first color coding format;
step S14: format conversion is carried out on the cached first color coding format odd line image data and the received first color coding format even line image data, so that second color coding format odd line image data and second color coding format even line image data are obtained;
step S15: outputting the second color-coded-format odd-line image data; and
step S16: and caching the even line image data in the second color coding format.
Further, the image processing method according to the first embodiment of the present invention further includes step S17, for example.
Step S17: and outputting the buffered second color coding format even line image data in the process of buffering the next first color coding format odd line image data. Step S17 follows the running of the state machine and may complete the conversion of the entire YUV420 to YUV 444.
Wherein, the first color coding format mentioned in the above steps is, for example, YUV420 format, and the second color coding format mentioned is, for example, YUV444 format. As shown in fig. 2, in the YUV420 format and the YUV444 format, a circular black dot is used to represent a Y component of a sampling pixel, where the Y component is brightness or called gray. And the UV component of the sampling pixel point is represented by a hollow circle. The UV component is the chroma and is used for appointing the color of the pixel point. Where for YUV444 sampling, there is one set of UV components for each Y component, and for YUV420 sampling, one set of UV components is shared for every four Y components.
Specifically, step S14 includes, for example: and carrying out format conversion by using every two pixel point data in the cached first color coding format odd-line image data and every two pixel point data in the received first color coding format even-line image data so as to obtain every two pixel point data in the second color coding format odd-line image data and every two pixel point data in the second color coding format even-line image data.
A detailed description will be given below of a specific implementation of the image processing method according to the first embodiment of the present invention with reference to fig. 3 to 6.
Before the foregoing image processing method is executed, it is necessary to sample an input source in YUV420 format, as shown in fig. 3, where solid circles in fig. 3 represent Y components of sampling pixels, and striped circles represent UV components of sampling pixels, and as can be seen from fig. 3, every four Y components share one set of UV components, that is, every four pixels have their own Y0, Y1, Y2, and Y3 luminance components, but every four pixels need to share one pair of UV chrominance components. After sampling the input source in YUV420 format, image processing is carried out to convert the YUV420 format of the input source into YUV444 format for output. As shown in fig. 4, a specific format conversion is performed by taking two lines of data of an input source as an example, because the two lines of data in the YUV420 format can restore complete information of pixel points included in the two lines of data, that is, a complete row of Odd line data (Odd _ line) in the YUV420 format must be prepared when the Even line data (Even _ line) in the YUV420 format arrives to complete the YUV420 to YUV444 conversion.
Referring to fig. 5 and 6, the process of image processing will be described by taking an example of format conversion implemented by a Programmable logic device, such as an FPGA (Field Programmable Gate Array), and a complete row of odd-numbered data needs to be prepared when even-numbered data arrives due to the transfer manner of the YUV 420-formatted data.
As shown in fig. 5, the Odd-Line data storage module (Odd BRAM) is configured to store Odd-Line (Odd _ Line _ YUV420) data in YUV420 format, and may specifically be implemented by using a Block random access memory Block RAM (BRAM), where the Block random access memory is a hardware resource inside the programmable logic device. It should be noted that, in a programmable logic device such as an FPGA, an embedded block memory is included, which greatly expands the application range and flexibility of the programmable logic device. The block memory may be configured as a single port memory, a dual port memory, a Content Address Memory (CAM), and a fifo (First Input First output) memory, which are commonly used memory structures.
And a YUV 420-to-YUV 444 module for converting the YUV420 format data into YUV444 format data. When Even line data (Even _ line _ YUV420) arrives, Odd _ line _ YUV420 data read out from the Odd line data storage module Odd BRAM and the received Even _ line _ YUV420 data convert YUV420 format data into YUV444 format data in the splicing manner shown in fig. 4. It should be noted that, for a specific implementation method for converting the YUV420 format into the YUV444 format, reference may be made to the related technical solution, and details are not described herein in this embodiment.
YUV444 format odd line data transmission: as shown in fig. 5, when the YUV420 format data is converted into YUV444 format data, two rows of YUV444 format data are generated at a time, which requires that the YUV444 format Even Line (Even _ Line0_ YUV444) data is stored in the Even Line data storage module (Even BRAM) first, and the YUV444 format Odd Line (Odd _ Line0_ YUV444) data is transmitted at the same time.
YUV444 format even row data transmission: as shown in fig. 6, when the next YUV420 format Odd Line (Odd _ Line1_ YUV420) data comes, the YUV444 Even Line (Even _ Line0_ YUV444) data is transmitted, so that the conversion of the entire YUV420 format data into YUV444 format data is completed following the operation of the state machine.
In summary, the image processing method provided in the first embodiment of the present invention enables a video processing device to support an input source with a color coding format such as YUV420, improves compatibility and processing capability of the device, and avoids a situation that image information is lost seriously due to poor image information restoration of the video processing device that individually supports the input source with the color coding format such as YUV 420; in addition, the provided image processing method can be widely applied to occasions where video sources in color coding formats such as YUV420 and the like need to be optimized and output with high resolution.
[ second embodiment ]
Referring to fig. 7, a second embodiment of the present invention provides an image processing apparatus. As shown in fig. 7, the image processing apparatus 30 includes, for example: a receiving module 31, a buffer module 32, a receiving module 33, a format conversion module 34, an output module 35 and a buffer module 36.
The receiving module 31 is configured to receive odd line image data in the first color coding format. The buffer module 32 is configured to buffer the first color-coded-format odd-line image data. The receiving module 33 is configured to receive even line image data in the first color coding format. The format conversion module 34 is configured to perform format conversion on the buffered first color-coded format odd-line image data and the received first color-coded format even-line image data to obtain second color-coded format odd-line image data and second color-coded format even-line image data. The output module 35 is configured to output the second color-coded format odd-line image data. And a buffer module 36 for buffering the second color-coded format even line image data.
Further, the image processing apparatus 30 according to the second embodiment of the present invention further includes, for example: an output module 37, configured to output the buffered second color-coded-format even-line image data in a process that the first buffer module buffers the next first color-coded-format odd-line image data.
The format conversion module 34 is specifically configured to: and performing format conversion by using every two pixel point data in the cached first color coding format odd-numbered line image data and every two pixel point data in the received first color coding format even-numbered line image data to obtain every two pixel point data in the second color coding format odd-numbered line image data and every two pixel point data in the second color coding format even-numbered line image data.
Further, the aforementioned first color coding format is, for example, YUV420, and the aforementioned second color coding format is, for example, YUV 444.
Further, the receiving module 31, the buffer module 32, the receiving module 33, the format conversion module 34, the output module 35, and the buffer module 36 may be integrated in the programmable logic device. The programmable logic device is, for example, an FPGA.
The image processing method implemented by the image processing apparatus 30 of the present embodiment is as described in the first embodiment, and therefore, will not be described in detail here. Optionally, each module and the other operations or functions in the second embodiment are respectively for implementing the method steps in the first embodiment of the present invention, and are not described herein for brevity.
In summary, the image processing apparatus according to the second embodiment of the present invention enables the video processing device to support the input source with the color coding format such as YUV420, so as to improve the compatibility and processing capability of the device, and avoid the situation that the image information is relatively poor restored by the video processing device that individually supports the input source with the color coding format such as YUV420, which results in a relatively serious loss of the image information; in addition, the provided image processing method can be widely applied to occasions that video sources in color coding formats such as YUV420 and the like need to be optimized and output with higher resolution.
[ third embodiment ]
Referring to fig. 8, a third embodiment of the present invention provides an image processing system. As shown in fig. 8, the image processing system 50 includes, for example: a processor 51 and a memory 52 connected to the processor 51. Wherein the memory 52 stores instructions to be executed by the processor 51, and the instructions cause the processor 51 to perform operations to perform the image processing method as described in the first embodiment. For example, the processor 51 performs the following operations:
(i) receiving odd line image data in a first color coding format;
(ii) caching the first color coding format odd line image data;
(iii) receiving even line image data in a first color coding format;
(iv) format conversion is carried out on the cached first color coding format odd line image data and the received first color coding format even line image data, so that second color coding format odd line image data and second color coding format even line image data are obtained;
(v) outputting the second color-coded-format odd-line image data; and
(vi) and caching the even line image data in the second color coding format.
The image processing system 50 of the present embodiment has instructions that make the processor 51 execute operations to perform the image processing method as described in the first embodiment, and therefore, the detailed description thereof is omitted here. Optionally, each processor and each memory in this embodiment are respectively for implementing the method steps in the first embodiment of the present invention, and are not described herein for brevity. The technical effect of the image processing system 50 provided in this embodiment is the same as that of the image processing method in the first embodiment, and is not described herein again.
[ fourth example ] A
Referring to fig. 9, a fifth embodiment of the present invention provides a computer-readable medium. As shown in fig. 9, the computer-readable medium 60 stores a program code including, for example, instructions for executing the image processing method according to the first embodiment. For example, the program code causes the processor to execute the associated instructions to:
(i) receiving odd line image data in a first color coding format;
(ii) caching the first color coding format odd line image data;
(iii) receiving even line image data in a first color coding format;
(iv) format conversion is carried out on the cached first color coding format odd line image data and the received first color coding format even line image data, so that second color coding format odd line image data and second color coding format even line image data are obtained;
(v) outputting the second color-coded-format odd-line image data; and
(vi) and caching the even line image data in the second color coding format.
The image processing method executed by the program code of the computer readable medium 60 provided by this embodiment is as described in the first embodiment, and therefore, will not be described in detail herein. Optionally, the computer readable medium 60 in this embodiment is not described herein for brevity in order to implement the method steps in the first embodiment of the present invention. The technical effect of the computer-readable medium 60 provided in this embodiment is the same as that of the image processing method in the first embodiment, and is not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and the actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (7)

1. An image processing method, characterized by comprising:
receiving odd line image data in a first color coding format;
caching the first color coding format odd line image data;
receiving even line image data in a first color coding format;
format conversion is carried out on the cached first color coding format odd line image data and the received first color coding format even line image data, so that second color coding format odd line image data and second color coding format even line image data are obtained;
outputting the second color-coded-format odd-line image data; and
caching the second color coding format even line image data;
wherein the performing format conversion on the buffered first color-coded-format odd-line image data and the received first color-coded-format even-line image data to obtain second color-coded-format odd-line image data and second color-coded-format even-line image data includes:
carrying out format conversion by using every two pixel point data in the cached first color coding format odd-line image data and every two pixel point data in the received first color coding format even-line image data to obtain every two pixel point data in the second color coding format odd-line image data and every two pixel point data in the second color coding format even-line image data;
wherein the first color coding format is YUV420 and the second color coding format is YUV 444.
2. The image processing method according to claim 1, further comprising:
and outputting the buffered second color coding format even line image data in the process of buffering the next first color coding format odd line image data.
3. An image processing apparatus characterized by comprising:
the first receiving module is used for receiving the odd-numbered line image data in the first color coding format;
the first cache module is used for caching the first color coding format odd-line image data;
the second receiving module is used for receiving the image data of the even lines in the first color coding format;
the format conversion module is used for carrying out format conversion on the cached first color coding format odd-line image data and the received first color coding format even-line image data to obtain second color coding format odd-line image data and second color coding format even-line image data;
the first output module is used for outputting the second color coding format odd-numbered line image data; and
the second cache module is used for caching the even line image data in the second color coding format;
wherein the format conversion module is specifically configured to: performing format conversion by using every two pixel point data in the cached first color coding format odd-numbered line image data and every two pixel point data in the received first color coding format even-numbered line image data to obtain every two pixel point data in the second color coding format odd-numbered line image data and every two pixel point data in the second color coding format even-numbered line image data; the first color encoding format is YUV420 and the second color encoding format is YUV 444.
4. The image processing apparatus according to claim 3, further comprising:
and the second output module is used for outputting the cached even line image data in the second color coding format in the process of caching the next odd line image data in the first color coding format by the first caching module.
5. The image processing apparatus according to any one of claims 3 to 4, wherein the first receiving module, the first buffer module, the second receiving module, the format conversion module, the first output module, and the second buffer module are integrated in a programmable logic device.
6. An image processing system, comprising: a processor and a memory coupled to the processor; wherein the memory stores instructions for execution by the processor and the instructions cause the processor to perform operations to perform the image processing method of any of claims 1 to 2.
7. A computer-readable medium, characterized in that the computer-readable medium stores a program code including instructions for executing the image processing method according to any one of claims 1 to 2.
CN201910592364.6A 2019-07-03 2019-07-03 Image processing method, device and system and computer readable medium Active CN112188280B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910592364.6A CN112188280B (en) 2019-07-03 2019-07-03 Image processing method, device and system and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910592364.6A CN112188280B (en) 2019-07-03 2019-07-03 Image processing method, device and system and computer readable medium

Publications (2)

Publication Number Publication Date
CN112188280A CN112188280A (en) 2021-01-05
CN112188280B true CN112188280B (en) 2022-07-08

Family

ID=73914371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910592364.6A Active CN112188280B (en) 2019-07-03 2019-07-03 Image processing method, device and system and computer readable medium

Country Status (1)

Country Link
CN (1) CN112188280B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113395502B (en) * 2021-04-26 2022-09-20 龙靖 Cross chromaticity reduction method based on different color space sampling formats
CN113596581B (en) * 2021-07-30 2023-10-27 上海商汤临港智能科技有限公司 Image format conversion method, device, computer equipment and storage medium
CN113810613B (en) * 2021-09-18 2023-06-16 凌云光技术股份有限公司 Method and device for acquiring linear array Bayer-to-planar array Bayer format image
CN115348432A (en) * 2022-08-15 2022-11-15 上海壁仞智能科技有限公司 Data processing method and device, image processing method, electronic device and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05134640A (en) * 1991-11-14 1993-05-28 Nec Corp Frame buffer for multi-media
KR20030054329A (en) * 2001-12-24 2003-07-02 주식회사 하이닉스반도체 Method for Image transform
US7589788B1 (en) * 2003-02-28 2009-09-15 Intel Corporation Method and apparatus for video motion compensation, reduction and color formatting
CN101546527A (en) * 2008-03-26 2009-09-30 深圳安凯微电子技术有限公司 Liquid crystal display controller and image scaling method
JP2010154024A (en) * 2008-12-24 2010-07-08 Olympus Corp Image processing unit and method of processing image
CN102209984A (en) * 2008-11-11 2011-10-05 夏普株式会社 Image data conversion device, image data conversion method, program, and recording medium
CN102868871A (en) * 2012-10-24 2013-01-09 广东威创视讯科技股份有限公司 Method and device for converting video image format
WO2015065911A1 (en) * 2013-11-01 2015-05-07 Microsoft Corporation Chroma down-conversion and up-conversion processing

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05134640A (en) * 1991-11-14 1993-05-28 Nec Corp Frame buffer for multi-media
KR20030054329A (en) * 2001-12-24 2003-07-02 주식회사 하이닉스반도체 Method for Image transform
US7589788B1 (en) * 2003-02-28 2009-09-15 Intel Corporation Method and apparatus for video motion compensation, reduction and color formatting
CN101546527A (en) * 2008-03-26 2009-09-30 深圳安凯微电子技术有限公司 Liquid crystal display controller and image scaling method
CN102209984A (en) * 2008-11-11 2011-10-05 夏普株式会社 Image data conversion device, image data conversion method, program, and recording medium
JP2010154024A (en) * 2008-12-24 2010-07-08 Olympus Corp Image processing unit and method of processing image
CN102868871A (en) * 2012-10-24 2013-01-09 广东威创视讯科技股份有限公司 Method and device for converting video image format
WO2015065911A1 (en) * 2013-11-01 2015-05-07 Microsoft Corporation Chroma down-conversion and up-conversion processing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"YUV420转YUV444";messi_cyc;《CSDN》;20171013;全文 *

Also Published As

Publication number Publication date
CN112188280A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN112188280B (en) Image processing method, device and system and computer readable medium
RU2661763C2 (en) Exploiting frame to frame coherency in architecture of image construction with primitives sorting at intermediate stage
US9001274B2 (en) Image processing method
CN102118624B (en) Method for converting an image from an RGB color space to a YUV color space
TWI550557B (en) Video data compression format
WO2023000620A1 (en) Multi-screen display method and device
US20220264129A1 (en) Video decoder chipset
US9449585B2 (en) Systems and methods for compositing a display image from display planes using enhanced blending hardware
CN112929672A (en) Video compression method, device, equipment and computer readable storage medium
CN111988552B (en) Image output control method and device and video processing equipment
US11336906B2 (en) Image processing method and device for image, data transmission method and device, and storage medium compression by combining rectangular regions of binarized images
US9142053B2 (en) Systems and methods for compositing a display image from display planes using enhanced bit-level block transfer hardware
US11954889B2 (en) Method for processing data, and system, system controller and mudure controller
WO2019006965A1 (en) Image processing method and apparatus, electronic device, and computer readable storage medium
CN109493832B (en) VR display device supporting DSC compression and control method thereof
CN114302087B (en) MIPI data transmission mode conversion method and device and electronic equipment
WO2022213716A1 (en) Image format conversion method and apparatus, device, storage medium, and program product
CN108460729A (en) A kind of computer readable storage medium and the Image Reversal device using the medium
CN105407311A (en) Television receiving signal processing method and device
CN108243293B (en) Image display method and system based on virtual reality equipment
CN112822545A (en) Image display method, device and system and video controller
CN115499667B (en) Video processing method, device, equipment and readable storage medium
CN114727051B (en) Media resource transmission device, system and method
CN114928730B (en) Image processing method and image processing apparatus
CN114071038B (en) Image processing system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant