CN105100826A - Picture processing method, apparatus and system - Google Patents

Picture processing method, apparatus and system Download PDF

Info

Publication number
CN105100826A
CN105100826A CN201510424614.7A CN201510424614A CN105100826A CN 105100826 A CN105100826 A CN 105100826A CN 201510424614 A CN201510424614 A CN 201510424614A CN 105100826 A CN105100826 A CN 105100826A
Authority
CN
China
Prior art keywords
image data
target photo
image
picture
original image
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
CN201510424614.7A
Other languages
Chinese (zh)
Other versions
CN105100826B (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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510424614.7A priority Critical patent/CN105100826B/en
Publication of CN105100826A publication Critical patent/CN105100826A/en
Application granted granted Critical
Publication of CN105100826B publication Critical patent/CN105100826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The disclosure, which belongs to the technical field of the computer, provides a picture processing method, apparatus and system. The method comprises: a picture checking request sent by a terminal is received; picture data serving as picture data of a target picture are obtained at a corresponding storage position of an identifier of the target picture in storage space occupied by data of an original picture, wherein picture data of any thumbnail picture are embedded and stored into the storage space occupied by the data of the original picture; and the data of the target picture are sent to the terminal and the terminal carries out processing on the data of the target picture to obtain the target picture. According to the invention, problems that the picture storage space is too large and the pressure for real-time picture generation is high can be solved; the picture storage space is reduced; and the pressure for picture generation is reduced. The method, apparatus and system are used for picture processing.

Description

Image processing method, Apparatus and system
Technical field
The disclosure relates to field of computer technology, particularly a kind of image processing method, Apparatus and system.
Background technology
Along with the development of the universal of the terminal such as mobile phone, computer and the Internet, the use of picture is more and more universal, and has been a demand that cannot ignore for the process of picture.
In correlation technique, when processing picture, server can store the image data of original image and the image data of thumbnail pictures simultaneously, and the image data of the image data of original image and thumbnail pictures takies different memory spaces respectively.Example, the image data of the thumbnail pictures of the image data of original image and different size can be stored in different data blocks respectively.When terminal to server send original image check request or thumbnail pictures check request time, the image data of the original image in corresponding stored space or the image data of thumbnail pictures are sent to terminal by server, terminal processes the image data of original image or the image data of thumbnail pictures, obtains original image or thumbnail pictures; Server also only can store the image data of original image, when terminal to server send thumbnail pictures check request time, server can generate the image data of corresponding thumbnail pictures in real time according to this request, send it to terminal, terminal processes this image data, obtains thumbnail pictures.
Summary of the invention
In order to solve the problem of correlation technique, present disclose provides a kind of image processing method, Apparatus and system.Described technical scheme is as follows:
According to first aspect of the present disclosure, provide a kind of image processing method, the method comprises:
Request checked by the picture that receiving terminal sends, and picture checks that request comprises the mark of Target Photo, and Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image;
From the memory space that the image data of original image takies, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies;
The image data of Target Photo is sent to terminal, and terminal is used for processing the image data of Target Photo, obtains Target Photo.
Optionally, the method also comprises:
The image data of at least one thumbnail pictures is determined according to the image data of original image;
N the image data formed by the image data of the image data of at least one thumbnail pictures and original image is according to the size ascending sort taken up room, and n is more than or equal to 2;
According to the order of sequence, n image data is stored in the memory space that the image data of original image takies, wherein, in every two adjacent image datas of n image data, take the less image data of memory space to be nested in and to take in the larger image data of memory space, the mark of the corresponding image data in the memory location of each image data in n image data.
Optionally, n image data any picture data are characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of original image is corresponding and original image, the brightness value of the pixel of element correspondence position in the value instruction original image of each element
Determine the image data of at least one thumbnail pictures according to the image data of original image, comprising:
Picture element matrix corresponding to the image data of at least one thumbnail pictures is obtained by the element extracted in picture element matrix corresponding to the image data of original image;
According to the order of sequence, in the memory space that the image data of original image takies, store n image data, comprising:
According to the order of sequence, in the memory space that the image data of original image takies, store the element of picture element matrix corresponding to n image data;
Wherein, the element of the picture element matrix that the first image data of n image data is corresponding stores according to row storage mode, in every two adjacent image datas of n image data, take in the element of picture element matrix corresponding to the larger image data of memory space and delete the element taken after the element of picture element matrix corresponding to the less image data of memory space and store according to row storage mode.
According to second aspect of the present disclosure, provide a kind of image processing method, the method comprises:
Send picture to server and check request, picture checks that request comprises the mark of Target Photo, and Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image;
The image data of the Target Photo that reception server sends, the image data of Target Photo is that server is from the memory space that the image data of original image takies, obtain in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies;
The image data of Target Photo is processed, obtains Target Photo.
Optionally, the image data of original image is characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of original image is corresponding and original image, the brightness value of the pixel of element correspondence position in the value instruction original image of each element, the image data of Target Photo comprises at least one element in picture element matrix corresponding to the image data of original image
The image data of Target Photo is processed, obtains Target Photo, comprising:
The element comprised by the image data of Target Photo is gone to extract according to the position in the picture element matrix that the image data of original image is corresponding and is obtained picture element matrix corresponding to the image data of Target Photo;
The picture element matrix determination Target Photo corresponding according to the image data of Target Photo.
According to the third aspect of the present disclosure, provide a kind of image processing method, the method comprises:
Receive picture and check instruction, picture checks that instruction comprises the mark of Target Photo, and Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image;
From the memory space that the image data of original image takies, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies;
The image data of Target Photo is processed, obtains Target Photo.
Optionally, the method also comprises:
The image data of at least one thumbnail pictures is determined according to the image data of original image;
N the image data formed by the image data of the image data of at least one thumbnail pictures and original image is according to the size ascending sort taken up room, and n is more than or equal to 2;
According to the order of sequence, n image data is stored in the memory space that the image data of original image takies, wherein, in every two adjacent image datas of n image data, take the less image data of memory space to be nested in and to take in the larger image data of memory space, the mark of the corresponding image data in the memory location of each image data in n image data.
Optionally, n image data any picture data are characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of original image is corresponding and original image, the brightness value of the pixel of element correspondence position in the value instruction original image of each element
Determine the image data of at least one thumbnail pictures according to the image data of original image, comprising:
Picture element matrix corresponding to the image data of at least one thumbnail pictures is obtained by the element extracted in picture element matrix corresponding to the image data of original image;
According to the order of sequence, in the memory space that the image data of original image takies, store n image data, comprising:
According to the order of sequence, in the memory space that the image data of original image takies, store the element of picture element matrix corresponding to n image data;
Wherein, the element of the picture element matrix that the first image data of n image data is corresponding stores according to row storage mode, in every two adjacent image datas of n image data, take in the element of picture element matrix corresponding to the larger image data of memory space and delete the element taken after the element of picture element matrix corresponding to the less image data of memory space and store according to row storage mode.
Optionally, the image data of Target Photo comprises at least one element in picture element matrix corresponding to the image data of original image,
The image data of Target Photo is processed, obtains Target Photo, comprising:
The element comprised by the image data of Target Photo is gone to extract according to the position in the picture element matrix that the image data of original image is corresponding and is obtained picture element matrix corresponding to the image data of Target Photo;
The picture element matrix determination Target Photo corresponding according to the image data of Target Photo.
According to fourth aspect of the present disclosure, provide a kind of picture processing device, this device comprises:
Receiver module, request checked by the picture being configured to receiving terminal transmission, and picture checks that request comprises the mark of Target Photo, and Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image;
Acquisition module, be configured to the memory space taken from the image data of original image, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies;
Sending module, is configured to the image data of Target Photo to be sent to terminal, and terminal is used for processing the image data of Target Photo, obtains Target Photo.
Optionally, this device also comprises:
Determination module, is configured to the image data determining at least one thumbnail pictures according to the image data of original image;
Order module, n the image data being configured to the image data of the image data of at least one thumbnail pictures and original image to form is according to the size ascending sort taken up room, and n is more than or equal to 2;
Memory module, be configured to the order according to sequence, n image data is stored in the memory space that the image data of original image takies, wherein, in every two adjacent image datas of n image data, take the less image data of memory space to be nested in and to take in the larger image data of memory space, the mark of the corresponding image data in the memory location of each image data in n image data.
Optionally, n image data any picture data are characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of original image is corresponding and original image, the brightness value of the pixel of element correspondence position in the value instruction original image of each element
Determination module, is configured to obtain picture element matrix corresponding to the image data of at least one thumbnail pictures by the element extracted in picture element matrix corresponding to the image data of original image;
Memory module, is configured to the order according to sequence, stores the element of picture element matrix corresponding to n image data in the memory space that the image data of original image takies;
Wherein, the element of the picture element matrix that the first image data of n image data is corresponding stores according to row storage mode, in every two adjacent image datas of n image data, take in the element of picture element matrix corresponding to the larger image data of memory space and delete the element taken after the element of picture element matrix corresponding to the less image data of memory space and store according to row storage mode.
According to the 5th aspect of the present disclosure, provide a kind of picture processing device, this device comprises:
Sending module, be configured to send picture to server and check request, picture checks that request comprises the mark of Target Photo, and Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image;
Receiver module, be configured to the image data of the Target Photo that reception server sends, the image data of Target Photo is that server is from the memory space that the image data of original image takies, obtain in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies;
Processing module, is configured to process the image data of Target Photo, obtains Target Photo.
Optionally, the image data of original image is characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of original image is corresponding and original image, the brightness value of the pixel of element correspondence position in the value instruction original image of each element, the image data of Target Photo comprises at least one element in picture element matrix corresponding to the image data of original image
Processing module, is configured to:
The element comprised by the image data of Target Photo is gone to extract according to the position in the picture element matrix that the image data of original image is corresponding and is obtained picture element matrix corresponding to the image data of Target Photo;
The picture element matrix determination Target Photo corresponding according to the image data of Target Photo.
According to the 6th aspect of the present disclosure, provide a kind of picture processing device, this device comprises:
Receiver module, be configured to receive picture and check instruction, picture checks that instruction comprises the mark of Target Photo, and Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image;
Acquisition module, be configured to the memory space taken from the image data of original image, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies;
Processing module, is configured to process the image data of Target Photo, obtains Target Photo.
Optionally, this device also comprises:
Determination module, is configured to the image data determining at least one thumbnail pictures according to the image data of original image;
Order module, n the image data being configured to the image data of the image data of at least one thumbnail pictures and original image to form is according to the size ascending sort taken up room, and n is more than or equal to 2;
Memory module, be configured to the order according to sequence, n image data is stored in the memory space that the image data of original image takies, wherein, in every two adjacent image datas of n image data, take the less image data of memory space to be nested in and to take in the larger image data of memory space, the mark of the corresponding image data in the memory location of each image data in n image data.
Optionally, n image data any picture data are characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of original image is corresponding and original image, the brightness value of the pixel of element correspondence position in the value instruction original image of each element
Determination module, is configured to obtain picture element matrix corresponding to the image data of at least one thumbnail pictures by the element extracted in picture element matrix corresponding to the image data of original image;
Memory module, is configured to the order according to sequence, stores the element of picture element matrix corresponding to n image data in the memory space that the image data of original image takies;
Wherein, the element of the picture element matrix that the first image data of n image data is corresponding stores according to row storage mode, in every two adjacent image datas of n image data, take in the element of picture element matrix corresponding to the larger image data of memory space and delete the element taken after the element of picture element matrix corresponding to the less image data of memory space and store according to row storage mode.
Optionally, the image data of Target Photo comprises at least one element in picture element matrix corresponding to the image data of original image,
Processing module, is configured to:
The element comprised by the image data of Target Photo is gone to extract according to the position in the picture element matrix that the image data of original image is corresponding and is obtained picture element matrix corresponding to the image data of Target Photo;
The picture element matrix determination Target Photo corresponding according to the image data of Target Photo.
According to the 7th aspect of the present disclosure, provide a kind of picture processing device, this device comprises:
Processor;
For the memory of the executable instruction of storage of processor;
Wherein, processor is configured to:
Request checked by the picture that receiving terminal sends, and picture checks that request comprises the mark of Target Photo, and Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image;
From the memory space that the image data of original image takies, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies;
The image data of Target Photo is sent to terminal, and terminal is used for processing the image data of Target Photo, obtains Target Photo.
According to eighth aspect of the present disclosure, provide a kind of picture processing device, this device comprises:
Processor;
For the memory of the executable instruction of storage of processor;
Wherein, processor is configured to:
Send picture to server and check request, picture checks that request comprises the mark of Target Photo, and Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image;
The image data of the Target Photo that reception server sends, the image data of Target Photo is that server is from the memory space that the image data of original image takies, obtain in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies;
The image data of Target Photo is processed, obtains Target Photo.
According to the 9th aspect of the present disclosure, provide a kind of picture processing device, this device comprises:
Processor;
For the memory of the executable instruction of storage of processor;
Wherein, processor is configured to:
Receive picture and check instruction, picture checks that instruction comprises the mark of Target Photo, and Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image;
From the memory space that the image data of original image takies, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies;
The image data of Target Photo is processed, obtains Target Photo.
According to the tenth aspect of the present disclosure, a kind of picture processing system is provided, comprises: server and terminal;
Described server comprises the arbitrary described picture processing device of fourth aspect;
Described terminal comprises the arbitrary described picture processing device in the 5th aspect.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
Present disclose provides a kind of image processing method, Apparatus and system, the memory space that can take from the image data of original image, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, and the image data of Target Photo is processed, obtain Target Photo, the memory space reducing picture can be realized, and reduce the effect of the pressure of generating pictures.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in disclosure embodiment, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only embodiments more of the present disclosure, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of implementation environment schematic diagram according to embodiment;
A kind of flow chart of image processing method of Fig. 2 for providing according to an exemplary embodiment;
Fig. 3 is the flow chart of a kind of image processing method according to an exemplary embodiment;
Fig. 4-1 is the flow chart of a kind of image processing method according to an exemplary embodiment;
Fig. 4-2 is a kind of picture-storage structural representation according to an exemplary embodiment;
Fig. 4-3 is a kind of picture-storage structural representation according to an exemplary embodiment;
Fig. 4-4 is a kind of picture-storage structural representation according to an exemplary embodiment;
Fig. 4-5 is a kind of method flow diagram processed the image data of Target Photo according to an exemplary embodiment;
Fig. 4-6 is the schematic diagram of a kind of original image according to an exemplary embodiment;
Fig. 4-7 is the schematic diagram of a kind of thumbnail pictures according to an exemplary embodiment;
Fig. 4-8 is the schematic diagram of the another kind of thumbnail pictures according to an exemplary embodiment;
Fig. 4-9 is the storage schematic diagram of the image data of a kind of original image according to an exemplary embodiment;
Fig. 5 is the flow chart of a kind of image processing method according to an exemplary embodiment;
Fig. 6 is the flow chart of a kind of image processing method according to another exemplary embodiment;
Fig. 7 is the structured flowchart of a kind of picture processing device according to an exemplary embodiment;
Fig. 8 is the structured flowchart of a kind of picture processing device according to an exemplary embodiment;
Fig. 9 is the structured flowchart of a kind of picture processing device according to an exemplary embodiment;
Figure 10 is the structured flowchart of a kind of picture processing device according to an exemplary embodiment;
Figure 11 is the structured flowchart of a kind of picture processing device according to another exemplary embodiment;
Figure 12 is the block diagram of a kind of device for picture processing according to an exemplary embodiment;
Figure 13 is the block diagram of a kind of device for picture processing according to an exemplary embodiment.
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Embodiment
For making object of the present disclosure, technical scheme and advantage clearly, below in conjunction with accompanying drawing, disclosure execution mode is described in further detail.
Fig. 1 is a kind of implementation environment schematic diagram that each embodiment of the disclosure relates to, and this implementation environment can comprise: server 110 and terminal 120.
Server 110 can be a station server, or the server cluster be made up of some station servers, or a cloud computing service center.
Terminal 120 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, arbitrary equipment with the function that Shows Picture such as personal digital assistant.
Wireless connections or wired connection can be set up between server 110 and terminal 120.After server 110 can check request at the picture receiving terminal transmission, from the memory space that the image data of original image takies, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, the image data of Target Photo is sent to terminal 120, terminal 120 processes the image data of Target Photo again, obtains Target Photo.But the disclosure is not as limit, also can be processed by the image data of server 110 pairs of Target Photos, obtain Target Photo, and this Target Photo is sent to terminal 120.In another embodiment, also can by terminal 120 after receiving picture and checking request, from the memory space that the image data of original image takies, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, terminal 120 processes the image data of Target Photo again, obtain Target Photo, this Target Photo also can be shown to user by terminal 120 afterwards.
Fig. 2 is the flow chart of a kind of image processing method according to an exemplary embodiment, can be applicable to the server 110 in Fig. 1, and this image processing method can comprise following several step:
In step 201, request checked by the picture that receiving terminal sends, and this picture checks that request comprises the mark of Target Photo, and this Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image.
In step 202., from the memory space that the image data of original image takies, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies.
In step 203, the image data of Target Photo is sent to terminal, this terminal is used for processing the image data of Target Photo, obtains Target Photo.
In sum, the image processing method that disclosure embodiment provides, the memory space that server can take from the image data of original image, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, and the image data of Target Photo is sent to terminal, the image data of terminal to Target Photo is processed, obtains Target Photo, the memory space reducing picture can be realized, and reduce the effect of the pressure of generating pictures.
Further, before step 201, the method also comprises:
The image data of at least one thumbnail pictures is determined according to the image data of original image;
N the image data formed by the image data of the image data of at least one thumbnail pictures and original image is according to the size ascending sort taken up room, and n is more than or equal to 2;
According to the order of sequence, n image data is stored in the memory space that the image data of original image takies, wherein, in every two adjacent image datas of n image data, take the less image data of memory space to be nested in and to take in the larger image data of memory space, the mark of the corresponding image data in the memory location of each image data in n image data.
Optionally, n image data any picture data are characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of original image is corresponding and original image, the brightness value of the pixel of element correspondence position in the value instruction original image of each element.
Determine the image data of at least one thumbnail pictures according to the image data of original image, comprising: obtain picture element matrix corresponding to the image data of at least one thumbnail pictures by the element extracted in picture element matrix corresponding to the image data of original image.
According to the order of sequence, in the memory space that the image data of original image takies, store n image data, comprising:
According to the order of sequence, in the memory space that the image data of original image takies, store the element of picture element matrix corresponding to n image data.
Wherein, the element of the picture element matrix that the first image data of n image data is corresponding stores according to row storage mode, in every two adjacent image datas of n image data, take in the element of picture element matrix corresponding to the larger image data of memory space and delete the element taken after the element of picture element matrix corresponding to the less image data of memory space and store according to row storage mode.
In sum, the image processing method that disclosure embodiment provides, the memory space that server can take from the image data of original image, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, and the image data of Target Photo is sent to terminal, the image data of terminal to Target Photo is processed, obtains Target Photo, the memory space reducing picture can be realized, and reduce the effect of the pressure of generating pictures.
Fig. 3 is the flow chart of the another kind of image processing method according to an exemplary embodiment, can be applicable to the terminal 120 in Fig. 1, and this image processing method can comprise following several step:
In step 301, send picture check request to server, this picture checks that request comprises the mark of Target Photo, and this Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image.
In step 302, the image data of the Target Photo that reception server sends, the image data of this Target Photo is that server is from the memory space that the image data of original image takies, obtain in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies.
In step 303, the image data of Target Photo is processed, obtains Target Photo.
In sum, the image processing method that disclosure embodiment provides, terminal can after checking request to server transmission picture, the image data of the Target Photo that reception server sends, and the image data of this Target Photo is that server is from the memory space that the image data of original image takies, obtain in the memory location of the mark correspondence of Target Photo, finally the image data of Target Photo is processed, obtain Target Photo, the memory space reducing picture can be realized, and reduce the effect of the pressure of generating pictures.
Optionally, the image data of original image is characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of original image is corresponding and original image, the brightness value of the pixel of element correspondence position in the value instruction original image of each element, the image data of Target Photo comprises at least one element in picture element matrix corresponding to the image data of original image
Step 303 comprises: the element comprised by the image data of Target Photo is gone to extract according to the position in the picture element matrix that the image data of original image is corresponding and obtained picture element matrix corresponding to the image data of Target Photo; The picture element matrix determination Target Photo corresponding according to the image data of Target Photo.
In sum, the image processing method that disclosure embodiment provides, terminal can after checking request to server transmission picture, the image data of the Target Photo that reception server sends, and the image data of this Target Photo is that server is from the memory space that the image data of original image takies, obtain in the memory location of the mark correspondence of Target Photo, finally the image data of Target Photo is processed, obtain Target Photo, the memory space reducing picture can be realized, and reduce the effect of the pressure of generating pictures.
Fig. 4-1 is the flow chart of another image processing method according to an exemplary embodiment, and this image processing method can comprise following several step:
In step 401, server determines the image data of at least one thumbnail pictures according to the image data of original image.
The image data of thumbnail pictures and the image data of original image are characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of original image is corresponding and original image, the brightness value of the pixel of element correspondence position in the value instruction original image of each element.
Pixel and pictorial element, refer to the basic coding of basic protochrome and gray scale thereof, is the elementary cell forming picture.Pixel can represent by a number, the digital camera of such as " 0.3 million pixel ", and it has specified 300,000 pixels; Pixel also can use a pair numeral, such as the display of " 640*480 ", and the number of the pixels across of the picture of its expression display display is 640, and the number of longitudinal pixel is 480.The more thumbnail pictures of pixel is more close to original image.
Concrete, step 401 can comprise: obtain picture element matrix corresponding to the image data of at least one thumbnail pictures by the element in the picture element matrix that the image data that extracts original image is corresponding.
Because the image data of original image can be characterized by picture element matrix, and the position one_to_one corresponding of pixel in the position of element in picture element matrix corresponding to the image data of original image and original image, the brightness value of the pixel of element correspondence position in the value instruction original image of each element, therefore, picture element matrix corresponding to the image data of thumbnail pictures can be obtained by the picture element matrix corresponding according to the image data of original image.When the size of original image is the integral multiple of the size of thumbnail pictures, arest neighbors interpolation method can be adopted to obtain picture element matrix corresponding to the image data of thumbnail pictures.In thumbnail pictures, the brightness value of each pixel is equivalent to the brightness value of the pixel of the correspondence on original image.Suppose that the size of original image A1 is the 800*600 (number of pixels of the every a line of 800 expression picture, 600 represent each number of pixels arranged of picture), the line number of the picture element matrix that the image data of original image A1 is corresponding is 800, columns is 600, then size is the (i in the picture element matrix that the image data of the thumbnail pictures A2 of 400*300 is corresponding, j) element on position is the element be positioned on (2i, 2j) position in the picture element matrix that the image data of original image A1 is corresponding.Wherein, the i-th row in (i, j) positional representation picture element matrix, the position of jth row, 0≤i≤399,0≤j≤299.That is, picture element matrix meta that can be corresponding by the image data extracting original image is set to (0,0), (0,2) ... (2,0), (2,2) ... (2i, 2j) ... it is the picture element matrix that the image data of the thumbnail pictures of 400*300 is corresponding that the element of (798,598) obtains size.It should be noted that, when the size of original image and the size of thumbnail pictures are other integral multiple relations, (i in the picture element matrix that the image data of thumbnail pictures is corresponding, j) element on position is the element on (Ni, the Nj) position in the picture element matrix that the image data of original image A1 is corresponding.Element on (3i, 3j) position in the picture element matrix that image data as a size to be element on (i, j) position in the picture element matrix that the image data of the thumbnail pictures A3 of 200*150 is corresponding be original image A1 is corresponding.
Example, suppose that the size of original image B1 is 8*8, the picture element matrix that the image data of original image B1 is corresponding is: a 00 a 01 a 02 a 03 a 04 a 05 a 06 a 07 a 10 a 11 a 12 a 13 a 14 a 15 a 16 a 17 a 20 a 21 a 22 a 23 a 24 a 25 a 26 a 27 a 30 a 31 a 32 a 33 a 34 a 35 a 36 a 37 a 40 a 41 a 42 a 43 a 44 a 45 a 46 a 47 a 50 a 51 a 52 a 53 a 54 a 55 a 56 a 57 a 60 a 61 a 62 a 63 a 64 a 65 a 66 a 67 a 70 a 71 a 72 a 73 a 74 a 75 a 76 a 77 , A mnthe value of (0≤m≤7,0≤n≤7) indicates the brightness value of the pixel of element correspondence position in original image B1, the then size that original image B1 is corresponding to be the picture element matrix that the image data of the thumbnail pictures B2 of 4*4 is corresponding: a 00 a 02 a 04 a 06 a 20 a 22 a 24 a 26 a 40 a 42 a 44 a 46 a 60 a 62 a 64 a 66 . The size that original image B1 is corresponding is the picture element matrix that the image data of the thumbnail pictures B3 of 2*2 is corresponding: a 00 a 04 a 40 a 44 .
In step 402, n the image data that the image data of the image data of at least one thumbnail pictures and original image forms by server is according to the size ascending sort taken up room, and n is more than or equal to 2.
On the basis of step 401, n the image data formed by the image data of the image data of at least one thumbnail pictures and original image is according to the size ascending sort taken up room.Suppose that the size of original image A1 is 800*600, the size of one of them thumbnail pictures A2 is 400*300, the size of another thumbnail pictures A3 is 200*150, then 3 image datas of the image data composition of the image data of original image A1, the image data of thumbnail pictures A2 and thumbnail pictures A3 are followed successively by image data, the image data of thumbnail pictures A2, the image data of original image A1 of thumbnail pictures A3 according to the size ascending sort taken up room.
In step 403, server, according to the order of sequence, stores n image data in the memory space that the image data of original image takies.
Wherein, in every two adjacent image datas of n image data, take the less image data of memory space to be nested in and to take in the larger image data of memory space, the mark of the corresponding image data in the memory location of each image data in n image data.
Step 403 specifically can comprise: according to the order of sequence, stores the element of picture element matrix corresponding to n image data in the memory space that the image data of original image takies.
It should be noted that, the element of the picture element matrix that the first image data of n image data is corresponding stores according to row storage mode, in every two adjacent image datas of n image data, take in the element of picture element matrix corresponding to the larger image data of memory space and delete the element taken after the element of picture element matrix corresponding to the less image data of memory space and store according to row storage mode.
N the image data formed by the image data of the image data of at least one thumbnail pictures and original image according to step 402, according to after the size ascending sort taken up room, stores n image data in the memory space that the image data of original image takies.As 3 image datas being formed by the image data of the image data of original image A1, the image data of thumbnail pictures A2 and thumbnail pictures A3 in step 402 to be followed successively by the image data of the image data of thumbnail pictures A3, the image data of thumbnail pictures A2, original image A1 according to the size ascending sort taken up room after, in the memory space that the image data of original image A1 takies, store 3 image datas.The image data of thumbnail pictures A3 is nested in the image data of thumbnail pictures A2, the image data of thumbnail pictures A2 is nested in the image data of original image A1, and the memory location of the image data of thumbnail pictures A3 correspondence mark A3, the memory location correspondence mark A2 of the image data of thumbnail pictures A2, the memory location correspondence mark A1 of the image data of original image A1.It should be noted that, the mark of the image data that the memory location of each image data is corresponding uniquely indicates this image data.This mark can be such as the size of original image or thumbnail pictures, also can be the picture name of original image or thumbnail pictures.
Concrete, the element of the picture element matrix that storage 3 image datas are corresponding in the memory space that the image data of original image A1 takies, the element of the picture element matrix that the image data of thumbnail pictures A3 is corresponding stores according to row storage mode, the element deleting picture element matrix corresponding to the image data of thumbnail pictures A3 in the element of the picture element matrix that the image data of thumbnail pictures A2 is corresponding stores according to row storage mode, the element deleting picture element matrix corresponding to the image data of thumbnail pictures A2 in the element of the picture element matrix that the image data of original image A1 is corresponding stores according to row storage mode.
Fig. 4-2 shows the storage organization schematic diagram of element of picture element matrix corresponding to image data of the image data of original image A1, thumbnail pictures A2, as shown in the Fig. 4-2, the image data of thumbnail pictures A2 is first image data, the element of the picture element matrix of its correspondence stores according to row storage mode, the memory location correspondence mark A2 of the image data of thumbnail pictures A2; The element deleting picture element matrix corresponding to the image data of thumbnail pictures A2 in the element of the picture element matrix that the image data of original image A1 is corresponding stores according to row storage mode, and memory location is designated A1-A2.The memory location correspondence mark A1 of the image data of original image A1.
Fig. 4-3 shows the storage organization schematic diagram of the element of picture element matrix corresponding to the image data of the image data of original image A1, the image data of thumbnail pictures A2 and thumbnail pictures A3, as shown in Fig. 4-3, the element of the picture element matrix that the image data of thumbnail pictures A3 is corresponding stores according to row storage mode, the memory location correspondence mark A3 of the image data of thumbnail pictures A3.The element deleting picture element matrix corresponding to the image data of thumbnail pictures A3 in the element of the picture element matrix that the image data of thumbnail pictures A2 is corresponding stores according to row storage mode, memory location is designated A2-A3, the memory location correspondence mark A2 of the image data of thumbnail pictures A2.The element deleting picture element matrix corresponding to the image data of thumbnail pictures A2 in the element of the picture element matrix that the image data of original image A1 is corresponding stores according to row storage mode, memory location is designated A1-A2, the memory location correspondence mark A1 of the image data of original image A1.
For original image B1, thumbnail pictures B2 and thumbnail pictures B3 in step 401, the storage organization of the element of the picture element matrix that the image data of three pictures is corresponding is as shown in Fig. 4-4, the element of the picture element matrix that the image data of thumbnail pictures B3 is corresponding stores according to row storage mode, namely first stores the first row element a in picture element matrix corresponding to the image data of thumbnail pictures B3 00and a 04, then store the second row element a 40and a 44.Then the element of the element of picture element matrix corresponding to the image data of deleting thumbnail pictures A3 in the element of picture element matrix corresponding to the image data of thumbnail pictures A2 is stored, and store according to row storage mode, the first row surplus element a in the picture element matrix that namely first the image data of storage thumbnail pictures B2 is corresponding 02and a 06, then store the second row element a 20, a 22, a 24and a 26, then store the third line surplus element a 42and a 46, finally store fourth line element a 60, a 62, a 64and a 66.Same, remaining element in picture element matrix corresponding to the image data of original image B1 can be stored.Because the element of element except the element of picture element matrix corresponding to the image data of thumbnail pictures B2 of picture element matrix corresponding to the image data of original image B1 is more, therefore, no longer it is enumerated and describe in detail.
In step 404, terminal to server sends picture and checks request.
This picture checks that request comprises the mark of Target Photo, and this Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image.
The mark of Target Photo is corresponding with the mark of the image data stored in step 403, when store image data be designated the size of original image or thumbnail pictures time, the mark of Target Photo can be the size of Target Photo, when store image data be designated the picture name of original image or thumbnail pictures time, the mark of Target Photo can be the picture name of Target Photo.
In step 405, server, from the memory space that the image data of original image takies, obtains the image data of image data as Target Photo in the memory location of the mark correspondence of Target Photo.
Wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies.For original image A1, thumbnail pictures A2 and thumbnail pictures A3 in step 404, server is after request checked by the picture receiving terminal transmission, suppose that this picture checks that request comprises the mark A2 of thumbnail pictures A2, then server is from the memory space that the image data of original image A1 takies, and obtains the image data of image data as thumbnail pictures A2 in the memory location that mark A2 is corresponding.
In a step 406, the image data of Target Photo is sent to terminal by server.
The image data of Target Photo, after the memory location of the mark correspondence of Target Photo gets the image data of Target Photo, is sent to terminal by server.
In step 407, the image data of terminal to Target Photo processes, and obtains Target Photo.
The image data of Target Photo comprises at least one element in picture element matrix corresponding to the image data of original image.The image data of Target Photo is rearranged again, can Target Photo be obtained.As illustrated in figures 4-5, step 407 can comprise:
In sub-step 4071, the element comprised by the image data of Target Photo is gone to extract according to the position in the picture element matrix that the image data of original image is corresponding and is obtained picture element matrix corresponding to the image data of Target Photo.
In step 403, server to take up room size order according to image data, stores n image data in the memory space that the image data of original image takies.For Fig. 4-3, if original image A1 is Target Photo, server by the image data of original image A1 to after terminal, the element that the image data of original image A1 comprises by terminal goes extraction according to the position in the picture element matrix that the image data of original image A1 is corresponding, obtains the picture element matrix that the image data of original image A1 is corresponding; If thumbnail pictures A2 is Target Photo, server by the image data of thumbnail pictures A2 to after terminal, the element that the image data of thumbnail pictures A2 comprises by terminal goes extraction according to the position in the picture element matrix that the image data of original image A1 is corresponding, obtains the picture element matrix that the image data of thumbnail pictures A2 is corresponding; If thumbnail pictures A3 is Target Photo, server by the image data of thumbnail pictures A3 to after terminal, the element that the image data of thumbnail pictures A3 comprises by terminal goes extraction according to the position in the picture element matrix that the image data of original image A1 is corresponding, obtains the picture element matrix that the image data of thumbnail pictures A3 is corresponding.
In sub-step 4072, the picture element matrix determination Target Photo corresponding according to the image data of Target Photo.
Determine the picture element matrix that the image data of Target Photo is corresponding, this Target Photo can be determined.
In correlation technique, terminal or server generally all store the image data of thumbnail pictures corresponding to original image.Such as when terminal demonstration picture, have the thumbnail pictures of different size, for different scene.As used thumbnail pictures in microblogging homepage, in social space, use thumbnail pictures.What Fig. 4-6 illustrated is size is the schematic diagram of the original image of 800*600.The thumbnail pictures that Fig. 4-7 illustrates is the picture after the original image convergent-divergent one times in Fig. 4-6, and the width of this thumbnail pictures is 1/2 of original image width, and the height of this thumbnail pictures is 1/2 of original image height.The thumbnail pictures that Fig. 4-8 illustrates is the picture after the original image convergent-divergent 2 times in Fig. 4-6, and the width of this thumbnail pictures is 1/4 of original image width, and the height of this thumbnail pictures is 1/4 of original image height.
The image processing method that disclosure embodiment provides, have employed a kind of thumbnail pictures not having the image processing method of superfluous She to store original image and different size, and only need the image data storing a original image, change the sequential organization that this image data stores, just can generate corresponding thumbnail pictures rapidly, this process is similar to texture in iconology, when playing up, the method of pyramid model, wherein, texture in graphics for the sense of reality of enhanced scene, such as draw a ground, simply a bit, a rectangle can be directly used to represent, complexity a bit can represent with triangular mesh a little, complexity a bit just can use ground texture again, after having had texture, the sense of reality on ground obviously strengthens.Playing up is a kind of operation for realizing some special-effects, such as this special-effect of environment mappings, when the spheroid that drafting one is smooth, by Rendering operations, this spheroid can be made to reflect environment around.Fig. 4-9 shows a kind of storage schematic diagram of image data of original image, in figure, the value of each element indicates the brightness value of the pixel of element correspondence position in original image, and the value as the element of the 0th row the 0th row storage indicates the brightness value of the pixel that the 0th row the 0th arranges in this original image.When original picture size is the integral multiple of thumbnail pictures size, adjacent interpolation method can be adopted to obtain thumbnail pictures.Arrow instruction in Fig. 4-9 be that texture in graphics such as to play up at the picture processing process.Image processing method of the present disclosure, without the need to storing the image data of original image and the image data of thumbnail pictures respectively simultaneously, therefore, the memory space of picture can be saved, especially for large data mass picture, the memory space of server can more effectively be saved.Meanwhile, server, also without the need to generating corresponding thumbnail pictures in real time according to the image data of original image, therefore, alleviating the pressure that server calculates, also solving the problems such as buffer memory.This image processing method make use of between thumbnail pictures and original image has a lot of pixel to be common point, only needs the pixel of the image data to original image to reorganize.Terminal, when showing in thumbnail pictures, directly shows according to normal sequence, and when showing original image, only simply need sort in terminal, calculating pressure is little.Solve server end and generate thumbnail pictures in real time according to original image, when there being thousands of users to ask simultaneously, greatly consume the problem of server resource.
It should be noted that, the image processing method that disclosure embodiment provides, be not only applicable to colour picture, also black and white picture is applicable to, when picture is black and white picture, be distinguished as: the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of original image is corresponding and original image, the gray value of the pixel of element correspondence position in the value instruction original image of each element.
In sum, the image processing method that disclosure embodiment provides, the memory space that server can take from the image data of original image, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, and the image data of Target Photo is sent to terminal, the image data of terminal to Target Photo is processed, obtains Target Photo, the memory space reducing picture can be realized, and reduce the effect of the pressure of generating pictures.
Fig. 5 is the flow chart of a kind of image processing method according to an exemplary embodiment, can be applied in terminal 120 in implementation environment shown in Fig. 1 or server 110, also can be applied in terminal in other embodiment environment or server, this image processing method can comprise following several step:
In step 501, receive picture and check instruction, this picture checks that instruction comprises the mark of Target Photo, and this Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image.
In step 502, from the memory space that the image data of original image takies, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies.
In step 503, the image data of Target Photo is processed, obtains Target Photo.
In sum, the image processing method that disclosure embodiment provides, terminal or server can after instruction be checked by reception picture, from the memory space that the image data of original image takies, obtain image data in the memory location of the mark correspondence of Target Photo as the image data of Target Photo, finally the image data of Target Photo is processed, obtain Target Photo, the memory space reducing picture can be realized, and reduce the effect of the pressure of generating pictures.
Optionally, before step 501, the method also comprises:
The image data of at least one thumbnail pictures is determined according to the image data of original image;
N the image data formed by the image data of the image data of at least one thumbnail pictures and original image is according to the size ascending sort taken up room, and n is more than or equal to 2;
According to the order of sequence, n image data is stored in the memory space that the image data of original image takies, wherein, in every two adjacent image datas of n image data, take the less image data of memory space to be nested in and to take in the larger image data of memory space, the mark of the corresponding image data in the memory location of each image data in n image data.
Optionally, n image data any picture data are characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of original image is corresponding and original image, the brightness value of the pixel of element correspondence position in the value instruction original image of each element.
Determine the image data of at least one thumbnail pictures according to the image data of original image, comprising: obtain picture element matrix corresponding to the image data of at least one thumbnail pictures by the element extracted in picture element matrix corresponding to the image data of original image.
According to the order of sequence, n image data is stored in the memory space that the image data of original image takies, comprise: according to the order of sequence, in the memory space that the image data of original image takies, store the element of picture element matrix corresponding to n image data.
Wherein, the element of the picture element matrix that the first image data of n image data is corresponding stores according to row storage mode, in every two adjacent image datas of n image data, take in the element of picture element matrix corresponding to the larger image data of memory space and delete the element taken after the element of picture element matrix corresponding to the less image data of memory space and store according to row storage mode.
The image data of Target Photo comprises at least one element in picture element matrix corresponding to the image data of original image, and step 503 comprises:
The element comprised by the image data of Target Photo is gone to extract according to the position in the picture element matrix that the image data of original image is corresponding and is obtained picture element matrix corresponding to the image data of Target Photo;
The picture element matrix determination Target Photo corresponding according to the image data of Target Photo.
In sum, the image processing method that disclosure embodiment provides, terminal or server can after instruction be checked by reception picture, from the memory space that the image data of original image takies, obtain image data in the memory location of the mark correspondence of Target Photo as the image data of Target Photo, finally the image data of Target Photo is processed, obtain Target Photo, the memory space reducing picture can be realized, and reduce the effect of the pressure of generating pictures.
Fig. 6 is the flow chart of a kind of image processing method according to another exemplary embodiment, the terminal 120 in implementation environment shown in Fig. 1 can be applied to, also can be applied to the terminal in other embodiment environment, this image processing method can comprise following several step:
In step 601, the image data of at least one thumbnail pictures is determined according to the image data of original image.
N image data any picture data are characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of original image is corresponding and original image, the brightness value of the pixel of element correspondence position in the value instruction original image of each element.
Therefore, step 601 specifically can comprise: obtain picture element matrix corresponding to the image data of at least one thumbnail pictures by the element extracted in picture element matrix corresponding to the image data of original image.Illustrating of step 601 can explanation in refer step 401.
In step 602, n the image data formed by the image data of the image data of at least one thumbnail pictures and original image is according to the size ascending sort taken up room, and n is more than or equal to 2.
Illustrating of step 602 can explanation in refer step 402.
In step 603, according to the order of sequence, in the memory space that the image data of original image takies, n image data is stored.
Wherein, in every two adjacent image datas of n image data, take the less image data of memory space to be nested in and to take in the larger image data of memory space, the mark of the corresponding image data in the memory location of each image data in n image data.
Step 603 specifically can comprise: according to the order of sequence, stores the element of picture element matrix corresponding to n image data in the memory space that the image data of original image takies.
Wherein, the element of the picture element matrix that the first image data of n image data is corresponding stores according to row storage mode, in every two adjacent image datas of n image data, take in the element of picture element matrix corresponding to the larger image data of memory space and delete the element taken after the element of picture element matrix corresponding to the less image data of memory space and store according to row storage mode.Illustrating of step 603 can explanation in refer step 403.
In step 604, receive picture and check instruction.
This picture checks that instruction comprises the mark of Target Photo, and this Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image.
In step 605, from the memory space that the image data of original image takies, obtain the image data of image data as Target Photo in the memory location of the mark correspondence of Target Photo.
Wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies, thumbnail pictures is obtain after carrying out breviary process to original image.Illustrating of step 605 can explanation in refer step 405.
In step 606, the image data of Target Photo is processed, obtains Target Photo.
Illustrating of step 606 can explanation in refer step 407.Do not repeat them here.The difference of the exemplary embodiment shown in the present embodiment and Fig. 4-1 is, the image data of original image and thumbnail pictures is stored in terminal.
It should be noted that; the sequencing of the image processing method step that disclosure embodiment provides can suitably adjust; step also according to circumstances can carry out corresponding increase and decrease; anyly be familiar with those skilled in the art in the technical scope that the disclosure discloses; the method changed can be expected easily; all should be encompassed within protection range of the present disclosure, therefore repeat no more.
In sum, the image processing method that disclosure embodiment provides, terminal can after instruction be checked by reception picture, from the memory space that the image data of original image takies, obtain image data in the memory location of the mark correspondence of Target Photo as the image data of Target Photo, finally the image data of Target Photo is processed, obtain Target Photo, the memory space reducing picture can be realized, and reduce the effect of the pressure of generating pictures.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.For the details do not disclosed in disclosure device embodiment, please refer to disclosure embodiment of the method.
Fig. 7 is the structured flowchart of a kind of picture processing device according to an exemplary embodiment, and this device can comprise:
Receiver module 801, request checked by the picture being configured to receiving terminal transmission, and picture checks that request comprises the mark of Target Photo, and this Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image.
Acquisition module 802, be configured to the memory space taken from the image data of original image, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies.
Sending module 803, is configured to the image data of Target Photo to be sent to terminal, and terminal is used for processing the image data of Target Photo, obtains Target Photo.
In sum, the picture processing device that disclosure embodiment provides, the memory space that server can take from the image data of original image, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, and the image data of Target Photo is sent to terminal, the image data of terminal to Target Photo is processed, obtains Target Photo, the memory space reducing picture can be realized, and reduce the effect of the pressure of generating pictures.
Fig. 8 is the structured flowchart of a kind of picture processing device according to an exemplary embodiment, and this device can comprise:
Receiver module 801, request checked by the picture being configured to receiving terminal transmission, and picture checks that request comprises the mark of Target Photo, and Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image.
Acquisition module 802, be configured to the memory space taken from the image data of original image, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies.
Sending module 803, is configured to the image data of Target Photo to be sent to terminal, and terminal is used for processing the image data of Target Photo, obtains Target Photo.
Determination module 804, is configured to the image data determining at least one thumbnail pictures according to the image data of original image.
N image data any picture data are characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of original image is corresponding and original image, the brightness value of the pixel of element correspondence position in the value instruction original image of each element.Concrete, determination module 804, the element be configured in picture element matrix corresponding to image data by extracting original image obtains picture element matrix corresponding to the image data of at least one thumbnail pictures.
Order module 805, n the image data being configured to the image data of the image data of at least one thumbnail pictures and original image to form is according to the size ascending sort taken up room, and n is more than or equal to 2.
Memory module 806, be configured to the order according to sequence, n image data is stored in the memory space that the image data of original image takies, wherein, in every two adjacent image datas of n image data, take the less image data of memory space to be nested in and to take in the larger image data of memory space, the mark of the corresponding image data in the memory location of each image data in n image data.
Concrete, memory module 806, is configured to the order according to sequence, stores the element of picture element matrix corresponding to n image data in the memory space that the image data of original image takies.Wherein, the element of the picture element matrix that the first image data of n image data is corresponding stores according to row storage mode, in every two adjacent image datas of n image data, take in the element of picture element matrix corresponding to the larger image data of memory space and delete the element taken after the element of picture element matrix corresponding to the less image data of memory space and store according to row storage mode.
In sum, the picture processing device that disclosure embodiment provides, the memory space that server can take from the image data of original image, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, and the image data of Target Photo is sent to terminal, the image data of terminal to Target Photo is processed, obtains Target Photo, the memory space reducing picture can be realized, and reduce the effect of the pressure of generating pictures.
Fig. 9 is the structured flowchart of a kind of picture processing device according to an exemplary embodiment, and this device can comprise:
Sending module 901, be configured to send picture to server and check request, picture checks that request comprises the mark of Target Photo, and Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image.
Receiver module 902, be configured to the image data of the Target Photo that reception server sends, the image data of Target Photo is that server is from the memory space that the image data of original image takies, obtain in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies.
Processing module 903, is configured to process the image data of Target Photo, obtains Target Photo.
The image data of original image is characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of original image is corresponding and original image, the brightness value of pixel of element correspondence position in the value instruction original image of each element, the image data of Target Photo comprises at least one element in picture element matrix corresponding to the image data of original image.Concrete, processing module 903, is configured to:
The element comprised by the image data of Target Photo is gone to extract according to the position in the picture element matrix that the image data of original image is corresponding and is obtained picture element matrix corresponding to the image data of Target Photo; The picture element matrix determination Target Photo corresponding according to the image data of Target Photo.
In sum, the picture processing device that disclosure embodiment provides, terminal can after checking request to server transmission picture, the image data of the Target Photo that reception server sends, and the image data of this Target Photo is that server is from the memory space that the image data of original image takies, obtain in the memory location of the mark correspondence of Target Photo, finally the image data of Target Photo is processed, obtain Target Photo, the memory space reducing picture can be realized, and reduce the effect of the pressure of generating pictures.
Figure 10 is the structured flowchart of a kind of picture processing device according to an exemplary embodiment, and this device can comprise:
Receiver module 701, be configured to receive picture and check instruction, picture checks that instruction comprises the mark of Target Photo, and Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image.
Acquisition module 702, be configured to the memory space taken from the image data of original image, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies.
Processing module 703, is configured to process the image data of Target Photo, obtains Target Photo.
In sum, the picture processing device that disclosure embodiment provides, terminal or server can after instruction be checked by reception picture, from the memory space that the image data of original image takies, obtain image data in the memory location of the mark correspondence of Target Photo as the image data of Target Photo, finally the image data of Target Photo is processed, obtain Target Photo, the memory space reducing picture can be realized, and reduce the effect of the pressure of generating pictures.
Figure 11 is the structured flowchart of a kind of picture processing device according to an exemplary embodiment, and this device can comprise:
Receiver module 701, be configured to receive picture and check instruction, picture checks that instruction comprises the mark of Target Photo, and Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image.
Acquisition module 702, be configured to the memory space taken from the image data of original image, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies, thumbnail pictures is obtain after carrying out breviary process to original image.
Processing module 703, is configured to process the image data of Target Photo, obtains Target Photo.
The image data of Target Photo comprises at least one element in picture element matrix corresponding to the image data of original image.Concrete, processing module 703, is configured to: the element comprised by the image data of Target Photo is gone according to the position in the picture element matrix that the image data of original image is corresponding and extracted picture element matrix corresponding to the image data that obtains Target Photo; The picture element matrix determination Target Photo corresponding according to the image data of Target Photo.
Determination module 704, is configured to the image data determining at least one thumbnail pictures according to the image data of original image.
N image data any picture data are characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of original image is corresponding and original image, the brightness value of the pixel of element correspondence position in the value instruction original image of each element.Concrete, determination module 704, the element be configured in picture element matrix corresponding to image data by extracting original image obtains picture element matrix corresponding to the image data of at least one thumbnail pictures.
Order module 705, n the image data being configured to the image data of the image data of at least one thumbnail pictures and original image to form is according to the size ascending sort taken up room, and n is more than or equal to 2.
Memory module 706, be configured to the order according to sequence, n image data is stored in the memory space that the image data of original image takies, wherein, in every two adjacent image datas of n image data, take the less image data of memory space to be nested in and to take in the larger image data of memory space, the mark of the corresponding image data in the memory location of each image data in n image data.
Concrete, memory module 706, is configured to the order according to sequence, stores the element of picture element matrix corresponding to n image data in the memory space that the image data of original image takies.
Wherein, the element of the picture element matrix that the first image data of n image data is corresponding stores according to row storage mode, in every two adjacent image datas of n image data, take in the element of picture element matrix corresponding to the larger image data of memory space and delete the element taken after the element of picture element matrix corresponding to the less image data of memory space and store according to row storage mode.
In sum, the picture processing device that disclosure embodiment provides, terminal or server can after instruction be checked by reception picture, from the memory space that the image data of original image takies, obtain image data in the memory location of the mark correspondence of Target Photo as the image data of Target Photo, finally the image data of Target Photo is processed, obtain Target Photo, the memory space reducing picture can be realized, and reduce the effect of the pressure of generating pictures.
Disclosure embodiment provides a kind of picture processing system, comprising: server and terminal, and wherein, server comprises the picture processing device shown in Fig. 7 or Fig. 8; Terminal comprises the picture processing device shown in Fig. 9.
Figure 12 is the block diagram of a kind of device 1500 for picture processing according to an exemplary embodiment.Such as, device 1500 may be provided in a server.With reference to Figure 12, device 1500 comprises processing components 1522, and it comprises one or more processor further, and the memory resource representated by memory 1532, such as, for storing the instruction that can be performed by processing unit 1522, application program.The application program stored in memory 1532 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 1522 is configured to perform instruction, to perform above-mentioned image processing method.
Device 1500 can also comprise the power management that a power supply module 1526 is configured to final controlling element 1500, and a wired or wireless network interface 1550 is configured to device 1500 to be connected to network, and input and output (I/O) interface 1558.Device 1500 can operate the operating system based on being stored in memory 1532, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Figure 13 is the block diagram of a kind of device 500 for picture processing according to an exemplary embodiment.Such as, device 500 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 13, device 500 can comprise following one or more assembly: processing components 5002, memory 5004, power supply module 5006, multimedia groupware 5008, audio-frequency assembly 5010, the interface 5012 of I/O (I/O), sensor cluster 5014, and communications component 5016.
The integrated operation of the usual control device 500 of processing components 5002, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 5002 can comprise one or more processor 5020 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 5002 can comprise one or more module, and what be convenient between processing components 5002 and other assemblies is mutual.Such as, processing components 5002 can comprise multi-media module, mutual with what facilitate between multimedia groupware 5008 and processing components 5002.
Memory 5004 is configured to store various types of data to be supported in the operation of device 500.The example of these data comprises the instruction of any application program for operating on device 500 or method, contact data, telephone book data, message, picture, video etc.Memory 5004 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 5006 is device 500 provide electric power.Power supply module 5006 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 500 and be associated.
Multimedia groupware 5008 is included in the screen providing an output interface between described device 500 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 5008 comprises a front-facing camera and/or post-positioned pick-up head.When device 500 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 5010 is configured to export and/or input audio signal.Such as, audio-frequency assembly 5010 comprises a microphone (MIC), and when device 500 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 5004 further or be sent via communications component 5016.In certain embodiments, audio-frequency assembly 5010 also comprises a loud speaker, for output audio signal.
I/O interface 5012 is for providing interface between processing components 5002 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 5014 comprises one or more transducer, for providing the state estimation of various aspects for device 500.Such as, sensor cluster 5014 can detect the opening/closing state of device 500, the relative positioning of assembly, such as described assembly is display and the keypad of device 500, the position of all right checkout gear 500 of sensor cluster 5014 or device 500 1 assemblies changes, the presence or absence that user contacts with device 500, the variations in temperature of device 500 orientation or acceleration/deceleration and device 500.Sensor cluster 5014 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 5014 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 5014 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 5016 is configured to the communication being convenient to wired or wireless mode between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 5016 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 5016 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 500 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 5004 of instruction, above-mentioned instruction can perform said method by the processor 5020 of device 500.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of device 500, make device 500 can perform a kind of image processing method, on the one hand, described method comprises:
Send picture to server and check request, picture checks that request comprises the mark of Target Photo, and Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image;
The image data of the Target Photo that reception server sends, the image data of Target Photo is that server is from the memory space that the image data of original image takies, obtain in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies;
The image data of Target Photo is processed, obtains Target Photo.
On the other hand, described method comprises:
Receive picture and check instruction, picture checks that instruction comprises the mark of Target Photo, and Target Photo is original image or thumbnail pictures, and thumbnail pictures is obtain after carrying out breviary process to original image;
From the memory space that the image data of original image takies, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of Target Photo, wherein, in the memory space that the nested image data being stored in original image of the image data of arbitrary thumbnail pictures takies;
The image data of Target Photo is processed, obtains Target Photo.
In sum, the device for picture processing that disclosure embodiment provides, terminal can after instruction be checked by reception picture, from the memory space that the image data of original image takies, obtain image data in the memory location of the mark correspondence of Target Photo as the image data of Target Photo, finally the image data of Target Photo is processed, obtain Target Photo, the memory space reducing picture can be realized, and reduce the effect of the pressure of generating pictures.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the device of foregoing description and the specific works process of module, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
The foregoing is only preferred embodiment of the present disclosure, not in order to limit the disclosure, all within spirit of the present disclosure and principle, any amendment done, equivalent replacement, improvement etc., all should be included within protection range of the present disclosure.

Claims (22)

1. an image processing method, is characterized in that, described method comprises:
Request checked by the picture that receiving terminal sends, and described picture checks that request comprises the mark of Target Photo, and described Target Photo is original image or thumbnail pictures, and described thumbnail pictures is obtain after carrying out breviary process to described original image;
From the memory space that the image data of original image takies, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of described Target Photo, wherein, in the memory space that the nested image data being stored in described original image of the image data of arbitrary thumbnail pictures takies;
The image data of described Target Photo is sent to described terminal, and described terminal is used for processing the image data of described Target Photo, obtains described Target Photo.
2. method according to claim 1, is characterized in that, described method also comprises:
The image data of at least one thumbnail pictures is determined according to the image data of described original image;
N the image data formed by the image data of the image data of at least one thumbnail pictures described and described original image is according to the size ascending sort taken up room, and described n is more than or equal to 2;
According to the order of described sequence, a described n image data is stored in the memory space that the image data of described original image takies, wherein, in every two adjacent image datas of a described n image data, take the less image data of memory space to be nested in and to take in the larger image data of memory space, the mark of the corresponding image data in the memory location of each image data in a described n image data.
3. method according to claim 2, it is characterized in that, described n image data any picture data are characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of described original image is corresponding and described original image, the value of each element indicates the brightness value of the pixel of element correspondence position described in described original image
The described image data according to described original image determines the image data of at least one thumbnail pictures, comprising:
Picture element matrix corresponding to the image data of at least one thumbnail pictures is obtained by the element extracted in picture element matrix corresponding to the image data of original image;
The described order according to described sequence, stores a described n image data, comprising in the memory space that the image data of described original image takies:
According to the order of described sequence, in the memory space that the image data of described original image takies, store the element of picture element matrix corresponding to a described n image data;
Wherein, the element of the picture element matrix that the first image data of a described n image data is corresponding stores according to row storage mode, in every two adjacent image datas of a described n image data, take in the element of picture element matrix corresponding to the larger image data of memory space and delete the element taken after the element of picture element matrix corresponding to the less image data of memory space and store according to row storage mode.
4. an image processing method, is characterized in that, described method comprises:
Send picture to server and check request, described picture checks that request comprises the mark of Target Photo, and described Target Photo is original image or thumbnail pictures, and described thumbnail pictures is obtain after carrying out breviary process to described original image;
Receive the image data of the described Target Photo that described server sends, the image data of described Target Photo is that described server is from the memory space that the image data of original image takies, obtain in the memory location of the mark correspondence of described Target Photo, wherein, in the memory space that the nested image data being stored in described original image of the image data of arbitrary thumbnail pictures takies;
The image data of described Target Photo is processed, obtains described Target Photo.
5. method according to claim 4, is characterized in that,
The image data of described original image is characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of described original image is corresponding and described original image, the value of each element indicates the brightness value of the pixel of element correspondence position described in described original image, the image data of described Target Photo comprises at least one element in picture element matrix corresponding to the image data of described original image
The described image data to described Target Photo processes, and obtains Target Photo, comprising:
The element comprised by the image data of described Target Photo is gone to extract according to the position in the picture element matrix that the image data of described original image is corresponding and is obtained picture element matrix corresponding to the image data of described Target Photo;
The picture element matrix corresponding according to the image data of described Target Photo determines described Target Photo.
6. an image processing method, is characterized in that, described method comprises:
Receive picture and check instruction, described picture checks that instruction comprises the mark of Target Photo, and described Target Photo is original image or thumbnail pictures, and described thumbnail pictures is obtain after carrying out breviary process to described original image;
From the memory space that the image data of original image takies, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of described Target Photo, wherein, in the memory space that the nested image data being stored in described original image of the image data of arbitrary thumbnail pictures takies;
The image data of described Target Photo is processed, obtains described Target Photo.
7. method according to claim 6, is characterized in that, described method also comprises:
The image data of at least one thumbnail pictures is determined according to the image data of described original image;
N the image data formed by the image data of the image data of at least one thumbnail pictures described and described original image is according to the size ascending sort taken up room, and described n is more than or equal to 2;
According to the order of described sequence, a described n image data is stored in the memory space that the image data of described original image takies, wherein, in every two adjacent image datas of a described n image data, take the less image data of memory space to be nested in and to take in the larger image data of memory space, the mark of the corresponding image data in the memory location of each image data in a described n image data.
8. method according to claim 7, it is characterized in that, described n image data any picture data are characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of described original image is corresponding and described original image, the value of each element indicates the brightness value of the pixel of element correspondence position described in described original image
The described image data according to described original image determines the image data of at least one thumbnail pictures, comprising:
Picture element matrix corresponding to the image data of at least one thumbnail pictures is obtained by the element extracted in picture element matrix corresponding to the image data of original image;
The described order according to described sequence, stores a described n image data, comprising in the memory space that the image data of described original image takies:
According to the order of described sequence, in the memory space that the image data of described original image takies, store the element of picture element matrix corresponding to a described n image data;
Wherein, the element of the picture element matrix that the first image data of a described n image data is corresponding stores according to row storage mode, in every two adjacent image datas of a described n image data, take in the element of picture element matrix corresponding to the larger image data of memory space and delete the element taken after the element of picture element matrix corresponding to the less image data of memory space and store according to row storage mode.
9. method according to claim 8, is characterized in that, the image data of described Target Photo comprises at least one element in picture element matrix corresponding to the image data of described original image,
The described image data to described Target Photo processes, and obtains Target Photo, comprising:
The element comprised by the image data of described Target Photo is gone to extract according to the position in the picture element matrix that the image data of described original image is corresponding and is obtained picture element matrix corresponding to the image data of described Target Photo;
The picture element matrix corresponding according to the image data of described Target Photo determines described Target Photo.
10. a picture processing device, is characterized in that, described device comprises:
Receiver module, request checked by the picture being configured to receiving terminal transmission, described picture checks that request comprises the mark of Target Photo, and described Target Photo is original image or thumbnail pictures, and described thumbnail pictures is obtain after carrying out breviary process to described original image;
Acquisition module, be configured to the memory space taken from the image data of original image, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of described Target Photo, wherein, in the memory space that the nested image data being stored in described original image of the image data of arbitrary thumbnail pictures takies;
Sending module, is configured to the image data of described Target Photo to be sent to described terminal, and described terminal is used for processing the image data of described Target Photo, obtains described Target Photo.
11. devices according to claim 10, is characterized in that, described device also comprises:
Determination module, is configured to the image data determining at least one thumbnail pictures according to the image data of described original image;
Order module, n the image data being configured to the image data of the image data of at least one thumbnail pictures described and described original image to form is according to the size ascending sort taken up room, and described n is more than or equal to 2;
Memory module, be configured to the order according to described sequence, a described n image data is stored in the memory space that the image data of described original image takies, wherein, in every two adjacent image datas of a described n image data, take the less image data of memory space to be nested in and to take in the larger image data of memory space, the mark of the corresponding image data in the memory location of each image data in a described n image data.
12. devices according to claim 11, it is characterized in that, described n image data any picture data are characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of described original image is corresponding and described original image, the value of each element indicates the brightness value of the pixel of element correspondence position described in described original image
Described determination module, is configured to obtain picture element matrix corresponding to the image data of at least one thumbnail pictures by the element extracted in picture element matrix corresponding to the image data of original image;
Described memory module, is configured to the order according to described sequence, stores the element of picture element matrix corresponding to a described n image data in the memory space that the image data of described original image takies;
Wherein, the element of the picture element matrix that the first image data of a described n image data is corresponding stores according to row storage mode, in every two adjacent image datas of a described n image data, take in the element of picture element matrix corresponding to the larger image data of memory space and delete the element taken after the element of picture element matrix corresponding to the less image data of memory space and store according to row storage mode.
13. 1 kinds of picture processing devices, is characterized in that, described device comprises:
Sending module, be configured to send picture to server and check request, described picture checks that request comprises the mark of Target Photo, and described Target Photo is original image or thumbnail pictures, and described thumbnail pictures is obtain after carrying out breviary process to described original image;
Receiver module, be configured to the image data receiving the described Target Photo that described server sends, the image data of described Target Photo is that described server is from the memory space that the image data of original image takies, obtain in the memory location of the mark correspondence of described Target Photo, wherein, in the memory space that the nested image data being stored in described original image of the image data of arbitrary thumbnail pictures takies;
Processing module, is configured to process the image data of described Target Photo, obtains described Target Photo.
14. devices according to claim 13, is characterized in that,
The image data of described original image is characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of described original image is corresponding and described original image, the value of each element indicates the brightness value of the pixel of element correspondence position described in described original image, the image data of described Target Photo comprises at least one element in picture element matrix corresponding to the image data of described original image
Described processing module, is configured to:
The element comprised by the image data of described Target Photo is gone to extract according to the position in the picture element matrix that the image data of described original image is corresponding and is obtained picture element matrix corresponding to the image data of described Target Photo;
The picture element matrix corresponding according to the image data of described Target Photo determines described Target Photo.
15. 1 kinds of picture processing devices, is characterized in that, described device comprises:
Receiver module, be configured to receive picture and check instruction, described picture checks that instruction comprises the mark of Target Photo, and described Target Photo is original image or thumbnail pictures, and described thumbnail pictures is obtain after carrying out breviary process to described original image;
Acquisition module, be configured to the memory space taken from the image data of original image, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of described Target Photo, wherein, in the memory space that the nested image data being stored in described original image of the image data of arbitrary thumbnail pictures takies;
Processing module, is configured to process the image data of described Target Photo, obtains described Target Photo.
16. devices according to claim 15, is characterized in that, described device also comprises:
Determination module, is configured to the image data determining at least one thumbnail pictures according to the image data of described original image;
Order module, n the image data being configured to the image data of the image data of at least one thumbnail pictures described and described original image to form is according to the size ascending sort taken up room, and described n is more than or equal to 2;
Memory module, be configured to the order according to described sequence, a described n image data is stored in the memory space that the image data of described original image takies, wherein, in every two adjacent image datas of a described n image data, take the less image data of memory space to be nested in and to take in the larger image data of memory space, the mark of the corresponding image data in the memory location of each image data in a described n image data.
17. devices according to claim 16, it is characterized in that, described n image data any picture data are characterized by picture element matrix, the position one_to_one corresponding of pixel in the position of the element in the picture element matrix that the image data of described original image is corresponding and described original image, the value of each element indicates the brightness value of the pixel of element correspondence position described in described original image
Described determination module, is configured to obtain picture element matrix corresponding to the image data of at least one thumbnail pictures by the element extracted in picture element matrix corresponding to the image data of original image;
Described memory module, is configured to the order according to described sequence, stores the element of picture element matrix corresponding to a described n image data in the memory space that the image data of described original image takies;
Wherein, the element of the picture element matrix that the first image data of a described n image data is corresponding stores according to row storage mode, in every two adjacent image datas of a described n image data, take in the element of picture element matrix corresponding to the larger image data of memory space and delete the element taken after the element of picture element matrix corresponding to the less image data of memory space and store according to row storage mode.
18. devices according to claim 17, is characterized in that, the image data of described Target Photo comprises at least one element in picture element matrix corresponding to the image data of described original image,
Described processing module, is configured to:
The element comprised by the image data of described Target Photo is gone to extract according to the position in the picture element matrix that the image data of described original image is corresponding and is obtained picture element matrix corresponding to the image data of described Target Photo;
The picture element matrix corresponding according to the image data of described Target Photo determines described Target Photo.
19. 1 kinds of picture processing devices, is characterized in that, described device comprises:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
Request checked by the picture that receiving terminal sends, and described picture checks that request comprises the mark of Target Photo, and described Target Photo is original image or thumbnail pictures, and described thumbnail pictures is obtain after carrying out breviary process to described original image;
From the memory space that the image data of original image takies, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of described Target Photo, wherein, in the memory space that the nested image data being stored in described original image of the image data of arbitrary thumbnail pictures takies;
The image data of described Target Photo is sent to described terminal, and described terminal is used for processing the image data of described Target Photo, obtains described Target Photo.
20. 1 kinds of picture processing devices, is characterized in that, described device comprises:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
Send picture to server and check request, described picture checks that request comprises the mark of Target Photo, and described Target Photo is original image or thumbnail pictures, and described thumbnail pictures is obtain after carrying out breviary process to described original image;
Receive the image data of the described Target Photo that described server sends, the image data of described Target Photo is that described server is from the memory space that the image data of original image takies, obtain in the memory location of the mark correspondence of described Target Photo, wherein, in the memory space that the nested image data being stored in described original image of the image data of arbitrary thumbnail pictures takies;
The image data of described Target Photo is processed, obtains described Target Photo.
21. 1 kinds of picture processing devices, is characterized in that, described device comprises:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
Receive picture and check instruction, described picture checks that instruction comprises the mark of Target Photo, and described Target Photo is original image or thumbnail pictures, and described thumbnail pictures is obtain after carrying out breviary process to described original image;
From the memory space that the image data of original image takies, the image data of image data as Target Photo is obtained in the memory location of the mark correspondence of described Target Photo, wherein, in the memory space that the nested image data being stored in described original image of the image data of arbitrary thumbnail pictures takies;
The image data of described Target Photo is processed, obtains described Target Photo.
22. 1 kinds of picture processing systems, is characterized in that, comprising: server and terminal;
Described server comprises the arbitrary described picture processing device of claim 10 to 12;
Described terminal comprises the picture processing device described in claim 13 or 14.
CN201510424614.7A 2015-07-17 2015-07-17 Image processing method, apparatus and system Active CN105100826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510424614.7A CN105100826B (en) 2015-07-17 2015-07-17 Image processing method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510424614.7A CN105100826B (en) 2015-07-17 2015-07-17 Image processing method, apparatus and system

Publications (2)

Publication Number Publication Date
CN105100826A true CN105100826A (en) 2015-11-25
CN105100826B CN105100826B (en) 2018-11-23

Family

ID=54580227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510424614.7A Active CN105100826B (en) 2015-07-17 2015-07-17 Image processing method, apparatus and system

Country Status (1)

Country Link
CN (1) CN105100826B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611341A (en) * 2015-12-21 2016-05-25 小米科技有限责任公司 Image transmission method, device and system
CN109905466A (en) * 2019-01-29 2019-06-18 广东淘家科技有限公司 Picture upload, browsing method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100183240A1 (en) * 2008-12-31 2010-07-22 Masaki Hiraga Image processing method and imaging apparatus
CN102684986A (en) * 2011-04-14 2012-09-19 天脉聚源(北京)传媒科技有限公司 Method and system for displaying pictures at terminal
US20120268465A1 (en) * 2009-10-26 2012-10-25 Sony Computer Entertainment Inc. Image file generation device, image processing device, image file generation method, image processing method, and data structure for image files
CN103164452A (en) * 2011-12-15 2013-06-19 深圳市腾讯计算机系统有限公司 Method, device and system of picture storage and reading
CN104239435A (en) * 2014-08-29 2014-12-24 四川长虹电器股份有限公司 Distributed picture caching method based on picture thumbnail processing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100183240A1 (en) * 2008-12-31 2010-07-22 Masaki Hiraga Image processing method and imaging apparatus
US20120268465A1 (en) * 2009-10-26 2012-10-25 Sony Computer Entertainment Inc. Image file generation device, image processing device, image file generation method, image processing method, and data structure for image files
CN102684986A (en) * 2011-04-14 2012-09-19 天脉聚源(北京)传媒科技有限公司 Method and system for displaying pictures at terminal
CN103164452A (en) * 2011-12-15 2013-06-19 深圳市腾讯计算机系统有限公司 Method, device and system of picture storage and reading
CN104239435A (en) * 2014-08-29 2014-12-24 四川长虹电器股份有限公司 Distributed picture caching method based on picture thumbnail processing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611341A (en) * 2015-12-21 2016-05-25 小米科技有限责任公司 Image transmission method, device and system
CN109905466A (en) * 2019-01-29 2019-06-18 广东淘家科技有限公司 Picture upload, browsing method, device and storage medium

Also Published As

Publication number Publication date
CN105100826B (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN112001321B (en) Network training method, pedestrian re-identification method, device, electronic equipment and storage medium
CN103631768B (en) Collaboration data editor and processing system
CN105489194B (en) A kind of method and apparatus of display image
US9565146B2 (en) Apparatus and method for controlling messenger in terminal
CN106331761A (en) Live broadcast list display method and apparatuses
CN106778773A (en) The localization method and device of object in picture
CN104216630A (en) Interface sharing method and interface sharing device
CN104918107A (en) Video file identification processing method and device
CN108024073B (en) Video editing method and device and intelligent mobile terminal
EP4191513A1 (en) Image processing method and apparatus, device and storage medium
CN105335198A (en) Font addition method and device
CN105094539B (en) Reference information display methods and device
CN104123720A (en) Image repositioning method, device and terminal
WO2017020671A1 (en) Video interaction method and apparatus, and video source device
CN104935613A (en) Scene synchronization method, terminal, server and system
CN110086998B (en) Shooting method and terminal
CN105205153A (en) File storage method and device
CN109669710B (en) Note processing method and terminal
CN109587188B (en) Method and device for determining relative position relationship between terminal devices and electronic device
JP2016535527A (en) Call transfer method, apparatus and terminal, program, and recording medium
CN105100826A (en) Picture processing method, apparatus and system
CN105611341A (en) Image transmission method, device and system
CN106997356A (en) The sorting technique and device of picture
CN106569686B (en) Method for controlling screen capture by rolling ball and related intelligent equipment
CN113014960B (en) Method, device and storage medium for online video production

Legal Events

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