CN114189741A - Image processing method and related device - Google Patents

Image processing method and related device Download PDF

Info

Publication number
CN114189741A
CN114189741A CN202111324206.6A CN202111324206A CN114189741A CN 114189741 A CN114189741 A CN 114189741A CN 202111324206 A CN202111324206 A CN 202111324206A CN 114189741 A CN114189741 A CN 114189741A
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.)
Granted
Application number
CN202111324206.6A
Other languages
Chinese (zh)
Other versions
CN114189741B (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

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream 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 or rendering scenes according to encoded video stream 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 or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream 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 or rendering scenes according to encoded video stream 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

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 the 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; presetting the second reference image set according to the display control parameters of the reloading screen to obtain a third reference image set; storing the third reference image set; reading the 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 image data in the target image set to obtain a display image set; and sending the display image set to a conversion screen to realize the conversion of the input of different image formats.

Description

Image processing method and related device
Technical Field
The present application relates to the field of chip program operation technologies, and in particular, to an image processing method and a related apparatus.
Background
The screen of the mobile phone is larger and larger along with the influence of a user on the visual experience demand, however, the screen breaking risk of the mobile phone is gradually increased along with the increase of the screen of the mobile phone, and when the user needs to change the screen, the mobile phone is generally re-equipped with a screen and matched with a chip in the current market.
At present, most manufacturers adopt chips to realize image processing flow in equipment, but generally, one chip can only support input of the same image format to realize a screen display function, and cannot cover all models in the current market. There is a need for an image processing approach to achieve conversion of inputs of 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, which is applied to a bridge chip of a screen changing module of an electronic device, where the electronic device includes a processor and the screen changing module, the screen changing module includes a bridge chip and a screen changing screen, the processor is connected to the bridge chip, and the bridge chip is connected to 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; the method comprises the following steps:
obtaining a first original image set and a video processing instruction from a processor, wherein the first original image set is an image set of a resolution ratio adaptive to an original screen of the electronic equipment in a first original video, and the original screen and the reloading screen have different resolutions;
determining a first frame rate of the first original image set in response to the image processing instructions;
analyzing and separating the first target image set to obtain a first reference image set according to the first frame rate through the analyzing module, and performing preset mode conversion on the first reference image set to obtain a second reference image set;
presetting the second reference image set according to the display control parameters of the reloading screen through the processing module to obtain a third reference image set;
storing, by the storage module, the third reference image set;
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;
sending the set of display images 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 analyzed and separated to obtain a 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 image data in the target image set is converted to obtain a display image set; and sending the display image set to a conversion 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 replacing module of an electronic device, where the electronic device includes a processor and the screen replacing module, the screen replacing module includes the bridge chip and a screen replacing screen, the processor is connected to the bridge chip, and the bridge chip is connected to the screen replacing 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:
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 which is matched with that of the first original video, and the original screen and the reloading screen are different;
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 analyzing and separating the first target image set to obtain a first reference image set according to the first frame rate through the analysis module, and performing preset mode conversion on the first reference image set to obtain a second reference image set;
the processing unit is used for presetting the second reference image set according to the display control parameters of the reloading screen through the processing module to obtain a 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, characterized in that the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes an apparatus to perform the steps of the method according to any one of the first aspect.
In a fourth aspect, the present application provides a bridge chip, where the bridge chip is configured to run a program, where the program is run to perform the steps in any one of the methods in the first aspect.
In a fifth aspect, the present application provides an electronic device comprising the bridge chip according to the fourth aspect.
Drawings
Fig. 1a is a schematic structural diagram of a bridge chip according to an embodiment of the present disclosure;
FIG. 1b is a schematic diagram of a hardware system architecture of a bridge chip according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of an image processing method according to an embodiment of the present application;
fig. 3 is a block diagram of functional units of an image processing apparatus according to an embodiment of the present application;
fig. 4 is a block diagram of functional units of another image processing apparatus according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, 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 of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively 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 can be included in at least one embodiment of the application. The appearances of the phrase 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. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In the present application, "at least one" means one or more, and a plurality means two or more. In this application and/or, an association relationship of an associated object is described, which means that there may be three relationships, for example, a and/or B, which may mean: a alone, both A and B, and B alone, where A, B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. 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 a set comprising one or more elements.
It should be noted that, in the embodiments of the present application, the term "equal to" may be used in conjunction with more than, and is applicable to the technical solution adopted when more than, and may also be used in conjunction with less than, and is applicable to the technical solution adopted when less than, and it should be noted that when equal to or more than, it is not used in conjunction with less than; when the ratio is equal to or less than the combined ratio, the ratio is not greater than the combined ratio. In the embodiments of the present application, "of", "corresponding" and "corresponding" may be sometimes used in combination, and it should be noted that the intended meaning is consistent when the difference is not emphasized.
At present, one chip can only support the input of the same image format, and can not cover all models on the current market. In view of the above problems, the present application provides an image processing method and related apparatus, which will be 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 present disclosure. 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 connected in communication.
The bridge chip 100 of the present application can receive image data sent from a main chip or a processor of a mobile phone, 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, and the like, for example, and the processed target image frame data may be stored in the storage module 13. Furthermore, the Display control module 12 can read the target image frame data from the storage module 13, amplify the target image frame data to a size suitable for TDDI (Touch and Display Driver Integration), perform color correction, format conversion and other processing, send the video data to the conversion module 14, and modulate the target image frame data into Display data according to the MIPI protocol by the conversion module, and output 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 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 in the internet of things, and a vehicle-mounted terminal device.
As shown in fig. 1b, fig. 1b is a schematic diagram of a hardware system architecture of a bridge chip, wherein an image can be displayed by an image processing system; the control of the whole chip is realized through a master control system; data or image frame storage is achieved by a storage system.
Referring to fig. 2, fig. 2 is a schematic flowchart of an image processing method according to an embodiment of the present disclosure, and the image processing method is applied to a bridge chip of a screen replacing module of an electronic device, where the electronic device includes a processor and the screen replacing module, the screen replacing module includes the bridge chip and a screen replacing screen, the processor is connected to the bridge chip, and the bridge chip is connected to the screen replacing 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.
In step 201, a first raw image set and video processing instructions are obtained from a processor.
The first original image set is an image set of an original screen of the electronic equipment with the resolution matching function in the first original video, and the resolution of the original screen is different from that of the reloading screen.
In response to the image processing instruction, a first frame rate of the first raw image set is determined, step 202.
Step 203, the first target image set is analyzed and separated through the analysis module according to the first frame rate 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 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, presetting the second reference image set through the 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: the pixel dot pitch of the display screen, the resolution of the display screen, the scanning frequency of the display screen and the refreshing speed of the display screen.
In a possible example, before 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, the method further includes:
step A1: acquiring the model of the reloading screen;
step A2: and determining display control data of the reloading screen according to the model.
In one possible example, the pre-processing the second reference image set according to the display control parameter of the reloading screen by the processing module to obtain a third reference image set includes:
step B1: and performing format conversion processing, resolution reduction processing, mirror image processing, rotation processing and/or compression on the second reference image set by the processing module according to the display control parameters of the reloading screen to obtain a third reference image set.
In a possible example, in step B1, 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 reloading screen to obtain a third reference image set, including:
step C1: determining a first resolution for 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 the display control parameters of the reloading screen;
wherein the first screen mode is used to indicate that each second reference image in the second reference image set requires 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 fourth reference image in the fourth reference image set is adjusted from the first resolution to the second resolution according to the adjustment.
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, 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, the method includes:
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 angle of rotation of each second reference image in the second reference image set, and the mirror image parameter is used for indicating mirror image processing 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 the mirroring parameters to obtain a fourth reference image set.
It can be seen that the present example rotates and/or mirrors each of the second reference images in the second reference image set according to the rotation parameter and/or the mirror parameter, so as to adjust the reference image set to the target image set adapted to the reloaded screen.
In a possible example, in step B1, 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 reloading screen to obtain a third reference image set, including:
step E1: determining a first resolution for 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 according to the adjustment.
Step E3: 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 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.
It can be seen that the present example determines the second resolution of the reloading screen and the first screen mode of the reloading screen based on the display control parameters of the reloading screen, facilitating adjustment of the reference image set to the target image set adapted to the reloading screen.
In one possible example, the method further comprises:
step F1: if an image splicing instruction for splicing the first original image set and the preset image from a processor is received, responding to the image splicing instruction, and determining a fifth reference image to be spliced in the second reference image set;
wherein the fifth reference image is at least one fifth reference image in the second reference image set.
Step F2: determining the splicing relative position of the preset image and the fifth reference image;
specifically, the determining the 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, storing the third reference image set by the storage module.
And step 206, reading the third reference image set stored in 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.
And step 207, converting the image data in the target image set through a conversion module to obtain a display image set.
Step 208, send the display image set to the change 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 analyzed and separated to obtain a 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 image data in the target image set is converted to obtain a display image set; and sending the display image set to a conversion screen to realize the conversion of the input of different image formats.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the bridge chip contains corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives 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.
In the embodiment of the present application, the bridge chip may be divided into the functional units according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
The embodiment of the application provides an image processing device, and the image processing device can be a bridge chip. Specifically, the image processing apparatus is configured to perform the steps performed by the bridge chip in the above image processing method. The image processing apparatus provided by the embodiment of the present application may include modules corresponding to the respective steps.
The embodiment of the present application may perform division of functional modules on the image processing apparatus according to the above method, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The division of the modules in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 3 shows a schematic diagram of a possible structure of the image processing apparatus according to the above-described embodiment, in a case where each functional module is divided in correspondence with each function. As shown in fig. 3, the image processing apparatus 300 is applied to a bridge chip of a screen reloading module of an electronic device, where the electronic device includes a processor and the screen reloading module, the screen reloading module includes a bridge chip and a screen reloading screen, the processor is connected to the bridge chip, and the bridge chip is connected to the screen reloading 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 of a first original video, where a resolution of the first original video is adapted to an original screen of the electronic device, and a resolution of the original screen is different from a resolution of the original screen;
a determining unit 32, configured to determine a first frame rate of the first original image set in response to the image processing instruction;
a first conversion unit 33, configured to, by the analysis module, perform analysis and separation on the first target 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;
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 to obtain a third reference image set;
a storage unit 35, configured to store, by the storage module, the third reference image set;
the display control unit 36 is configured to read the third reference image set stored by the storage module through the display control 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 the conversion module, the image data in the target image set to obtain a display image set;
a sending unit 38, configured to send 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: acquiring the model of the reloading screen; and determining display control data of the reloading screen according to the model.
In a possible example, in terms of the processing module performing 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 processing unit 34 is specifically configured to: and performing format conversion processing, resolution reduction processing, mirror image processing, rotation processing and/or compression on the second reference image set by the processing module according to the display control parameter of the reloading screen to obtain a third reference image set.
In a possible example, in terms of the processing module performing 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 the third reference image set, the processing unit 34 is specifically configured to: determining a first resolution for 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 a compression parameter in the display control parameters to obtain the third reference image set.
In a possible example, in terms of the 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, 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 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; and rotating and/or mirroring each second reference image in the second reference image set according to the rotation parameters and/or the mirroring parameters to obtain a fourth reference image set.
In a possible example, in terms of the processing module performing 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 the third reference image set, the processing unit 34 is specifically configured to: determining a first resolution for 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 a compression parameter in the display control parameters to obtain the third reference image set.
In a possible example, the image processing apparatus 300 is further specifically configured to: if an image splicing instruction for splicing the first original image set and a preset image from the processor is received, responding to the image splicing instruction, and determining a fifth reference image to be spliced in the second reference image set; determining the 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 used for controlling and managing actions of the image processing apparatus, such as 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, and the storage module 42 is used for storing program codes and data of the image processing apparatus.
The Processing module 40 may be a Processor or a controller, and may be, for example, a Central Processing Unit (CPU), a general-purpose Processor, a 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 illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination that performs a computing function. The communication module 41 may be a transceiver, an RF circuit or a communication interface, etc. The storage module 42 may be a memory.
All relevant contents of each scene related to the method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again. The image processing apparatus 300 and the image processing apparatus 400 can both 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 combination thereof. 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. The procedures or functions according to the embodiments of the present application are wholly or partially generated when the computer instructions or the computer program are loaded or executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. 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, computer, server, or data center to another website, computer, server, or data center by wire or wirelessly. The computer-readable storage medium can 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 collections 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.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in 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 some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to 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 ways. For example, the above-described apparatus embodiments are merely illustrative; for example, the division of the unit is only a logic function division, and there may be another division manner in actual implementation; for example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications can be easily made by those skilled in the art without departing from the spirit and scope of the present invention, and it is within the scope of the present invention to include different functions, combination of implementation steps, software and hardware implementations.

Claims (11)

1. The image processing method is characterized in that the method is applied to a bridge chip of a screen replacing module of electronic equipment, the electronic equipment comprises a processor and the screen replacing module, the screen replacing module comprises the bridge chip and a screen replacing screen, the processor is connected with the bridge chip, and the bridge chip is connected with the screen replacing 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:
obtaining a first original image set and a video processing instruction from a processor, wherein the first original image set is an image set of a resolution ratio adaptive to an original screen of the electronic equipment in a first original video, and the original screen and the reloading screen have different resolutions;
determining a first frame rate of the first original image set in response to the image processing instructions;
analyzing and separating the first target image set to obtain a first reference image set according to the first frame rate through the analyzing module, and performing preset mode conversion on the first reference image set to obtain a second reference image set;
presetting the second reference image set according to the display control parameters of the reloading screen through the processing module to obtain a third reference image set;
storing, by the storage module, the third reference image set;
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;
sending the set of display images to the reloading screen.
2. The method according to claim 1, wherein before the pre-processing the second reference image set by the processing module according to the display control parameter of the reloading screen to obtain the third reference image set, the method further comprises:
acquiring 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 pre-processing 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 comprises:
and performing format conversion processing, resolution reduction processing, mirror image processing, rotation processing and/or compression on the second reference image set by the processing module according to the display control parameter of the reloading screen to obtain a third reference image set.
4. The method according to claim 3, wherein the obtaining, by the processing module, the third reference image set by performing 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 comprises:
determining a first resolution for 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 a compression parameter in the display control parameters to obtain the third reference image set.
5. The method of claim 4, wherein 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 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 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;
and rotating and/or mirroring each second reference image in the second reference image set according to the rotation parameters and/or the mirroring parameters to obtain a fourth reference image set.
6. The method according to claim 3, wherein the obtaining, by the processing module, the third reference image set by performing 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 comprises:
determining a first resolution for 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 a compression parameter in the display control parameters to obtain the third reference image set.
7. The method according to any one of claims 1-6, further comprising:
if an image splicing instruction for splicing the first original image set and a preset image from the processor is received, responding to the image splicing instruction, and determining a fifth reference image to be spliced in the second reference image set;
determining the 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.
8. An image processing device is characterized in that the image processing device is applied to a bridge chip of a screen replacing module of electronic equipment, the electronic equipment comprises a processor and the screen replacing module, the screen replacing module comprises the bridge chip and a screen replacing screen, the processor is connected with the bridge chip, and the bridge chip is connected with the screen replacing 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:
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 which is matched with that of the first original video, and the original screen and the reloading screen are different;
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 analyzing and separating the first target image set to obtain a first reference image set according to the first frame rate through the analysis module, and performing preset mode conversion on the first reference image set to obtain a second reference image set;
the processing unit is used for presetting the second reference image set according to the display control parameters of the reloading screen through the processing module to obtain a 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.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes an apparatus to perform the steps of the method according to any one of claims 1-7.
10. Bridge chip, characterized in that the bridge chip is configured to run a program, wherein the program is configured to perform the steps of the method according to any one of claims 1 to 7 when running.
11. An electronic device comprising the bridge chip of claim 10.
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 true CN114189741A (en) 2022-03-15
CN114189741B 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
CN114189741B (en) 2023-08-18

Similar Documents

Publication Publication Date Title
CN110675404B (en) Image processing method, image processing apparatus, storage medium, and terminal device
CN111788603A (en) Electronic device and method for correcting an image corrected with a first image processing scheme in an external electronic device with a second image processing scheme
CN107105124B (en) Protocol for communication between a platform and an image device
US11922598B2 (en) Image processing apparatus, image processing method, and storage medium
CN113068040A (en) Image compression method and device, electronic equipment and readable storage medium
CN110930467A (en) Image processing method, electronic device and readable storage medium
CN111325798A (en) Camera model correction method and device, AR implementation equipment and readable storage medium
US11922607B2 (en) Electronic device for processing image and image processing method thereof
CN114444650A (en) Method for improving accuracy of quantized multi-level object detection network
CN114189741A (en) Image processing method and related device
KR20210079956A (en) Electronic device supplying service of processing image through network
WO2023109374A1 (en) User interface poster picture processing method and apparatus, storage medium, and electronic device
US20230156349A1 (en) Method for generating image and electronic device therefor
US10949713B2 (en) Image analyzing device with object detection using selectable object model and image analyzing method thereof
KR20220016695A (en) Electronic device and method for image segmentation based on deep learning
CN113613024A (en) Video preprocessing method and device
KR102499286B1 (en) Electronic device for compressing image based on compression loss data associated with compression of a plurality of blocks into which image has been segmented and method for operating thefeof
KR20220023089A (en) Method, system, and computer program for evaluating image quality using homography estimation
CN114764839A (en) Dynamic video generation method and device, readable storage medium and terminal equipment
CN112911186B (en) Image storage method and device, electronic equipment and storage medium
US20230325969A1 (en) Image processing apparatus, image processing method, and non-transitory computer readable medium
WO2023193648A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN117475013B (en) Computer equipment and video data processing method
CN112399196B (en) Image processing method and device
US11380096B2 (en) Electronic device for performing image processing and method thereof

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