CN112365401A - Image generation method, device, equipment and storage medium - Google Patents

Image generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN112365401A
CN112365401A CN202011192458.3A CN202011192458A CN112365401A CN 112365401 A CN112365401 A CN 112365401A CN 202011192458 A CN202011192458 A CN 202011192458A CN 112365401 A CN112365401 A CN 112365401A
Authority
CN
China
Prior art keywords
image
sub
target object
target
images
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
CN202011192458.3A
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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network 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 Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202011192458.3A priority Critical patent/CN112365401A/en
Publication of CN112365401A publication Critical patent/CN112365401A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses an image generation method, an image generation device, image generation equipment and a storage medium. The method comprises the following steps: sequentially generating each sub-image of the target object; and sequentially writing the sub-images into an image file of an external memory according to the sequence of the sub-images in the target object to obtain a target image corresponding to the target object. Compared with the traditional mode that all sub-images are required to be spliced in the running memory and then written in, the method greatly reduces the expense of running the memory, thereby improving the success rate of image generation.

Description

Image generation method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an image generation method, an image generation device, image generation equipment and a storage medium.
Background
At present, many image conversion software on the market can convert content information to be displayed into a long image, so that a user can conveniently view the content information through the long image and conveniently manage the content information.
In the conventional technology, the process of converting a file with a specific format into a long picture may be as follows: creating corresponding images in the memory according to the pages of the file with the specific format, splicing the images corresponding to the pages of the file in the memory into a long picture by adopting a memory image splicing technology, and storing the spliced long picture in the memory.
However, when the number of pages of the file is large, the traditional method occupies a large memory, and often cannot successfully generate a long picture.
Disclosure of Invention
The invention provides an image generation method, an image generation device, image generation equipment and a storage medium, and aims to solve the technical problem that the memory is occupied greatly in the long image generation process.
In a first aspect, an embodiment of the present invention provides an image generation method, including:
sequentially generating each sub-image of the target object;
and sequentially writing the sub-images into an image file of an external memory according to the sequence of the sub-images in the target object to obtain a target image corresponding to the target object.
In a second aspect, an embodiment of the present invention further provides an image generating apparatus, including:
the first generation module is used for sequentially generating each sub-image of the target object;
and the first writing module is used for sequentially writing the sub-images into an image file of an external memory according to the sequence of the sub-images in the target object to obtain a target image corresponding to the target object.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the image generation method provided in the first aspect of the embodiment of the present invention when executing the computer program.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the image generation method provided in the first aspect of the embodiment of the present invention.
According to the image generation method, the image generation device, the image generation equipment and the storage medium, the sub-images of the target object are sequentially generated, and the sub-images are sequentially written into the image file of the external storage according to the sequence of the sub-images in the target object, so that the target image corresponding to the target object is obtained. That is to say, after each sub-image is obtained, the electronic device directly writes the sub-image into the image file of the external storage according to the sequence of the sub-image in the target object, so that the sub-images of the target object are automatically spliced in the external storage.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a schematic flowchart of an image generating method according to an embodiment of the present invention;
fig. 2 is another schematic flow chart of an image generation method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a sub-image writing image file according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of an image generation method according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of an image generation method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an image generating apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units. It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments of the present invention may be arbitrarily combined with each other without conflict.
It should be noted that the execution subject of the method embodiments described below may be an image generation apparatus, and the apparatus may be implemented as part or all of an electronic device by software, hardware, or a combination of software and hardware. Optionally, the electronic device may be any electronic device capable of processing an image, such as a desktop computer, a smart phone, a personal digital assistant, a tablet computer, and the like, and of course, the electronic device may also be an independent server or a server cluster formed by a plurality of servers, and the like. The method embodiments described below are described by taking as an example that the execution subject is an electronic device.
Fig. 1 is a schematic flow chart of an image generation method according to an embodiment of the present invention. The embodiment relates to a specific process of how the electronic equipment obtains a target image of a target object. As shown in fig. 1, the method may include:
s101, sequentially generating each sub-image of the target object.
Specifically, in order to facilitate a user to view a target object on the electronic device, the electronic device may convert the target object into a target image, where the target object may be various types of documents, such as a word Document, a Portable Document Format (PDF) Document, and the like, and the target object may also be a plurality of web page contents that need to be viewed, a plurality of images that need to be viewed, and the like. For example, the electronic device may convert a word document into a target image, convert a PDF document into a target image, and convert a plurality of web page contents to be viewed into a target image.
As an alternative implementation, the process of the electronic device sequentially generating the sub-images of the target object may be: controlling the view control of the target object to move to the target content of the target object which is not displayed in the screen; and acquiring a sub-image corresponding to the target content, and returning to the step of controlling the view control of the target object to move to the target content of the target object which is not displayed in the screen until all the content of the target object is completely displayed, so as to obtain all the sub-images of the target object.
Wherein the electronic device can generate a sequence of sub-images of the target object through the view control. In the Android system, the View control is View. The electronic equipment acquires the target content in the target object by controlling the movement of the view control, so that the view control moves to the target content of the target object which is not displayed in the screen. For the target content currently displayed on the screen, the electronic device may acquire the sub-image corresponding to the target content in a corresponding image acquisition manner. Optionally, the electronic device may obtain the sub-image corresponding to the target content in a screen capture mode. Specifically, the electronic device obtains the sub-image corresponding to the currently displayed target content through the screen capture system by calling an interface of the screen capture system. After obtaining the sub-image corresponding to the currently displayed target content, the electronic device returns to the step of controlling the view control of the target object to move to the target content of the target object which is not yet displayed in the screen, and the process is repeatedly executed until all the content of the target object is completely displayed, so that all the sub-images of the target object are obtained.
As another alternative, for a target object that can be rendered into an image, the electronic device may sequentially generate sub-images of the target object in an image rendering manner. For this situation, the process of the electronic device sequentially generating the sub-images of the target object may be: reading target content which is not rendered in the target object; rendering the target content into a corresponding sub-image, and returning to the step of reading the target content which is not rendered in the target object until all the content of the target object is rendered, so as to obtain all the sub-images of the target object.
And S102, sequentially writing the sub-images into an image file of an external memory according to the sequence of the sub-images in the target object to obtain a target image corresponding to the target object.
The external storage may be a magnetic disk storage, such as a hard disk, a floppy disk, an optical disk, and a USB flash drive, as compared to an operating memory of the electronic device. The image file may include a header in which size information of the image file may be included, and a body for storing a sequence of sub-images of the target object. The file Format of the image file may be Joint Photographic Experts Group (JPEG) Format, Graphics Interchange Format (GIF) Format, and Portable Network Graphics Format (PNG) Format.
After obtaining the sub-image of the target object, the electronic device writes the sub-image into the image file of the external memory directly based on the sequence of the sub-image in the target object, that is, automatically splices the sub-image with the current last sub-image in the image file in the external memory. And after the splicing is finished, the subimage is the current last subimage in the image file. And after the electronic equipment obtains the sub-image of the target object again, the electronic equipment continuously writes the sub-image obtained this time into the image file according to the process. That is, the electronic device obtains the sub-images of the target object in sequence, and writes the sub-images into the image file in sequence according to the sequence of the sub-images in the target object, thereby realizing the automatic splicing of the sub-images.
Optionally, before the step S102, the method may further include: the electronic device acquires the order of the sub-images in the target object.
When the electronic equipment generates each sub-image of the target object through the view control, the electronic equipment controls the view control to move to the target content of the target object which is not displayed in the screen, the position of the target content in the target object is obtained, and the sequence of the sub-images corresponding to the target content is determined based on the position. For the order of the other sub-images, the acquisition manner of the order of the sub-images corresponding to the target content may be referred to.
When the electronic equipment sequentially generates the sub-images of the target object in an image rendering mode, the electronic equipment reads target content which is not rendered in the target object, meanwhile, the electronic equipment acquires the position of the target content in the target object, and the sequence of the sub-images corresponding to the target content is determined based on the position. For the order of the other sub-images, the acquisition manner of the order of the sub-images corresponding to the target content may be referred to.
Through the process, the electronic equipment can realize the splicing of the sub-images of the target object in the external storage directly, and after the sub-images of the target object are obtained, the sub-images are directly written into the external storage for splicing based on the sequence of the sub-images, so that the memory splicing technology is not needed, and the occupation of the running memory is greatly reduced. When a large target object needs to be converted into an image, especially for electronic equipment with limited memory, the success rate of image generation is greatly improved.
Because the sub-images are spliced in the image file in sequence, the storage mode of the sub-images in the image file can be in a one-dimensional vector form. Therefore, in order to be able to normally display the target image later, the electronic device needs to store the size information of the target image into the file header of the image file. For this reason, on the basis of the above embodiment, optionally, the method may further include: determining a target length and a target width of a target image; and writing the target length and the target width into a file header of the image file. Optionally, the process of S102 may be: and sequentially writing the sub-images into an image file of an external memory in a vertical splicing mode or a horizontal splicing mode according to the sequence of the sub-images in the target object to obtain a target image of the target object.
The target length refers to the length of the target image in the vertical direction, and the target width refers to the length of the target image in the horizontal direction. When the electronic device splices the sub-images in a vertical splicing manner, the electronic device may add the lengths of all the sub-images to determine the length as a target length, and determine the maximum width of each sub-image as a target width. When the electronic device splices the sub-images in a transverse splicing manner, the electronic device may determine the maximum length of each sub-image as the target length, and add the widths of all the sub-images to determine the target width. After obtaining the target length and the target width of the target image, the electronic device writes the target length and the target width into a file header of the image file. Thus, when the target image is displayed subsequently, the electronic device can read the target length and the target width in the file header of the image file, load the data in the file body based on the target length and the target width, and display the target image.
The image generation method provided by the embodiment of the invention sequentially generates the sub-images of the target object, and sequentially writes the sub-images into the image file of the external memory according to the sequence of the sub-images in the target object to obtain the target image corresponding to the target object. That is to say, after each sub-image is obtained, the electronic device directly writes the sub-image into the image file of the external storage according to the sequence of the sub-image in the target object, so that the sub-images of the target object are automatically spliced in the external storage.
In practical applications, in order to increase the generation speed of the target image, the electronic device may perform the writing step of the current sub-image of the target object and the generation step of the next sub-image of the target object in parallel. On the basis of the foregoing embodiment, optionally, the foregoing S102 may include:
s1021, writing the current sub-image into an image file of an external memory according to the first sequence of the current sub-image of the target object in the target object, and simultaneously generating the next sub-image of the target object.
After the current sub-image of the target object is obtained, the electronic device writes the current sub-image into the image file of the external memory based on the first sequence of the current sub-image in the target object, and meanwhile, the electronic device immediately generates the next sub-image of the target object without waiting for the current sub-image to be written into the image file and then generating the next sub-image.
S1022, a second sequence of the next sub-image in the target object is obtained, and the next sub-image is written into the image file according to the second sequence until the last sub-image of the target object is written into the image file, so that a target image of the target object is obtained.
For example, assume that the current sub-image of the target object obtained by the electronic device is matrix 1
Figure BDA0002753118250000091
The electronic device directly writes the current sub-image into the image file of the external memory according to the sequence of the current sub-image in the target object, and the specific storage form of the current sub-image in the image file can be [1,2,3,4,5,6,7,8,9 ]]. While writing the current sub-image, the electronic device continues to generate a next sub-image of the target object, assuming that the obtained next sub-image of the target object is matrix 2
Figure BDA0002753118250000092
The electronic device writes matrix 2 into the image file in the order of the next sub-image, at which time the data in the file body of the image file is updated to [1,2,3,4,5,6,7,8,9,1,2,3,3,2,1,7,8,9]. Further, it is assumed that the electronic device splices the sub-images in a vertical splicing manner, and it is assumed that the target object includes 2 sub-images, the target length determined by the electronic device is the sum of the lengths of the sub-images, and the target width is the maximum width in the sub-images, so that the electronic device determines that the target length of the target image (the target image is an image obtained by converting the target object) is 6 and the target width is 3, and the electronic device writes the target length and the target width of the target image into a file header of the image file. In this way, the electronic device may load data in the image file based on the target length and the target width to display the target image. The target image displayed at this time may be
Figure BDA0002753118250000101
In practical application, in order to further reduce the cost of the operating memory in the image generation process, on the basis of the above embodiment, optionally, after the current sub-image is written into the image file of the external storage, the electronic device may further release the memory space occupied by the current sub-image in the operating memory.
Therefore, when the next sub-image of the target object is generated, the electronic equipment requests the memory space required by the next sub-image from the running memory again. It can be understood that, in the whole image generation process, the size of the memory space occupied by the electronic device in the operating memory is the same as that of one sub-image, and compared with a mode that all sub-images are required to be spliced in the operating memory and then written into a disk memory, the cost of operating the memory is greatly reduced, so that the success rate of image generation is further improved.
In the embodiment, the writing step of the current sub-image of the target object and the generation step of the next sub-image of the target object are executed in parallel, so that compared with the step of regenerating the next sub-image of the target object after the current sub-image is written, the image generation speed is greatly improved. Meanwhile, after the current sub-image is written into the image file of the external memory, the electronic equipment can release the memory space occupied by the current sub-image in the running memory, so that the cost of the running memory is greatly reduced, and the success rate of image generation is further improved.
After obtaining the current sub-image of the target object, the electronic device may encode the current sub-image and write the encoded current sub-image into an image file of the external memory. In order to further increase the image generation speed, on the basis of the foregoing embodiment, optionally, as shown in fig. 2, the foregoing S102 may include:
s201, dividing the current sub-image of the target object into a plurality of image blocks, wherein the image blocks are in one-to-one correspondence with encoders.
Specifically, the electronic device may encode the current sub-image in a multi-thread encoding manner. For this, the electronic device may divide the current sub-image into a plurality of image blocks based on the number of encoders, the number of divided image blocks being the same as the number of encoders, and different image blocks corresponding to different encoders. In the process of dividing the current sub-image, the electronic device may uniformly divide the current sub-image into a plurality of image blocks, or may divide the current sub-image into a plurality of image blocks with different sizes according to a preset division rule, and the present embodiment does not limit the dividing manner of the current sub-image. In addition, the encoding method adopted by the encoder may be huffman encoding, predictive encoding, transform encoding, or the like, and the corresponding encoding method may be selected according to actual requirements.
S202, coding each image block through a coder corresponding to each image block to obtain a plurality of coded image blocks.
After dividing the current sub-image into a plurality of image blocks, the electronic device respectively uses corresponding encoders to encode each image block simultaneously, thereby obtaining a plurality of encoded image blocks.
S203, writing the coded image blocks into an image file of an external memory according to the first sequence of the current sub-image in the target object.
The specific process of writing the current sub-image into the image file is described by taking the image dividing mode as an example of uniform division. Referring to fig. 3, the electronic device uniformly divides the current sub-image into N parts to obtain N image blocks. Wherein N is greater than or equal to 2. Next, the electronic device uses corresponding encoders to encode the 1 st image block and the 2 nd image block … … nth image block at the same time, so as to obtain N encoded image blocks (the encoded 1 st image block and the encoded 1 st image block … … encoded nth image block). Then, the electronic device writes each encoded image block into an image file of the external memory based on the first sequence of the current sub-image in the target object. Of course, the electronic device also writes the N encoded image blocks into the image file according to the sequence of each encoded image block in the current sub-image.
In practical application, when the multi-thread coding mode is adopted to code the current sub-image, in order to further improve the image generation speed, the electronic device can also adjust corresponding coding parameters to code the image blocks divided by the current sub-image. For this reason, on the basis of the above embodiment, optionally, the above S202 may include:
and S2021, acquiring the encoding parameters adjusted by the encoder corresponding to each image block by the user.
And the coding speed corresponding to the adjusted coding parameter is higher than the coding speed corresponding to the coding parameter before adjustment. Alternatively, the encoding parameter may be a compression level of the image. In particular implementations, a variety of compression levels for the images may be provided, for example, compression level 1, compression level 2 … … compression level 10, and so on. The higher the compression level of the image is, the lower the encoding speed of the image is, and conversely, the lower the compression level of the image is, the higher the encoding speed of the image is. Based on this, in order to further increase the encoding speed of the image and thus further increase the generation speed of the image, the compression level of the image may be set lower in advance before encoding. In this way, the electronic device may obtain the compression level of the image reset by the user, and encode the image block based on the compression level of the reset image. Wherein the compression level of the reset image is lower than that of the image before adjustment.
And S2022, coding each image block by each coder by adopting the coding parameters adjusted by each coder to obtain a plurality of coded image blocks.
After the encoding parameters adjusted for each encoder are obtained, the electronic device adopts each encoder, and simultaneously encodes each image block by adopting the encoding parameters adjusted by each encoder to obtain a plurality of encoded image blocks. Taking the encoding parameter as the compression level as an example, assume that the compression level before adjustment is 5, the compression level after adjustment is 3, and the encoding speed of the image corresponding to the adjusted compression level is higher than that of the image corresponding to the compression level before adjustment. After the compression levels adjusted by the encoders are obtained, the electronic equipment simultaneously encodes each image block of the current sub-image by adopting a relatively low compression level to obtain a plurality of encoded image blocks, and writes each encoded image block into an image file respectively based on the sequence of each encoded image block in the current sub-image, thereby completing the writing process of the current sub-image.
In this embodiment, the electronic device may encode the current sub-image in a multi-thread encoding manner, so as to increase the encoding speed of the image, thereby increasing the generation speed of the image. In addition, the electronic device can also encode the image blocks of the current sub-image by using relatively low encoding parameters, so that the encoding speed of the image is further increased, and the generation speed of the image is further increased.
In one embodiment, to improve the accuracy of the target image, an anomaly detection mechanism is also provided. On the basis of the foregoing embodiment, optionally, as shown in fig. 4, before writing the current sub-image into the image file of the external memory, the method may further include:
s401, carrying out abnormity detection on the current sub-image.
The electronic device may acquire a sub-image sequence of an image to be generated in an image rendering manner. Thus, due to some problems of the image rendering method, some abnormal situations may exist in the acquired sub-image sequence, for example, a large area of white screen, black screen, or blurred image may appear in the acquired sub-image. Therefore, after the current sub-image is acquired, the electronic device needs to perform anomaly detection on the current sub-image to detect whether the current sub-image has abnormal conditions such as white screen, black screen, or unclear blur.
S402, when the current sub-image is determined to be an abnormal image, regenerating the current sub-image according to a preset retry mechanism.
When the current sub-image is determined to be the abnormal image, the electronic device may regenerate the current sub-image. For example, the content corresponding to the abnormal image in the file is read again, and the content is rendered into the corresponding image again to obtain a new current sub-image. In a specific implementation, the retry frequency of the sub-image may be set, for example, the retry frequency may be controlled by listening to a system frame callback, and the electronic device retrieves the current sub-image based on the retry frequency. Of course, when the current sub-image is determined to be a normal image, that is, there are no abnormal situations such as white screen, black screen, blurring and unclear in the current sub-image, the electronic device writes the current sub-image into the image file directly according to the sequence of the current sub-image in the target object.
To facilitate understanding of the anomaly detection process by those skilled in the art, the process shown in fig. 5 is taken as an example for description, and referring to fig. 5, specifically, the anomaly detection process may include:
s501, generating a current sub-image of the target object.
S502, detecting whether abnormal conditions such as white screen, black screen and fuzzy exist in the current sub-image.
If yes, executing S503; and if the current sub-image does not exist, the current sub-image is written into the image file according to the first sequence of the current sub-image in the target object after being coded.
S503, waiting for the system frame to call back to regenerate the current sub-image.
Optionally, to avoid endless retries, a retry end condition may be set. On the basis of the foregoing embodiment, optionally, the process of writing the current sub-image into the image file of the external storage according to the first order of the current sub-image in the target object may be: and when the generation times of the current sub-images reach a preset threshold value and newly generated new current sub-images are still abnormal images, writing the new current sub-images into an image file of an external memory according to the first sequence.
When the retry number exceeds the preset threshold, that is, when the number of times of acquiring the current sub-image reaches the preset threshold, if the newly generated new current sub-image still has abnormal conditions such as white screen, black screen, or blur, the new current sub-image may be directly encoded, and the new current sub-image may be written into the image file of the external memory according to the first order.
Of course, for other sub-images of the target object, such as the next sub-image, the anomaly detection process for the other sub-images by the electronic device may refer to the anomaly detection process for the current sub-image, and this embodiment is not described herein again.
In this embodiment, the electronic device may perform anomaly detection on the acquired sub-image of the target object, and when the sub-image has an anomaly, regenerate the corresponding sub-image to ensure accuracy of the sub-image sequence, thereby improving accuracy of the finally obtained target image.
Fig. 6 is a schematic structural diagram of an image generating apparatus according to an embodiment of the present invention. As shown in fig. 6, the apparatus may include: a first generation module 601 and a first writing module 602.
Specifically, the first generating module 601 is configured to sequentially generate sub-images of the target object;
the first writing module 602 is configured to sequentially write the sub-images into an image file of an external memory according to the sequence of the sub-images in the target object, so as to obtain a target image corresponding to the target object.
The image generation device provided by the embodiment of the invention sequentially generates the sub-images of the target object, and sequentially writes the sub-images into the image file of the external memory according to the sequence of the sub-images in the target object to obtain the target image corresponding to the target object. That is to say, after each sub-image is obtained, the electronic device directly writes the sub-image into the image file of the external storage according to the sequence of the sub-image in the target object, so that the sub-images of the target object are automatically spliced in the external storage.
On the basis of the foregoing embodiment, optionally, the first writing module 602 is specifically configured to write the current sub-image of the target object into an image file of an external memory according to a first order of the current sub-image in the target object, and generate a next sub-image of the target object at the same time; and acquiring a second sequence of the next sub-image in the target object, and writing the next sub-image into the image file according to the second sequence until the last sub-image of the target object is written into the image file to obtain a target image of the target object.
On the basis of the foregoing embodiment, optionally, the first writing module 602 is specifically configured to sequentially write the sub-images into the image file of the external memory in a vertical splicing manner or a horizontal splicing manner according to the sequence of the sub-images in the target object.
On the basis of the foregoing embodiment, optionally, according to the first order of the current sub-image of the target object in the target object, the process of writing the current sub-image into the image file of the external storage may be: dividing a current sub-image of the target object into a plurality of image blocks; coding each image block through a coder corresponding to each image block to obtain a plurality of coded image blocks; and respectively writing the coded image blocks into an image file of an external memory according to the first sequence of the current sub-image in the target object, wherein the image blocks correspond to the encoders one by one.
On the basis of the foregoing embodiment, optionally, the process of obtaining a plurality of encoded image blocks by encoding each image block by an encoder corresponding to each image block may be as follows: acquiring coding parameters adjusted by a user according to a coder corresponding to each image block; and coding each image block by each coder and adopting the coding parameters regulated by each coder to obtain a plurality of coded image blocks, wherein the coding speed corresponding to the regulated coding parameters is higher than the coding speed corresponding to the coding parameters before regulation.
On the basis of the above embodiment, optionally, the apparatus may further include: an anomaly detection module and a second generation module;
specifically, the anomaly detection module is configured to perform anomaly detection on the current sub-image before the writing module 602 writes the current sub-image into an image file of an external memory;
and the second generation module is used for regenerating the current sub-image according to a preset retry mechanism when the current sub-image is determined to be an abnormal image.
On the basis of the foregoing embodiment, optionally, according to the first order of the current sub-image of the target object in the target object, the process of writing the current sub-image into the image file of the external storage may be: and when the generation times of the current sub-images reach a preset threshold value and newly generated new current sub-images are still abnormal images, writing the new current sub-images into an image file of an external memory according to the first sequence.
On the basis of the above embodiment, optionally, the apparatus further includes: a determination module and a second write module.
Specifically, the determining module is configured to determine a target length and a target width of the target image;
and the second writing module is used for writing the target length and the target width into a file header of the image file.
On the basis of the above embodiment, optionally, the apparatus further includes: and releasing the module.
Specifically, the releasing module is configured to release a memory space occupied by the current sub-image in the operating memory after the first writing module 602 writes the current sub-image in the image file of the external memory.
On the basis of the foregoing embodiment, optionally, the first generating module 601 is specifically configured to control the view control of the target object to move to a target content of the target object that is not yet displayed in the screen; and acquiring a sub-image corresponding to the target content, and returning to the step of controlling the view control of the target object to move to the target content of the target object which is not displayed in the screen until all the content of the target object is completely displayed, so as to obtain all the sub-images of the target object.
On the basis of the foregoing embodiment, optionally, the process of acquiring the sub-image corresponding to the target content may be: and acquiring a sub-image corresponding to the target content in a screen capture mode.
On the basis of the foregoing embodiment, optionally, the first generating module 601 is specifically configured to read target content that is not yet rendered in the target object; rendering the target content into a corresponding sub-image, and returning to the step of reading the target content which is not rendered in the target object until all the content of the target object is rendered, so as to obtain all the sub-images of the target object.
Referring now to FIG. 7, shown is a schematic diagram of an electronic device 700 suitable for use in implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, the electronic device 700 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 701 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage means 707 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the electronic apparatus 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Generally, the following devices may be connected to the I/O interface 705: input devices 707 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; a storage device 707 including, for example, a magnetic tape, a hard disk, or the like; and a communication device 709. The communication means 709 may allow the electronic device 700 to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 illustrates an electronic device 700 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 709, or may be installed from the storage means 707, or may be installed from the ROM 702. The computer program, when executed by the processing device 701, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring at least two internet protocol addresses; sending a node evaluation request comprising the at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects the internet protocol addresses from the at least two internet protocol addresses and returns the internet protocol addresses; receiving an internet protocol address returned by the node evaluation equipment; wherein the obtained internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from the at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In one embodiment, there is also provided an electronic device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
sequentially generating each sub-image of the target object;
and sequentially writing the sub-images into an image file of an external memory according to the sequence of the sub-images in the target object to obtain a target image corresponding to the target object.
In one embodiment, there is also provided a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
sequentially generating each sub-image of the target object;
and sequentially writing the sub-images into an image file of an external memory according to the sequence of the sub-images in the target object to obtain a target image corresponding to the target object.
The image generation device, the equipment and the storage medium provided in the above embodiments can execute the image generation method provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For technical details that are not described in detail in the above embodiments, reference may be made to an image generation method provided in any embodiment of the present application.
According to one or more embodiments of the present disclosure, there is provided an image generation method including:
sequentially generating each sub-image of the target object;
and sequentially writing the sub-images into an image file of an external memory according to the sequence of the sub-images in the target object to obtain a target image corresponding to the target object.
According to one or more embodiments of the present disclosure, there is provided the image generation method as above, further including: writing the current sub-image into an image file of an external memory according to a first sequence of the current sub-image of the target object in the target object, and simultaneously generating a next sub-image of the target object; and acquiring a second sequence of the next sub-image in the target object, and writing the next sub-image into the image file according to the second sequence until the last sub-image of the target object is written into the image file to obtain a target image of the target object.
According to one or more embodiments of the present disclosure, there is provided the image generation method as above, further including: and sequentially writing the sub-images into an image file of an external memory in a vertical splicing mode or a horizontal splicing mode according to the sequence of the sub-images in the target object.
According to one or more embodiments of the present disclosure, there is provided the image generation method as above, further including: dividing a current sub-image of the target object into a plurality of image blocks; coding each image block through a coder corresponding to each image block to obtain a plurality of coded image blocks; and respectively writing the coded image blocks into an image file of an external memory according to the first sequence of the current sub-image in the target object, wherein the image blocks correspond to the encoders one by one.
According to one or more embodiments of the present disclosure, there is provided the image generation method as above, further including: acquiring coding parameters adjusted by a user according to a coder corresponding to each image block; and coding each image block by each coder and adopting the coding parameters regulated by each coder to obtain a plurality of coded image blocks, wherein the coding speed corresponding to the regulated coding parameters is higher than the coding speed corresponding to the coding parameters before regulation.
According to one or more embodiments of the present disclosure, there is provided the image generation method as above, further including: carrying out anomaly detection on the current sub-image; and when the current sub-image is determined to be an abnormal image, regenerating the current sub-image according to a preset retry mechanism.
According to one or more embodiments of the present disclosure, there is provided the image generation method as above, further including: and when the generation times of the current sub-images reach a preset threshold value and newly generated new current sub-images are still abnormal images, writing the new current sub-images into an image file of an external memory according to the first sequence.
According to one or more embodiments of the present disclosure, there is provided the image generation method as above, further including: determining a target length and a target width of the target image; and writing the target length and the target width into a file header of the image file.
According to one or more embodiments of the present disclosure, there is provided the image generation method as above, further including: and releasing the memory space occupied by the current sub-image in the running memory.
According to one or more embodiments of the present disclosure, there is provided the image generation method as above, further including: controlling the view control of the target object to move to the target content of the target object which is not displayed in the screen; and acquiring a sub-image corresponding to the target content, and returning to the step of controlling the view control of the target object to move to the target content of the target object which is not displayed in the screen until all the content of the target object is completely displayed, so as to obtain all the sub-images of the target object.
According to one or more embodiments of the present disclosure, there is provided the image generation method as above, further including: and acquiring a sub-image corresponding to the target content in a screen capture mode.
According to one or more embodiments of the present disclosure, there is provided the image generation method as above, further including: reading target content which is not rendered in the target object;
rendering the target content into a corresponding sub-image, and returning to the step of reading the target content which is not rendered in the target object until all the content of the target object is rendered, so as to obtain all the sub-images of the target object.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (15)

1. An image generation method, comprising:
sequentially generating each sub-image of the target object;
and sequentially writing the sub-images into an image file of an external memory according to the sequence of the sub-images in the target object to obtain a target image corresponding to the target object.
2. The method according to claim 1, wherein the sequentially writing the sub-images into an image file of an external memory according to the sequence of the sub-images in the target object to obtain a target image corresponding to the target object comprises:
writing the current sub-image into an image file of an external memory according to a first sequence of the current sub-image of the target object in the target object, and simultaneously generating a next sub-image of the target object;
and acquiring a second sequence of the next sub-image in the target object, and writing the next sub-image into the image file according to the second sequence until the last sub-image of the target object is written into the image file to obtain a target image of the target object.
3. The method of claim 1, wherein sequentially writing the sub-images into the image file of the external memory according to the order of the sub-images in the target object comprises:
and sequentially writing the sub-images into an image file of an external memory in a vertical splicing mode or a horizontal splicing mode according to the sequence of the sub-images in the target object.
4. The method of claim 2, wherein writing the current sub-image of the target object into an image file of an external memory according to the first order of the current sub-image in the target object comprises:
dividing a current sub-image of the target object into a plurality of image blocks, wherein the image blocks correspond to encoders one to one;
coding each image block through a coder corresponding to each image block to obtain a plurality of coded image blocks;
and respectively writing the coded image blocks into an image file of an external memory according to the first sequence of the current sub-image in the target object.
5. The method of claim 4, wherein encoding each image block by an encoder corresponding to the image block to obtain a plurality of encoded image blocks comprises:
acquiring coding parameters adjusted by a user according to a coder corresponding to each image block, wherein the coding speed corresponding to the adjusted coding parameters is higher than the coding speed corresponding to the coding parameters before adjustment;
and coding each image block by each coder and adopting the coding parameters regulated by each coder to obtain a plurality of coded image blocks.
6. The method of claim 2, further comprising, prior to said writing said current sub-image to an image file in an external memory:
carrying out anomaly detection on the current sub-image;
and when the current sub-image is determined to be an abnormal image, regenerating the current sub-image according to a preset retry mechanism.
7. The method of claim 6, wherein writing the current sub-image of the target object into an image file of an external memory according to the first order of the current sub-image in the target object comprises:
and when the generation times of the current sub-images reach a preset threshold value and newly generated new current sub-images are still abnormal images, writing the new current sub-images into an image file of an external memory according to the first sequence.
8. The method of any one of claims 1 to 7, further comprising:
determining a target length and a target width of the target image;
and writing the target length and the target width into a file header of the image file.
9. The method of any of claims 2 to 7, further comprising, after said writing said current sub-image to an image file in an external memory:
and releasing the memory space occupied by the current sub-image in the running memory.
10. The method of any one of claims 1 to 7, wherein the sequentially generating sub-images of the target object comprises:
controlling the view control of the target object to move to the target content of the target object which is not displayed in the screen;
and acquiring a sub-image corresponding to the target content, and returning to the step of controlling the view control of the target object to move to the target content of the target object which is not displayed in the screen until all the content of the target object is completely displayed, so as to obtain all the sub-images of the target object.
11. The method of claim 10, wherein the obtaining of the sub-image corresponding to the target content comprises:
and acquiring a sub-image corresponding to the target content in a screen capture mode.
12. The method of any one of claims 1 to 7, wherein the sequentially generating sub-images of the target object comprises:
reading target content which is not rendered in the target object;
rendering the target content into a corresponding sub-image, and returning to the step of reading the target content which is not rendered in the target object until all the content of the target object is rendered, so as to obtain all the sub-images of the target object.
13. An image generation apparatus, comprising:
the first generation module is used for sequentially generating each sub-image of the target object;
and the first writing module is used for sequentially writing the sub-images into an image file of an external memory according to the sequence of the sub-images in the target object to obtain a target image corresponding to the target object.
14. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 12 when executing the computer program.
15. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 12.
CN202011192458.3A 2020-10-30 2020-10-30 Image generation method, device, equipment and storage medium Pending CN112365401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011192458.3A CN112365401A (en) 2020-10-30 2020-10-30 Image generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011192458.3A CN112365401A (en) 2020-10-30 2020-10-30 Image generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112365401A true CN112365401A (en) 2021-02-12

Family

ID=74513280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011192458.3A Pending CN112365401A (en) 2020-10-30 2020-10-30 Image generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112365401A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114693529A (en) * 2022-04-20 2022-07-01 北京理工大学重庆创新中心 Image splicing method, device, equipment and storage medium
CN115589527A (en) * 2022-11-23 2023-01-10 禾多科技(北京)有限公司 Automatic driving image sending method, automatic driving image sending device, electronic equipment and computer medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114693529A (en) * 2022-04-20 2022-07-01 北京理工大学重庆创新中心 Image splicing method, device, equipment and storage medium
CN114693529B (en) * 2022-04-20 2023-03-14 北京理工大学重庆创新中心 Image splicing method, device and equipment and storage medium
CN115589527A (en) * 2022-11-23 2023-01-10 禾多科技(北京)有限公司 Automatic driving image sending method, automatic driving image sending device, electronic equipment and computer medium
CN115589527B (en) * 2022-11-23 2023-06-27 禾多科技(北京)有限公司 Automatic driving image transmission method, device, electronic equipment and computer medium

Similar Documents

Publication Publication Date Title
CN110413812B (en) Neural network model training method and device, electronic equipment and storage medium
CN111405173B (en) Image acquisition method and device, point reading equipment, electronic equipment and storage medium
CN109618225B (en) Video frame extraction method, device, equipment and medium
CN112272226B (en) Picture loading method and device and readable storage medium
CN110647702B (en) Picture preloading method and device, electronic equipment and readable medium
CN111459364B (en) Icon updating method and device and electronic equipment
CN112365401A (en) Image generation method, device, equipment and storage medium
CN110852946A (en) Picture display method and device and electronic equipment
CN111259636B (en) Document rendering method and device and electronic equipment
CN110781437A (en) Method and device for acquiring webpage image loading duration and electronic equipment
CN111311486A (en) Method and apparatus for processing image
CN116527748A (en) Cloud rendering interaction method and device, electronic equipment and storage medium
CN111754600A (en) Poster image generation method and device and electronic equipment
CN114581336A (en) Image restoration method, device, equipment, medium and product
CN112053286A (en) Image processing method, image processing device, electronic equipment and readable medium
CN111199569A (en) Data processing method and device, electronic equipment and computer readable medium
CN110768861A (en) Method, device, medium and electronic equipment for obtaining overtime threshold
CN115937888A (en) Document comparison method, device, equipment and medium
CN114627023A (en) Image restoration method, device, equipment, medium and product
CN111444457B (en) Data release method and device, storage medium and electronic equipment
CN114004229A (en) Text recognition method and device, readable medium and electronic equipment
CN111737575B (en) Content distribution method, content distribution device, readable medium and electronic equipment
CN112417276A (en) Paging data acquisition method and device, electronic equipment and computer readable storage medium
CN111899151B (en) Picture generation method, device, electronic equipment and computer readable medium
CN112215774B (en) Model training and image defogging methods, apparatus, devices and computer readable media

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