CN115567711A - Desktop image dynamic acquisition method and device and computer readable storage medium - Google Patents

Desktop image dynamic acquisition method and device and computer readable storage medium Download PDF

Info

Publication number
CN115567711A
CN115567711A CN202211147146.XA CN202211147146A CN115567711A CN 115567711 A CN115567711 A CN 115567711A CN 202211147146 A CN202211147146 A CN 202211147146A CN 115567711 A CN115567711 A CN 115567711A
Authority
CN
China
Prior art keywords
resolution
desktop
image
output
image encoder
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.)
Pending
Application number
CN202211147146.XA
Other languages
Chinese (zh)
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.)
Ehang Intelligent Equipment Guangzhou Co Ltd
Original Assignee
Ehang Intelligent Equipment Guangzhou 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 Ehang Intelligent Equipment Guangzhou Co Ltd filed Critical Ehang Intelligent Equipment Guangzhou Co Ltd
Priority to CN202211147146.XA priority Critical patent/CN115567711A/en
Publication of CN115567711A publication Critical patent/CN115567711A/en
Priority to PCT/CN2023/118683 priority patent/WO2024061087A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay

Abstract

The invention discloses a desktop image dynamic acquisition method, equipment and a computer readable storage medium, wherein the method comprises the following steps: acquiring the resolution relation between the current desktop resolution and the current output resolution and the current instance state of an image encoder; according to the resolution relationship and the instance state, constructing or reconstructing the image encoder and/or performing texture scaling of the desktop resolution to obtain an acquired image frame consistent with the output resolution; and encoding the collected image frame through a constructed or reconstructed or existing encoding algorithm corresponding to the image encoder to obtain output desktop image data. The invention realizes a self-adaptive desktop image dynamic acquisition scheme, so that the cloud application can dynamically acquire and process the desktop image, and the transmission bandwidth and the utilization efficiency of decoding resources for desktop image transmission are greatly improved.

Description

Desktop image dynamic acquisition method and device and computer readable storage medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a method and an apparatus for dynamically acquiring desktop images, and a computer-readable storage medium.
Background
In the prior art, with the continuous development of cloud technology, more and more software is presented in a cloud manner. The cloud display scheme depends on image acquisition and transmission of the image source end, and in the process, if the resolution of the desktop image of the image source end is changed, certain influence is caused on subsequent image data. For example, when the resolution of the desktop image is reduced, if the transmitted image data is still encoded and transmitted at a larger resolution, a certain amount of waste of image transmission bandwidth and excessive occupation of image decoding resources may be caused.
Therefore, how to dynamically adaptively adjust the acquisition, processing and transmission of the desktop image to improve the utilization efficiency of the transmission bandwidth and the decoding resource becomes a technical problem to be solved at present.
Disclosure of Invention
In order to solve the technical defects in the prior art, the invention provides a desktop image dynamic acquisition method, which comprises the following steps:
acquiring a resolution relation between a current desktop resolution and a current output resolution and an instance state of a current image encoder;
according to the resolution relation and the instance state, the image encoder is constructed or reconstructed, and/or the desktop resolution is zoomed according to the texture, so that an acquired image frame consistent with the output resolution is obtained;
and encoding the collected image frame through a constructed or reconstructed or existing encoding algorithm corresponding to the image encoder to obtain output desktop image data.
Optionally, the acquiring a resolution relationship between a current desktop resolution and a current output resolution and a current instance state of the image encoder includes:
presetting a resolution monitoring frequency of a desktop and/or a picture monitoring condition of the desktop;
and when the resolution monitoring frequency and/or the picture monitoring condition are/is met, acquiring a current desktop picture frame and a current output picture frame.
Optionally, the acquiring a resolution relationship between a current desktop resolution and a current output resolution and a current instance state of the image encoder further includes:
obtaining the desktop resolution according to the desktop picture frame, and obtaining the output resolution according to the output image frame;
and when the resolution relationship is that the resolutions are consistent, acquiring a first example state of the image encoder, and when the resolution relationship is that the resolutions are not consistent, acquiring a second example state of the image encoder.
Optionally, the performing, according to the resolution relationship and the instance state, the constructing or reconstructing of the image encoder and/or performing texture scaling of the desktop resolution to obtain an acquired image frame consistent with the output resolution includes:
when the first instance state is a non-instance, detecting whether there is an existing the image encoder;
constructing the image encoder at the output resolution when the existing image encoder is not detected.
Optionally, the performing, according to the resolution relationship and the instance state, the constructing or reconstructing of the image encoder and/or performing texture scaling of the desktop resolution to obtain an acquired image frame consistent with the output resolution further includes:
invoking the instantiated image encoder when the first instance state is instantiated;
performing texture scaling of the desktop resolution by the instantiated image encoder to obtain an acquired image frame that is consistent with the output resolution.
Optionally, the performing, according to the resolution relationship and the instance state, the constructing or reconstructing of the image encoder and/or performing texture scaling of the desktop resolution to obtain an acquired image frame consistent with the output resolution further includes:
when the second instance state is a non-instance, detecting whether there is an existing the image encoder;
when the existing image encoder is not detected, the image encoder is constructed at the output resolution.
Optionally, the performing, according to the resolution relationship and the instance state, the constructing or reconstructing of the image encoder and/or performing texture scaling of the desktop resolution to obtain an acquired image frame consistent with the output resolution further includes:
when the second instance state is an instance, reconstructing the instance image encoder according to the existing output resolution to obtain a reconstructed image encoder;
and performing texture scaling of the desktop resolution according to the reconstructed image encoder to obtain an acquired image frame consistent with the output resolution.
Optionally, the encoding the acquired image frame by a constructed, reconstructed, or existing encoding algorithm corresponding to the image encoder to obtain output desktop image data includes:
monitoring configuration parameters of the output resolution in the process of outputting the desktop image data;
when the configuration parameters are changed, the acquisition operation of the desktop image frame and the output image frame is executed again so as to update the output desktop image data.
The invention also provides a desktop image dynamic acquisition device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the desktop image dynamic acquisition method are realized.
The invention further provides a computer readable storage medium, on which a dynamic desktop image acquisition program is stored, and when being executed by a processor, the dynamic desktop image acquisition program realizes the steps of the dynamic desktop image acquisition method according to any one of the above items.
By implementing the desktop image dynamic acquisition method, the device and the computer readable storage medium, the resolution relationship between the current desktop resolution and the current output resolution and the current instance state of the image encoder are obtained; according to the resolution relationship and the instance state, constructing or reconstructing the image encoder and/or performing texture scaling of the desktop resolution to obtain an acquired image frame consistent with the output resolution; and encoding the collected image frame through a constructed or reconstructed or existing encoding algorithm corresponding to the image encoder to obtain output desktop image data. The invention realizes a self-adaptive desktop image dynamic acquisition scheme, so that the cloud application can dynamically acquire and process the desktop image, and the transmission bandwidth and the utilization efficiency of decoding resources for desktop image transmission are greatly improved.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a flowchart of a first embodiment of a desktop image dynamic collection method according to the present invention;
FIG. 2 is a flowchart of a desktop image dynamic collection method according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a desktop image dynamic collection method according to a third embodiment of the present invention;
FIG. 4 is a flowchart of a desktop image dynamic collection method according to a fourth embodiment of the present invention;
FIG. 5 is a flowchart of a fifth embodiment of a desktop image dynamic acquisition method according to the present invention;
FIG. 6 is a flowchart of a desktop image dynamic collection method according to a sixth embodiment of the present invention;
FIG. 7 is a flowchart of a desktop image dynamic collection method according to a seventh embodiment of the present invention;
fig. 8 is a flowchart of an eighth embodiment of a desktop image dynamic acquisition method according to the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
In the following description, suffixes such as "module", "part", or "unit" used to indicate elements are used only for facilitating the description of the present invention, and have no particular meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
Example one
Fig. 1 is a flowchart of a desktop image dynamic acquisition method according to a first embodiment of the present invention. A desktop image dynamic acquisition method comprises the following steps:
s1, acquiring a resolution relation between a current desktop resolution and a current output resolution and an example state of a current image encoder;
s2, according to the resolution relation and the instance state, constructing or reconstructing the image encoder and/or performing texture scaling of the desktop resolution to obtain an acquired image frame consistent with the output resolution;
and S3, encoding the collected image frame through a constructed or reconstructed or existing encoding algorithm corresponding to the image encoder to obtain output desktop image data.
In this embodiment, first, a resolution relationship between a current desktop resolution and a current output resolution and an instance state of a current image encoder are obtained, where the resolution relationship includes two types, where the first type is that the current desktop resolution is the same as the current output resolution, the second type is that the current desktop resolution is different from the current output resolution, and the instance state of the current image encoder includes two types, the first type is that the instance state of the current image encoder is an instance state, and the second type is that the instance state of the current image encoder is an instance-free state; then, according to the resolution relationship and the instance state, constructing or reconstructing the image encoder, and/or performing texture scaling of the desktop resolution, to obtain an acquired image frame that is consistent with the output resolution, wherein whether the encoder has been implemented or not, the resolution relationship is firstly judged, and when the resolution relationship is different, subsequent processing on whether the encoder has been implemented or not is also different, for example, when the resolution relationship is that two resolutions are consistent, if the encoder has been implemented, the texture scaling is directly performed on the current image frame through the encoder that has been implemented, or for example, when the resolution relationship is that the two resolutions are not consistent, if the encoder has not been implemented, the texture scaling cannot be directly performed on the current image frame through the encoder that has been implemented, in the embodiment, the encoder is firstly constructed, and then the texture scaling is performed on the current image frame through the encoder that has been constructed, so that the resolutions of the two image frames are consistent; and finally, encoding the collected image frame through a constructed or reconstructed or existing encoding algorithm corresponding to the image encoder to obtain output desktop image data. It can be seen that, when the embodiment is applied to real-time video streaming network transmission, the resolution of the screen can be dynamically matched as the input resolution, and the resolution of the image output after encoding can be modified in real time according to the requirement.
The method has the advantages that the resolution relationship between the current desktop resolution and the current output resolution and the current instance state of the image encoder are obtained; according to the resolution relationship and the instance state, constructing or reconstructing the image encoder and/or performing texture scaling of the desktop resolution to obtain an acquired image frame consistent with the output resolution; and encoding the collected image frame through a constructed or reconstructed or existing encoding algorithm corresponding to the image encoder to obtain output desktop image data. According to the embodiment, a self-adaptive dynamic desktop image acquisition scheme is realized, so that the cloud application can dynamically acquire and process the desktop image, and the transmission bandwidth of desktop image transmission and the utilization efficiency of decoding resources are greatly improved.
Example two
Fig. 2 is a flowchart of a second embodiment of the method for dynamically acquiring a desktop image according to the present invention, and based on the above embodiments, the acquiring a resolution relationship between a current desktop resolution and a current output resolution and an example state of a current image encoder includes:
s11, presetting a resolution monitoring frequency of a desktop and/or a picture monitoring condition of the desktop;
and S12, acquiring a current desktop image frame and a current output image frame when the resolution monitoring frequency and/or the image monitoring condition are met.
Optionally, in this embodiment, the resolution detection frequency of this embodiment is set according to the type of the current desktop application, for example, when the application display state with higher real-time performance or higher dynamic range is targeted, a higher resolution detection frequency is set.
Optionally, in this embodiment, the screen monitoring condition of this embodiment is set according to the content of the current desktop application, for example, when the content of the application is a monitoring screen, a change of a monitoring scene is set as a condition of this embodiment.
Optionally, in this embodiment, when the resolution monitoring frequency and/or the picture monitoring condition are/is met, a desktop collector is initialized, and a current desktop picture frame is obtained through the collector, optionally, a configuration parameter of a current output image is directly read, or a current output image frame is obtained through another collector.
The method has the advantages that the frequency and/or the picture monitoring condition of the desktop are/is monitored by presetting the resolution of the desktop; and when the resolution monitoring frequency and/or the picture monitoring condition are/is met, acquiring a current desktop picture frame and a current output picture frame. According to the embodiment, a self-adaptive desktop image dynamic acquisition scheme is realized, so that the cloud application can dynamically acquire and process the desktop image, and the transmission bandwidth of desktop image transmission and the utilization efficiency of decoding resources are greatly improved.
EXAMPLE III
Fig. 3 is a flowchart of a third embodiment of the method for dynamically acquiring a desktop image according to the present invention, where based on the above embodiments, the acquiring a resolution relationship between a current desktop resolution and a current output resolution and an example state of a current image encoder further includes:
s13, obtaining the desktop resolution according to the desktop picture frame, and obtaining the output resolution according to the output image frame;
s14, when the resolution relation is that the resolution is consistent, a first example state of the image encoder is obtained, and when the resolution relation is that the resolution is not consistent, a second example state of the image encoder is obtained.
Optionally, in this embodiment, when the resolution relationship is that the resolutions are not consistent, and the desktop resolution is smaller than the output resolution, the second instance state of the image encoder is acquired.
Optionally, in this embodiment, when the resolution relationship is that the resolutions are not the same, and the desktop resolution is greater than the output resolution, the current desktop application content is acquired. And analyzing the morphological characteristics of the desktop application content, setting a proportional threshold of the resolution according to a preset proportion when the content of the morphological characteristics still has an identification basis when the resolution is reduced by the preset proportion, and taking the resolution relation as the resolution consistency when the ratio of the desktop resolution to the output resolution is in the proportional threshold so as to execute the subsequent processing steps.
The method has the advantages that the desktop resolution is obtained according to the desktop image frame, and the output resolution is obtained according to the output image frame; and when the resolution relationship is that the resolutions are consistent, acquiring a first example state of the image encoder, and when the resolution relationship is that the resolutions are not consistent, acquiring a second example state of the image encoder. According to the embodiment, a self-adaptive dynamic desktop image acquisition scheme is realized, so that the cloud application can dynamically acquire and process the desktop image, and the transmission bandwidth of desktop image transmission and the utilization efficiency of decoding resources are greatly improved.
Example four
Fig. 4 is a flowchart of a fourth embodiment of a desktop image dynamic acquisition method according to the present invention, and based on the above embodiment, the executing, according to the resolution relationship and the instance status, the constructing or reconstructing of the image encoder and/or the executing of the texture scaling of the desktop resolution to obtain an acquired image frame consistent with the output resolution includes:
s21, when the first instance state is a non-instance state, detecting whether the existing image encoder exists or not;
and S22, when the existing image encoder is not detected, constructing the image encoder according to the output resolution.
Alternatively, in this embodiment, after the image encoder is constructed at the output resolution, the desktop image data may be encoded and output by constructing the image encoder directly.
The embodiment has the advantages that whether the existing image encoder exists is detected when the first instance state is the non-instance state; constructing the image encoder at the output resolution when the existing image encoder is not detected. According to the embodiment, a self-adaptive dynamic desktop image acquisition scheme is realized, so that the cloud application can dynamically acquire and process the desktop image, and the transmission bandwidth of desktop image transmission and the utilization efficiency of decoding resources are greatly improved.
EXAMPLE five
Fig. 5 is a flowchart of a fifth embodiment of a desktop image dynamic acquisition method according to the present invention, where based on the above embodiment, the performing, according to the resolution relationship and the instance status, the constructing or reconstructing of the image encoder and/or the performing of texture scaling of the desktop resolution to obtain an acquired image frame consistent with the output resolution further includes:
s23, when the first instance state is the instance, calling the image encoder of the instance;
and S24, performing texture scaling of the desktop resolution according to the image encoder of the embodiment to obtain an acquired image frame consistent with the output resolution.
Optionally, in this embodiment, since the first instance state is detected, and at this time, the resolution relationship is consistent, the embodiment may directly invoke the image encoder that has been implemented to encode and output the desktop image data.
Optionally, in this embodiment, the output resolution is adjusted downward according to the scale threshold, so as to reduce bandwidth occupation and resource consumption, at this time, the texture scaling of the desktop resolution may be performed according to the image encoder already implemented, so as to obtain the captured image frame consistent with the output resolution.
The embodiment has the advantages that the image encoder which is instantiated is called when the first instance state is instantiated; performing texture scaling of the desktop resolution by the instantiated image encoder to obtain an acquired image frame that is consistent with the output resolution. According to the embodiment, a self-adaptive dynamic desktop image acquisition scheme is realized, so that the cloud application can dynamically acquire and process the desktop image, and the transmission bandwidth of desktop image transmission and the utilization efficiency of decoding resources are greatly improved.
Example six
Fig. 6 is a flowchart of a sixth embodiment of a method for dynamically acquiring a desktop image according to the present invention, where based on the above embodiment, the constructing or reconstructing of the image encoder and/or the performing of texture scaling of the desktop resolution is performed according to the resolution relationship and the example state, so as to obtain an acquired image frame that is consistent with the output resolution, and the method further includes:
s25, when the second instance state is a non-instance state, detecting whether the existing image encoder exists or not;
and S26, when the existing image encoder is not detected, constructing the image encoder according to the output resolution.
Optionally, in this embodiment, when the desktop resolution is higher than the output resolution, the desktop resolution is adjusted down according to the scale threshold, so as to reduce bandwidth occupation and resource consumption on the premise of ensuring content visibility, and at this time, the image encoder is constructed according to the output resolution that is appropriately adjusted down.
The embodiment has the advantages that whether the existing image encoder exists is detected when the second example state is the non-example state; when the existing image encoder is not detected, the image encoder is constructed at the output resolution. According to the embodiment, a self-adaptive dynamic desktop image acquisition scheme is realized, so that the cloud application can dynamically acquire and process the desktop image, and the transmission bandwidth of desktop image transmission and the utilization efficiency of decoding resources are greatly improved.
EXAMPLE seven
Fig. 7 is a flowchart of a seventh embodiment of a method for dynamically acquiring a desktop image according to the present invention, where based on the above embodiment, the constructing or reconstructing of the image encoder and/or the performing of the texture scaling of the desktop resolution is performed according to the resolution relationship and the example state, so as to obtain an acquired image frame that is consistent with the output resolution, and the method further includes:
s27, when the second instance state is the instance, reconstructing the instance image encoder according to the existing output resolution to obtain a reconstructed image encoder;
and S28, performing texture scaling of the desktop resolution according to the reconstructed image encoder to obtain an acquired image frame consistent with the output resolution.
Optionally, in this embodiment, when the second instance state is an instance, it is determined that an original image encoder does not apply the existing output resolution any more, and therefore, this embodiment reconstructs the image encoder of the instance according to the existing output resolution, resulting in a reconstructed image encoder.
The embodiment has the advantages that when the second instance state is an instance, the image encoder of the instance is reconstructed according to the existing output resolution, so as to obtain the reconstructed image encoder; and performing texture scaling of the desktop resolution according to the reconstructed image encoder to obtain an acquired image frame consistent with the output resolution. According to the embodiment, a self-adaptive dynamic desktop image acquisition scheme is realized, so that the cloud application can dynamically acquire and process the desktop image, and the transmission bandwidth of desktop image transmission and the utilization efficiency of decoding resources are greatly improved.
Example eight
Fig. 8 is a flowchart of an eighth embodiment of the method for dynamically acquiring desktop images according to the present invention, where based on the above embodiments, the encoding of the acquired image frame by using a constructed, reconstructed, or existing encoding algorithm corresponding to the image encoder to obtain output desktop image data includes:
s31, monitoring configuration parameters of the output resolution ratio in the output process of the desktop image data;
and S32, when the configuration parameters are changed, re-executing the acquisition operation of the desktop image frame and the output image frame to update the output desktop image data.
Optionally, in this embodiment, when the configuration parameter is changed, it is determined that the output resolution also changes, that is, the resolution relationship may also change correspondingly, at this time, the acquisition operations of the desktop image frame and the output image frame are re-executed, and the above example state determination and texture scaling operations are started to be executed in a loop, so as to adaptively meet the dynamic image acquisition requirement.
The method has the advantages that the configuration parameters of the output resolution ratio are monitored in the process of outputting the desktop image data; when the configuration parameters are changed, the acquisition operation of the desktop image frame and the output image frame is executed again so as to update the output desktop image data. According to the embodiment, a self-adaptive desktop image dynamic acquisition scheme is realized, so that the cloud application can dynamically acquire and process the desktop image, and the transmission bandwidth of desktop image transmission and the utilization efficiency of decoding resources are greatly improved.
Example nine
Based on the foregoing embodiments, the present invention further provides a desktop image dynamic acquisition apparatus, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the desktop image dynamic acquisition method as described in any one of the above.
It should be noted that the device embodiment and the method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment, and technical features in the method embodiment are correspondingly applicable in the device embodiment, which is not described herein again.
Example ten
Based on the foregoing embodiment, the present invention further provides a computer-readable storage medium, where a dynamic desktop image acquisition program is stored, and when the dynamic desktop image acquisition program is executed by a processor, the steps of the dynamic desktop image acquisition method described in any one of the foregoing embodiments are implemented.
It should be noted that the media embodiment and the method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment, and technical features in the method embodiment are applicable to the media embodiment, which is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A desktop image dynamic acquisition method is characterized by comprising the following steps:
acquiring the resolution relation between the current desktop resolution and the current output resolution and the current instance state of an image encoder;
according to the resolution relation and the instance state, the image encoder is constructed or reconstructed, and/or the desktop resolution is zoomed according to the texture, so that an acquired image frame consistent with the output resolution is obtained;
and encoding the collected image frame through a constructed or reconstructed or existing encoding algorithm corresponding to the image encoder to obtain output desktop image data.
2. The method for dynamically acquiring desktop images according to claim 1, wherein the acquiring of the resolution relationship between the current desktop resolution and the current output resolution and the current instance state of the image encoder comprises:
presetting the resolution monitoring frequency of the desktop and/or the picture monitoring condition of the desktop;
and when the resolution monitoring frequency and/or the picture monitoring condition are/is met, acquiring a current desktop picture frame and a current output picture frame.
3. The method for dynamically acquiring desktop images according to claim 2, wherein the acquiring of the resolution relationship between the current desktop resolution and the current output resolution and the current instance status of the image encoder further comprises:
obtaining the desktop resolution according to the desktop picture frame, and obtaining the output resolution according to the output image frame;
and when the resolution relationship is that the resolutions are consistent, acquiring a first example state of the image encoder, and when the resolution relationship is that the resolutions are not consistent, acquiring a second example state of the image encoder.
4. The method for dynamically acquiring desktop images according to claim 3, wherein the performing the construction or reconstruction of the image encoder and/or the performing the texture scaling of the desktop resolution according to the resolution relationship and the instance status to obtain the acquired image frames in accordance with the output resolution comprises:
detecting whether there is an existing image encoder when the first instance state is a non-instance;
when the existing image encoder is not detected, the image encoder is constructed at the output resolution.
5. The method for dynamically capturing desktop images according to claim 4, wherein said performing the construction or reconstruction of the image encoder and/or performing the texture scaling of the desktop resolution according to the resolution relationship and the instance status to obtain the captured image frame corresponding to the output resolution further comprises:
invoking the instantiated image encoder when the first instance state is instantiated;
the image encoder as instantiated performs texture scaling of the desktop resolution to obtain an acquired image frame that is consistent with the output resolution.
6. The method for dynamically capturing desktop images according to claim 5, wherein said performing the construction or reconstruction of the image encoder and/or performing the texture scaling of the desktop resolution according to the resolution relationship and the instance status to obtain the captured image frame corresponding to the output resolution further comprises:
detecting whether there is an existing image encoder when the second instance state is a non-instance;
when the existing image encoder is not detected, the image encoder is constructed at the output resolution.
7. The method for dynamically capturing desktop images according to claim 6, wherein said performing the construction or reconstruction of the image encoder and/or performing the texture scaling of the desktop resolution according to the resolution relationship and the instance status to obtain the captured image frame corresponding to the output resolution further comprises:
when the second instance state is an instance, reconstructing the instance image encoder according to the existing output resolution to obtain a reconstructed image encoder;
and performing texture scaling of the desktop resolution according to the reconstructed image encoder to obtain an acquired image frame consistent with the output resolution.
8. The method for dynamically acquiring desktop images according to claim 7, wherein the encoding the acquired image frames by the constructed, reconstructed or existing encoding algorithm corresponding to the image encoder to obtain output desktop image data comprises:
monitoring configuration parameters of the output resolution ratio in the process of outputting the desktop image data;
when the configuration parameters are changed, the acquisition operation of the desktop image frame and the output image frame is executed again so as to update the output desktop image data.
9. A dynamic acquisition device of desktop images, characterized in that the device comprises a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the dynamic acquisition method of desktop images according to any one of claims 1 to 8.
10. A computer-readable storage medium, wherein a dynamic desktop image capture program is stored on the computer-readable storage medium, and when executed by a processor, the dynamic desktop image capture program implements the steps of the dynamic desktop image capture method according to any one of claims 1 to 8.
CN202211147146.XA 2022-09-19 2022-09-19 Desktop image dynamic acquisition method and device and computer readable storage medium Pending CN115567711A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211147146.XA CN115567711A (en) 2022-09-19 2022-09-19 Desktop image dynamic acquisition method and device and computer readable storage medium
PCT/CN2023/118683 WO2024061087A1 (en) 2022-09-19 2023-09-14 Dynamic collection method and device for desktop image, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211147146.XA CN115567711A (en) 2022-09-19 2022-09-19 Desktop image dynamic acquisition method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN115567711A true CN115567711A (en) 2023-01-03

Family

ID=84740381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211147146.XA Pending CN115567711A (en) 2022-09-19 2022-09-19 Desktop image dynamic acquisition method and device and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN115567711A (en)
WO (1) WO2024061087A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024061087A1 (en) * 2022-09-19 2024-03-28 亿航智能设备(广州)有限公司 Dynamic collection method and device for desktop image, and computer-readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150201193A1 (en) * 2012-01-10 2015-07-16 Google Inc. Encoding and decoding techniques for remote screen sharing of media content using video source and display parameters
CN111182303A (en) * 2019-10-08 2020-05-19 腾讯科技(深圳)有限公司 Encoding method and device for shared screen, computer readable medium and electronic equipment
CN111741298B (en) * 2020-08-26 2020-12-01 腾讯科技(深圳)有限公司 Video coding method and device, electronic equipment and readable storage medium
CN113284472B (en) * 2021-05-13 2022-11-18 深圳乐播科技有限公司 Screen projection resolution conversion method, device, equipment and storage medium
CN115567711A (en) * 2022-09-19 2023-01-03 亿航智能设备(广州)有限公司 Desktop image dynamic acquisition method and device and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024061087A1 (en) * 2022-09-19 2024-03-28 亿航智能设备(广州)有限公司 Dynamic collection method and device for desktop image, and computer-readable storage medium

Also Published As

Publication number Publication date
WO2024061087A1 (en) 2024-03-28

Similar Documents

Publication Publication Date Title
CN111163345A (en) Image rendering method and device
CN109587558B (en) Video processing method, video processing device, electronic equipment and storage medium
JP7186877B2 (en) Video decoding control method, device, electronic device and storage medium
US20010033618A1 (en) Image-data processing apparatus
CN103905821A (en) Video coding method and device allowing human face to be recognized
CN115567711A (en) Desktop image dynamic acquisition method and device and computer readable storage medium
CN112565603B (en) Image processing method and device and electronic equipment
CN110650309B (en) Video conference video image transmission method, terminal and readable storage medium
Xia et al. Visual sensitivity-based low-bit-rate image compression algorithm
CN110740316A (en) Data coding method and device
CN109151574B (en) Video processing method, video processing device, electronic equipment and storage medium
CN114584831B (en) Video optimization processing method, device, equipment and storage medium for improving video definition
CN108933945B (en) GIF picture compression method, device and storage medium
CN113658073A (en) Image denoising processing method and device, storage medium and electronic equipment
CN113179375A (en) Exposure processing method, exposure processing apparatus, electronic device, storage medium, and program product
CN111754387B (en) Image processing method and device
CN112001842A (en) Picture generation method and device, electronic equipment and computer readable storage medium
CN114866806B (en) Streaming improvement method, device and storage medium applying video and audio preprocessing
WO2007072301A2 (en) Reduction of compression artefacts in displayed images
CN112995488B (en) High-resolution video image processing method and device and electronic equipment
CN113781336B (en) Image processing method, device, electronic equipment and storage medium
CN113505108A (en) Canvas-based picture compression processing method and device and storage medium
CN111831366A (en) Image data sending method and device and related components
CN116366852A (en) Video coding and decoding method, device, equipment and medium for machine vision task
KR20230105531A (en) System and method for transmitting image using deep learning

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