WO2017206606A1 - 图片的生成方法及装置 - Google Patents

图片的生成方法及装置 Download PDF

Info

Publication number
WO2017206606A1
WO2017206606A1 PCT/CN2017/080863 CN2017080863W WO2017206606A1 WO 2017206606 A1 WO2017206606 A1 WO 2017206606A1 CN 2017080863 W CN2017080863 W CN 2017080863W WO 2017206606 A1 WO2017206606 A1 WO 2017206606A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
sub
generated
pixel
information
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.)
Ceased
Application number
PCT/CN2017/080863
Other languages
English (en)
French (fr)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to JP2018563074A priority Critical patent/JP6903079B2/ja
Priority to EP17805551.3A priority patent/EP3468185A4/en
Priority to MYPI2018002077A priority patent/MY194950A/en
Priority to SG11201810297XA priority patent/SG11201810297XA/en
Priority to KR1020187037147A priority patent/KR102242767B1/ko
Publication of WO2017206606A1 publication Critical patent/WO2017206606A1/zh
Priority to PH12018502498A priority patent/PH12018502498A1/en
Priority to US16/202,609 priority patent/US10970818B2/en
Anticipated expiration legal-status Critical
Ceased 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/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • H04N19/426Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements using memory downsizing methods
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • 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/136Incoming video signal characteristics or properties
    • 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/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/117Filters, e.g. for pre-processing or post-processing
    • 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/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/129Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
    • 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/162User input
    • 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/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/174Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a slice, e.g. a line of blocks or a group of blocks
    • 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/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process

Definitions

  • the present application relates to the field of image processing technologies, and in particular, to a method and an apparatus for generating a picture.
  • the conventional technology when generating a target picture, first load or generate a base map in the memory; then draw more picture information on the base map until a complete picture information is formed in the memory; finally, according to the complete picture in the memory Information to generate a target image.
  • the target image is relatively large, the above-mentioned complete picture information saved in the memory will occupy a large amount of memory space. For example, when the target picture is a true color picture of 1024x1024, it will occupy more than 4 megabytes of memory space. The earth consumes the memory resources of the computer.
  • the embodiment of the present application provides a method and a device for generating a picture, which can achieve the purpose of saving memory resources of a computer.
  • a method for generating a picture comprising:
  • a picture generating apparatus comprising:
  • a receiving unit configured to receive a picture generation request, where the picture generation request includes a picture format of a picture to be generated
  • An obtaining unit configured to acquire a corresponding static picture according to the picture generation request received by the receiving unit
  • a determining unit configured to determine, according to the picture format, multiple to-be-generated sub-pictures of the to-be-generated picture
  • a sorting unit configured to acquire description information of each sub-picture to be generated determined by the determining unit, and sort the plurality of sub-pictures to be generated according to the description information
  • a generating unit configured to: in the first one of the plurality of to-be-generated sub-pictures that are sorted by the sorting unit, according to the description information of the first sub-picture to be generated, a preset image generating algorithm, and The static picture generates a first sub-picture;
  • a pre-processing unit configured to pre-process the first sub-picture generated by the generating unit, and add the pre-processed first sub-picture to a picture file that conforms to the picture format;
  • the acquiring unit is further configured to generate, preprocess, and perform, in sequence, on the other sub-pictures to be generated in the plurality of sub-pictures to be generated, according to the manner of generating, pre-processing, and adding the first sub-picture. Add an operation until the picture to be generated is obtained.
  • the method and device for generating a picture determine the description information of each sub-picture to be generated of the picture to be generated according to the picture format of the picture to be generated, and sort the sub-pictures to be generated according to the description information; Sequentially generate each sub-picture, wherein In the process of sequentially generating each sub-picture in order, each sub-picture is pre-processed and added to the picture file; when all the sub-pictures are saved in the picture file, all the sub-pictures are formed. The image to be generated.
  • the present application sequentially generates each sub-picture in order, that is, only needs to save information of one sub-picture in the memory, thereby avoiding the need to save the complete information of the picture to be generated in the memory in the prior art.
  • FIG. 1 is a schematic diagram of a picture synthesizing apparatus provided by the present application.
  • FIG. 2 is a flowchart of a method for generating a picture according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of a sub-picture to be generated provided by the present application.
  • FIG. 4 is a schematic diagram of a device for generating a picture according to another embodiment of the present application.
  • the method and device for generating a picture provided by the application are suitable for generating a picture occupying a large-capacity storage space, and are particularly suitable for generating a picture occupying a large-capacity storage space on a server, where the server corresponds to multiple clients, that is, the server.
  • the picture format of the picture generated by the above generation method includes, but is not limited to, JPEG, TIFF, RAW, BMP, GIF, PNG, and the like.
  • the picture material storage module 101 is configured to store still pictures, such as a background picture and a foreground picture. And static text, etc.; it can be understood that when the picture synthesizing device generates different formats of pictures for different clients, the above static pictures are generally shared.
  • the picture generation service module 102 is configured to receive a picture generation request sent by the client, where the picture generation request may include a picture format of the picture to be generated, and read the corresponding static picture from the picture material storage module 101 according to the picture generation request.
  • the image generation request sent by the client to the image synthesizing device may further include the name of the first image. And the name of the second picture, so that the first picture and the second picture are obtained from the picture material storage module 101 by the picture generation service module 102 according to the name of the first picture and the name of the second picture.
  • the synthesis mode decision module 103 is configured to determine, according to the picture format of the picture to be generated, whether the picture to be generated can be generated by using a block; if the picture to be generated can be generated by the block, the description information of the picture to be generated after the block is also determined.
  • the picture to be generated after the block is also referred to as a sub-picture to be generated, and the description information of the sub-picture to be generated may include the number of pixels included in the sub-picture to be generated and the location of each pixel in the sub-picture to be generated. location information.
  • the result of the determination by the synthesis mode decision module 103 is that the picture to be generated can be generated by the block, and each of the to-be-generated sub-pictures includes 1024 pixels, and the 1024 pixels are included. Is a line, such as the first line or the second line.
  • the picture to be generated is a 1024x1024 JPEG picture
  • the JPEG format picture is displayed in a grid
  • the picture to be generated includes 64x64 squares, and each square contains 16x16 pixels
  • the synthesis mode The result of the determination by the decision module 103 is that the picture to be generated can be generated in blocks, and each sub-picture to be generated includes 16 ⁇ 16 pixels, that is, each sub-picture to be generated includes one square pixel.
  • the synthetic mode decision module 103 is further configured to store a preset picture generation algorithm, where the preset picture algorithm is used to generate each pixel in the sub-picture to be generated.
  • the two-dimensional code coding information corresponding to the user information and a preset picture generation algorithm may be combined to generate a sub-picture to be generated.
  • the two-dimensional code encoding information may be generated by the image generation service module 102 according to the user information, wherein the position and color (eg, black or white) of at least one pixel in the image to be generated are defined.
  • the block generation module 104 is configured to generate pixels in each sub-picture to be generated. Specifically, the block generation module 104 may first receive the picture generation request and the static picture forwarded by the picture generation service module 102, and then send an access request to the synthesis mode decision module 103 to obtain description information and presets of each sub-picture to be generated. a picture generation algorithm, and then generating each sub-picture in turn according to the description information of each sub-picture to be generated, the preset picture generation algorithm, and the above-mentioned still picture.
  • the block storage module 105 is configured to store each pixel generated by the block generation module 104 when each sub-picture is generated, when all the pixels of one sub-picture are generated, that is, when the sub-picture is stored in the block storage module 105.
  • the block storage module 105 transmits all the pixels of one sub-picture to the block code compression module 106. It should be noted that after the block storage module 105 sends all the pixels of one sub-picture to the encoding and compressing module 106, the block storage module 105 can be used to store each pixel of the next sub-picture, that is, the present application.
  • the block storage module 105 can be reused to effectively utilize the memory resources of the computer.
  • the block coding compression module 106 is configured to encode and compress the sub-picture according to the picture format of the picture to be generated. Here, according to the picture format of the picture to be generated, encoding and compressing the picture is a common common technique. This will not be repeated. After the sub-picture is encoded and compressed, the block coding compression module 106 sends the encoded and compressed sub-picture to the file generation module 107.
  • the file generating module 107 is configured to generate a picture file that conforms to the picture format of the picture to be generated at the initial time. It can be understood that the picture file only contains the description information of the picture format of the picture to be generated, and does not include any pixels; Each time after receiving the encoded and compressed sub-picture sent by the block coding compression module 106, the encoded and compressed sub-pictures are added. Add to the above image file. When the file generation module 107 adds all the sub-pictures to the picture file, the necessary information (such as security check information or integrity check information, etc.) is added to the picture file; and then the picture to be generated can be generated.
  • the necessary information such as security check information or integrity check information, etc.
  • the method for generating a picture by the picture synthesizing device can be seen in FIG. 2 .
  • the method may specifically include:
  • Step 210 Receive a picture generation request, where the picture generation request includes a picture format of a picture to be generated.
  • the image generation request here can be sent by the client.
  • Step 220 Acquire a corresponding static picture according to the received picture generation request.
  • the static picture here refers to the picture stored in the picture material storage module 101, which contains static information required to generate a majority of the picture to be generated, for example, it may be a background picture, a foreground picture or a LoGo picture.
  • the image generation service module 102 may send a picture generation request, where the picture generation request includes a picture format of the picture to be generated, where the picture format may be JPEG, TIFF, RAW, BMP, GIF, PNG, etc.
  • the picture generation service module 102 may send a picture generation request, then The above image generation request may further include user information (eg, user account and user avatar).
  • the picture generation service module 102 After receiving the picture generation request including the user information, the picture generation service module 102 generates corresponding two-dimensional code coding information according to the user information.
  • the image generation request may further include a name of the background image and/or the foreground image. If the image generation request includes the name of the background image and/or the foreground image, the image material is selected according to the name of the background image and/or the foreground image. The corresponding background image and/or the foreground image are obtained in the storage module 101; otherwise, the default background image and/or the foreground image are directly obtained from the image material storage module 101.
  • Step 230 Determine, according to the picture format, a plurality of sub-pictures to be generated of the picture to be generated.
  • Step 240 Obtain description information of each sub-picture to be generated, and sort the plurality of sub-pictures to be generated according to the description information.
  • the description information of the sub-picture to be generated includes: the number of pixels included in the sub-picture to be generated and the location information of each pixel in the sub-picture to be generated.
  • the picture generation service module 102 in FIG. 1 may, after acquiring the corresponding static picture from the picture material storage module 101, forward the picture format, the static picture, and the two-dimensional code coding information of the picture to be generated to the block generation module 104;
  • the block generation module 104 may send an access request to the synthesis mode decision module 103, where the access request may include a picture format of the picture to be generated;
  • the synthesis mode decision module 103 determines whether the block can be generated according to the picture format of the picture to be generated. Generating a picture; if the picture to be generated can be generated by the block, determining a plurality of pictures to be generated, and obtaining description information of each picture to be generated.
  • the picture to be generated is a 1024x1024 JPEG picture
  • the JPEG format picture is displayed in a grid
  • the picture to be generated includes 64x64 squares, and each square contains 16x16 pixels
  • the synthesis mode The judgment result of the decision module 103 is Generate a picture to be generated in chunks. Specifically, the total may be divided into 64 sub-pictures to be generated, and each sub-picture to be generated includes 16 ⁇ 16 pixels, that is, each sub-picture to be generated includes a square pixel; then the 64 to be generated may be generated.
  • the pictures are sorted.
  • the 64 sub-pictures to be generated may be sorted according to the position of the square of the pixel included in each sub-picture to be generated, and the sub-pictures to be generated are respectively corresponding to the pictures to be generated. Top to bottom, the first square, the second square, ..., the 64th square arranged from left to right.
  • the synthesis mode decision module 103 may send the sorted description information of each sub-picture to be generated and a preset picture generation algorithm to the block generation module 104.
  • Step 250 Generate a first sub-picture according to the description information of the first sub-picture to be generated, the preset picture generation algorithm, and the static picture, for the first sub-picture to be generated in the plurality of sub-pictures to be generated. image.
  • the first sub-picture to be generated may be the top sub-picture to be generated.
  • the image to be generated usually includes a plurality of pixels (for example, 1024 ⁇ 1024 pixels), and the preset image generation algorithm may be a method for generating each pixel.
  • the first pixel may be any pixel, and the preset image generation algorithm may be defined as follows:
  • the foreground pixel refers to one pixel in the foreground picture
  • the background pixel refers to one pixel in the background picture.
  • the first sub-picture may be generated according to the description information of the first sub-picture to be generated.
  • Position information of the first pixel in the sub-picture to be generated reading the pixel of the corresponding position from the static picture according to the location information, and determining the first pixel according to the pixel of the corresponding position and the preset image generation algorithm; Analogy until each pixel in the first sub-picture to be generated is determined, thereby generating a first sub-picture.
  • the first pixel may be generated by combining a corresponding description file (eg, the above-mentioned two-dimensional code encoding information).
  • the description file defines a position, a color, and the like of at least one pixel in the image to be generated.
  • the first to-be-generated sub-picture determined by the synthesis mode decision module 103 may include pixels of the first row, that is, may include 1024 pixels; and it is assumed that each pixel of the first sub-picture to be generated in the two-dimensional code coding information is defined as follows: Line 1 first: black; line 1 second: white; ...; line 1 1024: white.
  • the first foreground pixel of the first row is read from the foreground picture, and the first row is The first foreground pixel is the first pixel in the first sub-picture to be generated; when the second pixel in the first line is generated, that is, when the second pixel in the first sub-picture to be generated is generated, Reading the second background pixel of the first row from the background image, using the second background pixel of the first row as the second pixel in the first sub-picture to be generated; ...; until determining the first sub-picture to be generated The 1024th pixel in the middle. It can be understood that after the 1024th pixel is generated, that is, after the last pixel of the first to-be-generated sub-picture is generated, the first sub-picture is generated.
  • the block generation module 104 stores the pixel in the block storage module 105 for each pixel in the sub-picture, until the block storage module 105 All the pixels in one sub-picture are stored, as in the foregoing example, until 1024 pixels are stored in the block storage module 105; then the block generation module 104 sends all the pixels of one sub-picture and the format of the picture to be generated to the area.
  • Block compression module 106 It can be understood that, after the block generation module 104 sends all the pixels of one sub-picture to the block compression module 106, the block storage module 105 can be used to store all the pixels of the next sub-picture, that is, in the present application.
  • the block storage module 105 can be reused, thereby improving the utilization of memory resources; in addition, the block storage module 105 in the present application is only used to store all pixels of one sub-picture without storing the entire picture. Information, so it greatly saves the memory resources of the computer.
  • Step 260 Perform pre-processing on the first sub-picture, and add the pre-processed first sub-picture to the picture file that conforms to the picture format.
  • the preprocessing herein may include encoding, compression processing, and the like.
  • the pictures stored on the external storage space of the computer are usually encoded and compressed. Images of different image formats may have different encoding and compression methods. Specifically, after receiving the picture format of the first sub-picture and the picture format of the picture to be generated, the block compression module 106 may encode and compress the first sub-picture according to the picture format of the picture to be generated, where The encoding and compression processing of pictures in different picture formats belong to the traditional common techniques, and will not be repeated here.
  • the block compression module 106 After encoding and compressing the first sub-picture, the block compression module 106 sends the first sub-picture after the encoding and compression processing and the picture format of the picture to be generated to the file generating module 107.
  • the file generating module 107 can initially generate a picture file that conforms to the picture format of the picture to be generated, and the picture file only contains the description information of the picture format of the picture to be generated, and does not include any pixels;
  • the encoded and compressed sub-picture is added to the picture file.
  • Step 270 Perform generation, preprocessing, and adding operations on the other sub-pictures to be generated in the plurality of sub-pictures to be generated in sequence according to the generation, pre-processing, and adding manner of the first sub-picture, until the to-be-generated is obtained. image.
  • a second sub-picture (including 1024 pixels in the second line) may be generated; then the second sub-picture is pre-processed, and the pre-processed second is generated.
  • the sub-pictures are added to the above picture file; and so on, until the 1024th sub-picture is generated, and the pre-processed 1024th sub-picture is added to the above picture file.
  • the file generation module 107 adds all the sub-pictures to the picture file, the necessary information (such as security check information or integrity check information, etc.) is added to the picture file; and then the picture to be generated is generated.
  • the method for generating a picture determines the description information of each sub-picture to be generated of the picture to be generated according to the picture format of the picture to be generated, and sorts each sub-picture to be generated according to the description information; Generating each sub-picture, wherein, in the process of sequentially generating each sub-picture in order, each sub-picture is pre-processed and added to the picture file; and all sub-pictures are saved in the picture file. When all the sub-pictures constitute the picture to be generated.
  • the present application sequentially generates each sub-picture in order, that is, only needs to save information of one sub-picture in the memory, thereby avoiding the need to save the complete information of the picture to be generated in the memory in the prior art.
  • the device includes:
  • the receiving unit 401 is configured to receive a picture generation request, where the picture generation request includes a picture format of the picture to be generated.
  • the obtaining unit 402 is configured to acquire a corresponding static picture according to the picture generation request received by the receiving unit 401.
  • the determining unit 403 is configured to determine, according to the picture format, multiple to-be-generated sub-pictures of the picture to be generated.
  • the sorting unit 404 is configured to acquire description information of each sub-picture to be generated determined by the determining unit 403, and sort the plurality of sub-pictures to be generated according to the description information.
  • the description information may include: the number of pixels included in the sub-picture to be generated and the location information of each pixel in the sub-picture to be generated.
  • the generating unit 405 is configured to: the first to-be-generated sub-picture in the plurality of to-be-generated sub-pictures that are sorted by the sorting unit 404, according to the description information of the first sub-picture to be generated, a preset picture generation algorithm, and a still picture , generating the first sub-picture.
  • the generating unit 405 is specifically configured to:
  • Reading according to the description information of the first sub-picture to be generated, the location information of the first pixel in the first sub-picture to be generated; and reading the pixel of the corresponding position from the static picture according to the location information, and according to the corresponding location
  • the pixel and the preset image generation algorithm determine the first pixel; and so on, until each pixel in the first sub-picture to be generated is determined, thereby generating a first sub-picture.
  • the pre-processing unit 406 is configured to perform pre-processing on the first sub-picture generated by the generating unit 405, and add the pre-processed first sub-picture to the picture file that conforms to the picture format.
  • the obtaining unit 402 is further configured to sequentially generate, pre-process, and add operations on the to-be-generated sub-pictures in the plurality of sub-pictures to be generated, according to the manner of generating, pre-processing, and adding the first sub-picture. Until you get the picture to be generated.
  • the static picture includes a foreground picture and/or a background picture
  • the pixel in the corresponding location is read from the static image, and the first pixel is determined according to the pixel of the corresponding location and the preset image generation algorithm, specifically:
  • the foreground pixel of the corresponding location is read from the foreground image
  • the background pixel of the corresponding location is read from the background image
  • the merged foreground pixel and the background pixel are taken as the first pixel.
  • the image generation request may further include user information
  • the generating unit 405 is also specifically configured to:
  • the first sub-picture is generated according to the description information of the first sub-picture to be generated, the preset picture generation algorithm, the static picture, and the two-dimensional code coding information.
  • the receiving unit 401 receives a picture generation request, where the picture generation request includes a picture format of a picture to be generated, and the obtaining unit 402 acquires a corresponding static picture according to the received picture generation request;
  • the unit 403 determines a plurality of to-be-generated sub-pictures to be generated according to the picture format, and the sorting unit 404 obtains the description information of each sub-picture to be generated, and sorts the plurality of sub-pictures to be generated according to the description information;
  • the unit 406 preprocesses the first sub-picture, and adds the pre-processed first sub-picture to the picture file that conforms to the picture format; the obtaining unit 402 generates, pre-processe
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Library & Information Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
PCT/CN2017/080863 2016-05-31 2017-04-18 图片的生成方法及装置 Ceased WO2017206606A1 (zh)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP2018563074A JP6903079B2 (ja) 2016-05-31 2017-04-18 画像生成方法及びデバイス
EP17805551.3A EP3468185A4 (en) 2016-05-31 2017-04-18 Image generation method and device
MYPI2018002077A MY194950A (en) 2016-05-31 2017-04-18 Image generation method and device
SG11201810297XA SG11201810297XA (en) 2016-05-31 2017-04-18 Image generation method and device
KR1020187037147A KR102242767B1 (ko) 2016-05-31 2017-04-18 이미지 생성 방법 및 디바이스
PH12018502498A PH12018502498A1 (en) 2016-05-31 2018-11-26 Image generation method and device
US16/202,609 US10970818B2 (en) 2016-05-31 2018-11-28 Sub-image based image generation

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610374626.8 2016-05-31
CN201610374626.8A CN107452041B (zh) 2016-05-31 2016-05-31 图片的生成方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/202,609 Continuation US10970818B2 (en) 2016-05-31 2018-11-28 Sub-image based image generation

Publications (1)

Publication Number Publication Date
WO2017206606A1 true WO2017206606A1 (zh) 2017-12-07

Family

ID=60479607

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/080863 Ceased WO2017206606A1 (zh) 2016-05-31 2017-04-18 图片的生成方法及装置

Country Status (10)

Country Link
US (1) US10970818B2 (enExample)
EP (1) EP3468185A4 (enExample)
JP (1) JP6903079B2 (enExample)
KR (1) KR102242767B1 (enExample)
CN (1) CN107452041B (enExample)
MY (1) MY194950A (enExample)
PH (1) PH12018502498A1 (enExample)
SG (1) SG11201810297XA (enExample)
TW (1) TWI706371B (enExample)
WO (1) WO2017206606A1 (enExample)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112771578A (zh) * 2018-09-27 2021-05-07 渊慧科技有限公司 使用细分缩放和深度上缩放的图像生成
CN113284201A (zh) * 2021-05-27 2021-08-20 杭州睿影科技有限公司 安检图像的生成方法、安检系统及存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107452041B (zh) * 2016-05-31 2020-07-31 阿里巴巴集团控股有限公司 图片的生成方法及装置
JP7420965B2 (ja) * 2020-03-20 2024-01-23 バイトダンス インコーポレイテッド 隣接するサブピクチャのコーディング
US20220343544A1 (en) * 2021-04-26 2022-10-27 The Boeing Company Dividing an astc texture to a set of sub-images
CN114253715A (zh) * 2021-12-08 2022-03-29 乐美科技股份私人有限公司 一种图像处理方法、装置、电子设备以及存储介质
CN114519336A (zh) * 2022-02-17 2022-05-20 网易(杭州)网络有限公司 图片排版方法、装置、设备及存储介质
US20250088894A1 (en) * 2023-09-13 2025-03-13 Dell Products, L.P. Dynamic downlink traffic buffering

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8503802B1 (en) * 2006-12-21 2013-08-06 Marvell International Ltd. Method and apparatus for processing an image
CN105245881A (zh) * 2015-09-28 2016-01-13 杭州九言科技股份有限公司 一种数字图像滤镜处理的方法和装置
CN105488132A (zh) * 2015-11-25 2016-04-13 小米科技有限责任公司 头像图片获取方法及装置
CN105516618A (zh) * 2014-09-27 2016-04-20 北京金山安全软件有限公司 一种制作视频的方法、装置及通信终端

Family Cites Families (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5668897A (en) * 1994-03-15 1997-09-16 Stolfo; Salvatore J. Method and apparatus for imaging, image processing and data compression merge/purge techniques for document image databases
CA2229027A1 (en) * 1995-08-04 1997-02-20 Microsoft Corporation Method and system for rendering graphical objects to image chunks and combining image layers into a display image
US6141012A (en) * 1997-03-31 2000-10-31 Xerox Corporation Image processing code generation based on structured image (SI) techniques
US6611241B1 (en) * 1997-12-02 2003-08-26 Sarnoff Corporation Modular display system
TWI384413B (zh) * 2006-04-24 2013-02-01 Sony Corp An image processing apparatus, an image processing method, an image processing program, and a program storage medium
KR100827679B1 (ko) * 2006-08-16 2008-05-07 엠텍비젼 주식회사 통합 비디오 코덱을 위한 트랜스폼 모듈 및 방법
DE102006039389A1 (de) * 2006-08-22 2008-02-28 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Vorrichtung und Verfahren zur Reduzierung von Übergangsartefakten in einem Gesamtbild, das sich aus Teilbildern zusammensetzt
JP4945236B2 (ja) * 2006-12-27 2012-06-06 株式会社東芝 映像コンテンツ表示装置、映像コンテンツ表示方法及びそのプログラム
JP4831349B2 (ja) * 2007-01-23 2011-12-07 富士ゼロックス株式会社 画像処理装置、画像形成装置、画像形成システム、及びプログラム
EP2162863B1 (en) * 2007-06-05 2014-07-30 DigitalOptics Corporation International Non-linear transformations for enhancement of images
US8004582B2 (en) * 2007-12-14 2011-08-23 Casio Computer Co., Ltd. Image file processing apparatus, image file processing method, and storage medium
US8369652B1 (en) * 2008-06-16 2013-02-05 Hrl Laboratories, Llc Visual attention system for salient regions in imagery
TW201023094A (en) * 2008-12-05 2010-06-16 Univ Lunghwa Sci & Technology Method for editing and transmitting network picture in dot matrix manner
AU2010234364B2 (en) * 2009-04-08 2014-12-11 Newrow, Inc. System and method for image compression
TW201044314A (en) * 2009-06-12 2010-12-16 Int Games System Co Ltd Joint dynamic image editing system and method thereof
US8751677B2 (en) * 2009-10-08 2014-06-10 Futurewei Technologies, Inc. System and method to support different ingest and delivery schemes for a content delivery network
KR20120037330A (ko) * 2010-10-11 2012-04-19 (주) 나무인터넷 이미지객체를 이용한 로그인 인증 방법 및 그 시스템
US8965140B1 (en) * 2011-01-31 2015-02-24 Teradici Corporation Method and apparatus for encoding mixed content image sequences
CN102622628B (zh) 2012-02-24 2014-09-03 南京大学 一种通过渲染方式生成qr码的方法
CN102651138B (zh) * 2012-04-10 2014-11-26 西安理工大学 基于jpeg图片拼接的超大图片合成方法
WO2013173721A1 (en) * 2012-05-18 2013-11-21 Home Box Office, Inc. Audio-visual content delivery
TWI457623B (zh) * 2012-08-24 2014-10-21 Extend Optronics Corp 隔熱光導膜結構及其裝置
KR101509877B1 (ko) * 2013-01-21 2015-04-07 에스케이씨앤씨 주식회사 이미지로부터 생성한 워터마크를 이미지에 삽입하는 기법에 의한 워터마킹 방법 및 장치
US10068363B2 (en) * 2013-03-27 2018-09-04 Nokia Technologies Oy Image point of interest analyser with animation generator
US9210434B2 (en) * 2013-06-12 2015-12-08 Microsoft Technology Licensing, Llc Screen map and standards-based progressive codec for screen content coding
AU2013273768A1 (en) * 2013-12-20 2015-07-09 Canon Kabushiki Kaisha Parallel rendering of region-based graphics representations
CN103778631B (zh) * 2014-01-16 2017-01-18 西安理工大学 基于jpeg文件流的图片分割方法
CN104143109B (zh) * 2014-01-28 2017-04-05 深圳市雁联计算系统有限公司 一种二维码的编码和解码方法及其印刷物
US9176473B1 (en) * 2015-02-09 2015-11-03 Nanografix Corporation Systems and methods for fabricating variable digital optical images using generic optical matrices
CN104881470B (zh) * 2015-05-28 2018-05-08 暨南大学 一种面向海量图片数据的重复数据删除方法
CN107452041B (zh) * 2016-05-31 2020-07-31 阿里巴巴集团控股有限公司 图片的生成方法及装置
US10318573B2 (en) * 2016-06-22 2019-06-11 Oath Inc. Generic card feature extraction based on card rendering as an image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8503802B1 (en) * 2006-12-21 2013-08-06 Marvell International Ltd. Method and apparatus for processing an image
CN105516618A (zh) * 2014-09-27 2016-04-20 北京金山安全软件有限公司 一种制作视频的方法、装置及通信终端
CN105245881A (zh) * 2015-09-28 2016-01-13 杭州九言科技股份有限公司 一种数字图像滤镜处理的方法和装置
CN105488132A (zh) * 2015-11-25 2016-04-13 小米科技有限责任公司 头像图片获取方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3468185A4 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112771578A (zh) * 2018-09-27 2021-05-07 渊慧科技有限公司 使用细分缩放和深度上缩放的图像生成
CN112771578B (zh) * 2018-09-27 2024-05-24 渊慧科技有限公司 使用细分缩放和深度上缩放的图像生成
CN113284201A (zh) * 2021-05-27 2021-08-20 杭州睿影科技有限公司 安检图像的生成方法、安检系统及存储介质

Also Published As

Publication number Publication date
JP6903079B2 (ja) 2021-07-14
CN107452041B (zh) 2020-07-31
MY194950A (en) 2022-12-28
EP3468185A1 (en) 2019-04-10
JP2019517696A (ja) 2019-06-24
US10970818B2 (en) 2021-04-06
KR20190013870A (ko) 2019-02-11
US20190108616A1 (en) 2019-04-11
CN107452041A (zh) 2017-12-08
SG11201810297XA (en) 2018-12-28
TWI706371B (zh) 2020-10-01
PH12018502498A1 (en) 2019-04-08
TW201743283A (zh) 2017-12-16
KR102242767B1 (ko) 2021-04-23
EP3468185A4 (en) 2019-04-10

Similar Documents

Publication Publication Date Title
WO2017206606A1 (zh) 图片的生成方法及装置
KR102804999B1 (ko) 포인트 클라우드 기하형상 패딩
KR102431117B1 (ko) 포인트 클라우드 맵핑
RU2546616C2 (ru) Система и способ сжатия изображения
KR102842518B1 (ko) 3d 객체를 나타내는 포인트 클라우드를 인코딩/디코딩하기 위한 방법 및 장치
US8077986B2 (en) Information processing apparatus, method of controlling same and computer program
US20100250588A1 (en) Image searching system and image searching method
He et al. Best-effort projection based attribute compression for 3D point cloud
US20040165782A1 (en) Image processing apparatus
KR102842573B1 (ko) 3d 객체를 나타내는 포인트 클라우드를 인코딩/디코딩하기 위한 방법 및 장치
JP2019517696A5 (enExample)
Yue et al. SIFT-based image compression
EP3343446A1 (en) Method and apparatus for encoding and decoding lists of pixels
TW202036483A (zh) 拼貼擴充方法、編碼器與解碼器
JP2000236507A (ja) 画像ファイル記憶方法、デジタル・カメラ及び記憶媒体
JP2023522456A (ja) マルチビュービデオシーケンスをコード化および復号するための方法およびデバイス
KR20240148896A (ko) 메시 패치 세분화
Shao et al. Inter-picture prediction based on 3D point cloud model
US9524553B2 (en) Image processing apparatus, image processing method, and recording medium
HK1247425A1 (zh) 图片的生成方法及装置
HK1247425B (zh) 图片的生成方法及装置
JP2003338934A (ja) 画像処理装置および方法
KR102550216B1 (ko) 영상 처리 장치, 서버, 영상 처리 시스템, 영상 처리 방법
JP4383187B2 (ja) 画像処理装置、画像処理用プログラム及び記憶媒体
TWI236639B (en) Outline processing method for bitmap image

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2018563074

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17805551

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20187037147

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017805551

Country of ref document: EP

Effective date: 20190102