CN108965764B - Image processing method and electronic device - Google Patents

Image processing method and electronic device Download PDF

Info

Publication number
CN108965764B
CN108965764B CN201810672904.7A CN201810672904A CN108965764B CN 108965764 B CN108965764 B CN 108965764B CN 201810672904 A CN201810672904 A CN 201810672904A CN 108965764 B CN108965764 B CN 108965764B
Authority
CN
China
Prior art keywords
type
video data
data
processing
video
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.)
Expired - Fee Related
Application number
CN201810672904.7A
Other languages
Chinese (zh)
Other versions
CN108965764A (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.)
MediaTek Inc
Original Assignee
MediaTek Inc
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 MediaTek Inc filed Critical MediaTek Inc
Priority to CN201810672904.7A priority Critical patent/CN108965764B/en
Priority to TW107140469A priority patent/TW202002604A/en
Publication of CN108965764A publication Critical patent/CN108965764A/en
Application granted granted Critical
Publication of CN108965764B publication Critical patent/CN108965764B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0117Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving conversion of the spatial resolution of the incoming video signal
    • H04N7/012Conversion between an interlaced and a progressive signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0125Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level one of the standards being a high definition standard

Abstract

The application discloses an image processing method and electronic equipment, wherein the method comprises the following steps: receiving a video signal; detecting the type of the video signal; processing the video signal according to the type of the video signal to generate processed video data; and writing the processed video data in a screen for display. Through the mode, the occupation of the video data to the storage space can be reduced, the burden of the electronic equipment is reduced, and technical support is provided for improving the smoothness of screen display.

Description

Image processing method and electronic device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an image processing method and an electronic device.
Background
The 4K display technology is one of the current popular display technologies, has 3840 multiplied by 2160 ultrahigh-definition resolution and standardized 4K, can reach 4 times of the high-definition resolution, and greatly meets the visual enjoyment requirements of people.
The current 4K display technology is applied to display applications of electronic devices such as televisions, set top boxes, displays and the like in a progressive display manner, however, the inventor of the present application finds that, in a long-term research and development process, the 4K display technology often needs to process a large amount of data, so that more space needs to be prepared for storing and processing video images, and further, smoothness of display may be affected to a certain extent.
Disclosure of Invention
The technical problem mainly solved by the application is to provide an image processing method and an electronic device, which can reduce the requirement on a storage space, reduce the burden of the electronic device, and provide technical support for improving the smoothness of screen display.
In order to solve the technical problem, the application adopts a technical scheme that: provided is an image processing method including: receiving a video signal; detecting the type of the video signal; processing the video signal according to the type of the video signal to generate processed video data; and writing the processed video data in a screen for display.
In order to solve the above technical problem, another technical solution adopted by the present application is: provided is an electronic device including: the detection module is used for detecting the type of the video signal after receiving the video signal; the processing module is connected with the detection module and used for processing the video signal according to the type of the video signal so as to generate processed video data; and the writing module is connected with the processing module and used for writing the processed video data in a screen for displaying.
The beneficial effect of this application is: different from the prior art, the image processing method comprises the following steps: receiving a video signal; detecting the type of the video signal; processing the video signal according to the type of the video signal to generate processed video data; the processed video data is written in the screen for display. By means of the mode, the video signal can be processed according to the type of the video signal, the data volume of the processed video data is reduced, the requirement on a storage space can be reduced, the burden of electronic equipment is reduced, and technical support is provided for improving the smoothness of screen display.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, 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 application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
FIG. 1 is a schematic flow chart diagram illustrating an embodiment of an image processing method according to the present application;
FIG. 2 is a schematic flow chart of step S16 in FIG. 1;
FIG. 3 is a schematic flow chart of step S161 in FIG. 2;
FIG. 4 is a schematic flowchart of step S1612 in FIG. 3;
FIG. 5 is a flowchart illustrating step S161 in FIG. 2;
FIG. 6 is a schematic flow chart of step S162 in FIG. 2;
FIG. 7 is a comparison diagram of a timing chart of video data output and original video data output in an application example of the image processing method of the present application;
FIG. 8 is a comparison diagram of a timing chart of video data output and original video data output in another application example of the image processing method of the present application;
FIG. 9 is a schematic flow chart diagram illustrating another embodiment of an image processing method according to the present application;
FIG. 10 is a schematic diagram of an embodiment of an electronic device;
FIG. 11 is a schematic diagram of the processing module 14 shown in FIG. 10;
FIG. 12 is a schematic structural diagram of the converting sub-module 141 in FIG. 11;
FIG. 13 is a schematic structural diagram of the converting sub-module 141 in FIG. 11;
FIG. 14 is a schematic structural diagram of the back-end processing sub-module 142 in FIG. 11;
fig. 15 is a schematic structural view of the first deletion unit 1412 in fig. 12;
fig. 16 is a schematic structural diagram of another embodiment of an electronic device according to the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all 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 application.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating an embodiment of an image processing method according to the present application. The image processing method in this embodiment may be applied to an electronic device with a screen or an external screen, such as a television, a set-top box, and the like. The image processing method comprises the following steps:
step S12: receiving a video signal;
the video signal can be directly received by the electronic device from the outside through a data line, downloaded from a cloud, or directly acquired from a memory of the electronic device.
In this embodiment, the received video signal may be a 4K progressive display signal capable of realizing 3840 × 2160 ultra-high definition resolution, and of course, may also be a video signal which has been processed by the scheme in this embodiment and meets the screen output requirement and the user viewing requirement, and is not limited specifically here.
Step S14: detecting the type of the video signal;
in this embodiment, the video signal may be different types of video signals, and for example, the video signal may be divided into different types according to the format of the video signal, the size of the data amount included in the video signal, the smoothness, and the like.
Specifically, the display mode of the video signal may be classified into different types, for example, a progressive display type, an interlaced display type, and the like.
Step S16: processing the video signal according to the type of the video signal to generate processed video data;
note that in this embodiment, when the types of video signals are different, the processing method used is also different. Specifically, the processing manner mainly includes conversion processing of the type of the video signal, and back-end processing of the video signal and the like.
For example, after detecting the type of the video signal, it can be further determined whether the type of the video signal is a type that meets the requirements of the user for viewing, displaying on a screen, and the like, and if the determination result is yes, the back-end processing of the video signal can be directly performed, and if the determination result is no, the type conversion processing of the video signal can be performed first, and then the back-end processing is further performed.
Specifically, referring to fig. 2, in an application scenario, the video signal may include a first type of video data, a second type of video data, and so on. The first type of video data has a large data volume, occupies a large storage space, cannot satisfy the screen display requirement and the user viewing requirement in the embodiment, and needs to be further processed for data conversion. The second type video data has a small data size, and can be directly subjected to back-end processing without conversion processing. Wherein, step S16 includes:
step S161: converting the first type of video data into a second type of video data when the video signal is determined to be the first type of video data, wherein the data amount of the second type of video data is smaller than that of the first type of video data;
it should be noted here that, for the same video signal, after converting from the first type of video data to the second type of video data, the data amount becomes small, so that the requirement for storage space is reduced, and the burden on the electronic device can be reduced. The specific conversion mode may be determined according to the requirement.
In an application scenario, referring to fig. 3, when converting the first type of video data into the second type of video data, step S161 further includes:
step S1611: grouping the first type video data of each frame to generate a plurality of groups of image data, wherein each group of image data comprises M lines of image data, and M is a positive integer greater than or equal to 2;
it will be readily appreciated that each frame of video data may include multiple lines of image data. In this embodiment, each frame of video data is grouped in units of lines, each group obtained includes at least two lines of image data, for example, 2 lines, 3 lines, and the like, and the specific number of lines can be set according to actual requirements.
Step S1612: each set of image data is processed, one line of image data is retained as write data of the set of image data, and the other lines of image data are deleted, thereby converting the first type of video data into the second type of video data.
In this embodiment, in accordance with the case where the first type of video data is grouped for each frame, the deletion processing is performed on each group of the obtained image data so that each group of the image data only needs to retain one line of the M lines of the image data in the group.
Specifically, when each set of image data is subjected to deletion processing, one of the rows may be randomly reserved and the image data of the other row may be deleted; or, it is also possible to reserve one line of image data specified therein according to a certain rule and delete the remaining other lines of image data, for example, when M is 2, the first line in each set of image data may be reserved while the second line of image data is deleted, and after being processed and converted into the second type of video data, the data amount of the video signal can be reduced by half.
For example, the received video signal is video data of a first type, the video data of the first type is grouped by M lines in each group, and is divided into N groups in total, when each group of image data is processed, only one of the M lines in each group is reserved, and finally, the image data of a second type only contains the N lines of image data in the image data of the first type, so that the data volume is greatly reduced.
In an application scenario, referring to fig. 4, step S1612 includes:
step S16121: retaining one line of image data as write data of the group of image data, and deleting the other lines of image data;
the specific operation manner in this step is the same as that described in step S1612, and for details, reference is made to the above step, which is not described herein again.
Step S16122: the retained image data is combined with the null data to generate a second type of video data.
In the application scenario, the reserved data and the null data can be combined together to obtain complete second-type video data which can be normally displayed by a screen according to a default or combination mode set according to user requirements.
Specifically, in an application scenario, referring to fig. 5, step S161 further includes:
step S1613: dividing each frame of the first type of video data into odd line data and even line data;
step S1614: according to preset requirements, one of odd line data and even line data in the first type of video data is selected to be reserved, and the other type of data is deleted, so that the first type of video data is converted into the second type of video data.
In this embodiment, the odd line data and the even line data may be divided in the order of writing the video data.
Specifically, when the video data is converted, the first type of video data of each frame may be separated to obtain corresponding odd line data and even line data, then the odd line data or the even line data may be further retained according to a requirement, the data not selected to be retained may be deleted, and the retained odd line data or the even line data may be further combined with the null data, so as to convert the first type of video data into the second type of video data, at this time, half of the obtained second type of video data is valid data, and the other half of the obtained second type of video data is null data, so as to greatly reduce the data amount of the video signal.
Step S162: the second type of video data is post-processed to generate processed video data.
It should be noted that, in this embodiment, the second type of video data includes video data originally belonging to the second type, and also includes video data converted from the first type to the second type after being subjected to conversion processing. When performing the back-end processing on the second type of video data, for example, the second type of video data may be processed according to the user requirement, specifically according to the playing condition set by the user, so as to obtain the video data meeting the requirement.
Specifically, referring to fig. 6, in an application scenario, step S162 includes:
step S1621: performing image quality processing on the second type of video data;
the image quality processing in this embodiment may include processing of brightness, contrast, color temperature, color saturation, hue, and the like of the second type of video data to improve the quality of image display, thereby further improving the experience of the user.
Step S1622: performing time sequence processing on the second type of video data subjected to the image quality processing;
specifically, when the timing processing is performed, the processing may be performed according to a preset clock and synchronization signal timing. Through the time sequence processing, the frequency of the second type signal can be set, for example, the frequency can be set as a default output frequency, or other frequencies according to the use requirement of a user.
Step S1623: and performing packet processing on the second type of video data subjected to the time sequence processing to generate processed video data.
Specifically, after being subjected to the timing processing, a header or the like may be added to the second type of video data, and then the packetization processing is performed, thereby obtaining video data that can be transmitted to and written into and displayed by the screen.
Step S18: the processed video data is written in the screen for display.
It should be noted that, in this embodiment, after the processed video data is obtained, the processed video data is the second type video data, and the second type video data is formed by combining a part of valid data and a part of null data, and when writing into the screen, the null data can be written as the same data as the corresponding valid data. As described above, for each frame of the video data of the first type, each group contains M lines of image data, one line of the M lines of image data is retained, and the other lines of image data are deleted. When writing video data into the screen, the M gating channels are simultaneously opened, and in each line of each corresponding packet, the same image data as one line of image data retained in the packet is simultaneously written. Obviously, this can not only reduce the amount of data written, but also reduce the writing time of each frame of video data, and can make the display screen still be full of the whole screen with the reduced amount of data.
It should be noted that, in the foregoing manner, by detecting the received video signal and performing grouping processing on each frame of video data of the video signal according to the type of the video signal, one line of image data is retained in each group and the remaining image data is deleted, and further performing back-end processing and displaying on the screen, since data in the original video signal is deleted, the data amount of the video signal can be reduced, so that the occupation of the video data on the storage space is reduced, the burden of the electronic device is reduced, and technical support is further provided for improving the smoothness of screen display.
It should be noted that, in an embodiment, the second type of video data may be processed in time sequence according to the original output frequency, and at this time, after the processed video data is written into the screen, the second type of video data of the current frame may be sequentially output to the screen for displaying according to the original output frequency. Meanwhile, the backlight of the screen may be turned off after the video data of the second type of the current frame is written and before the video data of the second type of the next frame is written.
Referring to fig. 6, taking the received video signal as the video signal displayed line by line in the 4K display technology as an example, the original output frequency is 60 Hz. According to the image processing method in the foregoing embodiment of the present application, after receiving the video signal, it is detected that the type of the video signal is progressive display. Specifically, each frame of video data of the video signal is divided into odd line data and even line data, in this example, during data conversion, the odd line data is retained, the even line data is deleted, and the retained odd line data and null data are combined to obtain video data for interlaced display. After the video data are converted into the video data for interlaced display, further image quality processing is carried out, the video data for interlaced display are subjected to time sequence processing according to the original 60Hz output frequency, and after the time sequence processing, packet processing is further carried out, the video data are output to a screen for display according to the original 60Hz output frequency. Compared with the prior art, the processed video data only keeps half of the original video data line number 2160, namely 1080 lines, and two gating channels are opened simultaneously during writing, so that the writing time of each frame of video data is reduced by half, and further the vertical blanking area is increased.
In addition, in the present embodiment, od (over drive) technology may be further combined to increase the refresh rate of the final display frame, thereby reducing the jerkiness of the moving picture.
In another embodiment, when performing the back-end processing on the second type of video data, the second type of video data may be subjected to a time sequence processing according to an output frequency M times the original output frequency, and the video data of the intermediate transition frame may be generated according to the second type of video data of two adjacent frames. When the video data is output through the screen, the second type video data of the current frame and the video data of the intermediate transition frame are sequentially output to the screen for display according to the output frequency which is M times of the original output frequency.
In this embodiment, when converting the first type of video data into the second type of video data, the first type of video data is grouped for each frame, each group includes M lines of image data, and when each group of image data is processed, only one line of the M lines of image data is reserved as the write data of the group of image data, and the image data of the other lines is deleted, so that when the processed video data is finally written in the screen, the output time becomes the original output time
Figure GDA0002838783710000091
In this embodiment, the second type of video data is subjected to time sequence processing according to an output frequency M times the original output frequency, so that M frames of video data are output correspondingly in the original time for outputting one frame of video data.
Further, the M-frame video data in this embodiment includes the second type video data of the current frame and the video data of the M-1 frame intermediate transition frame. Wherein the video data of the intermediate transition frame is video data generated from the second type video data of the current frame and the second type video data of the next frame adjacent to the current frame.
Referring to fig. 7, in the present embodiment, the received video signal is a video signal displayed line by line in the 4K display technology, and the original output frequency is 60 Hz. The data conversion is similar to the above-mentioned conversion process illustrated in fig. 6, and is not repeated here, it needs to be pointed out that after the conversion into the video data for interlaced display, further performing image quality processing and performing timing processing on the video data for interlaced display according to the output frequency 2 times the original output frequency, and after the timing processing, further performing packet processing and writing the video data into the screen for display. Similarly, when writing video data, two gate channels are opened simultaneously, and the odd lines and the even lines deleted corresponding to the odd lines are written with the same data as the odd lines, so that the finally displayed picture can be spread over the whole screen. Meanwhile, at the time of output, video data of an intermediate transition frame is generated from two adjacent frames of video data, and the converted video data of the interlaced display and the generated video data of the intermediate transition frame are output at an output frequency 2 times the original 60Hz output frequency, that is, at an output frequency of 120 Hz. As with the example in fig. 6, the processed video data only retains half of the number of lines 2160, i.e. 1080, of the original video data, and two gating channels are simultaneously opened during writing, so that the writing time of the video data of each frame is reduced by half, and by this means, the output frequency can be increased to 120Hz without increasing the amount of video data and affecting normal display, thereby increasing the refresh rate of the picture and reducing the pause of the moving picture; in addition, due to the generation and output of the video data of the intermediate transition frame, the display picture is more coherent, so that the smoothness of image display can be improved.
In addition, the OD technology can be further combined in this embodiment to increase the refresh rate of the display screen, thereby reducing the jerkiness of the moving picture.
Referring to fig. 9, in an embodiment, an image processing method includes:
step S21: determining a processing mode of the video signal, wherein the processing mode comprises a normal mode and a motion mode;
the processing mode corresponds to a mode in which the electronic device processes the video signal, for example, the motion mode may be a mode that meets requirements of a user on fluency and the like of a video, and in this mode, after receiving the video signal, the electronic device needs to process the video signal according to the processing modes described in the above embodiments; in the normal mode, the electronic device may perform only a normal process after receiving the video signal and normally output the video signal.
Specifically, the selection of the normal mode and the motion mode can be set as the default mode of the electronic device; or manual adjustment can be performed according to user requirements, for example, the default mode in the electronic device is a normal mode, and the user can modify the processing mode into a motion mode through control modes such as interface control and remote control of the electronic device before viewing or during viewing; or the system can automatically set to the normal mode or the motion mode according to the self-characteristics of the image of the video signal. And is not particularly limited herein.
Step S22: when the processing mode of the video signal is determined to be a motion mode, executing the steps of detecting the type of the video signal, processing the video signal according to the type of the video signal to generate processed video data, and writing the processed video data into a screen for displaying;
step S23: when it is determined that the processing mode of the video signal is the normal mode, the received video signal is normally processed and the video signal is normally displayed in the screen.
In the present embodiment, the sequence between step S22 and step S23 is not distinguished.
It should be noted that, when it is determined that the processing mode of the video signal is the motion mode, the received video signal is processed according to the processing method in the foregoing embodiment of the image processing method of the present application, for specific content, refer to the foregoing embodiments, and details are not described herein again; when it is determined that the processing mode of the video signal is the normal mode, the normal processing is performed on the received video signal and the video signal is normally output.
In an application scene, before playing video, determining that the processing mode of the video signal is a motion mode, directly processing the received video signal according to the processing mode and outputting the processed video signal by a screen, if the initial processing mode is a normal mode and the processing mode is modified into the motion mode in the playing process, processing the received video signal according to the normal mode before modification and normally displaying the processed video signal by the screen, and after modification, processing and displaying the received video signal according to the processing mode.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an embodiment of an electronic device according to the present application. In this embodiment, the electronic device may be an electronic device with a screen or capable of being externally connected to the screen, such as a television, a set-top box, and the like. The electronic apparatus specifically includes a detection module 12, a processing module 14, and a writing module 16.
The detecting module 12 is configured to detect a type of the video signal after receiving the video signal;
the processing module 14 is connected to the detecting module 12, and is configured to process the video signal according to the type of the video signal to generate processed video data;
the writing module 16 is connected to the processing module 14, and is configured to write the processed video data in the screen for displaying.
Referring to fig. 11, in one embodiment, the processing module 14 includes: a conversion sub-module 141 and a back-end processing sub-module 142.
The conversion sub-module 141 is configured to, when the video signal is determined to be video data of a first type, convert the video data of the first type into video data of a second type, where a data amount of the video data of the second type is smaller than that of the video data of the first type;
the back-end processing sub-module 142 is connected to the converting sub-module 141 and the detecting module 12, respectively, for performing back-end processing on the second type of video data to generate processed video data.
Referring to fig. 12, in one embodiment, the conversion sub-module 141 includes: a first grouping unit 1411 and a first deletion unit 1412.
The first grouping unit 1411 is configured to perform grouping processing on each frame of video data of a first type to generate a plurality of sets of image data, where each set of image data includes M lines of image data, and M is a positive integer greater than or equal to 2;
the first deletion unit 1412 is connected to the first grouping unit 1411, and is configured to process each set of image data, retain one line of image data as write data of the set of image data, and delete other lines of image data, thereby converting the first type of video data into the second type of video data.
Referring to fig. 13, in one embodiment, the converting sub-module 141 includes: a second packet unit 1413 and a second delete unit 1414.
The second grouping unit 1413 for dividing the first type of video data into odd line data and even line data for each frame;
the second deleting unit 1414 is connected to the second grouping unit 1413, and is configured to select one of odd line data and even line data in the first type of video data for reservation according to a preset requirement, and delete the other type of data, thereby converting the first type of video data into the second type of video data.
Referring to fig. 14, in one embodiment, the back-end processing sub-module 142 includes: an image quality processing unit 1421, a timing processing unit 1422, and a packet processing unit 1423.
The image quality processing unit 1421 is configured to perform image quality processing on the second type of video data;
the timing processing unit 1422 is connected to the image quality processing unit 1421, and is configured to perform timing processing on the second type of video data subjected to image quality processing;
the packetizing unit 1423 is connected to the timing processing unit 1422, and is configured to perform packetizing on the timing-processed second type video data to generate processed video data.
In an embodiment, the timing processing unit 1422 is further configured to perform timing processing on the second type of video data according to the original output frequency;
the write-in module 16 is further configured to sequentially output the second type of video data of the current frame to the screen for displaying according to the original output frequency, and disconnect the backlight source of the screen after the second type of video data of the current frame is written in and before the second type of video data of the next frame is written in.
In an embodiment, the timing processing unit 1422 is further configured to perform timing processing on the second type of video data according to an output frequency M times the original output frequency, and generate video data of an intermediate transition frame according to the second type of video data of two adjacent frames;
the write-in module 16 is further configured to output the second type video data of the current frame and the video data of the intermediate transition frame to the screen for displaying sequentially according to an output frequency M times the original output frequency.
Referring to fig. 15, in an embodiment, the first deleting unit 1412 includes: a delete sub-cell 14121 and a combine sub-cell 14122.
Wherein the deletion subunit 14121 is configured to retain one line of image data as write data of the group of image data, and delete image data of other lines;
the combining sub-unit 14122 is connected to the deleting sub-unit 14121 for combining the remaining image data with the dummy data, thereby generating the second type of video data.
Referring to fig. 16, in an embodiment, the electronic device further includes: a processing mode determination module 13.
The processing mode determining module 13 is connected to the detecting module 12 and the processing module 14, respectively, and configured to determine a processing mode of the video signal, where the processing mode includes a normal mode and a motion mode;
when the processing mode determining module 13 determines that the processing mode of the video signal is the motion mode, the detecting module 12 detects the type of the video signal, the processing module 14 processes the video signal according to the type of the video signal to generate processed video data, and the writing module 16 writes the processed video data in the screen for displaying; when the processing mode determining module 13 determines that the processing mode of the video signal is the normal mode, the processing module 14 normally processes the received video signal and further normally displays the video signal on the screen.
In the embodiment of the electronic device of the present application, operations executed by each structure of the electronic device and technical effects achieved by the structure are the same as those in the embodiment of the image processing method of the present application, and details of the operation are referred to the above embodiment, which is not described herein again.
In addition, in an embodiment, the electronic device in the present application includes an image processing chip, wherein the functions of the processing module 14 and the writing module 16 in the above embodiment of the electronic device can be implemented by the image processing chip.
In another embodiment, the electronic device of the present application includes a data conversion chip and a data processing chip, and the data conversion chip and the data processing chip are connected by a data bus for data transmission. In the above-mentioned embodiment of the electronic device, the functions of the conversion sub-modules 141 of the detection module 12 and the processing module 14 can be implemented by data conversion chips, and the functions of the write-in module 16 and the back-end processing sub-module 142 of the processing module 14 can be implemented by image processing chips.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (12)

1. An image processing method, comprising:
receiving a video signal;
detecting the type of the video signal;
processing the video signal according to the type of the video signal to generate processed video data;
writing the processed video data in a screen for display;
wherein the step of processing the video signal according to the type of the video signal to generate processed video data comprises:
converting the first type of video data into a second type of video data when the video signal is determined to be the first type of video data, wherein the data amount of the second type of video data is smaller than that of the first type of video data;
performing back-end processing on the second type of video data to generate the processed video data;
wherein the step of performing back-end processing on the second type of video data to generate the processed video data comprises:
performing image quality processing on the second type of video data; performing time sequence processing on the second type of video data subjected to image quality processing; performing packet processing on the second type of video data subjected to the time sequence processing to generate the processed video data;
wherein the step of performing time-series processing on the second type of video data subjected to image quality processing includes:
performing time sequence processing on the second type of video data according to the original output frequency;
the step of writing said processed video data in a screen for display, comprising:
and sequentially outputting the second type video data of the current frame to the screen for display according to the original output frequency, and disconnecting the backlight source of the screen after writing the second type video data of the current frame and before writing the second type video data of the next frame.
2. The image processing method according to claim 1, wherein the step of converting the first type of video data into a second type of video data comprises:
grouping the first type of video data of each frame to generate a plurality of groups of image data, wherein each group of image data comprises M lines of image data, and M is a positive integer greater than or equal to 2;
and processing each set of image data, reserving one line of image data as write data of the set of image data, and deleting other lines of image data, thereby converting the first type of video data into the second type of video data.
3. The image processing method according to claim 2, wherein the step of converting the first type of video data into a second type of video data comprises:
dividing each frame of the first type of video data into odd line data and even line data;
according to preset requirements, one of odd line data and even line data in the first type of video data is selected to be reserved, and the other type of data is deleted, so that the first type of video data is converted into the second type of video data.
4. The image processing method according to claim 1, wherein the step of subjecting the second type of video data subjected to the image quality processing to the time-series processing comprises:
performing time sequence processing on the second type of video data according to the output frequency M times of the original output frequency, and generating video data of an intermediate transition frame according to the second type of video data of two adjacent frames;
the step of writing said processed video data in a screen for display, comprising:
and sequentially outputting the second type video data of the current frame and the video data of the intermediate transition frame to the screen for displaying according to the output frequency which is M times of the original output frequency.
5. The image processing method according to claim 2, wherein the step of processing each set of image data, retaining one line of image data as write data of the set of image data, and deleting other lines of image data, thereby converting the first type of video data into the second type of video data, comprises:
retaining one line of image data as write data of the group of image data, and deleting the other lines of image data;
combining the retained image data with null data, thereby generating the second type of video data.
6. The image processing method according to claim 1, wherein before the step of detecting the type of the video signal is performed, the method further comprises:
determining a processing mode of the video signal, wherein the processing mode comprises a normal mode and a motion mode;
when the processing mode of the video signal is determined to be a motion mode, the steps of detecting the type of the video signal, processing the video signal according to the type of the video signal to generate processed video data, and writing the processed video data into a screen for displaying are executed;
and when the processing mode of the video signal is determined to be a normal mode, normally processing the received video signal and normally displaying the video signal in the screen.
7. An electronic device, comprising:
the detection module is used for detecting the type of the video signal after receiving the video signal;
the processing module is connected with the detection module and used for processing the video signal according to the type of the video signal so as to generate processed video data;
the writing module is connected with the processing module and used for writing the processed video data into a screen for displaying;
wherein, the processing module includes:
the conversion sub-module is used for converting the video data of the first type into video data of a second type when the video signal is determined to be the video data of the first type, wherein the data volume of the video data of the second type is smaller than that of the video data of the first type;
the back-end processing sub-module is respectively connected with the conversion sub-module and the detection module and is used for carrying out back-end processing on the second type of video data so as to generate the processed video data;
wherein, back-end processing submodule group includes:
an image quality processing unit configured to perform image quality processing on the second type of video data;
the time sequence processing unit is connected with the image quality processing unit and is used for carrying out time sequence processing on the second type of video data subjected to image quality processing;
the packet processing unit is connected with the time sequence processing unit and is used for performing packet processing on the second type of video data subjected to the time sequence processing to generate the processed video data;
the time sequence processing unit is further configured to perform time sequence processing on the second type of video data according to an original output frequency;
the writing module is further configured to sequentially output the second type of video data of the current frame to the screen for display according to the original output frequency, and disconnect the backlight source of the screen after the second type of video data of the current frame is written and before the second type of video data of the next frame is written.
8. The electronic device of claim 7, wherein the conversion sub-module comprises:
a first grouping unit, configured to perform grouping processing on each frame of the first type of video data to generate multiple groups of image data, where each group of image data includes M lines of image data, and M is a positive integer greater than or equal to 2;
and the first deleting unit is connected with the first grouping unit and is used for processing each group of image data, reserving one row of image data as the writing data of the group of image data and deleting the other rows of image data so as to convert the first type of video data into the second type of video data.
9. The electronic device of claim 8, wherein the conversion sub-module comprises:
a second grouping unit for dividing each frame of the first type of video data into odd line data and even line data;
and the second deleting unit is connected with the second grouping unit and is used for selecting one of odd line data and even line data in the first type of video data to be reserved according to preset requirements and deleting the other type of data so as to convert the first type of video data into the second type of video data.
10. The electronic device of claim 7,
the time sequence processing unit is further configured to perform time sequence processing on the second type of video data according to an output frequency M times the original output frequency, and generate video data of an intermediate transition frame according to the second type of video data of two adjacent frames;
the writing module is further configured to output the second type of video data of the current frame and the video data of the intermediate transition frame to the screen in sequence for display according to an output frequency M times the original output frequency.
11. The electronic device according to claim 8, wherein the first deletion unit includes:
a deletion subunit operable to retain one line of image data as write data of the group of image data, and delete image data of other lines;
a combining subunit, connected to the deleting subunit, for combining the reserved image data with null data, thereby generating the second type of video data.
12. The electronic device of claim 7, wherein the electronic device further comprises:
the processing mode determining module is respectively connected with the detecting module and the processing module and is used for determining the processing mode of the video signal, wherein the processing mode comprises a normal mode and a motion mode;
when the processing mode determining module determines that the processing mode of the video signal is a motion mode, the detecting module detects the type of the video signal, the processing module processes the video signal according to the type of the video signal to generate processed video data, and the writing module writes the processed video data in a screen for displaying; and when the processing mode determining module determines that the processing mode of the video signal is a normal mode, the processing module normally processes the received video signal and further normally displays the video signal in the screen.
CN201810672904.7A 2018-06-26 2018-06-26 Image processing method and electronic device Expired - Fee Related CN108965764B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810672904.7A CN108965764B (en) 2018-06-26 2018-06-26 Image processing method and electronic device
TW107140469A TW202002604A (en) 2018-06-26 2018-11-14 Image processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810672904.7A CN108965764B (en) 2018-06-26 2018-06-26 Image processing method and electronic device

Publications (2)

Publication Number Publication Date
CN108965764A CN108965764A (en) 2018-12-07
CN108965764B true CN108965764B (en) 2021-05-25

Family

ID=64487065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810672904.7A Expired - Fee Related CN108965764B (en) 2018-06-26 2018-06-26 Image processing method and electronic device

Country Status (2)

Country Link
CN (1) CN108965764B (en)
TW (1) TW202002604A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110919195A (en) * 2019-12-11 2020-03-27 杭州东信光电科技有限公司 Imaging method for improving resolution by realizing flexographic plate making

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557459A (en) * 2009-01-19 2009-10-14 北京中星微电子有限公司 Video signal receiving method, device and embedded system
CN102104712A (en) * 2009-12-22 2011-06-22 华为终端有限公司 Video data processing method, central processing unit and terminal
CN102685475A (en) * 2011-03-11 2012-09-19 杭州海康威视软件有限公司 Interlace compressed display method and system for reducing video frame rate
CN102769731A (en) * 2012-03-26 2012-11-07 新奥特(北京)视频技术有限公司 Method for converting file non-interlaced scanning mode and file interstage scanning mode
CN102769732A (en) * 2012-03-26 2012-11-07 新奥特(北京)视频技术有限公司 Method for converting video fields

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130242186A1 (en) * 2012-03-14 2013-09-19 Samsung Electronics Co., Ltd. Image processing apparatus and control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557459A (en) * 2009-01-19 2009-10-14 北京中星微电子有限公司 Video signal receiving method, device and embedded system
CN102104712A (en) * 2009-12-22 2011-06-22 华为终端有限公司 Video data processing method, central processing unit and terminal
CN102685475A (en) * 2011-03-11 2012-09-19 杭州海康威视软件有限公司 Interlace compressed display method and system for reducing video frame rate
CN102769731A (en) * 2012-03-26 2012-11-07 新奥特(北京)视频技术有限公司 Method for converting file non-interlaced scanning mode and file interstage scanning mode
CN102769732A (en) * 2012-03-26 2012-11-07 新奥特(北京)视频技术有限公司 Method for converting video fields

Also Published As

Publication number Publication date
TW202002604A (en) 2020-01-01
CN108965764A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
US7768576B2 (en) Multi-screen synthesis apparatus, method of controlling the apparatus, and program for controlling the apparatus
US20060197870A1 (en) Multi-picture display with a secondary high definition picture window having an adjustable aspect ratio
EP0744731B1 (en) Method and apparatus for synchronizing video and graphics data in a multimedia display system including a shared frame buffer
US7030934B2 (en) Video system for combining multiple video signals on a single display
US20040046706A1 (en) Method and apparatus for high-definition multi-screen display
US8004542B2 (en) Video composition apparatus, video composition method and video composition program
CN107105185A (en) The transmission method and device of vision signal
EP1520400B1 (en) Method and apparatus for conversion of video formats to 120 hz 4 to 1 interlaced formats
JP2005192199A (en) Real time data stream processor
EP1607934A2 (en) Blur reduction in liquid crystal displays by frame rate control
CN104053013A (en) Display Apparatus And Control Method Thereof For Applying Motion Compensation To Remove Artifacts From Images
US8593575B2 (en) Video display apparatus for shortened-delay processing of a video signal and video processing method
US20120256962A1 (en) Video Processing Apparatus and Method for Extending the Vertical Blanking Interval
US20040160460A1 (en) Systems and methods for delivering a data stream to a video appliance
US6552750B1 (en) Apparatus for improving the presentation of graphics data on a television display
JP5072419B2 (en) Image display device
CN108965764B (en) Image processing method and electronic device
US11037530B2 (en) Video processing circuit and method for handling multiple videos using single video processing path capable of increasing processing data rate and saving circuit area
US8570435B2 (en) Video processing method and device thereof
US6005630A (en) Method and apparatus for displaying images representing network application data along with interlaced images encoded in television signals.
CN103260044B (en) Three dimensional super-high-definition signal processing method and device
KR20060107072A (en) Graphic image processing apparatus and method using alpha plane
JP3259627B2 (en) Scanning line converter
JP6261696B2 (en) Image processing apparatus and control method thereof
CN116095261A (en) Display method and display device

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200413

Address after: No.1, Duhang 1st Road, Hsinchu City, Hsinchu Science Park, Taiwan, China

Applicant after: MEDIATEK Inc.

Address before: 1, 4th Floor, 26 Taiyuan Street, Zhubei City, Xinzhu County

Applicant before: MSTAR SEMICONDUCTOR Inc.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210525