CN110555816A - Picture processing method and device, computing equipment and storage medium - Google Patents

Picture processing method and device, computing equipment and storage medium Download PDF

Info

Publication number
CN110555816A
CN110555816A CN201910848914.6A CN201910848914A CN110555816A CN 110555816 A CN110555816 A CN 110555816A CN 201910848914 A CN201910848914 A CN 201910848914A CN 110555816 A CN110555816 A CN 110555816A
Authority
CN
China
Prior art keywords
parameters
target picture
picture
partition
arrangement mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910848914.6A
Other languages
Chinese (zh)
Other versions
CN110555816B (en
Inventor
苏莉微
程安来
钟洪斌
王光争
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Kingsoft Digital Network Technology Co Ltd
Original Assignee
Zhuhai Kingsoft Online Game 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 Zhuhai Kingsoft Online Game Technology Co Ltd filed Critical Zhuhai Kingsoft Online Game Technology Co Ltd
Priority to CN201910848914.6A priority Critical patent/CN110555816B/en
Publication of CN110555816A publication Critical patent/CN110555816A/en
Application granted granted Critical
Publication of CN110555816B publication Critical patent/CN110555816B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The present specification provides a picture processing method, an apparatus, a computing device, and a computer-readable storage medium, wherein the picture processing method includes: acquiring a target picture to be stored; receiving the arrangement mode parameters of the target picture, segmenting the target picture according to the arrangement mode parameters, and acquiring a material unit of the target picture; receiving partition parameters of the material units, and segmenting and compressing the material units according to the partition parameters to obtain material resources of the material units; and correspondingly storing the material resources, the configuration mode parameters and the partition parameters of the material units.

Description

Picture processing method and device, computing equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method and an apparatus for processing an image, a computing device, and a computer-readable storage medium.
Background
At present, with the increasing development of internet technology, more and more application software is developed, and more pictures are applied to the software. In order to enable users to have better user experience in the using process, the pictures are processed to be richer, more colorful and vivid.
however, in the process of processing the picture, making the picture richer means that the requirement on the details of the picture is higher, the content of the picture material needing to be filled is more, and the operation cost is higher.
It is very important how to reduce the operation overhead in the picture processing process to the maximum extent on the premise of not reducing the picture content and precision.
Disclosure of Invention
In view of this, embodiments of the present disclosure provide a method and an apparatus for processing an image, a computing device, and a computer-readable storage medium, so as to solve technical defects in the prior art.
According to a first aspect of embodiments herein, there is provided a picture processing method, including:
Acquiring a target picture to be stored;
Receiving the arrangement mode parameters of the target picture, segmenting the target picture according to the arrangement mode parameters, and acquiring a material unit of the target picture;
Receiving partition parameters of the material units, and segmenting and compressing the material units according to the partition parameters to obtain material resources of the material units;
And correspondingly storing the material resources, the configuration mode parameters and the partition parameters of the material units.
Optionally, the receiving the configuration mode parameter of the target picture includes:
And receiving the arrangement mode parameters of the target pictures, namely tile tiling and stretching.
optionally, the receiving the partition parameters of the material unit includes:
And receiving partition parameters of the material unit, namely mirror image partitions, three-square grids, nine-square grids and cross grids.
Optionally, the target picture description information is generated based on the arrangement mode parameter of the target picture and the partition parameter of the material unit.
optionally, the target picture description information includes a target picture thumbnail.
Optionally, the image processing method further includes:
and restoring the target picture according to the stored material resources, the partition parameters of the material units and the distribution mode parameters.
Optionally, the material resources, the partition parameters of the material units, and the configuration mode parameters are obtained;
Determining a material unit of the target picture according to the material resource and the partition parameter of the material unit;
and restoring the target picture according to the material units of the target picture and the arrangement mode parameters.
According to a second aspect of embodiments herein, there is provided a picture processing method including:
Acquiring material resources to be restored, partition parameters of corresponding material units and arrangement mode parameters of target pictures to be restored;
determining a material unit to be restored according to the material resource to be restored and the partition parameters of the material unit;
And restoring the target picture to be restored according to the material unit to be restored and the arrangement mode parameters of the target picture to be restored.
according to a third aspect of embodiments herein, there is provided a picture processing apparatus including:
the device comprises a first acquisition module, a second acquisition module and a storage module, wherein the first acquisition module is configured to acquire a target picture to be stored;
The first receiving module is configured to receive the arrangement mode parameters of the target picture, divide the target picture according to the arrangement mode parameters and acquire material units of the target picture;
The second receiving module is configured to receive the partition parameters of the material unit, divide and compress the material unit according to the partition parameters, and acquire the material resources of the material unit;
And the storage module is configured to correspondingly store the material resources, the arrangement mode parameters and the partition parameters of the material units.
optionally, the first receiving module is further configured to receive an arrangement mode parameter of the target picture, which is tile tiling and stretching.
Optionally, the second receiving module is further configured to receive the partition parameters of the material unit as a mirror partition, a three-square grid, a nine-square grid, and a cross grid.
Optionally, the description module is configured to generate the target picture description information based on the arrangement mode parameter of the target picture and the partition parameter of the material unit.
optionally, the description module is further configured to configure the target picture description information to include a target picture thumbnail.
optionally, the image processing apparatus further includes:
and the first reduction module is configured to reduce the target picture according to the stored material resources, the partition parameters of the material units and the arrangement mode parameters.
Optionally, the first restoring module is further configured to obtain the material resources, the partition parameters of the material units, and the arrangement mode parameters; determining a material unit of the target picture according to the material resource and the partition parameter of the material unit; and restoring the target picture according to the material units of the target picture and the arrangement mode parameters.
According to a fourth aspect of embodiments herein, there is provided a picture processing apparatus including:
The second acquisition module is configured to acquire the material resources to be recovered, the partition parameters of the corresponding material units and the arrangement mode parameters of the target pictures to be recovered;
the determining module is configured to determine the material units to be restored according to the material resources to be restored and the partition parameters of the material units;
and the second restoring module is configured to restore the target picture to be restored according to the material unit to be restored and the arrangement mode parameters of the target picture to be restored.
According to a fifth aspect of embodiments herein, there is provided a computing device comprising a memory, a processor and computer instructions stored on the memory and executable on the processor, the processor implementing the steps of the picture processing method when executing the instructions.
According to a sixth aspect of embodiments herein, there is provided a computer readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the picture processing method.
in the embodiment of the description, a systematic method is formed by using the picture processing method and device, so that the operation overhead in the picture processing process is reduced to the maximum extent on the premise of not reducing the picture content and precision, and the picture processing efficiency is improved.
Drawings
FIG. 1 is a block diagram of a computing device provided by an embodiment of the present application;
Fig. 2 is a flowchart of a picture processing method provided in an embodiment of the present application;
fig. 3a to 3c are diagrams illustrating an effect of the image processing method according to the embodiment of the present application;
Fig. 4a to 4c are diagrams illustrating an effect of the image processing method according to the embodiment of the present application;
Fig. 5a to 5c are diagrams illustrating an effect of the image processing method according to the embodiment of the present application;
fig. 6a to 6c are diagrams illustrating an effect of the image processing method according to the embodiment of the present application;
FIG. 7 is a schematic structural diagram of a picture processing apparatus according to an embodiment of the present application;
Fig. 8 is a flowchart of a second picture processing method provided in the embodiment of the present application;
fig. 9 is a schematic structural diagram of a second image processing apparatus according to an embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
First, the noun terms to which one or more embodiments of the present invention relate are explained.
UI design, also called interface design, refers to the integral design of man-machine interaction, operation logic and attractive interface of software. UI is short for User Interface.
In the present application, an image processing method, an image processing apparatus, a computing device, and a computer-readable storage medium are provided, and details are described in the following embodiments one by one.
FIG. 1 shows a block diagram of a computing device 100, according to an embodiment of the present description. The components of the computing device 100 include, but are not limited to, memory 110 and processor 120. The processor 120 is coupled to the memory 110 via a bus 130 and a database 150 is used to store data.
computing device 100 also includes access device 140, access device 140 enabling computing device 100 to communicate via one or more networks 160. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 140 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
in one embodiment of the present description, the above-described components of computing device 100 and other components not shown in FIG. 1 may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 1 is for purposes of example only and is not limiting as to the scope of the description. Those skilled in the art may add or replace other components as desired.
Computing device 100 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 100 may also be a mobile or stationary server.
the processor 120 may perform the steps in the picture processing method shown in fig. 2. Fig. 2 shows a flowchart of a picture processing method according to an embodiment of the present specification, including step 202 to step 208.
step 202: and acquiring a target picture to be stored.
specifically, when the picture needs to be saved, the picture needing to be saved needs to be obtained first, which is called a target picture.
Step 204: and receiving the configuration mode parameters and acquiring the material units of the target picture.
Specifically, the arrangement mode includes a tile laying mode and a stretching mode. After manually confirmed arrangement mode parameters are received, if the arrangement mode is a tile tiling mode, the target picture needs to be cut to obtain material units forming the target picture; if the arrangement is in a stretching mode, the target picture can be directly confirmed to be the material unit.
step 206: and receiving partition parameters and acquiring the material resources of the material units.
Specifically, the partition parameters include mirror image partitions, three-grid squares, nine-grid squares, cross squares, and the like. And the material unit is divided in a partitioning mode of receiving the user indication, an invalid area indicated by the user is compressed, and the material resources of the material unit are formed by combining the valid areas indicated by the user.
step 208: and correspondingly storing the material resources, the configuration mode parameters and the partition parameters of the material units.
Specifically, the material resources obtained in step 206, the partition parameters received in step 206, and the configuration parameters received in step 204 are stored correspondingly.
In the picture processing step, the processed material resources, the corresponding partition parameters and the configuration mode parameters are stored, so that the pictures which originally occupy large resources are stored by using small resources, and the resources are saved.
in the picture processing method provided by another embodiment of the present application, after step 208, the method may further include:
And restoring the target picture according to the stored material resources, the partition parameters of the material units and the distribution mode parameters.
specifically, the material resources, the partition parameters of the material units, and the arrangement mode parameters stored in step 208 are obtained, the material units of the target picture are determined according to the partition parameters of the material resources and the material units, and the target picture is restored according to the material units and the arrangement mode parameters of the target picture.
the picture processing steps ensure that the picture is fast and accurate in the reduction process, and ensure the content and the precision of the picture.
fig. 3a to 3c illustrate an embodiment of a picture processing method of the present specification.
In the UI editing and drawing of the application software, the case where the picture is used as a background picture is applied, and if the original picture of the background picture is saved, a lot of system resources are occupied.
for example: fig. 3a is a target picture to be stored, and the size of fig. 3a is 400 × 270. If storing fig. 3a directly requires saving a picture of size 400 x 270.
By the picture processing method provided by the invention, the arrangement mode that the tile is tiled is received in fig. 3a, and the specific arrangement mode is that the picture 3a is obtained by performing eight times of horizontal copying and three times of vertical copying on fig. 3 b. According to the layout mode parameters, the picture 3a is divided to obtain the material unit graph 3b of the graph 3a, and the size of the graph 3b is 50 × 90.
And if the partition parameter received from the fig. 3b is three lattices, segmenting the fig. 3b according to a three-lattice form to obtain a 3b1 region, a 3b2 region and a 3b3 region. The partition parameters simultaneously determine that the 3b1 area and the 3b3 area are valid areas, and the 3b2 area is invalid area. By cutting fig. 3b, the compressed 3b2 area obtains the material resource as fig. 3c, and the size of fig. 3c is 50 × 40.
The layout mode parameters of the target picture 3a and the partition parameters of the material unit 3b are correspondingly stored in a form of a reduced rate graph, and the size of the thumbnail is 40 × 27.
store the material resource map 3c with size 50 x 40 and the corresponding thumbnail map with size 40 x 27.
when the image 3a needs to be restored, the corresponding material unit image 3b can be obtained by the size of the material resource image 3c and the corresponding reduction rate image, and then the image 3a needs to be restored can be obtained by the image 3b and the corresponding thumbnail image.
By comparison, on the premise of ensuring the content and precision of fig. 3a, the form of saving the material resource map 3c and the thumbnail only occupies the space of 50 × 40+40 × 27, so that the effect of saving the map 3a with the size of 400 × 270 can be achieved. The space for processing and storing the picture is saved, the picture is restored quickly and accurately, and the UI editing and drawing efficiency is greatly improved.
Fig. 4a to 4c show another embodiment of the picture processing method according to the present invention.
Fig. 4a is a picture to be stored. Receiving the layout mode that fig. 4a is a single image stretch, and according to the layout mode parameter, it is known that the material unit of fig. 4a is itself.
Receiving partition parameters of the image partition and the three lattices in the graph 4a, firstly, segmenting the graph 4a according to the image partition to obtain a graph 4b, segmenting the graph 4b according to the three lattices to obtain a 4b1 area, a 4b2 area and a 4b3 area, and simultaneously determining the 4b1 area, the 4b3 area and the 4b2 area as effective areas by the partition parameters. By dividing fig. 4b, the 4b2 area is compressed, and the obtained material resource is fig. 4 c.
and storing the material resource map 4c and the corresponding configuration mode parameters and the partition parameters at the same time.
When the fig. 4a is restored, the material unit fig. 4a can be restored through the material resource fig. 4c, the corresponding arrangement mode parameter, and the corresponding partition parameter.
The picture processing method of the invention is fast and accurate when restoring the picture by saving the form of the material resource and the thumbnail on the premise of ensuring the content and the precision of the picture, thereby greatly improving the picture processing efficiency and reducing the picture processing operation overhead.
Fig. 5a to 5c show another embodiment of the picture processing method according to the present invention.
Fig. 5a is a picture to be stored. Receiving the tile tiling arrangement mode shown in fig. 5a, specifically, the tile tiling arrangement mode shown in fig. 5b is horizontally copied four times to obtain a picture 5a, and according to the arrangement mode parameters, dividing the tile tiling arrangement mode shown in fig. 5a to obtain the material unit shown in fig. 5a as fig. 5 b.
And the partition parameter received from the fig. 5b is a mirror partition, and the fig. 5b is divided according to the mirror partition to obtain the fig. 5c, and the obtained material resource is the fig. 5 c.
And storing the material resource map 5c and the corresponding arrangement mode parameters and the partition parameters at the same time.
When fig. 5a is restored, the material unit map 5a can be restored through the material resource map 5c, the corresponding arrangement mode parameter, and the corresponding partition parameter.
the picture processing method of the invention is fast and accurate when restoring the picture by saving the form of the material resource and the thumbnail on the premise of ensuring the content and the precision of the picture, thereby greatly improving the picture processing efficiency and reducing the picture processing operation overhead.
Fig. 6a to 6c show another embodiment of the picture processing method according to the present invention.
fig. 6a is a picture to be stored. Receiving the tile tiling arrangement mode shown in fig. 6a, specifically, the tile tiling arrangement mode shown in fig. 6b is horizontally copied twice and vertically copied twice to obtain a picture 6a, and according to the arrangement mode parameters, segmenting the tile 6a to obtain the material unit shown in fig. 6a as fig. 6 b.
The partition parameter received from fig. 6b is a mirror partition, and according to the mirror partition, fig. 6b is divided to obtain fig. 6c, and the obtained material resource is fig. 6c, and fig. 6b is obtained by multiple mirror symmetric copies of fig. 6 c.
and storing the material resource map 6c and the corresponding arrangement mode parameters and the partition parameters at the same time.
when fig. 6a is restored, the material unit fig. 6a can be restored through the material resource fig. 6c, the corresponding arrangement mode parameter, and the corresponding partition parameter.
The picture processing method of the invention is fast and accurate when restoring the picture by saving the form of the material resource and the thumbnail on the premise of ensuring the content and the precision of the picture, thereby greatly improving the picture processing efficiency and reducing the picture processing operation overhead.
Corresponding to the above-mentioned embodiment of the image processing method, this specification further provides an embodiment of an image processing apparatus, and fig. 7 shows a schematic structural diagram of the image processing apparatus according to an embodiment of this specification. As shown in fig. 7, the apparatus includes:
An obtaining module 702 configured to obtain a target picture to be stored.
a first receiving module 704, configured to receive the arrangement mode parameter of the target picture, segment the target picture according to the arrangement mode parameter, and obtain a material unit of the target picture.
a second receiving module 706, configured to receive the partition parameters of the material unit, partition and compress the material unit according to the partition parameters, and obtain the material resources of the material unit.
The storage module 708 is configured to correspondingly store the material resources, the arrangement mode parameters, and the partition parameters of the material units.
the picture processing device saves the pictures which originally occupy large resources by using small resources through saving the processed material resources, the corresponding partition parameters and the arrangement mode parameters, thereby saving the resources.
In an image processing apparatus provided in another embodiment of the present application, the image processing apparatus may further include:
and the first reduction module is configured to reduce the target picture according to the stored material resources, the partition parameters of the material units and the arrangement mode parameters.
Specifically, the first restoring module is further configured to obtain the material resources, the partition parameters of the material units, and the arrangement mode parameters; determining a material unit of the target picture according to the material resource and the partition parameter of the material unit; and restoring the target picture according to the material units of the target picture and the arrangement mode parameters.
The image processing device ensures that the image is fast and accurate in the reduction process, and ensures the content and the precision of the image.
Fig. 8 shows a flowchart of a second picture processing method according to an embodiment of the present disclosure, which includes steps 802 to 806.
step 802: and acquiring the material resource to be restored, the partition parameters of the corresponding material units and the arrangement mode parameters of the target picture to be restored.
Step 804: and determining the material unit to be restored according to the material resource to be restored and the partition parameters of the material unit.
Step 806: and restoring the target picture to be restored according to the material unit to be restored and the arrangement mode parameters of the target picture to be restored.
In the picture processing step, the material unit can be determined according to the known material resources and the partition parameters of the corresponding material unit, and the target picture can be restored according to the arrangement mode parameters of the material unit and the target picture to be restored.
Corresponding to the above method embodiment, this specification further provides an image processing apparatus embodiment, and fig. 9 shows a schematic structural diagram of a second image processing apparatus according to an embodiment of this specification. As shown in fig. 9, the apparatus includes:
The second obtaining module 902 is configured to obtain the material resources to be restored, the partition parameters of the corresponding material units, and the arrangement mode parameters of the target pictures to be restored.
A determining module 904 configured to determine the material units to be restored according to the material resources to be restored and the partition parameters of the material units.
And the second restoring module 906 is configured to restore the target picture to be restored according to the material unit to be restored and the arrangement mode parameter of the target picture to be restored.
The picture processing device can restore the target picture, can quickly restore the picture to be used and does not reduce the content and the precision of the picture by operating the picture processing steps.
An embodiment of the present specification further provides a computing device, which includes a memory, a processor, and computer instructions stored in the memory and executable on the processor, and when the processor executes the instructions, the steps of the image processing method are implemented.
An embodiment of the present application further provides a computer-readable storage medium, which stores computer instructions, and when the instructions are executed by a processor, the steps of the aforementioned picture processing method are implemented.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the computer-readable storage medium and the technical solution of the above-mentioned image processing method belong to the same concept, and details that are not described in detail in the technical solution of the computer-readable storage medium can be referred to the description of the technical solution of the above-mentioned image processing method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
the computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
in the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present application disclosed above are intended only to aid in the explanation of the application. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and the practical application, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and their full scope and equivalents.

Claims (18)

1. An image processing method, comprising:
acquiring a target picture to be stored;
Receiving the arrangement mode parameters of the target picture, segmenting the target picture according to the arrangement mode parameters, and acquiring a material unit of the target picture;
Receiving partition parameters of the material units, and segmenting and compressing the material units according to the partition parameters to obtain material resources of the material units;
And correspondingly storing the material resources, the configuration mode parameters and the partition parameters of the material units.
2. The picture processing method according to claim 1,
receiving the configuration mode parameters of the target picture comprises:
And receiving the arrangement mode parameters of the target pictures, namely tile tiling and stretching.
3. The picture processing method according to claim 1,
Receiving the partition parameters of the material units comprises:
And receiving partition parameters of the material unit, namely mirror image partitions, three-square grids, nine-square grids and cross grids.
4. The picture processing method according to claim 1, further comprising:
And generating the target picture description information based on the arrangement mode parameters of the target picture and the partition parameters of the material units.
5. The picture processing method according to claim 4,
the target picture description information includes a target picture thumbnail.
6. the picture processing method according to claim 1, further comprising:
and restoring the target picture according to the stored material resources, the partition parameters of the material units and the distribution mode parameters.
7. The picture processing method according to claim 6,
The restoring the target picture according to the stored material resources, the partition parameters of the material units and the arrangement mode parameters comprises the following steps:
Acquiring the material resources, the partition parameters of the material units and the distribution mode parameters;
Determining a material unit of the target picture according to the material resource and the partition parameter of the material unit;
and restoring the target picture according to the material units of the target picture and the arrangement mode parameters.
8. an image processing method, comprising:
Acquiring material resources to be restored, partition parameters of corresponding material units and arrangement mode parameters of target pictures to be restored;
Determining a material unit to be restored according to the material resource to be restored and the partition parameters of the material unit;
And restoring the target picture to be restored according to the material unit to be restored and the arrangement mode parameters of the target picture to be restored.
9. A picture processing apparatus, comprising:
The device comprises a first acquisition module, a second acquisition module and a storage module, wherein the first acquisition module is configured to acquire a target picture to be stored;
the first receiving module is configured to receive the arrangement mode parameters of the target picture, divide the target picture according to the arrangement mode parameters and acquire material units of the target picture;
The second receiving module is configured to receive the partition parameters of the material unit, divide and compress the material unit according to the partition parameters, and acquire the material resources of the material unit;
And the storage module is configured to correspondingly store the material resources, the arrangement mode parameters and the partition parameters of the material units.
10. The picture processing apparatus according to claim 9,
the first receiving module is further configured to receive the arrangement mode parameter of the target picture as tile tiling and stretching.
11. the picture processing apparatus according to claim 9,
The second receiving module is further configured to receive the partition parameters of the material unit as mirror image partitions, three-square grids, nine-square grids and cross grids.
12. The picture processing apparatus according to claim 9, further comprising:
And the description module is configured to generate the target picture description information based on the arrangement mode parameter of the target picture and the partition parameter of the material unit.
13. The picture processing apparatus according to claim 12,
The description module is further configured to configure the target picture description information to include a target picture thumbnail.
14. The picture processing apparatus according to claim 9, further comprising:
And the first reduction module is configured to reduce the target picture according to the stored material resources, the partition parameters of the material units and the arrangement mode parameters.
15. The picture processing apparatus according to claim 14,
the first restoring module is further configured to obtain the material resources, the partition parameters of the material units and the arrangement mode parameters; determining a material unit of the target picture according to the material resource and the partition parameter of the material unit; and restoring the target picture according to the material units of the target picture and the arrangement mode parameters.
16. a picture processing apparatus, comprising:
the second acquisition module is configured to acquire the material resources to be recovered, the partition parameters of the corresponding material units and the arrangement mode parameters of the target pictures to be recovered;
The determining module is configured to determine the material units to be restored according to the material resources to be restored and the partition parameters of the material units;
And the second restoring module is configured to restore the target picture to be restored according to the material unit to be restored and the arrangement mode parameters of the target picture to be restored.
17. A computing device comprising a memory, a processor, and computer instructions stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1-7 or 8 when executing the instructions.
18. A computer-readable storage medium storing computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 7 or 8.
CN201910848914.6A 2019-09-09 2019-09-09 Picture processing method and device, computing equipment and storage medium Active CN110555816B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910848914.6A CN110555816B (en) 2019-09-09 2019-09-09 Picture processing method and device, computing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910848914.6A CN110555816B (en) 2019-09-09 2019-09-09 Picture processing method and device, computing equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110555816A true CN110555816A (en) 2019-12-10
CN110555816B CN110555816B (en) 2021-10-29

Family

ID=68739458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910848914.6A Active CN110555816B (en) 2019-09-09 2019-09-09 Picture processing method and device, computing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110555816B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117094879A (en) * 2023-10-18 2023-11-21 南京砺算科技有限公司 Data copying method and device, computer readable storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882300A (en) * 2010-06-24 2010-11-10 深圳市万兴软件有限公司 Method and device for stretching picture
CN101996045A (en) * 2009-08-25 2011-03-30 佳能株式会社 Image processing apparatus and image processing method
US20130089263A1 (en) * 2011-10-11 2013-04-11 Tandent Vision Science, Inc. System and method for digital image signal compression using intrinsic images
CN105912207A (en) * 2016-04-08 2016-08-31 广州阿里巴巴文学信息技术有限公司 Image display method and apparatus, and user terminal
CN106156313A (en) * 2016-06-30 2016-11-23 维沃移动通信有限公司 The inspection method of a kind of album picture and mobile terminal
CN106331712A (en) * 2015-06-30 2017-01-11 展讯通信(上海)有限公司 Video image compression method
CN108399052A (en) * 2018-02-07 2018-08-14 深圳壹账通智能科技有限公司 Picture compression method, apparatus, computer equipment and storage medium
CN109683777A (en) * 2018-12-19 2019-04-26 维沃移动通信有限公司 A kind of image processing method and terminal device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996045A (en) * 2009-08-25 2011-03-30 佳能株式会社 Image processing apparatus and image processing method
CN101882300A (en) * 2010-06-24 2010-11-10 深圳市万兴软件有限公司 Method and device for stretching picture
US20130089263A1 (en) * 2011-10-11 2013-04-11 Tandent Vision Science, Inc. System and method for digital image signal compression using intrinsic images
CN106331712A (en) * 2015-06-30 2017-01-11 展讯通信(上海)有限公司 Video image compression method
CN105912207A (en) * 2016-04-08 2016-08-31 广州阿里巴巴文学信息技术有限公司 Image display method and apparatus, and user terminal
CN106156313A (en) * 2016-06-30 2016-11-23 维沃移动通信有限公司 The inspection method of a kind of album picture and mobile terminal
CN108399052A (en) * 2018-02-07 2018-08-14 深圳壹账通智能科技有限公司 Picture compression method, apparatus, computer equipment and storage medium
CN109683777A (en) * 2018-12-19 2019-04-26 维沃移动通信有限公司 A kind of image processing method and terminal device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117094879A (en) * 2023-10-18 2023-11-21 南京砺算科技有限公司 Data copying method and device, computer readable storage medium and electronic equipment
CN117094879B (en) * 2023-10-18 2024-03-26 南京砺算科技有限公司 Data copying method and device, computer readable storage medium and electronic equipment

Also Published As

Publication number Publication date
CN110555816B (en) 2021-10-29

Similar Documents

Publication Publication Date Title
US11218421B1 (en) Methods and systems for migrating virtual private cloud (VPC) resources across public cloud environments
JP6474367B2 (en) File processing method and apparatus for distributed system
CN112738627B (en) Play control method and device
CN110297838B (en) Terrain material editing method, device, computing equipment and storage medium
WO2015096588A1 (en) Method and device for switching display pages
CN110544291A (en) Image rendering method and device
CN110555816B (en) Picture processing method and device, computing equipment and storage medium
CN111111179A (en) Unity-based graphics resource loading method and device
CN110532081B (en) Timed task processing method and device
CN102811290B (en) Widget regulating method, device and terminal
CN105867921A (en) Wallpaper shared use method and terminal
CN112785676A (en) Image rendering method, device, equipment and storage medium
CN113127126A (en) Object display method and device
CN109657023B (en) Scenic spot dynamic electronic map drawing method, server and system
CN114979748A (en) Video processing method and device
CN114470782A (en) Region processing method and device
CN115904372A (en) Data processing method and device
US11048670B2 (en) Node layout determining method and apparatus, computing device, and computer readable medium
CN110990104B (en) Texture rendering method and device based on Unity3D
CN113392091A (en) Distributed cluster data migration method and device
CN113632487A (en) Coding tree unit size signaling
CN104899915A (en) Picture processing method and terminal
CN111158821A (en) Task processing method and device
CN111145287A (en) Map processing method and device
CN111062638B (en) Project resource processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 519000 Room 102, 202, 302 and 402, No. 325, Qiandao Ring Road, Tangjiawan Town, high tech Zone, Zhuhai City, Guangdong Province, Room 102 and 202, No. 327 and Room 302, No. 329

Patentee after: Zhuhai Jinshan Digital Network Technology Co.,Ltd.

Address before: 519000 Room 102, 202, 302 and 402, No. 325, Qiandao Ring Road, Tangjiawan Town, high tech Zone, Zhuhai City, Guangdong Province, Room 102 and 202, No. 327 and Room 302, No. 329

Patentee before: ZHUHAI KINGSOFT ONLINE GAME TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder