CN104660899A - Picture processing method - Google Patents

Picture processing method Download PDF

Info

Publication number
CN104660899A
CN104660899A CN201410514000.3A CN201410514000A CN104660899A CN 104660899 A CN104660899 A CN 104660899A CN 201410514000 A CN201410514000 A CN 201410514000A CN 104660899 A CN104660899 A CN 104660899A
Authority
CN
China
Prior art keywords
picture
body region
resolution
equipment
processing method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410514000.3A
Other languages
Chinese (zh)
Inventor
金鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huaqin Telecom Technology Co Ltd
Original Assignee
Huaqin Telecom Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huaqin Telecom Technology Co Ltd filed Critical Huaqin Telecom Technology Co Ltd
Priority to CN201410514000.3A priority Critical patent/CN104660899A/en
Publication of CN104660899A publication Critical patent/CN104660899A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an picture processing method which comprises the following steps: 1, receiving an external instruction input by a user through a micro processing controller of equipment; 2, detecting whether the equipment is set to be in a picture synthesis processing mode or not through the micro processing controller of the equipment, and when the detection result shows that the equipment is already set to be in the picture synthesis processing mode, executing the step 3; 3, starting a camera to work, generating a first picture with first resolution and a second picture with second resolution by taking pictures once, and storing both the first picture and the second picture in a buffer storage area; 4, synthesizing the first picture and the second picture so as to form a third picture, and storing the third picture in a non-buffer storage area; 5, deleting the first picture and the second picture in the buffer storage area. Pictures generated by using the method can both meet the demands that a user observes detailed parts of a main body area, and meet the purpose that the storage space is saved.

Description

The processing method of photo
Technical field
The present invention relates to electronic communication field, particularly relate to a kind of processing method of photo.
Background technology
Along with the development of electronic technology, digital filming technology obtains to be popularized widely, and the equipment such as digital camera, mobile phone, panel computer have the configuration of digital filming.In prior art, user is by shooting, and in the photo obtained, it is consistent for often opening the resolution of different piece in photo, and the pixel size often opening different piece in photo accordingly is also consistent.This just causes, if when needing to see certain detail section clearly in a photo, need to improve unified for the resolution of whole photo, the pixel size of this photo is also thereupon unified accordingly improves.Like this, be only used to see a local detail clearly, but cause larger storage pressure to electronic equipment, cause the waste of device resource, also affect the performance of equipment.
Summary of the invention
The object of this invention is to provide a kind of processing method of photo.
The processing method of photo provided by the present invention, comprises the steps,
The microprocessor controller of S1 equipment receives the external command of user's input;
The microprocessor controller of S2 equipment detects this equipment and whether has been set to photo synthesis tupe; When testing result has been set to photo synthesis tupe for this equipment, perform step S3;
S3 starts camera work, has the first picture of first resolution and has the second picture of second resolution, and described first picture and described second picture are all stored in buffer storage by once taking to generate;
First picture and second picture are carried out synthesis process by S4, form the 3rd picture, and are saved in non-buffered memory block by the 3rd picture;
S5 deletes described first picture in described buffer storage and second picture.
The method of picture processing provided by the present invention, because the 3rd picture is by having the first picture of first resolution and having the second picture synthesis of second resolution, the definition case of the 3rd picture can be configured according to the demand of user in building-up process, breach in prior art the present situation of once taking and can only generate the same photo with same resolution, check to picture follow-up, Production and application both provides more space.The picture that the method generates both can meet the demand that user observes its body region detail section, its pixel size can be met again relatively little, save the object of memory space, improve the disposal ability of terminal equipment to picture, save device resource, improve equipment performance.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the processing method of the photo described in the embodiment of the present invention one;
The schematic flow sheet of process is synthesized in the processing method of Fig. 2 for the photo described in the embodiment of the present invention one;
Fig. 3 is the effect schematic diagram of first picture with higher first resolution;
Fig. 4 is the effect schematic diagram of the second picture with lower second resolution;
Fig. 5 is the first body region effect schematic diagram intercepted out from the first picture;
Fig. 6 is the 3rd picture effect schematic diagram after synthesis.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, the present embodiment provides a kind of processing method of photo, comprises the steps:
The microprocessor controller of S1 equipment receives the external command of user's input.Described external command, refers to that user triggers by pressing keys, button the signal of telecommunication produced, and when microprocessor controller receives this signal of telecommunication, learns that user operation starts shoot function.
The microprocessor controller of S2 equipment detects this equipment and whether has been set to photo synthesis tupe; When testing result has been set to photo synthesis tupe for this equipment, perform step S3;
S3 starts camera work, there is the first picture of first resolution (M1) by once taking generation and there is the second picture of second resolution (M2), and described first picture and described second picture are all stored in buffer storage; Once take described in it will be understood by those skilled in the art that, refer to camera lens exposure once; Described buffer storage can be the special cache memory (Cache Memory) arranged in terminal equipment; Also can be in mobile terminal memory device, hew out one piece be exclusively used in the storage area storing above-mentioned first picture and second picture.
First picture and second picture are carried out synthesis process by S4, form the 3rd picture, and are saved in non-buffered memory block by the 3rd picture;
S5 deletes described first picture in described buffer storage and second picture.
It will be appreciated by those skilled in the art that, because the 3rd picture is by having the first picture of first resolution and having the second picture synthesis of second resolution, the definition case of the 3rd picture can be configured according to the demand of user in building-up process, breach in prior art the present situation of once taking and can only generate the same photo with same resolution, check to picture follow-up, Production and application both provides more space.
Described first resolution (M1) is higher than second resolution (M2).It will be appreciated by those skilled in the art that, when first resolution (M1) differs larger with second resolution (M2), the body region of the 3rd picture of its synthesis and non-body region poor visual effect different comparatively large, but the effect of saving memory space preferably can be played; When first resolution (M1) differs less with second resolution (M2) body region of the 3rd picture that it synthesizes and non-body region poor visual effect different less, but the effect of the saving memory space that can play is poor.Therefore, first resolution and second resolution should be set according to the demand of user.Following form is the common resolution list of camera, and the first resolution described in the present embodiment and second resolution differ two gradients, and described first resolution is 4608dpi × 2592dpi, and described second resolution is 2304dpi × 1728dpi.
As shown in Figure 2, the first picture and second picture are carried out synthesis process by described S4, form the 3rd picture, comprising:
S41 arranges the first body region and the first non-body region in described first picture, and the second body region and the second non-body region are set in second picture, described first body region and described second body region have identical picture material, and described first non-body region and described second non-body region have identical picture material; It will be appreciated by those skilled in the art that, described first body region and arranging of the second body region can adopt the manual mode arranged, as when the first picture and second picture are still life picture, manually can arrange a region still life is included in this square region, and background is positioned at outside this region; Described region can be square, circular, triangle or other are irregularly shaped.Described first body region and the second body region the mode that can also adopt Lookup protocol is set, as when the first picture and second picture comprise personage, automatically identify that human face region is also set to the first body region and the second body region by face.The technology of described automatic identification face can adopt technological means of the prior art, no longer carries out tired stating here.
S42 intercepts out the first body region from the first picture, and from second picture, intercept out the second non-body region;
First body region and the second non-body region are synthesized the 3rd picture by S43.
It will be appreciated by those skilled in the art that, there is its pixel size of high-resolution picture larger, its pixel size of picture with low resolution is less, and the first pixel size (X1) that therefore the first picture has is greater than the second pixel size (X2) that second picture has.The 3rd picture synthesized by the body region of the first picture and the non-body region of second picture, the resolution of its body region is first resolution (M1), the resolution of its non-body region is second resolution (M2), its pixel size (X3) is between the first pixel size and the second pixel size accordingly, i.e. X1 > X3 > X2.It can thus be appreciated that the 3rd picture both can meet the demand that user observes its body region detail section, its pixel size can be met again relatively little, save the object of memory space, improve the disposal ability of terminal equipment to picture, save device resource, improve equipment performance.
First body region and the second non-body region are synthesized the 3rd picture by described S43, comprising:
Described second non-body region, according to the difference of first resolution and second resolution, is carried out amplification process by S431; Described amplification, refers to linear method.The multiple amplified is corresponding with the difference of first resolution and second resolution, and first resolution as set forth in the present embodiment and second resolution differ two gradients, then by the second non-body region Linear Amplifer 2 times.
S432 docks amplifying the second non-body region after processing with the first body region, thus forms the 3rd picture.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (6)

1. a processing method for photo, is characterized in that: comprise the steps,
The microprocessor controller of S1 equipment receives the external command of user's input;
The microprocessor controller of S2 equipment detects this equipment and whether has been set to photo synthesis tupe; When testing result has been set to photo synthesis tupe for this equipment, perform step S3;
S3 starts camera work, has the first picture of first resolution and has the second picture of second resolution, and described first picture and described second picture are all stored in buffer storage by once taking to generate;
First picture and second picture are carried out synthesis process by S4, form the 3rd picture, and are saved in non-buffered memory block by the 3rd picture;
S5 deletes described first picture in described buffer storage and second picture.
2. processing method as claimed in claim 1, is characterized in that: described first resolution is higher than second resolution.
3. processing method as claimed in claim 2, is characterized in that: the first picture and second picture are carried out synthesis process by described S4, form the 3rd picture, comprise,
S41 arranges the first body region and the first non-body region in described first picture, and the second body region and the second non-body region are set in second picture, described first body region and described second body region have identical picture material, and described first non-body region and described second non-body region have identical picture material;
S42 intercepts out the first body region from the first picture, and from second picture, intercept out the second non-body region;
First body region and the second non-body region are synthesized the 3rd picture by S43.
4. processing method as claimed in claim 3, is characterized in that: the first body region and the second non-body region are synthesized the 3rd picture by described S43, comprise,
Described second non-body region, according to the difference of first resolution and second resolution, is carried out amplification process by S431;
S432 docks amplifying the second non-body region after processing with the first body region, thus forms the 3rd picture.
5. the processing method according to any one of Claims 1-4, is characterized in that: described first resolution is 4608dpi × 2592dpi, and described second resolution is 2304dpi × 1728dpi.
6. processing method as claimed in claim 4, is characterized in that: described amplification is treated to Linear Amplifer 2 times.
CN201410514000.3A 2014-09-29 2014-09-29 Picture processing method Pending CN104660899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410514000.3A CN104660899A (en) 2014-09-29 2014-09-29 Picture processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410514000.3A CN104660899A (en) 2014-09-29 2014-09-29 Picture processing method

Publications (1)

Publication Number Publication Date
CN104660899A true CN104660899A (en) 2015-05-27

Family

ID=53251556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410514000.3A Pending CN104660899A (en) 2014-09-29 2014-09-29 Picture processing method

Country Status (1)

Country Link
CN (1) CN104660899A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578028A (en) * 2015-07-28 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Photographing method and terminal
CN107071333A (en) * 2017-05-19 2017-08-18 深圳天珑无线科技有限公司 Method of video image processing and video image processing device
CN113141461A (en) * 2021-04-12 2021-07-20 维沃移动通信(杭州)有限公司 Shooting method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100149338A1 (en) * 2008-12-16 2010-06-17 Mamigo Inc Method and apparatus for multi-user user-specific scene visualization
CN103065292A (en) * 2012-12-26 2013-04-24 武汉大学 Face super resolution rebuilding method based on principal component sparse expression
CN103608839A (en) * 2011-03-28 2014-02-26 皇家飞利浦有限公司 Contrast-dependent resolution image
CN103888689A (en) * 2014-03-13 2014-06-25 北京智谷睿拓技术服务有限公司 Image collection method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100149338A1 (en) * 2008-12-16 2010-06-17 Mamigo Inc Method and apparatus for multi-user user-specific scene visualization
CN103608839A (en) * 2011-03-28 2014-02-26 皇家飞利浦有限公司 Contrast-dependent resolution image
CN103065292A (en) * 2012-12-26 2013-04-24 武汉大学 Face super resolution rebuilding method based on principal component sparse expression
CN103888689A (en) * 2014-03-13 2014-06-25 北京智谷睿拓技术服务有限公司 Image collection method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578028A (en) * 2015-07-28 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Photographing method and terminal
WO2017016069A1 (en) * 2015-07-28 2017-02-02 宇龙计算机通信科技(深圳)有限公司 Photographing method and terminal
CN107071333A (en) * 2017-05-19 2017-08-18 深圳天珑无线科技有限公司 Method of video image processing and video image processing device
CN113141461A (en) * 2021-04-12 2021-07-20 维沃移动通信(杭州)有限公司 Shooting method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN110196665B (en) UI control background setting method and device and terminal
CN104333701A (en) Method and device for displaying camera preview pictures as well as terminal
CN110930336B (en) Image processing method and device, electronic equipment and storage medium
US20140192137A1 (en) Video communication method and electronic device for processing method thereof
CN104135609A (en) A method and a device for assisting in photographing, and a terminal
EP3687157A1 (en) Method for capturing images and electronic device
CN105704369A (en) Information-processing method and device, and electronic device
CN106657757B (en) Image preview method and device for camera application and camera application system
US20210158577A1 (en) Method for Adding Special Effect to Video, Electronic Device and Storage Medium
CN103024200B (en) Be applied to image pickup method and the filming apparatus of intelligent terminal
CN111078170B (en) Display control method, display control device, and computer-readable storage medium
US20200059597A1 (en) Shooting method and terminal
CN104660899A (en) Picture processing method
CN103870197A (en) Method and device for processing picture
CN105426068A (en) Photographing control system and photographing method
KR20150126192A (en) Electric apparatus and method for taking a photogragh in electric apparatus
CN110876014B (en) Image processing method and device, electronic device and storage medium
CN106127720B (en) A kind of method and apparatus shooting enlarged drawing
CN105516608A (en) Selfie stick, photographing device matched with selfie stick and method for photographing images
CN104104874A (en) Orbit shooting method and shooting method and device of object motion trails
CN108124098B (en) Electronic device and method for auto-focusing
CN106569666B (en) Mask processing control device and method and terminal
CN203180982U (en) Terminal equipment
CN112887607B (en) Shooting prompting method and device
KR20140130887A (en) Method for generating thumbnail image and an electronic device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 201203 Shanghai city Pudong New Area Zhangjiang Keyuan Road No. 399 Building No. 1

Applicant after: HUAQIN TELECOM TECHNOLOGY CO., LTD.

Address before: 201203 Shanghai city Pudong New Area Zhangjiang Keyuan Road No. 399 Building No. 1

Applicant before: Shanghai Huaqin Communication Technology Co., Ltd.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150527