CN114189741B - Image processing method and related device - Google Patents

Image processing method and related device Download PDF

Info

Publication number
CN114189741B
CN114189741B CN202111324206.6A CN202111324206A CN114189741B CN 114189741 B CN114189741 B CN 114189741B CN 202111324206 A CN202111324206 A CN 202111324206A CN 114189741 B CN114189741 B CN 114189741B
Authority
CN
China
Prior art keywords
image set
reference image
screen
processing
module
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
CN202111324206.6A
Other languages
Chinese (zh)
Other versions
CN114189741A (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.)
Shenzhen Xihua Technology Co Ltd
Original Assignee
Shenzhen Xihua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xihua Technology Co Ltd filed Critical Shenzhen Xihua Technology Co Ltd
Priority to CN202111324206.6A priority Critical patent/CN114189741B/en
Publication of CN114189741A publication Critical patent/CN114189741A/en
Application granted granted Critical
Publication of CN114189741B publication Critical patent/CN114189741B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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
    • 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/440281Processing 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 altering the temporal resolution, e.g. by frame skipping
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the application discloses an image processing method and a related device, wherein the method comprises the following steps: acquiring a first original image set and a video processing instruction, and determining a first frame rate of the first original image set; according to the first frame rate, analyzing and separating a first target image set to obtain a first reference image set, and performing preset mode conversion on the first reference image set to obtain a second reference image set; carrying out preset processing on the second reference image set according to display control parameters of the reloading screen to obtain a third reference image set; storing a third reference image set; reading a third reference image set stored by the storage module, and processing each third reference image in the third reference image set to obtain a target image set; converting the image data in the target image set to obtain a display image set; and sending the display image set to the reloading screen to realize the conversion of the input of different image formats.

Description

Image processing method and related device
Technical Field
The application relates to the technical field of program operation of chips, in particular to an image processing method and a related device.
Background
Along with the influence of users on the visual experience demands, the screen of the mobile phone is larger and larger, however, with the increase of the screen of the mobile phone, the risk of screen breakage is also increased gradually, and when the users need to change the screen, a screen is generally newly allocated to the mobile phone and matched with a chip in the current market.
At present, most manufacturers adopt chips to realize the image processing flow in the equipment, but generally, one chip can only support the input of the same image format to realize the screen display function and cannot cover all the models in the current market. There is a need for an image processing method to realize the conversion of input with different image formats.
Disclosure of Invention
The application provides an image processing method and a related device, which aim to realize the conversion of input of different image formats.
In a first aspect, the present application provides an image processing method, applied to a bridge chip of a screen replacement module of an electronic device, where the electronic device includes a processor and the screen replacement module, the screen replacement module includes a bridge chip and a screen replacement screen, the processor is connected to the bridge chip, and the bridge chip is connected to the screen replacement screen; the bridge chip includes: the device comprises an analysis module, a processing module, a display control module, a storage module and a conversion module; the method comprises the following steps:
acquiring a first original image set and a video processing instruction from a processor, wherein the first original image set is an image set of an original screen of the electronic equipment, the resolution of which is adapted to that of the original screen in a first original video, and the resolution of the original screen is different from that of the reloading screen;
Determining a first frame rate of the first original image set in response to the image processing instruction;
according to the first frame rate, the analysis module analyzes and separates the first target image set to obtain a first reference image set, and the first reference image set is subjected to preset mode conversion to obtain a second reference image set;
the processing module is used for carrying out preset processing on the second reference image set according to the display control parameters of the reloading screen to obtain the third reference image set;
storing the third reference image set by the storage module;
reading the third reference image set stored by the storage module through the display control module, and processing each third reference image in the third reference image set to obtain a target image set;
converting the image data in the target image set through the conversion module to obtain a display image set;
and sending the display image set to the reloading screen.
It can be seen that in the embodiment of the present application, according to the first frame rate of the first original image set, the first target image set is parsed and separated to obtain the first reference image set, the first reference image set is subjected to preset mode conversion, each third reference image in the third reference image set is processed, and then the image data in the target image set is converted to obtain the display image set; and sending the display image set to a reloading screen to realize the conversion of the input of different image formats.
In a second aspect, the present application provides an image processing apparatus, which is applied to a bridge chip of a screen replacement module of an electronic device, where the electronic device includes a processor and the screen replacement module, the screen replacement module includes a bridge chip and a screen replacement module, the processor is connected to the bridge chip, and the bridge chip is connected to the screen replacement module; the bridge chip includes: the device comprises an analysis module, a processing module, a display control module, a storage module and a conversion module; the device comprises:
the electronic equipment comprises an acquisition unit, a video processing unit and a display unit, wherein the acquisition unit is used for acquiring a first original image set and a video processing instruction from a processor, wherein the first original image set is an image set of an original screen of the electronic equipment, the resolution of the original screen is adapted to that of the original screen in a first original video, and the resolution of the original screen is different from that of the replacement screen;
a determining unit configured to determine a first frame rate of the first original image set in response to the image processing instruction;
the first conversion unit is used for carrying out analysis and separation on the first target image set according to the first frame rate through the analysis module to obtain a first reference image set, and carrying out preset mode conversion on the first reference image set to obtain a second reference image set;
The processing unit is used for carrying out preset processing on the second reference image set according to the display control parameters of the reloading screen through the processing module to obtain the third reference image set;
a storage unit, configured to store the third reference image set through the storage module;
the display control unit is used for reading the third reference image set stored by the storage module through the display control module, and processing each third reference image in the third reference image set to obtain a target image set;
the second conversion unit is used for converting the image data in the target image set through the conversion module to obtain a display image set;
and the sending unit is used for sending the display image set to the reloading screen.
In a third aspect, the present application provides a computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes an apparatus to perform the steps of any of the methods as in the first aspect.
In a fourth aspect, the present application provides a bridge chip for running a program, wherein the program when run performs the steps of any of the methods of the first aspect.
In a fifth aspect, the present application provides an electronic device comprising a bridge chip as described in the fourth aspect.
Drawings
Fig. 1a is a schematic structural diagram of a bridge chip according to an embodiment of the present application;
FIG. 1b is a schematic diagram of a hardware system architecture of a bridge chip according to an embodiment of the present application;
fig. 2 is a schematic flow chart of an image processing method according to an embodiment of the present application;
fig. 3 is a block diagram showing the functional units of an image processing apparatus according to an embodiment of the present application;
fig. 4 is a block diagram showing the functional units of another image processing apparatus according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The term "at least one" in the present application means one or more, and a plurality means two or more. In the present application and/or describing the association relationship of the association object, the representation may have three relationships, for example, a and/or B may represent: a alone, a and B together, and B alone, wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one (item) below" or the like, refers to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, a and b, a and c, b and c, or a, b and c, wherein each of a, b, c may itself be an element, or may be a collection comprising one or more elements.
It should be noted that, the equality in the embodiment of the present application may be used with a greater than or less than the technical scheme adopted when the equality is greater than or equal to the technical scheme adopted when the equality is less than the technical scheme, and it should be noted that the equality is not used when the equality is greater than the technical scheme adopted when the equality is greater than or equal to the technical scheme adopted when the equality is greater than the technical scheme; when the value is equal to or smaller than that used together, the value is not larger than that used together. "of", corresponding "and" corresponding "in the embodiments of the present application may be sometimes used in combination, and it should be noted that the meaning to be expressed is consistent when the distinction is not emphasized.
At present, a chip can only support the input of the same image format and cannot cover all the models in the current market. In view of the foregoing, the present application provides an image processing method and related apparatus, which are described in detail below.
Referring to fig. 1a, fig. 1a is a schematic diagram of a bridge chip 100 according to an embodiment of the application. The bridge chip 100 includes an analysis module 10, a processing module 11, a display control module 12, a storage module 13, and a conversion module 14, where the analysis module 10, the processing module 11, the display control module 12, the storage module 13, and the conversion module 14 are respectively in communication connection.
The bridge chip 100 of the present application can receive image data sent from a mobile phone main chip or a processor, and analyze the image data through the analysis module 10. The image frame data may be processed by the processing module 11, which may include format conversion, resolution reduction, mirroring, rotation, compression, etc., for example, and the processed target image frame data may be stored in the storage module 13. Further, the display control module 12 may read the target image frame data from the storage module 13, amplify the target image frame data to a size adapted to TDDI (Touch and Display Driver Integration ), perform color correction, format conversion, and the like, and then send the video data to the conversion module 14, which modulates the target image frame data into display data according to MIPI protocol, and outputs the display data.
The schematic structure of the bridge chip 100 is merely an example, and more or fewer devices may be specifically included, which is not limited only herein.
In addition, the bridge chip 100 may be applied to various electronic devices such as a mobile terminal (e.g., a smart phone), an IoT device of the internet of things, a vehicle-mounted terminal device, and the like.
FIG. 1b is a schematic diagram of a hardware system architecture of a bridge chip, wherein an image may be displayed by an image processing system; the control of the whole chip is realized through a main control system; data or image frame storage is achieved by a storage system.
Referring to fig. 2, fig. 2 is a schematic flow chart of an image processing method provided by an embodiment of the application, which is applied to a bridge chip of a screen changing module of an electronic device, the electronic device includes a processor and a screen changing module, the screen changing module includes a bridge chip and a screen changing screen, the processor is connected with the bridge chip, and the bridge chip is connected with the screen changing screen; the bridge chip includes: the device comprises an analysis module, a processing module, a display control module, a storage module and a conversion module; as shown in the figure, the image processing method includes the following steps.
Step 201, a first original image set and video processing instructions from a processor are acquired.
The first original image set is an image set of an original screen of the resolution adaptation electronic device in the first original video, and the resolution of the original screen is different from that of the reloading screen.
Step 202, in response to an image processing instruction, determines a first frame rate of a first original image set.
Step 203, according to the first frame rate, the parsing module parses and separates the first target image set to obtain a first reference image set, and performs a preset mode conversion on the first reference image set to obtain a second reference image set.
The preset mode may be an image mode set by a user or a worker. For example, the preset mode may be a command mode or a video mode.
And 204, performing preset processing on the second reference image set by a processing module according to the display control parameters of the reloading screen to obtain a third reference image set.
Wherein the display control parameters include at least one of: display screen pixel pitch, display screen resolution, display screen scanning frequency, and display screen refresh rate.
In one possible example, before the second reference image set is subjected to preset processing according to the display control parameter of the reloading screen by the processing module to obtain the third reference image set, the method further includes:
step A1: obtaining the model of a reloading screen;
step A2: and determining display control data of the reloading screen according to the model.
In one possible example, the processing module performs preset processing on the second reference image set according to the display control parameter of the reloading screen to obtain a third reference image set, including:
step B1: and carrying out format conversion processing, resolution reduction processing, mirror image processing, rotation processing and/or compression on the second reference image set according to the display control parameters of the reloading screen by the processing module to obtain a third reference image set.
In a possible example, in the step B1, performing, by the processing module, format conversion processing, and/or resolution reduction processing, and/or mirroring processing, and/or rotation processing, and/or compression processing on the second reference image set according to the display control parameter of the reloading screen, to obtain a third reference image set, including:
Step C1: determining a first resolution of each second reference image in the second reference image set; determining a second resolution of the reloading screen according to the display control parameters;
step C2: determining a second resolution of the reloading screen and a first screen mode of the reloading screen according to display control parameters of the reloading screen;
wherein the first screen mode is used for indicating that each second reference image in the second reference image set needs rotation and/or mirroring;
step C3: rotating and/or mirroring each second reference image in the second reference image set according to the first screen mode to obtain a fourth reference image set;
step C4: adjusting the resolution of each fourth reference image in the fourth reference image set according to the first resolution and the second resolution to obtain a fifth reference image set;
specifically, the resolution of each of the fourth reference images in the fourth reference image set is adjusted from the first resolution to the second resolution.
Step C5: and compressing the fifth reference image set according to the compression parameters in the display control parameters to obtain a third reference image set.
In a possible example, in the step C3, each second reference image in the second reference image set is rotated and/or mirrored according to the first screen mode, to obtain a fourth reference image set, including:
Step D1: determining a second screen mode of the original screen, and judging whether the first screen mode is the same as the second screen mode;
step D2: if not, determining a rotation parameter and/or a mirror image parameter corresponding to the second reference image set according to the first screen mode and the second screen mode;
the rotation parameter is used for indicating the rotation angle of each second reference image in the second reference image set, and the mirroring parameter is used for indicating the mirroring of each second reference image in the second parameter image set.
Step D3: and rotating and/or mirroring each second reference image in the second reference image set according to the rotation parameters and/or mirroring parameters to obtain a fourth reference image set.
As can be seen, the present example rotates and/or mirrors each of the second reference image sets according to rotation parameters and/or mirror parameters, facilitating adjustment of the reference image set to a target image set that is compatible with the reloading screen.
In a possible example, in the step B1, performing, by the processing module, format conversion processing, and/or resolution reduction processing, and/or mirroring processing, and/or rotation processing, and/or compression processing on the second reference image set according to the display control parameter of the reloading screen, to obtain a third reference image set, including:
Step E1: determining a first resolution of each second reference image in the second reference image set; determining a second resolution of the reloading screen according to the display control parameters;
step E2: adjusting the resolution of each second reference image in the second reference image set according to the first resolution and the second resolution to obtain a fourth reference image set;
specifically, the resolution of each second reference image in the second reference image set is adjusted from the first resolution to the second resolution.
Step E3: determining a second resolution of the reloading screen and a first screen mode of the reloading screen according to display control parameters of the reloading screen, wherein the first screen mode is used for indicating that each second reference image in the second reference image set needs to be rotated and/or mirrored;
step E4: rotating and/or mirroring each fourth reference image in the fourth reference image set according to the first screen mode to obtain a fifth reference image set;
step E5: and compressing the fifth reference image set according to the compression parameters in the display control parameters to obtain a third reference image set.
As can be seen, the present example determines the second resolution of the reload screen and the first screen mode of the reload screen according to the display control parameters of the reload screen, facilitating the adjustment of the reference image set to the target image set of the reload screen.
In one possible example, the method further comprises:
step F1: if an image stitching instruction for stitching the first original image set and the preset image is received from the processor, responding to the image stitching instruction, and determining a fifth reference image to be stitched in the second reference image set;
wherein the fifth reference picture is at least one fifth reference picture in the second reference picture set.
Step F2: determining the splicing relative position of the preset image and the fifth reference image;
specifically, determining the stitching relative position of the preset image and the fifth reference image in the step F2 includes: and determining the splicing relative position of the preset image and the fifth reference image according to the first position of the preset image splicing.
Step F3: and splicing the preset image and the fifth reference image according to the splicing relative position to obtain a third reference image set.
Step 205, the third reference image set is stored by the storage module.
And 206, reading the third reference image set stored by the storage module through the display control module, and processing each third reference image in the third reference image set to obtain a target image set.
In step 207, the image data in the target image set is converted by the conversion module, so as to obtain a display image set.
Step 208, sending the display image set to the reload screen.
It can be seen that in the embodiment of the present application, according to the first frame rate of the first original image set, the first target image set is parsed and separated to obtain the first reference image set, the first reference image set is subjected to preset mode conversion, each third reference image in the third reference image set is processed, and then the image data in the target image set is converted to obtain the display image set; and sending the display image set to a reloading screen to realize the conversion of the input of different image formats.
The foregoing description of the embodiments of the present application has been presented primarily in terms of a method-side implementation. It will be appreciated that the bridge chip, in order to implement the above-described functions, comprises corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional units of the bridge chip according to the method example, for example, each functional unit can be divided corresponding to each function, and two or more functions can be integrated in one processing unit. The integrated units may be implemented in hardware or in software functional units. It should be noted that, in the embodiment of the present application, the division of the units is schematic, which is merely a logic function division, and other division manners may be implemented in actual practice.
The embodiment of the application provides an image processing device which can be a bridge chip. Specifically, the image processing device is configured to execute the steps executed by the bridge chip in the above image processing method. The image processing device provided by the embodiment of the application can comprise modules corresponding to the corresponding steps.
The embodiment of the present application may divide the functional modules of the image processing apparatus according to the above-described method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. The division of the modules in the embodiment of the application is schematic, only one logic function is divided, and other division modes can be adopted in actual implementation.
Fig. 3 shows a possible configuration diagram of the image processing apparatus involved in the above-described embodiment in the case where respective functional blocks are divided with corresponding respective functions. As shown in fig. 3, an image processing apparatus 300 is applied to a bridge chip of a screen replacement module of an electronic device, where the electronic device includes a processor and the screen replacement module, the screen replacement module includes a bridge chip and a screen replacement screen, the processor is connected to the bridge chip, and the bridge chip is connected to the screen replacement screen; the bridge chip includes: the device comprises an analysis module, a processing module, a display control module, a storage module and a conversion module; the device comprises: an obtaining unit 31, configured to obtain a first original image set and a video processing instruction from a processor, where the first original image set is an image set in which resolution in a first original video is adapted to an original screen of the electronic device, and the original screen is different from the reload screen in resolution;
a determining unit 32 for determining a first frame rate of the first original image set in response to the image processing instruction;
a first conversion unit 33, configured to perform, by using the parsing module, parsing and separating the first target image set according to the first frame rate to obtain a first reference image set, and performing preset mode conversion on the first reference image set to obtain a second reference image set;
The processing unit 34 is configured to perform preset processing on the second reference image set according to the display control parameter of the reloading screen through the processing module, so as to obtain the third reference image set;
a storage unit 35, configured to store the third reference image set through the storage module;
a display control unit 36, configured to read, by using the display control module, the third reference image set stored by the storage module, and process each third reference image in the third reference image set to obtain a target image set;
a second conversion unit 37, configured to convert, by using the conversion module, image data in the target image set to obtain a display image set;
and a transmitting unit 38 for transmitting the display image set to the reloading screen.
In a possible example, before the processing module performs the preset processing on the second reference image set according to the display control parameter of the reloading screen to obtain the third reference image set, the image processing apparatus 300 is further specifically configured to: obtaining the model of the reloading screen; and determining display control data of the reloading screen according to the model.
In one possible example, the processing unit 34 is specifically configured to, in the aspect that the processing module performs preset processing on the second reference image set according to the display control parameter of the reloading screen to obtain the third reference image set: and carrying out format conversion processing, resolution reduction processing, mirror image processing, rotation processing and/or compression on the second reference image set according to the display control parameters of the reloading screen by the processing module to obtain the third reference image set.
In one possible example, the processing unit 34 is specifically configured to, in the aspect that the processing module performs format conversion processing, and/or resolution reduction processing, and/or mirroring processing, and/or rotation processing, and/or compression processing on the second reference image set according to the display control parameter of the reload screen, to obtain the third reference image set: determining a first resolution of each second reference image in the second reference image set; determining a second resolution of the reloading screen according to the display control parameters; determining a second resolution of the reloading screen and a first screen mode of the reloading screen according to the display control parameters of the reloading screen, wherein the first screen mode is used for indicating that each second reference image in a second reference image set needs to be rotated and/or mirrored; rotating and/or mirroring each second reference image in the second reference image set according to the first screen mode to obtain a fourth reference image set; adjusting the resolution of each fourth reference image in the fourth reference image set according to the first resolution and the second resolution to obtain a fifth reference image set; and compressing the fifth reference image set according to compression parameters in the display control parameters to obtain the third reference image set.
In a possible example, in said rotating and/or mirroring each second reference image of said second set of reference images according to said first screen mode, the processing unit 34 is specifically configured to: determining a second screen mode of the original screen, and judging whether the first screen mode is the same as the second screen mode; if not, determining rotation parameters and/or mirror image parameters corresponding to the second reference image set according to the first screen mode and the second screen mode; and rotating and/or mirroring each second reference image in the second reference image set according to the rotation parameter and/or the mirroring parameter to obtain a fourth reference image set.
In one possible example, the processing unit 34 is specifically configured to, in the aspect that the processing module performs format conversion processing, and/or resolution reduction processing, and/or mirroring processing, and/or rotation processing, and/or compression processing on the second reference image set according to the display control parameter of the reload screen, to obtain the third reference image set: determining a first resolution of each second reference image in the second reference image set; determining a second resolution of the reloading screen according to the display control parameters; adjusting the resolution of each second reference image in the second reference image set according to the first resolution and the second resolution to obtain a fourth reference image set; determining a second resolution of the reloading screen and a first screen mode of the reloading screen according to the display control parameters of the reloading screen, wherein the first screen mode is used for indicating that each second reference image in a second reference image set needs to be rotated and/or mirrored; rotating and/or mirroring each fourth reference image in the fourth reference image set according to the first screen mode to obtain a fifth reference image set; and compressing the fifth reference image set according to compression parameters in the display control parameters to obtain the third reference image set.
In one possible example, the image processing apparatus 300 is further specifically configured to: if an image stitching instruction for stitching the first original image set and the preset image is received from the processor, responding to the image stitching instruction, and determining a fifth reference image to be stitched in the second reference image set; determining a splicing relative position of the preset image and the fifth reference image; and splicing the preset image and the fifth reference image according to the splicing relative position to obtain the third reference image set.
In the case of using an integrated unit, a schematic structural diagram of another image processing apparatus 4 provided in the embodiment of the present application is shown in fig. 4. In fig. 4, an image processing apparatus 400 includes: a processing module 40 and a communication module 41. The processing module 40 is configured to control and manage actions of the image processing apparatus, for example, steps performed by the acquisition unit 31, the determination unit 32, the first conversion unit 33, the processing unit 34, the storage unit 35, the display control unit 36, the second conversion unit 37, the transmission unit 38, and/or other processes for performing the techniques described herein. The communication module 41 is used to support interaction between the image processing apparatus and other devices. As shown in fig. 4, the image processing apparatus 400 may further include a storage module 42, the storage module 42 storing program codes and data of the image processing apparatus.
The processing module 40 may be a processor or controller, such as a central processing unit (Central Processing Unit, CPU), a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. The processor may also be a combination of computing functions. The communication module 41 may be a transceiver, an RF circuit, a communication interface, or the like. The memory module 42 may be a memory.
All relevant contents of each scenario related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein. Both the image processing apparatus 300 and the image processing apparatus 400 may perform the steps performed by the bridge chip in the image processing method shown in fig. 2.
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the processes or functions described in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired or wireless means. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more sets of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
The embodiment of the application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program makes a computer execute part or all of the steps of any one of the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform part or all of the steps of any one of the methods described in the method embodiments above. The computer program product may be a software installation package, said computer comprising an electronic device.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed method, apparatus and system may be implemented in other manners. For example, the device embodiments described above are merely illustrative; for example, the division of the units is only one logic function division, and other division modes can be adopted in actual implementation; for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may be physically included separately, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above 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, etc.) to perform part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Although the present invention is disclosed above, the present invention is not limited thereto. Variations and modifications, including combinations of the different functions and implementation steps, as well as embodiments of the software and hardware, may be readily apparent to those skilled in the art without departing from the spirit and scope of the invention.

Claims (7)

1. The image processing method is characterized by being applied to a bridge chip of a screen replacement module of electronic equipment, wherein the electronic equipment comprises a processor and the screen replacement module, the screen replacement module comprises the bridge chip and a screen replacement screen, the processor is connected with the bridge chip, and the bridge chip is connected with the screen replacement screen; the bridge chip includes: the device comprises an analysis module, a processing module, a display control module, a storage module and a conversion module; the method comprises the following steps:
acquiring a first original image set and an image processing instruction from a processor, wherein the first original image set is an image set of an original screen of the electronic equipment, the resolution of which is adapted to that of a first original video, and the resolution of the original screen is different from that of the reloading screen;
determining a first frame rate of the first original image set in response to the image processing instruction;
Analyzing and separating the first original image set according to the first frame rate by the analyzing module to obtain a first reference image set, and performing preset mode conversion on the first reference image set to obtain a second reference image set, wherein the first reference image set comprises image frame data which are analyzed and separated from image data in the first original image set, and the preset mode comprises a command mode and/or a video mode;
the second reference image set is subjected to preset processing according to the display control parameters of the reloading screen through the processing module to obtain a third reference image set, wherein the preset processing comprises format conversion processing, and/or resolution reduction processing, and/or mirror image processing, and/or rotation processing and/or compression; or alternatively, the process may be performed,
acquiring an image stitching instruction from the processor for stitching the first original image set and a preset image; determining a fifth reference image to be stitched in the second reference image set in response to the image stitching instruction, wherein the fifth reference image is at least one second reference image in the second reference image set; determining a splicing relative position of the preset image and the fifth reference image; splicing the preset image and the fifth reference image according to the splicing relative position to obtain the third reference image set;
Storing the third reference image set by the storage module;
reading the third reference image set stored by the storage module through the display control module, and carrying out the preset processing on each third reference image in the third reference image set to obtain a target image set;
the conversion module is used for carrying out the preset mode conversion on the image data in the target image set to obtain a display image set;
and sending the display image set to the reloading screen.
2. The method according to claim 1, wherein the processing module performs a preset process on the second reference image set according to the display control parameter of the reloading screen, and before obtaining the third reference image set, the method further includes:
obtaining the model of the reloading screen;
and determining display control data of the reloading screen according to the model.
3. The method according to claim 1, wherein the performing, by the processing module, the preset processing on the second reference image set according to the display control parameter of the reloading screen to obtain a third reference image set includes:
determining a first resolution of each of the second reference pictures in the second reference picture set;
Determining a second resolution of the reloading screen and a first screen mode of the reloading screen according to display control parameters, wherein the first screen mode is used for indicating that each second reference image in a second reference image set needs to be rotated and/or mirrored;
rotating and/or mirroring each second reference image in the second reference image set according to the first screen mode to obtain a fourth reference image set;
adjusting the resolution of each fourth reference image in the fourth reference image set according to the first resolution and the second resolution to obtain a fifth reference image set;
and compressing the fifth reference image set according to compression parameters in the display control parameters to obtain the third reference image set.
4. A method according to claim 3, wherein said rotating and/or mirroring each of the second reference pictures in the second reference picture set according to the first screen mode to obtain a fourth reference picture set comprises:
determining a second screen mode of the original screen, and judging whether the first screen mode is the same as the second screen mode;
if not, determining rotation parameters and/or mirror image parameters corresponding to the second reference image set according to the first screen mode and the second screen mode;
And rotating and/or mirroring each second reference image in the second reference image set according to the rotation parameter and/or the mirroring parameter to obtain a fourth reference image set.
5. The method according to claim 1, wherein the performing, by the processing module, the preset processing on the second reference image set according to the display control parameter of the reloading screen to obtain a third reference image set includes:
determining a first resolution of each second reference image in the second reference image set;
determining a second resolution of the reloading screen according to the display control parameters;
adjusting the resolution of each second reference image in the second reference image set according to the first resolution and the second resolution to obtain a fourth reference image set;
determining a first screen mode of the reloading screen according to the second resolution, wherein the first screen mode is used for indicating that each second reference image in the second reference image set needs to be rotated and/or mirrored;
rotating and/or mirroring each fourth reference image in the fourth reference image set according to the first screen mode to obtain a fifth reference image set;
And compressing the fifth reference image set according to compression parameters in the display control parameters to obtain the third reference image set.
6. The image processing device is characterized by being applied to a bridge chip of a screen replacement module of electronic equipment, wherein the electronic equipment comprises a processor and the screen replacement module, the screen replacement module comprises the bridge chip and a screen replacement screen, the processor is connected with the bridge chip, and the bridge chip is connected with the screen replacement screen;
the device comprises an acquisition unit, a determination unit, a first conversion unit, a processing unit, a storage unit, a display control unit, a second conversion unit and a sending unit; wherein, the liquid crystal display device comprises a liquid crystal display device,
the acquisition unit is used for acquiring a first original image set and an image processing instruction from the processor, wherein the first original image set is an image set of an original screen of the electronic device, the resolution of which is adapted to that of the original screen in a first original video, and the resolution of the original screen is different from that of the reloading screen;
the determining unit is used for determining a first frame rate of the first original image set in response to the image processing instruction;
the first conversion unit is configured to parse and separate the first original image set according to the first frame rate to obtain a first reference image set, and perform preset mode conversion on the first reference image set to obtain a second reference image set, where the first reference image set includes image frame data parsed and separated from image data in the first original image set, and the preset mode includes a command mode and/or a video mode;
The processing unit is used for carrying out preset processing on the second reference image set according to the display control parameters of the reloading screen to obtain a third reference image set; or, acquiring an image stitching instruction from the processor for stitching the first original image set and a preset image; determining a fifth reference image to be stitched in the second reference image set in response to the image stitching instruction, wherein the fifth reference image is at least one second reference image in the second reference image set; determining a splicing relative position of the preset image and the fifth reference image; splicing the preset image and the fifth reference image according to the splicing relative position to obtain the third reference image set;
the storage unit is used for storing the third reference image set;
the display control unit is used for reading the third reference image set stored by the storage unit, and carrying out the preset processing on each third reference image in the third reference image set to obtain a target image set;
the second conversion unit is used for carrying out the preset mode conversion on the image data in the target image set to obtain a display image set;
The sending unit is used for sending the display image set to the reloading screen.
7. A computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes an apparatus to perform the steps of any of the methods of claims 1-5.
CN202111324206.6A 2021-11-09 2021-11-09 Image processing method and related device Active CN114189741B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111324206.6A CN114189741B (en) 2021-11-09 2021-11-09 Image processing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111324206.6A CN114189741B (en) 2021-11-09 2021-11-09 Image processing method and related device

Publications (2)

Publication Number Publication Date
CN114189741A CN114189741A (en) 2022-03-15
CN114189741B true CN114189741B (en) 2023-08-18

Family

ID=80602028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111324206.6A Active CN114189741B (en) 2021-11-09 2021-11-09 Image processing method and related device

Country Status (1)

Country Link
CN (1) CN114189741B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104822041A (en) * 2015-04-30 2015-08-05 武汉精测电子技术股份有限公司 FPGA-based method for realizing video and command functions of MIPI signal and apparatus thereof
CN109391791A (en) * 2017-08-03 2019-02-26 深圳小淼科技有限公司 MIPI video signal conversion method and its device for Single panel LCD projection device
CN111083496A (en) * 2019-12-25 2020-04-28 Oppo广东移动通信有限公司 Data processing method and related product
CN111526403A (en) * 2020-03-30 2020-08-11 龙芯中科技术有限公司 Display device, method and electronic equipment
JP2021144728A (en) * 2020-05-28 2021-09-24 ベイジン バイドゥ ネットコム サイエンス アンド テクノロジー カンパニー リミテッド Screen switching display method and device, smart rearview mirror, and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104822041A (en) * 2015-04-30 2015-08-05 武汉精测电子技术股份有限公司 FPGA-based method for realizing video and command functions of MIPI signal and apparatus thereof
CN109391791A (en) * 2017-08-03 2019-02-26 深圳小淼科技有限公司 MIPI video signal conversion method and its device for Single panel LCD projection device
CN111083496A (en) * 2019-12-25 2020-04-28 Oppo广东移动通信有限公司 Data processing method and related product
CN111526403A (en) * 2020-03-30 2020-08-11 龙芯中科技术有限公司 Display device, method and electronic equipment
JP2021144728A (en) * 2020-05-28 2021-09-24 ベイジン バイドゥ ネットコム サイエンス アンド テクノロジー カンパニー リミテッド Screen switching display method and device, smart rearview mirror, and readable storage medium

Also Published As

Publication number Publication date
CN114189741A (en) 2022-03-15

Similar Documents

Publication Publication Date Title
EP3410390B1 (en) Image processing method and device, computer readable storage medium and electronic device
US9696958B2 (en) Method and system for presenting content
CN104869305B (en) Method and apparatus for processing image data
US11893767B2 (en) Text recognition method and apparatus
US8713456B2 (en) Establishing a graphical user interface (‘GUI’) theme
CN107105124B (en) Protocol for communication between a platform and an image device
CN110930467A (en) Image processing method, electronic device and readable storage medium
CN111083496A (en) Data processing method and related product
US20150015734A1 (en) Method of developing an image from raw data and electronic apparatus
US11922607B2 (en) Electronic device for processing image and image processing method thereof
EP2840782A1 (en) Method for improving video output definition and terminal device
US20230336861A1 (en) Configuration method and apparatus
CN114189741B (en) Image processing method and related device
CN113094015A (en) Holographic multi-screen display implementation method and system, computer equipment and storage medium
CN111741343A (en) Video processing method and device and electronic equipment
US20200004656A1 (en) Judgment method for hardware compatibility
WO2023109374A1 (en) User interface poster picture processing method and apparatus, storage medium, and electronic device
CN108920122B (en) Screen display method, device, terminal and computer readable storage medium
CN112312067A (en) Method, device and equipment for pre-monitoring input video signal
CN112399196B (en) Image processing method and device
CN113988649B (en) Display function testing method of display screen and related device
CN112911186B (en) Image storage method and device, electronic equipment and storage medium
US20030053120A1 (en) Image transfer method, image server system, and program therefor
CN108737761B (en) Video recording method and device
CN115617290A (en) Image display method, image display device, electronic device, and storage medium

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