CN104469160A - Image obtaining and processing method, system and terminal - Google Patents

Image obtaining and processing method, system and terminal Download PDF

Info

Publication number
CN104469160A
CN104469160A CN201410803026.XA CN201410803026A CN104469160A CN 104469160 A CN104469160 A CN 104469160A CN 201410803026 A CN201410803026 A CN 201410803026A CN 104469160 A CN104469160 A CN 104469160A
Authority
CN
China
Prior art keywords
image
focusing
picture frame
identified region
acquisition
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
CN201410803026.XA
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201410803026.XA priority Critical patent/CN104469160A/en
Priority to PCT/CN2014/096003 priority patent/WO2016095285A1/en
Publication of CN104469160A publication Critical patent/CN104469160A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/633Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
    • H04N23/635Region indicators; Field of view indicators

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses an image obtaining and processing method. The image obtaining and processing method comprises the steps that multiple image frames at different focus points in the same scene are obtained with the same camera; each image frame is divided into multiple identification regions, and the focusing statics value of each image frame and the focusing statics value of each identification region are stored, so that an multiple-image-object file is formed; the multiple-image-object file is opened so as to scan the images, a display instruction is received, action is conducted on the identification regions of the scanned images according to the display instruction, and the identification region with the largest focusing statics value in the multiple image frames is displayed. The invention further provides an image obtaining and processing system and terminal correspondingly. By the adoption of the image obtaining and processing method, system and terminal, the problem that in the prior art, when an image with a good focusing effect is obtained, multiple cameras are needed can be solved.

Description

A kind of acquisition of image and processing method, system and terminal
Technical field
The present invention relates to field of terminal technology, in particular to a kind of image acquisition and processing method, system and terminal.
Background technology
At present, the electronic products such as mobile phone, panel computer, digital camera all have camera model, can take.Further, in order to meet user to requirements such as the readabilitys of the image that shooting obtains.The camera model with zoom function is widely used in above-mentioned electronic product.
In prior art, in order to obtain image clearly, in electronic product, be usually equipped with multiple camera, as the camera of array.When taking, multiple camera carries out taking thus the multiple images obtained for Same Scene simultaneously.Then, adopt the multiple images of software algorithm to the described Same Scene obtained to process, synthesize the photo of an opening and closing reason focus effects.In the methods described above, need multiple camera to support, and the operand of software algorithm is large.
Therefore, be necessary acquisition and processing method, system and terminal that a kind of image is provided, single camera can be adopted can to obtain the good image of focus effects, promote the experience of user.
Summary of the invention
The invention provides a kind of acquisition methods of image, system and terminal, to solve in prior art the problem needing multiple camera to obtain the good image of focus effects.
The acquisition of image and a processing method, comprise step:
Same camera is adopted to obtain the multiple picture frames of Same Scene at different focus point;
Each described picture frame is divided into multiple identified region, and preserves the focusing statistical value of each picture frame and each identified region, form image object file more than; And
Open described many image objects file with image browsing, and receive idsplay order, act on the identified region of image browsing according to idsplay order, show the identified region of the picture frame that corresponding identified region focusing statistical value is maximum in multiple picture frame.
Wherein, described multiple picture frame adopts same camera to obtain continuously.
Wherein, multiple fixing focusing is set between distant view focusing and microspur focusing, when described camera is taken, take respectively in distant view focusing, microspur focusing and the fixing focusing between distant view focusing and microspur focusing, thus obtain the picture frame of multiple different focus point.
Wherein, adopt image processing techniques that each picture frame is divided into multiple identified region, and obtain the focusing statistical value of each identified region of each picture frame.
Wherein, described idsplay order is touch control gesture, when image browsing, clicks the identified region of image browsing, then judges that described idsplay order acts on the identified region of click.
The acquisition of image and a treatment system, it comprises:
Taking module, obtains the multiple picture frames of Same Scene at different focus point for adopting same camera;
Processing module, for each described picture frame is divided into multiple identified region, and obtains the focusing statistical value of each identified region of each picture frame;
Preserving module, for preserving the focusing statistical value of each picture frame and each identified region, forming image object file more than;
Display module, for opening described many image objects file with image browsing, and receive idsplay order, act on the identified region of image browsing according to idsplay order, show the identified region of the picture frame that corresponding identified region focusing statistical value is maximum in multiple picture frame.
Wherein, described taking module control adopts same camera to obtain described multiple picture frame continuously.
Wherein, multiple fixing focusing is set between distant view focusing and microspur focusing, when described camera is taken, take respectively in distant view focusing, microspur focusing and the fixing focusing between distant view focusing and microspur focusing, thus obtain the picture frame of multiple different focus point.
Wherein, described processing module adopts image processing techniques that each picture frame is divided into multiple identified region, and obtains the focusing statistical value of each identified region of each picture frame.
A kind of terminal, comprises acquisition and the treatment system of described image.
The acquisition of the image that the technical program provides and processing method and system, by when photographic images, continuous print obtains multiple picture frames of different focus point to Same Scene, each picture frame is divided into multiple identified region, obtain the focusing statistical value of each identified region of each picture frame, and store the focusing statistical value of multiple identified regions of described multiple picture frame and each picture frame.When image browsing, according to the region of idsplay order effect, the identified region that in how each picture frame, corresponding identified region focusing statistical value is maximum can be shown.Thus each identified region of image can be made all can to show clearly.And, when taking, without the need to focusing, can snapshots be realized.
Accompanying drawing explanation
Fig. 1 is the acquisition of the image that first embodiment of the invention provides and the flow chart of processing method;
Fig. 2 is the acquisition of the image that second embodiment of the invention provides and the structured flowchart for the treatment of system.
Embodiment
For further setting forth the present invention for the technological means reaching predetermined object and take and effect, below in conjunction with accompanying drawing and preferred embodiment, the present invention is described in detail as after.
Refer to Fig. 1, the first execution mode of the technical program provides a kind of image acquisition and processing method, and described image acquiring method comprises step:
S101, adopts same camera to obtain the multiple picture frames of Same Scene at different focus point.
In this step, independent camera can be controlled and take in different focusings, thus obtain the picture frame of different focus point.Concrete, multiple fixing focusing is set between distant view focusing and microspur focusing, when camera is taken, take respectively in distant view focusing, microspur focusing and the fixing focusing between distant view focusing and microspur focusing, thus the picture frame of different levels can be obtained.Such as, when distant view focusing is 10 meters, microspur focusing is 10 centimetres, multiple fixing focusings such as 5 meters, 3 meters, 1 meter and 50 centimetres then can be set, when taking, according to from source near or near to far taking respectively in above-mentioned each focusing respectively, thus the picture frame of acquisition different focus point.In this step, the movement that camera carries out focusing automatically can be controlled, thus picture frame can be obtained according to the focusing of setting.
S102, is divided into multiple identified region by each described picture frame, and preserves the focusing statistical value of each picture frame and each identified region, forms image object file more than.
In present embodiment, adopt image processing techniques (ISP) to process each picture frame that shooting obtains, this step can specifically comprise:
The first step, is divided into multiple identified region by each picture frame.
Each picture frame is divided into some identified regions.Such as, each picture frame is divided into A*B identified region.When carrying out the segmentation of identified region, the division methods of multiple two field picture is identical, thus makes the region in each picture frame mutually corresponding.
Second step, obtains the focusing statistical value that each picture frame obtains each identified region.
In this step, picture signal process (ISP) can be adopted to add up the size of the focusing statistical value (Focus Value) of each identified region of each picture frame.
3rd step, preserves the focusing statistical value of each identified region of each picture frame and each picture frame, forms image object file more than.
In this step, focusing statistical value corresponding for each identified region of each picture frame can be kept in the image file of many image objects (MPO) form.Many image objects picture format is a kind of file format that can store multiple images.Wherein, each independent picture frame has a complete region for depositing the Exif information of this picture frame, thumbnail information, MP extensions information and image jpeg data.Need the image preserved directly to be stored in Individual Image data area for every frame, the FV value information in A*B region of each picture frame is stored in APP2MP Extension extend information.The index information of multiple picture frames will be placed on the MP Extension part of first picture frame, uses MP Index IFD to represent.
S103, opens described many image objects file with image browsing, and receives idsplay order, act on the identified region of image browsing according to idsplay order, shows the identified region of the picture frame that corresponding identified region focusing statistical value is maximum in multiple picture frame.
This step can specifically comprise:
The first step, opens described many image objects file with image browsing.
When opening described many image objects file, first can show the image of first picture frame in described many image objects file, and the focus statistics value of each identified region of each picture frame can be read.
Second step, receives idsplay order, and identifies that idsplay order acts on the identified region of image browsing.
Described idsplay order can be touch control gesture, as when image browsing, clicks certain identified region of image browsing, then can judge that described idsplay order acts on the identified region of click.
3rd step, obtains and shows the corresponding identified region in the maximum picture frame of identified region focusing statistical value of corresponding idsplay order effect in described many image objects file.
When receiving idsplay order, can according to the identified region of shown idsplay order effect, according to the focusing statistical value of the corresponding identified region of each picture frame read, obtain the picture frame that in each picture frame, corresponding identified region focusing statistical value is maximum, and show the corresponding identified region of described picture frame.
Like this, by applying idsplay order to different identified regions, can all show in each picture frame the maximum identified region of statistical value of focusing when showing each identified region.Thus user is when image browsing, and each identified region all can show clearly.That is, when browsing photo, no matter the distant view of photo or close shot, can both show clearly.
The acquisition of the image that the technical program provides and processing method, by when photographic images, continuous print obtains multiple picture frames of different focus point to Same Scene, each picture frame is divided into multiple identified region, obtain the focusing statistical value of each identified region of each picture frame, and store the focusing statistical value of multiple identified regions of described multiple picture frame and each picture frame.When image browsing, according to the region of idsplay order effect, the identified region that in how each picture frame, corresponding identified region focusing statistical value is maximum can be shown.Thus each identified region of image can be made all can to show clearly.And, when taking, without the need to focusing, can snapshots be realized.
Refer to Fig. 2, the technical program second execution mode correspondence provides a kind of acquisition and treatment system 100 of image, and described image acquisition and treatment system 100 comprise taking module 110, processing module 120, preserve module 130 and display module 140.
Described taking module 110 obtains the multiple picture frames of Same Scene at different focus point for adopting same camera.
Described taking module 110 can control independent camera and take in different focusings, thus obtains the picture frame of different focus point.Concrete, between distant view focusing and microspur are to family's focusing, multiple fixing focusing is set, when camera is taken, take respectively in distant view focusing, microspur focusing and the fixing focusing between distant view focusing and microspur focusing, thus the picture frame of different levels can be obtained.Such as, when distant view focusing is 10 meters, microspur focusing is 10 centimetres, multiple fixing focusings such as 5 meters, 3 meters, 1 meter and 50 centimetres then can be set, when taking, according to from source near or near to far taking respectively in above-mentioned each focusing respectively, thus the picture frame of acquisition different focus point.Described taking module 110 can control the movement that camera carries out focusing automatically, thus can obtain picture frame according to the focusing of setting.
Described processing module 120 for each described picture frame is divided into multiple identified region, and obtains the focusing statistical value of each identified region of each picture frame.
Each picture frame is divided into some identified regions by described processing module 120.Such as, each picture frame is divided into A*B identified region.When carrying out the segmentation of identified region, the division methods of multiple two field picture is identical, thus makes the region in each picture frame mutually corresponding.Described processing module 120 can adopt picture signal process (ISP) to add up the size of the focusing statistical value (Focus Value) of each identified region of each picture frame.
Described preservation module 130, for preserving the focusing statistical value of each picture frame and each identified region, forms image object file more than.
Focusing statistical value corresponding for each identified region of each picture frame can be kept in the image file of many image objects (MPO) form by described preservation module 130.Many image objects picture format is a kind of file format that can store multiple images.Wherein, each independent picture frame has a complete region for depositing the Exif information of this picture frame, thumbnail information, MP extensions information and image jpeg data.Need the image preserved directly to be stored in Individual Image data area for every frame, the FV value information in A*B region of each picture frame is stored in APP2MP Extension extend information.The index information of multiple picture frames will be placed on the MP Extension part of first picture frame, uses MP Index IFD to represent.
Described display module 140 is for opening described many image objects file with image browsing, and receive idsplay order, act on the identified region of image browsing according to idsplay order, show the identified region of the picture frame that corresponding identified region focusing statistical value is maximum in multiple picture frame.
Described display module 140, when opening described many image objects file, first can show the image of first picture frame in described many image objects file, and can read the focus statistics value of each identified region of each picture frame.
Described idsplay order can be touch control gesture, as when image browsing, clicks certain identified region of image browsing, then can judge that described idsplay order acts on the identified region of click.
When receiving idsplay order, described display module 140 can according to the identified region of shown idsplay order effect, according to the focusing statistical value of the corresponding identified region of each picture frame read, obtain the picture frame that in each picture frame, corresponding identified region focusing statistical value is maximum, and show the corresponding identified region of described picture frame.
Like this, by applying idsplay order to different identified regions, can all show in each picture frame the maximum identified region of statistical value of focusing when showing each identified region.Thus user is when image browsing, and each identified region all can show clearly.That is, when browsing photo, no matter the distant view of photo or close shot, can both show clearly.
The acquisition of the image that the technical program provides and treatment system, by when photographic images, continuous print obtains multiple picture frames of different focus point to Same Scene, each picture frame is divided into multiple identified region, obtain the focusing statistical value of each identified region of each picture frame, and store the focusing statistical value of multiple identified regions of described multiple picture frame and each picture frame.When image browsing, according to the region of idsplay order effect, the identified region that in how each picture frame, corresponding identified region focusing statistical value is maximum can be shown.Thus each identified region of image can be made all can to show clearly.And, when taking, without the need to focusing, can snapshots be realized.
3rd execution mode of the technical program also provides a kind of terminal, and described terminal comprises described image acquisition and treatment system 100.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. the acquisition of image and a processing method, comprises step:
Same camera is adopted to obtain the multiple picture frames of Same Scene at different focus point;
Each described picture frame is divided into multiple identified region, and preserves the focusing statistical value of each picture frame and each identified region, form image object file more than; And
Open described many image objects file with image browsing, and receive idsplay order, act on the identified region of image browsing according to idsplay order, show the identified region of the picture frame that corresponding identified region focusing statistical value is maximum in multiple picture frame.
2. the acquisition of image as claimed in claim 1 and processing method, it is characterized in that, described multiple picture frame adopts same camera to obtain continuously.
3. the acquisition of image as claimed in claim 2 and processing method, it is characterized in that, multiple fixing focusing is set between distant view focusing and microspur focusing, when described camera is taken, take respectively in distant view focusing, microspur focusing and the fixing focusing between distant view focusing and microspur focusing, thus obtain the picture frame of multiple different focus point.
4. the acquisition of image as claimed in claim 1 and processing method, is characterized in that, adopt image processing techniques that each picture frame is divided into multiple identified region, and obtain the focusing statistical value of each identified region of each picture frame.
5. the acquisition of image as claimed in claim 1 and processing method, it is characterized in that, described idsplay order is touch control gesture, when image browsing, clicks the identified region of image browsing, then judges that described idsplay order acts on the identified region of click.
6. the acquisition of image and a treatment system, it comprises:
Taking module, obtains the multiple picture frames of Same Scene at different focus point for adopting same camera;
Processing module, for each described picture frame is divided into multiple identified region, and obtains the focusing statistical value of each identified region of each picture frame;
Preserving module, for preserving the focusing statistical value of each picture frame and each identified region, forming image object file more than;
Display module, for opening described many image objects file with image browsing, and receive idsplay order, act on the identified region of image browsing according to idsplay order, show the identified region of the picture frame that corresponding identified region focusing statistical value is maximum in multiple picture frame.
7. the acquisition of image as claimed in claim 6 and treatment system, it is characterized in that, described taking module control adopts same camera to obtain described multiple picture frame continuously.
8. the acquisition of image as claimed in claim 7 and treatment system, it is characterized in that, multiple fixing focusing is set between distant view focusing and microspur focusing, when described camera is taken, take respectively in distant view focusing, microspur focusing and the fixing focusing between distant view focusing and microspur focusing, thus obtain the picture frame of multiple different focus point.
9. the acquisition of image as claimed in claim 6 and treatment system, it is characterized in that, described processing module adopts image processing techniques that each picture frame is divided into multiple identified region, and obtains the focusing statistical value of each identified region of each picture frame.
10. a terminal, is characterized in that, described terminal comprises acquisition and the treatment system of the image as described in any one of claim 6 to 9.
CN201410803026.XA 2014-12-19 2014-12-19 Image obtaining and processing method, system and terminal Pending CN104469160A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410803026.XA CN104469160A (en) 2014-12-19 2014-12-19 Image obtaining and processing method, system and terminal
PCT/CN2014/096003 WO2016095285A1 (en) 2014-12-19 2014-12-31 Image obtaining and processing method, system and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410803026.XA CN104469160A (en) 2014-12-19 2014-12-19 Image obtaining and processing method, system and terminal

Publications (1)

Publication Number Publication Date
CN104469160A true CN104469160A (en) 2015-03-25

Family

ID=52914456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410803026.XA Pending CN104469160A (en) 2014-12-19 2014-12-19 Image obtaining and processing method, system and terminal

Country Status (2)

Country Link
CN (1) CN104469160A (en)
WO (1) WO2016095285A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105491280A (en) * 2015-11-23 2016-04-13 英华达(上海)科技有限公司 Method and device for collecting images in machine vision
CN110139033A (en) * 2019-05-13 2019-08-16 Oppo广东移动通信有限公司 Camera control method and Related product

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017147400A1 (en) 2016-02-25 2017-08-31 The Chemours Company Fc, Llc Use of perfluoroheptenes in power cycle systems

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101888482A (en) * 2010-06-22 2010-11-17 宇龙计算机通信科技(深圳)有限公司 Method and system for simultaneously displaying multiple focal length images and mobile terminal
US20120013757A1 (en) * 2010-07-14 2012-01-19 James Randall Beckers Camera that combines images of different scene depths
CN102625038A (en) * 2012-02-10 2012-08-01 明基电通有限公司 Image capturing device and image processing method
CN102957871A (en) * 2012-11-06 2013-03-06 广东欧珀移动通信有限公司 Field depth processing method for shot image of mobile terminal
CN103491308A (en) * 2013-10-10 2014-01-01 珠海市魅族科技有限公司 Method and terminal for acquiring image data
CN103685962A (en) * 2013-12-27 2014-03-26 广东欧珀移动通信有限公司 Mobile terminal picture shooting method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101888482A (en) * 2010-06-22 2010-11-17 宇龙计算机通信科技(深圳)有限公司 Method and system for simultaneously displaying multiple focal length images and mobile terminal
US20120013757A1 (en) * 2010-07-14 2012-01-19 James Randall Beckers Camera that combines images of different scene depths
CN102625038A (en) * 2012-02-10 2012-08-01 明基电通有限公司 Image capturing device and image processing method
CN102957871A (en) * 2012-11-06 2013-03-06 广东欧珀移动通信有限公司 Field depth processing method for shot image of mobile terminal
CN103491308A (en) * 2013-10-10 2014-01-01 珠海市魅族科技有限公司 Method and terminal for acquiring image data
CN103685962A (en) * 2013-12-27 2014-03-26 广东欧珀移动通信有限公司 Mobile terminal picture shooting method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105491280A (en) * 2015-11-23 2016-04-13 英华达(上海)科技有限公司 Method and device for collecting images in machine vision
CN110139033A (en) * 2019-05-13 2019-08-16 Oppo广东移动通信有限公司 Camera control method and Related product

Also Published As

Publication number Publication date
WO2016095285A1 (en) 2016-06-23

Similar Documents

Publication Publication Date Title
CN108765278B (en) Image processing method, mobile terminal and computer readable storage medium
CN108833784B (en) Self-adaptive composition method, mobile terminal and computer readable storage medium
KR20230013243A (en) Maintain a fixed size for the target object in the frame
CN105874776B (en) Image processing apparatus and method
TW202042175A (en) Image processing method and apparatus, electronic device and storage medium
CN107529098B (en) Method and system for video summarization
US9373187B2 (en) Method and apparatus for producing a cinemagraph
WO2016074620A1 (en) Parallax tolerant video stitching with spatial-temporal localized warping and seam finding
CN110335216B (en) Image processing method, image processing apparatus, terminal device, and readable storage medium
WO2015189343A1 (en) Methods and systems for color processing of digital images
EP3681144A1 (en) Video processing method and apparatus based on augmented reality, and electronic device
CN112017137B (en) Image processing method, device, electronic equipment and computer readable storage medium
WO2021237732A1 (en) Image alignment method and apparatus, electronic device, and storage medium
CN108805838B (en) Image processing method, mobile terminal and computer readable storage medium
CN104486546A (en) Photographing method and device and mobile terminal
CN108513069A (en) Image processing method, device, storage medium and electronic equipment
US10860166B2 (en) Electronic apparatus and image processing method for generating a depth adjusted image file
US10198842B2 (en) Method of generating a synthetic image
CN103945116A (en) Apparatus and method for processing image in mobile terminal having camera
CN104469160A (en) Image obtaining and processing method, system and terminal
CN109981989B (en) Method and device for rendering image, electronic equipment and computer readable storage medium
US8218823B2 (en) Determining main objects using range information
CN105467741A (en) Panoramic shooting method and terminal
US10958955B1 (en) System for generating modified video output
US11595584B2 (en) Imaging apparatus, method of controlling imaging apparatus and computer-readable medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150325

RJ01 Rejection of invention patent application after publication