CN104463790B - A kind of methods, devices and systems of image procossing - Google Patents

A kind of methods, devices and systems of image procossing Download PDF

Info

Publication number
CN104463790B
CN104463790B CN201310424797.3A CN201310424797A CN104463790B CN 104463790 B CN104463790 B CN 104463790B CN 201310424797 A CN201310424797 A CN 201310424797A CN 104463790 B CN104463790 B CN 104463790B
Authority
CN
China
Prior art keywords
image data
layer
subdata
terminal
server
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.)
Active
Application number
CN201310424797.3A
Other languages
Chinese (zh)
Other versions
CN104463790A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310424797.3A priority Critical patent/CN104463790B/en
Publication of CN104463790A publication Critical patent/CN104463790A/en
Application granted granted Critical
Publication of CN104463790B publication Critical patent/CN104463790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)
  • Facsimiles In General (AREA)

Abstract

The invention discloses a kind of methods, devices and systems of image procossing, belong to field of computer technology.The method includes:Terminal obtains the first image data, and described first image data include multiple subdatas;The multiple subdata is sent respectively to server by the terminal;So that the server is when the first subdata receives, start to carry out image procossing to described first image data, continue to subsequent described first image data simultaneously, the first image data by image procossing is obtained, and the terminal is sent to by the first image data of image procossing by described;The terminal receives first image data by image procossing that the server is sent.Using the present invention, the processing speed that terminal carries out picture by server the process of image procossing can be improved.

Description

A kind of methods, devices and systems of image procossing
Technical field
The present invention relates to field of computer technology, more particularly to a kind of methods, devices and systems of image procossing.
Background technology
It is gradual universal and fast-developing with digital camera, what people shot and managed during live and work The quantity of image data is more and more huger, correspondingly, image processing techniques has obtained quick development therewith.In the process taken pictures In, often because the shake of fuselage causes image fuzzy, the deblurring processing of image is at a kind of image being in daily use Reason technology.
The calculating process of deblurring processing is extremely complex, needs to occupy a large amount of process resource and storage resource, general Terminal(The mobile terminals such as especially common mobile phone, tablet computer)It is difficult to the processing procedure of deblurring processing is born, so, When general terminal needs to carry out deblurring processing to picture, picture can be uploaded to server, picture is gone by server Fuzzy Processing, and picture is handed down to terminal by treated.In this way, terminal can be obtained by the picture of deblurring processing.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
Existing terminal carries out picture by server the process of deblurring processing, needs terminal first by complete picture It is uploaded to server, server proceeds by the process of deblurring processing when being received to complete picture, and processing terminates By treated, picture is handed down to terminal again afterwards, and what is uploaded, handle, issuing is time-consuming all longer, and independent step by step to carry out, from And cause terminal slow to the processing speed of the whole process of picture progress image procossing by server.
Invention content
In order to solve problems in the prior art, an embodiment of the present invention provides a kind of method, apparatus of image procossing and it is System, to improve processing speed of the terminal by server to the process of picture progress image procossing.The technical solution is as follows:
In a first aspect, a kind of method of image procossing is provided, the method includes:
Terminal obtains the first image data, and described first image data include multiple subdatas;
The multiple subdata is sent respectively to server by the terminal;So that the server connects in the first subdata When harvesting complete, start to carry out image procossing to described first image data, while continuing to subsequent described first image number According to the first image data of image procossing is passed through in acquisition, and is sent to institute by the first image data of image procossing by described State terminal;
The terminal receives first image data by image procossing that the server is sent.
Second aspect provides a kind of method of image procossing, the method includes:
Each subdata in the first image data that server receiving terminal is sent respectively is wrapped in described first image data Include multiple subdatas;
When the first subdata receives, the server starts to carry out image procossing to described first image data, Subsequent described first image data are continued to simultaneously, obtain the first image data by image procossing;
The server is sent to the terminal by described by the first image data of image procossing.
The third aspect, provides a kind of terminal, and the terminal includes:
Acquisition module, for obtaining the first image data, described first image data include multiple subdatas;
Sending module, for the multiple subdata to be sent respectively to server;So that the server is in the first son When data receiver finishes, start to carry out image procossing to described first image data, while continuing to subsequent described first Image data obtains the first image data by image procossing, and first image data by image procossing is sent out Give the terminal;
Receiving module, first image data by image procossing sent for receiving the server.
Fourth aspect, provides a kind of server, and the server includes:
Receiving module, for receiving each subdata in the first image data that terminal is sent respectively, described first image Data include multiple subdatas;
Processing module carries out at image described first image data for when the first subdata receives, starting Reason, while subsequent described first image data are continued to, obtain the first image data by image procossing;
Sending module, for being sent to the terminal by the first image data of image procossing by described.
5th aspect, provides a kind of system of image procossing, and the system comprises terminal and servers, wherein:
The terminal, for obtaining the first image data, described first image data include multiple subdatas;It will be described Multiple subdatas are sent respectively to the server;Receive first image by image procossing that the server is sent Data;
The server, for receiving each subdata in the first image data that the terminal is sent respectively;When first When subdata receives, start to carry out image procossing to described first image data, while continuing to subsequent described the One image data obtains the first image data by image procossing;First image data by image procossing is sent out Give the terminal.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
In the embodiment of the present invention, terminal obtains the first image data, and the first image data includes multiple subdatas, terminal Multiple subdatas are sent respectively to server, so that server starts when the first subdata receives to the first image Data carry out image procossing, while continuing to subsequent first image data, obtain the first picture number by image procossing According to, and it is sent to terminal, in this way, server is not necessarily to receive until complete first image data, as long as the first subdata It receives, so that it may to start image procossing, in this way, to a certain extent, terminal to server sends the first image data The process of process and services device image procossing can carry out parallel, be carried out to picture by server it is thus possible to improve terminal The processing speed of the process of image procossing.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is the method flow diagram of image procossing provided in an embodiment of the present invention;
Fig. 2 is the method flow diagram of image procossing provided in an embodiment of the present invention;
Fig. 3 is the method flow diagram of image procossing provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of server provided in an embodiment of the present invention;
Fig. 6 is the system structure diagram of image procossing provided in an embodiment of the present invention.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment one
An embodiment of the present invention provides a kind of method of image procossing, this method can be jointly real by terminal and server It is existing.As shown in Figure 1, the process flow of end side may include following step in this method:
Step 101, terminal obtains the first image data, and the first image data includes multiple subdatas.
Step 102, multiple subdatas are sent respectively to server by terminal;So that server has been received in the first subdata Bi Shi starts to carry out image procossing to the first image data, while continuing to subsequent first image data, obtains by figure As the first image data of processing, and terminal will be sent to by the first image data of image procossing.
Step 103, terminal receives the first image data by image procossing that server is sent.
As shown in Fig. 2, the process flow of server side may include following step in this method:
Step 201, each subdata in the first image data that server receiving terminal is sent respectively, the first image data Include multiple subdatas.
Step 202, when the first subdata receives, server starts to carry out image procossing to the first image data, Subsequent first image data is continued to simultaneously, obtains the first image data by image procossing.
Step 203, server will be sent to terminal by the first image data of image procossing.
In the embodiment of the present invention, terminal obtains the first image data, and the first image data includes multiple subdatas, terminal Multiple subdatas are sent respectively to server, so that server starts when the first subdata receives to the first image Data carry out image procossing, while continuing to subsequent first image data, obtain the first picture number by image procossing According to, and it is sent to terminal, in this way, server is not necessarily to receive until complete first image data, as long as the first subdata It receives, so that it may to start image procossing, in this way, to a certain extent, terminal to server sends the first image data The process of process and services device image procossing can carry out parallel, be carried out to picture by server it is thus possible to improve terminal The processing speed of the process of image procossing.
Embodiment two
An embodiment of the present invention provides a kind of method of image procossing, this method can be jointly real by terminal and server It is existing.Terminal can be the mobile terminals such as mobile phone, tablet computer, can also be the fixed terminals such as desktop computer, and the present invention is implemented It is preferable to use mobile terminals in example.The image data for carrying out image procossing is preferably picture, and the embodiment of the present invention is in the scheme of progress Will be illustrated by taking picture as an example when elaborating.As shown in figure 3, the process flow of this method may include following step Suddenly:
Step 301, terminal obtains the first image data, and the first image data includes multiple subdatas.
Wherein, the first image data can be the image data of arbitrary format, can be made of multiple subdatas.If the One image data is the image data of layer compression formats, then its multiple subdata for including can be the compression image of each layer Data.
The processing of the case where being the image data of layer compression formats for the first image data, step 301 can be, whole End obtains the compressing image data of each layer in the image data of layer compression formats.
In the embodiment of the present invention, the picture number of layer compression formats may be used in the first image data for carrying out image procossing According to such as JPEG(Joint Photographic Experts Group, joint photographic experts group)The picture etc. of format.Layering pressure The image data of contracting format is made of the compressing image data of multilayer, and the compressing image data of each layer can be mutual indepedent, storage Different location hereof.
By raw image data(Uncompressed image data, including in image each pixel data)Generate layering The image data of compressed format(Picture)During, can layered shaping first be carried out to raw image data and obtain multilayer not Compressed image data(Or decompressed image data).The number of plies can be first set during layering(Such as 6,7,8)And picture Plain reduction ratio(Such as 1/4,1/16), can be using raw image data as undermost uncompressed image data.So Afterwards, pixel reduction is carried out to raw image data in pixel reduction ratio(For example, when pixel reduction ratio is 1/4, it can be with It will be reduced to 1 pixel per 2*2 pixel), using the image data after pixel reduction as layer second from the bottom without pressure The image data of contracting.After again, one sub-pixel is carried out to the uncompressed image data of layer second from the bottom in pixel reduction ratio Reduction, obtains the uncompressed image data of layer third from the bottom.The rest may be inferred, most upper until the number of plies reaches the number of plies of setting Layer is minimum one layer of pixel, and pixel number successively increases each layer from top to bottom, forms similar pyramidal shape, so, it is this Layering is referred to as pyramid and is layered.Finally, the uncompressed image data based on each layer can obtain the compression figure of each layer As data, and the compressing image data of each layer is combined to the image data for constituting layer compression formats(Picture).Except top layer it Outside, the generating process of the compressing image data of other each layers can be that image data first uncompressed to this layer carries out high frequency Sampling obtains frequency image data, then compresses to obtain the compressing image data of this layer to frequency image data.The compression of top layer Image data can be that the uncompressed image data directly to top layer is compressed to obtain.
In force, terminal can be equipped with the application program for image real time transfer, can be wrapped in the application program Include image procossing(Such as deblurring processing)Function.During taking pictures, due to the shake of fuselage, it is likely to result in shooting Picture obscures.User can start the application program in terminal, and deblurring processing is carried out to corresponding picture.
It can be provided with the interface of image real time transfer in the application program, can be set in the interface of image real time transfer It is equipped with the button for opening picture, after clicking the button for opening picture, then can carry out the selection or shooting of picture, user can be The picture of processing is selected or is ready for by camera function shooting in file(The format of the picture of selection and shooting can limit It is made as layer compression formats).The work(of various image real time transfer functions is also provided in the interface of image real time transfer Energy button clicks deblurring treatment button wherein may include deblurring treatment button, and user's selection can be obtained with triggering terminal Or the picture of the layer compression formats of shooting, and the compressing image data of each layer is obtained in the picture, it then can be further Execute subsequent flow processing.Furthermore it is also possible to be shown to the picture.
Step 302, multiple subdatas are sent respectively to server by terminal.
Wherein, multiple subdatas can be multistage subdata, for multistage subdata, every grade of subdata other than most subordinate All it is to be generated according to its next stage subdata.
If the first image data is the image data of layer compression formats, the multistage that the first image data includes is sub Data can be respectively the compressing image data of each layer, and in this case, the processing of step 302 can be, terminal is by each layer Compressing image data is sent respectively to server.
Specifically, each subdata can be carried out transmitted in parallel by terminal(Each subdata can start simultaneously at transmission can also Transmission is not started simultaneously at), each subdata according to some sequence successively individually send(A subnumber is sent According to, then send out another subdata).
Preferably, the specific processing of the case where being multistage subdata for above-mentioned multiple subdatas, step 302 can be, Terminal is sent respectively to server according to sequence from top to bottom at different levels, by multiple subdatas.
Further, for the first image data be layer compression formats image data the case where, step 302 it is specific Processing can be that the compressing image data of each layer is sent respectively to service by the sequence that terminal can be according to each layer from top to bottom Device.Terminal first can send top layer to server(That is minimum one layer of pixel)Compressing image data, the compression of top layer Image data sends the compressing image data of the second layer after being sent, the compressing image data of the second layer is sent after being sent The compressing image data of third layer, and so on, until undermost compressing image data is sent.
Step 303, each subdata in the first image data that server receiving terminal is sent respectively.
For above-mentioned first image data be layer compression formats image data the case where, server receiving terminal difference The compressing image data of each layer in the image data of the layer compression formats of transmission.
The case where compressing image data of each layer is carried out transmitted in parallel for terminal, server can be parallel to each layer Compressing image data received.
Preferably, the specific processing of the case where being multistage subdata for above-mentioned multiple subdatas, step 303 can be, Each subdata in the first image data that server receiving terminal is sent respectively according to sequence from top to bottom at different levels.
Further, for the first image data be layer compression formats image data the case where, step 303 it is specific Processing can be that server can receive the figure for the layer compression formats that terminal is sent respectively according to the sequence of each layer from top to bottom As the compressing image data of each layer in data.Specifically, server can first receive the compressing image data of top layer, receive After receive the second layer compressing image data, and so on, until undermost compressing image data receives.
Step 304, when the first subdata receives, server starts to carry out image procossing to the first image data, Subsequent first image data is continued to simultaneously, obtains the first image data by image procossing.
Wherein, the first subdata can be the arbitrary subdata in the first image data.
The case where being multistage subdata for above-mentioned multiple subdatas, the first subdata can be most higher level's subdata.Into One step, the case where for image data that the first image data is layer compression formats, the processing of step 304 can be:When When the compressing image data of top layer receives, server starts to carry out at deblurring the image data of layer compression formats Reason, while the image data of subsequent layer compression formats is continued to, obtain the image data of deblurring processing.
The case where for transmitted in parallel, due to not knowing for real network situation, the compressing image data of each layer has received Complete sequence is not known simultaneously, but regardless of sequence, when the compressing image data of top layer receives, server then may be used To start the image data progress image procossing to this layer compression formats(Such as deblurring processing).For according to each layer on to Under sequence send the case where, first the compressing image data of top layer is sent, this layer compressing image data receive When finishing, server can start to carry out image procossing to the image data of this layer compression formats(Such as deblurring processing).
Specifically, being multistage subdata for above-mentioned multiple subdatas and the first subdata can be most higher level's subdata The specific processing of situation, step 304 can be as follows:
Firstly, for every level-one in multistage, when this grade of subdata receives, server carries out this grade of subdata First subprocessing obtains the subprocessing result of this grade.
Wherein, the specific process content of the first subprocessing can carry out arbitrary setting according to the actual demand of image procossing. For example, image procossing is handled if it is deblurring, then the first subprocessing may include image decompressor and calculating fuzzy core.
Then, server carries out the second subprocessing to the subprocessing result of most subordinate, obtains first by image procossing Image data.
Wherein, the specific process content of the second subprocessing can carry out arbitrary setting according to the actual demand of image procossing. For example, image procossing is handled if it is deblurring processing then the second subprocessing can be deconvolution.
Further, it is at deblurring for image data and image procossing that the first image data is layer compression formats The case where reason, the first subdata are the compressing image data of top layer, which may include following in the process of implementation Specific processing:
First, when the compressing image data of top layer receives, server according to the compressing image data of top layer, It determines the decompressed image data of top layer, and according to the decompressed image data of top layer, calculates the fuzzy core of top layer.
In deblurring processing, the first subprocessing of each layer includes image decompressor and calculating fuzzy core.
Processing is unziped it to the compressing image data of top layer, the decompressed image data of top layer can be obtained, this The mode of decompression can determine that the embodiment of the present invention is limited not to this according to the mode of compression processing.This In, the decompressed image data that processing obtains, the image of as above-mentioned layer compression formats are unziped it to compressing image data Uncompressed image data in data generating procedure.
The decompressed image data of each layer(Uncompressed image data)It is the procedure parameter in deblurring processing procedure, is Carry out the input parameter of fuzzy kernel estimates.The calculating process that fuzzy kernel estimates are carried out to the decompressed image data of top layer, then may be used To obtain the fuzzy core of top layer.The calculation of specific fuzzy kernel estimates is varied, and the embodiment of the present invention is not to this It is limited.
Then, for every layer other than top layer, when the compressing image data of this layer receives and this layer of last layer Decompressed image data determination is when finishing, and server is according to the decompressed image number of the compressing image data and this layer of last layer of this layer According to determining the decompressed image data of this layer, and when the calculating of the fuzzy core of the last layer of this layer finishes, server is according to this layer The fuzzy core of the last layer of decompressed image data and this layer, calculates the fuzzy core of this layer.
The decompressed image data of this layer of last layer is up-sampled to obtain up-sampling data, and to the compression image of this layer Data unzip it to obtain the frequency image data of this layer, and up-sampling data and frequency image data are overlapped and are obtained This layer of decompressed image data.
The compressing image data of decompressed image data and the second layer based on top layer can obtain the decompression figure of the second layer As data.Layer 2-based decompressed image data and the compressing image data of third layer can obtain the decompressed image of third layer Data.The rest may be inferred, can handle the compressing image data of each layer, obtain the decompressed image data of each layer.
When the compressing image data of this layer receives, if certain layer of this layer or more of compressing image data is not yet It receives or the decompressed image data of this layer of last layer obtains not yet, carried out again after corresponding data can be waited for obtain This layer of decompression.
The fuzzy core of the last layer of decompressed image data and this layer based on this layer, can carry out the fuzzy kernel estimates of this layer Calculating, obtain the fuzzy core of this layer.In this way, according to the fuzzy core of the decompressed image data of the second layer and top layer, can obtain To the fuzzy core of the second layer.According to the fuzzy core of the decompressed image data of third layer and the second layer, the mould of third layer can be obtained Paste core.The rest may be inferred, can obtain the fuzzy core of each layer.
When the compressing image data of this layer receives and decompresses to obtain the decompressed image data of this layer, if upper one There are no calculating to finish for the fuzzy core of layer, and the fuzzy core for carrying out this layer after the fuzzy core of last layer can be waited for calculate again is estimated Meter.
Finally, server carries out deconvolution, is gone according to undermost fuzzy core and undermost decompressed image data First image data of Fuzzy Processing.
In deblurring processing, the second subprocessing can be deconvolution processing.Above-mentioned point can be then obtained by this processing The image data of the corresponding deblurring processing of image data of layer compression formats.Wherein, the calculation of deconvolution can have very A variety of, the embodiment of the present invention is limited not to this.
Based on above-mentioned concrete processing procedure, for above-mentioned the case where being sent according to the sequence of each layer from top to bottom, each layer Compressing image data network transmission process, can with the concurrent process of the decompression on upper layer and fuzzy kernel estimates into Row, can effectively improve processing speed.
Step 305, server will be sent to terminal by the first image data of image procossing.
It is the case where deblurring is handled for image procossing, the first image data that deblurring is handled is sent to by server Terminal.
Step 306, terminal receives the first image data by image procossing that server is sent.
It is the case where deblurring is handled for image procossing, terminal receives the first figure of the deblurring processing that server is sent As data.
Terminal is receiving after the first image data of image procossing, can be in above application program to passing through image First image data of processing is shown, can also be preserved to the first image data for passing through image procossing.
In the embodiment of the present invention, terminal obtains the first image data, and the first image data includes multiple subdatas, terminal Multiple subdatas are sent respectively to server, so that server starts when the first subdata receives to the first image Data carry out image procossing, while continuing to subsequent first image data, obtain the first picture number by image procossing According to, and it is sent to terminal, in this way, server is not necessarily to receive until complete first image data, as long as the first subdata It receives, so that it may to start image procossing, in this way, to a certain extent, terminal to server sends the first image data The process of process and services device image procossing can carry out parallel, be carried out to picture by server it is thus possible to improve terminal The processing speed of the process of image procossing.
Embodiment three
Based on the same technical idea, the embodiment of the present invention additionally provides a kind of terminal, as shown in figure 4, the terminal packet It includes:
Acquisition module 410, for obtaining the first image data, described first image data include multiple subdatas;
Sending module 420, for the multiple subdata to be sent respectively to server;So that the server is first When subdata receives, start to carry out image procossing to described first image data, while continuing to subsequent described the One image data obtains the first image data by image procossing, and by first image data by image procossing It is sent to the terminal;
Receiving module 430, first image data by image procossing sent for receiving the server.
Preferably, the multiple subdata, specially multistage subdata, every grade of subdata other than most subordinate is all basis Its next stage subdata generates;
The sending module 420, is used for:
According to sequence from top to bottom at different levels, the multiple subdata is sent respectively to server.
Based on the same technical idea, the embodiment of the present invention additionally provides a kind of server, as shown in figure 5, the service Device includes:
Receiving module 510, for receiving each subdata in the first image data that terminal is sent respectively, first figure As data include multiple subdatas;
Processing module 520 carries out image for when the first subdata receives, starting to described first image data Processing, while subsequent described first image data are continued to, obtain the first image data by image procossing;
Sending module 530, for being sent to the terminal by the first image data of image procossing by described.
Preferably, the multiple subdata, specially multistage subdata, every grade of subdata other than most subordinate is all basis Its next stage subdata generates;
The receiving module 510, is used for:
Receive each son in the described first image data that the terminal is sent respectively according to sequence from top to bottom at different levels Data.
Preferably, the multiple subdata, specially multistage subdata, every grade of subdata other than most subordinate is all basis Its next stage subdata generates;First subdata is most higher level's subdata;
The processing module 520, is used for:
For it is described it is multistage in every level-one, when this grade of subdata receives, to described grade subdata progress the One subprocessing obtains the subprocessing result of this grade;
Second subprocessing is carried out to the subprocessing result of most subordinate, obtains first picture number by image procossing According to.
In the embodiment of the present invention, terminal obtains the first image data, and the first image data includes multiple subdatas, terminal Multiple subdatas are sent respectively to server, so that server starts when the first subdata receives to the first image Data carry out image procossing, while continuing to subsequent first image data, obtain the first picture number by image procossing According to, and it is sent to terminal, in this way, server is not necessarily to receive until complete first image data, as long as the first subdata It receives, so that it may to start image procossing, in this way, to a certain extent, terminal to server sends the first image data The process of process and services device image procossing can carry out parallel, be carried out to picture by server it is thus possible to improve terminal The processing speed of the process of image procossing.
Example IV
Based on the same technical idea, the embodiment of the present invention additionally provides a kind of system of image procossing, as shown in fig. 6, The system comprises terminals 610 and server 620, wherein:
The terminal 610, for obtaining the first image data, described first image data include multiple subdatas;It will The multiple subdata is sent respectively to the server;Receive the described by the first of image procossing of the server transmission Image data;
The server 620, for receiving each subdata in the first image data that the terminal is sent respectively;When When one subdata receives, start to carry out image procossing to described first image data, while continuing to subsequent described First image data obtains the first image data by image procossing;By first image data by image procossing It is sent to the terminal.
In the embodiment of the present invention, terminal obtains the first image data, and the first image data includes multiple subdatas, terminal Multiple subdatas are sent respectively to server, so that server starts when the first subdata receives to the first image Data carry out image procossing, while continuing to subsequent first image data, obtain the first picture number by image procossing According to, and it is sent to terminal, in this way, server is not necessarily to receive until complete first image data, as long as the first subdata It receives, so that it may to start image procossing, in this way, to a certain extent, terminal to server sends the first image data The process of process and services device image procossing can carry out parallel, be carried out to picture by server it is thus possible to improve terminal The processing speed of the process of image procossing.
It should be noted that:The device for the image procossing that above-described embodiment provides is in image procossing, only with above-mentioned each work( Can module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different functions Module is completed, i.e., the internal structure of device is divided into different function modules, described above all or part of to complete Function.In addition, the device of image procossing and the embodiment of the method for image procossing that above-described embodiment provides belong to same design, Specific implementation process refers to embodiment of the method, and which is not described herein again.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (7)

1. a kind of method of image procossing, which is characterized in that the method includes:
Terminal obtains the first image data, and described first image data include multiple subdatas;
The multiple subdata is sent respectively to server by the terminal;So that the server has been received in the first subdata Bi Shi starts to carry out image procossing to first subdata, while continuing to subsequent subdata, obtains by image First image data of reason, and by described the terminal is sent to by the first image data of image procossing;
The terminal receives first image data by image procossing that the server is sent;
The multiple subdata, specially multistage subdata, every grade of subdata other than most subordinate is all according to its next stage Data generate, and first subdata is most higher level's subdata;
The multiple subdata is sent respectively to server by the terminal, including:
The terminal is sent respectively to server according to sequence from top to bottom at different levels, by the multiple subdata, wherein when upper Level-one subdata is sent after being sent works as prime subdata;
The method further includes:
By raw image data generate layer compression formats the first image data during, first to raw image data into Row layered shaping obtains the uncompressed image data of multilayer, and the number of plies and pixel reduction ratio are first arranged during layering, Using raw image data as undermost uncompressed image data;Then, in pixel reduction ratio to original image number According to a pixel reduction is carried out, using the image data after pixel reduction as the uncompressed image data of layer second from the bottom; After again, pixel reduction is carried out to the uncompressed image data of layer second from the bottom in pixel reduction ratio, obtains inverse The uncompressed image data of third layer;The rest may be inferred, and until the number of plies reaches the number of plies of setting, top layer is that pixel is minimum One layer, pixel number successively increases each layer from top to bottom, forms similar pyramidal shape;Finally, based on the uncompressed of each layer Image data, obtain the compressing image data of each layer, and the compressing image data of each layer is combined and constitutes layer compression formats The first image data;In addition to top layer, the generating process of the compressing image data of other each layers is, first to this layer without pressure The image data of contracting carries out high frequency sampling and obtains frequency image data, then compresses to obtain the compression figure of this layer to frequency image data As data;The compressing image data of top layer is that the uncompressed image data directly to top layer is compressed to obtain.
2. a kind of method of image procossing, which is characterized in that the method includes:
Each subdata in the first image data that server receiving terminal is sent respectively, described first image data include more A subdata;
When the first subdata receives, the server starts to first subdata progress image procossing, while after Subsequent subdata is received in continued access, obtains the first image data by image procossing;
The server is sent to the terminal by described by the first image data of image procossing;
The multiple subdata, specially multistage subdata, every grade of subdata other than most subordinate is all according to its next stage Data generate, and first subdata is most higher level's subdata;
Each subdata in the first image data that the server receiving terminal is sent respectively, including:
The server receives in the described first image data that the terminal is sent respectively according to sequence from top to bottom at different levels Each subdata, wherein the terminal sent after upper level subdata is sent work as prime subdata;
Wherein, the first image data is the image data using layer compression formats, and layering pressure is being generated by raw image data During first image data of contracting format, layered shaping first is carried out to raw image data and obtains the uncompressed of multilayer The number of plies and pixel reduction ratio is first arranged in image data during layering, using raw image data as it is undermost without The image data of compression;Then, pixel reduction is carried out to raw image data in pixel reduction ratio, after pixel reduction Uncompressed image data of the image data as layer second from the bottom;After again, in pixel reduction ratio to layer second from the bottom Uncompressed image data carry out a pixel reduction, obtain the uncompressed image data of layer third from the bottom;According to this Analogize, until the number of plies reaches the number of plies of setting, top layer is minimum one layer of pixel, and pixel number successively increases each layer from top to bottom It is more, form similar pyramidal shape;Finally, the uncompressed image data based on each layer obtains the compression image of each layer Data, and the compressing image data of each layer is combined to the first image data for constituting layer compression formats;In addition to top layer, The generating process of the compressing image data of its each layer is that image data first uncompressed to this layer carries out high frequency sampling and obtains height Frequency image data, then frequency image data is compressed to obtain the compressing image data of this layer;The compressing image data of top layer is Directly the uncompressed image data of top layer is compressed to obtain.
3. according to the method described in claim 2, it is characterized in that, described when the first subdata receives, the service Device starts to carry out image procossing to first subdata, while continuing to subsequent subdata, obtains and passes through image procossing The first image data, including:
For every level-one in the multistage, when this grade of subdata receives, the server is to described grade subdata The first subprocessing is carried out, the subprocessing result of this grade is obtained;
The server carries out the second subprocessing to the subprocessing result of most subordinate, obtains first figure by image procossing As data.
4. a kind of terminal, which is characterized in that the terminal includes:
Acquisition module, for obtaining the first image data, described first image data include multiple subdatas;
Sending module, for the multiple subdata to be sent respectively to server;So that the server is in the first subdata When receiving, starts to carry out image procossing to first subdata, while continuing to subsequent subdata, obtain and pass through First image data of image procossing, and by described the terminal is sent to by the first image data of image procossing;
Receiving module, first image data by image procossing sent for receiving the server;
The multiple subdata, specially multistage subdata, every grade of subdata other than most subordinate is all according to its next stage Data generate, and first subdata is most higher level's subdata;
The sending module, is used for:
According to sequence from top to bottom at different levels, the multiple subdata is sent respectively to server, wherein when upper level subnumber Work as prime subdata according to being sent after being sent;
The terminal is additionally operable to:
By raw image data generate layer compression formats the first image data during, first to raw image data into Row layered shaping obtains the uncompressed image data of multilayer, and the number of plies and pixel reduction ratio are first arranged during layering, Using raw image data as undermost uncompressed image data;Then, in pixel reduction ratio to original image number According to a pixel reduction is carried out, using the image data after pixel reduction as the uncompressed image data of layer second from the bottom; After again, pixel reduction is carried out to the uncompressed image data of layer second from the bottom in pixel reduction ratio, obtains inverse The uncompressed image data of third layer;The rest may be inferred, and until the number of plies reaches the number of plies of setting, top layer is that pixel is minimum One layer, pixel number successively increases each layer from top to bottom, forms similar pyramidal shape;Finally, based on the uncompressed of each layer Image data, obtain the compressing image data of each layer, and the compressing image data of each layer is combined and constitutes layer compression formats The first image data;In addition to top layer, the generating process of the compressing image data of other each layers is, first to this layer without pressure The image data of contracting carries out high frequency sampling and obtains frequency image data, then compresses to obtain the compression figure of this layer to frequency image data As data;The compressing image data of top layer is that the uncompressed image data directly to top layer is compressed to obtain.
5. a kind of server, which is characterized in that the server includes:
Receiving module, for receiving each subdata in the first image data that terminal is sent respectively, described first image data Include multiple subdatas;
Processing module carries out image procossing, simultaneously for when the first subdata receives, starting to first subdata Subsequent subdata is continued to, the first image data by image procossing is obtained;
Sending module, for being sent to the terminal by the first image data of image procossing by described;
The multiple subdata, specially multistage subdata, every grade of subdata other than most subordinate is all according to its next stage Data generate, and the first subdata is most higher level's subdata;
The receiving module, is used for:
Each subdata in the described first image data that the terminal is sent respectively according to sequence from top to bottom at different levels is received, Wherein, the terminal is sent after upper level subdata is sent works as prime subdata;
Wherein, the first image data is the image data using layer compression formats, and layering pressure is being generated by raw image data During first image data of contracting format, layered shaping first is carried out to raw image data and obtains the uncompressed of multilayer The number of plies and pixel reduction ratio is first arranged in image data during layering, using raw image data as it is undermost without The image data of compression;Then, pixel reduction is carried out to raw image data in pixel reduction ratio, after pixel reduction Uncompressed image data of the image data as layer second from the bottom;After again, in pixel reduction ratio to layer second from the bottom Uncompressed image data carry out a pixel reduction, obtain the uncompressed image data of layer third from the bottom;According to this Analogize, until the number of plies reaches the number of plies of setting, top layer is minimum one layer of pixel, and pixel number successively increases each layer from top to bottom It is more, form similar pyramidal shape;Finally, the uncompressed image data based on each layer obtains the compression image of each layer Data, and the compressing image data of each layer is combined to the first image data for constituting layer compression formats;In addition to top layer, The generating process of the compressing image data of its each layer is that image data first uncompressed to this layer carries out high frequency sampling and obtains height Frequency image data, then frequency image data is compressed to obtain the compressing image data of this layer;The compressing image data of top layer is Directly the uncompressed image data of top layer is compressed to obtain.
6. server according to claim 5, which is characterized in that the processing module is used for:
For every level-one in the multistage, when this grade of subdata receives, the first son is carried out to described grade subdata Processing, obtains the subprocessing result of this grade;
Second subprocessing is carried out to the subprocessing result of most subordinate, obtains first image data by image procossing.
7. a kind of system of image procossing, which is characterized in that the system comprises terminal and servers, wherein:
The terminal, for obtaining the first image data, described first image data include multiple subdatas;It will be the multiple Subdata is sent respectively to the server;Receive the first image data by image procossing that the server is sent, institute Multiple subdatas are stated, specially multistage subdata, every grade of subdata other than most subordinate is given birth to according to its next stage subdata At the terminal is sent respectively to server according to sequence from top to bottom at different levels, by the multiple subdata, wherein when upper Level-one subdata is sent after being sent works as prime subdata, in the first figure for generating layer compression formats by raw image data During as data, layered shaping first is carried out to raw image data and obtains the uncompressed image data of multilayer, is layered During the number of plies and pixel reduction ratio are first set, using raw image data as undermost uncompressed picture number According to;Then, pixel reduction is carried out to raw image data in pixel reduction ratio, the image data after pixel reduction is made For the uncompressed image data of layer second from the bottom;After again, in pixel reduction ratio to the uncompressed of layer second from the bottom Image data carries out a pixel reduction, obtains the uncompressed image data of layer third from the bottom;The rest may be inferred, until the number of plies Reach the number of plies of setting, top layer is minimum one layer of pixel, and pixel number successively increases each layer from top to bottom, forms similar golden word The shape of tower;Finally, the uncompressed image data based on each layer, obtains the compressing image data of each layer, and by each layer Compressing image data combination constitutes the first image data of layer compression formats;In addition to top layer, the compression figure of other each layers As the generating process of data is, image data first uncompressed to this layer carries out high frequency sampling and obtains frequency image data, then Frequency image data is compressed to obtain the compressing image data of this layer;The compressing image data of top layer is directly to top layer Uncompressed image data is compressed to obtain;
The server, for receiving each subdata in the first image data that the terminal is sent respectively;When the first subnumber When according to receiving, starting to carry out image procossing to first subdata, while continuing to subsequent subdata, obtaining warp Cross the first image data of image procossing;First image data by image procossing is sent to the terminal, is received Each subdata in the described first image data that the terminal is sent respectively according to sequence from top to bottom at different levels, wherein institute It is most higher level's subdata to state the first subdata.
CN201310424797.3A 2013-09-17 2013-09-17 A kind of methods, devices and systems of image procossing Active CN104463790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310424797.3A CN104463790B (en) 2013-09-17 2013-09-17 A kind of methods, devices and systems of image procossing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310424797.3A CN104463790B (en) 2013-09-17 2013-09-17 A kind of methods, devices and systems of image procossing

Publications (2)

Publication Number Publication Date
CN104463790A CN104463790A (en) 2015-03-25
CN104463790B true CN104463790B (en) 2018-08-10

Family

ID=52909778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310424797.3A Active CN104463790B (en) 2013-09-17 2013-09-17 A kind of methods, devices and systems of image procossing

Country Status (1)

Country Link
CN (1) CN104463790B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162947A (en) * 2015-06-30 2015-12-16 努比亚技术有限公司 Mobile terminal theme design method and device
CN106897979B (en) * 2017-03-31 2020-08-25 联想(北京)有限公司 Image processing method and system and electronic equipment
CN110717484B (en) * 2019-10-11 2021-07-27 支付宝(杭州)信息技术有限公司 Image processing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025764A (en) * 2006-02-24 2007-08-29 佳能株式会社 Image processing apparatus, image processing method, and server and control method of the same
CN102222316A (en) * 2011-06-22 2011-10-19 北京航天自动控制研究所 Double-buffer ping-bang parallel-structure image processing optimization method based on DMA (direct memory access)
CN102708550A (en) * 2012-05-17 2012-10-03 浙江大学 Blind deblurring algorithm based on natural image statistic property
CN102968394A (en) * 2012-10-19 2013-03-13 华中科技大学 Field programmable gate array (FPGA) and digital signal processor (DSP) data transmission system based on Ping Pong mechanism

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DK177154B1 (en) * 2010-12-17 2012-03-05 Concurrent Vision Aps Method and device for parallel processing of images

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025764A (en) * 2006-02-24 2007-08-29 佳能株式会社 Image processing apparatus, image processing method, and server and control method of the same
CN102222316A (en) * 2011-06-22 2011-10-19 北京航天自动控制研究所 Double-buffer ping-bang parallel-structure image processing optimization method based on DMA (direct memory access)
CN102708550A (en) * 2012-05-17 2012-10-03 浙江大学 Blind deblurring algorithm based on natural image statistic property
CN102968394A (en) * 2012-10-19 2013-03-13 华中科技大学 Field programmable gate array (FPGA) and digital signal processor (DSP) data transmission system based on Ping Pong mechanism

Also Published As

Publication number Publication date
CN104463790A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN111681167B (en) Image quality adjusting method and device, storage medium and electronic equipment
CN106453572B (en) Method and system based on Cloud Server synchronous images
CN109862370A (en) Video super-resolution processing method and processing device
CN109756536A (en) A kind of method, apparatus and system of data transmission
CN104243923B (en) A kind of method and system of picture processing and preview picture
WO2022257699A1 (en) Image picture display method and apparatus, device, storage medium and program product
CN109996023A (en) Image processing method and device
CN105915907A (en) Compression and decompression method of panoramic image, apparatus and system thereof
CN108334412A (en) A kind of method and apparatus of display image
CN104463790B (en) A kind of methods, devices and systems of image procossing
CN101431613A (en) Network group photo implementing method
WO2022166298A1 (en) Image processing method and apparatus, and electronic device and readable storage medium
CN107547773A (en) A kind of image processing method, device and equipment
CN111510739A (en) Video transmission method and device
CN112907448A (en) Method, system, equipment and storage medium for super-resolution of any-ratio image
CN106303226A (en) Image processing method and device
CN108961424A (en) Virtual information processing method, equipment and storage medium
CN111415311A (en) Resource-saving image quality enhancement model
CN107800999A (en) A kind of method and system for mixing access video camera and video platform
CN105159663B (en) The method of adjustment and device of image
CN106897979A (en) Image processing method and system, electronic equipment
CN106341482A (en) Cloud rendering mixed compression transmission system and method based on file type
CN110311754A (en) A kind of method of reseptance of data, device, storage medium and electronic equipment
JP6283728B2 (en) Mass data transfer apparatus and method
CN109391817A (en) Data texturing transmission method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant