CN104683684B - Light field image treating method and apparatus and light-field camera - Google Patents
Light field image treating method and apparatus and light-field camera Download PDFInfo
- Publication number
- CN104683684B CN104683684B CN201310634244.0A CN201310634244A CN104683684B CN 104683684 B CN104683684 B CN 104683684B CN 201310634244 A CN201310634244 A CN 201310634244A CN 104683684 B CN104683684 B CN 104683684B
- Authority
- CN
- China
- Prior art keywords
- light field
- refocusing
- field image
- touch sensible
- sensible signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Studio Devices (AREA)
Abstract
The embodiment of the present invention provides a kind of light field image treating method and apparatus and light-field camera.The method of the present invention includes:Obtain the first touch sensible signal and the second touch sensible signal, wherein, the first touch sensible signal is used to indicate the refocusing position selected in the first light field image, and the second touch sensible signal is used to indicate the editing and processing to first light field image;According to the first touch sensible signal, it determines the refocusing position selected in first light field image and the light field data of the refocusing position is focused, and according to the second touch sensible signal, editing and processing is carried out to the refocusing region corresponding with the focal position generated in first light field image, obtains the second light field image in the refocusing region.The embodiment of the present invention by obtain user trigger process instruction with realize light field image processing in can be carried out at the same time refocusing and edit operation, improve the treatment effeciency of light field image.
Description
Technical field
The present embodiments relate to image processing techniques more particularly to a kind of light field image treating method and apparatus and light
Field camera.
Background technology
Compared to traditional imaging mode when shooting high-speed motion or the larger spacing object of multiagent, be susceptible to it is out of focus,
It runs phenomena such as burnt, optical field imaging technology, can by recording the information of four-dimensional position and direction of the light radiation in communication process
Obtain abundanter image information, moreover it is possible to out of focus, the target context of special occasions image are solved by digital refocusing technology
The problems such as excessive, therefore optical field imaging technology is having been more and more widely used and is developing.
It is mainly to the processing mode of light field image using optical field imaging technology at present:First selection refocusing pattern, and
Under the refocusing pattern, a part is chosen from the image of some deep focus needs the region of refocusing, such as user to feel emerging
The region of interest carries out refocusing processing.
But since the editor of light field image is under edit pattern, to light field image after the refocusing of light field image
The operation of progress, if not selecting edit pattern, even if user into edlin or can be mistakenly considered to light to light field image
Field picture carries out refocusing processing, therefore, results in malfunction, and treatment effeciency is low.
Invention content
The embodiment of the present invention provides a kind of light field image treating method and apparatus and light-field camera, to overcome light field image
Treatment effeciency is low, inflexible problem.
The first aspect, the embodiment of the present invention provide a kind of light field image processing method, including:
The first touch sensible signal and the second touch sensible signal are obtained, wherein, the first touch sensible signal is used for
Indicate the refocusing position selected in the first light field image, the second touch sensible signal is used to indicate to first light
The editing and processing of field picture;
According to the first touch sensible signal, the refocusing position selected in first light field image is determined and to institute
The light field data for stating refocusing position is focused, and according to the second touch sensible signal, in the first light field figure
As corresponding with the focal position refocusing region of upper generation carries out editing and processing, the in the refocusing region is obtained
Two light field images.
It is described in first light field in the first aspect in the first mode in the cards with reference to the first aspect
The refocusing region corresponding with the focal position generated on image, including:
In first light field image, corresponding with focal position choice box is generated, the area in the choice box
Domain is the refocusing region.
With reference to the first aspect or the first aspect the first possible realization method, in the first aspect second can
It is described according to the second touch sensible signal in the mode that can be realized, to being generated in first light field image and institute
It states the corresponding refocusing region of focal position and carries out editing and processing, including:
According to the second touch sensible signal, the refocusing region is carried out it is mobile, rotate or scaling is handled.
The second aspect, the embodiment of the present invention provide a kind of light field image processing unit, including:
Process instruction module is obtained, for obtaining the first touch sensible signal and the second touch sensible signal, wherein, it is described
First touch sensible signal is used to indicate the refocusing position selected in the first light field image, the second touch sensible signal
It is used to indicate the editing and processing to first light field image;
Refocusing editor module, for according to the first touch sensible signal, determining to select in first light field image
The refocusing position selected simultaneously is focused the light field data of the refocusing position, and is believed according to second touch sensible
Number, editing and processing is carried out to the refocusing region corresponding with the focal position generated in first light field image, is obtained
To the second light field image in the refocusing region.
With reference to the second aspect, in the second aspect in the first mode in the cards, the refocusing editor module
Including:
Focusing unit, for according to the first touch sensible signal, to the light field data of the refocusing position
It is focused processing;
Refocusing Area generation unit, in first light field image, generation to be corresponding with the focal position
Choice box, the region in the choice box are the refocusing region;
Editing and processing unit for carrying out editing and processing to the refocusing region, obtains edited refocusing region
In the second light field image.
The first mode in the cards with reference to the second aspect, in the second aspect second of mode in the cards
In, the editing and processing unit is specifically used for:
According to the second touch sensible signal, the refocusing region is carried out it is mobile, rotate or scaling is handled.
In terms of third, the embodiment of the present invention provides a kind of light-field camera, including such as the second aspect, the second aspect the
A kind of light field image processing unit described in second any one possible realization method.
Light field image of embodiment of the present invention treating method and apparatus and light-field camera, the processing triggered by obtaining user
Instruction, refocusing and edit operation can be carried out to light field image simultaneously in light field image processing by realizing, solve the prior art
Middle light field image treatment effeciency is low, inflexible problem.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow chart of light field image processing method embodiment one of the present invention;
Fig. 2A -2C click schematic diagram for common finger;
Fig. 3 is the schematic diagram that light field image processing method embodiment two of the present invention generates refocusing region;
Fig. 4 is the structure chart of light field image processing unit embodiment one of the present invention;
Fig. 5 is the structure chart of light field image processing unit embodiment two of the present invention;
Fig. 6 is the structure chart of light-field camera embodiment one of the present invention.
Specific embodiment
Purpose, technical scheme and advantage to make the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiments obtained without creative efforts shall fall within the protection scope of the present invention.
Fig. 1 is the flow chart of light field image processing method embodiment one of the present invention, and the executive agent of this method is light field figure
As processing unit, which can be placed in acquisition/processing equipment of light field image, such as light-field camera(Light Field
Camera).As shown in Figure 1, this method specifically includes:
Step 101 obtains the first touch sensible signal and the second touch sensible signal, wherein, first touch sensible letter
Number be used to indicate the refocusing position selected in the first light field image, the second touch sensible signal be used to indicate to this first
The editing and processing of light field image.
In the present embodiment, can process instruction be generated by user's single multi- finger point touching screen, which includes
The operations such as click, movement and the towing of single or multiple fingers.Fig. 2A -2C click schematic diagram for common finger, to scheme
Shown in 2A for example, by two finger rotation generation process instructions, when it is implemented, can be made with the boundary position of touch
For the position of refocusing, the instruction of editor can be determined according to the amplitude of rotation.It should be noted that it is shown in Fig. 2A -2C
Several common single multi- finger manipulation modes, the embodiment of the present invention are not limited to above-mentioned several ways, are generated simultaneously as long as meeting
The the first touch sensible signal and the second touch sensible for editor of the refocusing position selected in first light field image
The single multi- finger manipulation mode of signal is each fallen in the range of the application protection.
Step 102, according to the first touch sensible signal, determine the refocusing position selected in first light field image simultaneously
The light field data of the refocusing position is focused, and according to the second touch sensible signal, in first light field image
The refocusing region corresponding with the focal position of upper generation carries out editing and processing, obtains the second light field in the refocusing region
Image.
Compared in the prior art, can only to after the refocusing of light field image again under edit pattern to light field image into
Edlin, the embodiment of the present invention, by obtain user trigger include be used to indicate the refocusing position selected in light field image
The first touch sensible signal and the second touch sensible signal for editor process instruction, realize in light field image processing
Can refocusing and edit operation be carried out to light field image simultaneously, it is low, no to solve light field image treatment effeciency in the prior art
The problem of flexible.
Further, in light field image processing method embodiment two of the present invention, in the base of the embodiments of the present invention one
On plinth, in step 102 in first light field image, a kind of specific reality in refocusing region corresponding with the focal position is generated
Now mode is:
In first light field image, corresponding with focal position choice box is generated, the region in the selection frame is this
Refocusing region.
Further optionally, Fig. 3 is the signal that light field image processing method embodiment two of the present invention generates refocusing region
Figure, as shown in figure 3, using the position of the contact of two fingers as the position of refocusing, and using two finger contacts as diagonal, generation
Shape is the choice box of rectangle as refocusing region.In this manner it is possible to second in the process instruction of acquisition touches sense
Induction signal carries out edit operation to the rectangle refocusing region.It should be noted that the shape in refocusing region can be according to setting
Fixed arbitrary setting, such as the shapes such as rectangle, circle or ellipse.
Optionally, it is corresponding with the focal position heavy to generating on this image according to the second touch sensible signal
Focal zone carries out editing and processing, can include:According to the second touch sensible signal, which is carried out it is mobile,
Rotation or scaling processing.For example, with the movement of finger or rotation, rectangle frame is moved or is rotated, and finger leaves
Touch screen, using the corresponding first light field image subregion of rectangle frame as the second light field image of output, which can
To store, be sent to social network services(Social Networking Services, abbreviation SNS)Or mail, pass through coloured silk
Letter is shared by SNS.
The technical solution of above-described embodiment, avoid to after the refocusing of light field image again under edit pattern to light field
Image is realized simultaneously to the refocusing and editing and processing of light field image into edlin, improves light field image treatment effeciency and spirit
Activity.
Fig. 4 is the structure chart of light field image processing unit embodiment one of the present invention, which can be placed in light field image
In acquisition/processing equipment, such as light-field camera.As shown in figure 4, the device includes:Obtain process instruction module 41 and refocusing
Editor module 42.Wherein, process instruction module 41 is obtained, for obtaining the first touch sensible signal and the second touch sensible letter
Number, wherein, which is used to indicate the refocusing position selected in the first light field image, second touch
Inductive signal is used to indicate the editing and processing to first light field image;Refocusing editor module 42, for according to this first touch
Inductive signal is touched, determine the refocusing position selected in first light field image and the light field data of the refocusing position is carried out
It focuses on, and according to the second touch sensible signal, it is corresponding with the focal position heavy to what is generated in first light field image
Focal zone carries out editing and processing, obtains the second light field image in the refocusing region.
The device of the present embodiment can be used for performing the technical solution of embodiment of the method shown in Fig. 1, realization principle and skill
Art effect is similar, and details are not described herein again.
Structure charts of the Fig. 5 for light field image processing unit embodiment two of the present invention, two structure shown in Fig. 4 of the present embodiment
On, specifically, which includes:Focusing unit 501, refocusing Area generation unit 502 and editor
Processing unit 503;Wherein, focusing unit 501, for according to the first touch sensible signal, to the refocusing position
Light field data is focused processing;Refocusing Area generation unit 502, in first light field image, generation to gather with this
The corresponding choice box in burnt position, the region in the selection frame is the refocusing region;Editing and processing unit 503, for heavy to this
Focal zone carries out editing and processing, obtains the second light field image in edited refocusing region.
Further, which is specifically used for:According to the second touch sensible signal, to the refocusing
Region carry out it is mobile, rotate or scaling processing.
The device of the present embodiment, can be used for performing the technical solution of above-mentioned any means embodiment, realization principle and
Technique effect is similar, and details are not described herein again.
Fig. 6 is the structure chart of light-field camera embodiment one of the present invention, as shown in fig. 6, the light-field camera includes:Such as Fig. 4 or 5
Shown light field image processing unit 60.
Optionally, which includes:Input/output interface 61, for receiving the first light field image of acquisition;Storage
Device 62 is for the second light field image of storage;Input/output interface 61 is additionally operable to export second light field image.
Wherein, light field image processing unit 60 can be used for performing the technical solution of above-mentioned any means embodiment, in fact
Existing principle is similar with technique effect, and details are not described herein again.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Aforementioned program can be stored in a computer read/write memory medium.The journey
Sequence when being executed, performs the step of including above-mentioned each method embodiment;And aforementioned storage medium includes:ROM, RAM, magnetic disc or
The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe is described in detail the present invention with reference to foregoing embodiments, it will be understood by those of ordinary skill in the art that:Its according to
Can so modify to the technical solution recorded in foregoing embodiments either to which part or all technical features into
Row equivalent replacement;And these modifications or replacement, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (7)
1. a kind of light field image processing method, which is characterized in that including:
The first touch sensible signal and the second touch sensible signal are obtained, wherein, the first touch sensible signal is used to indicate
The refocusing position selected in the first light field image, the second touch sensible signal are used to indicate to the first light field figure
The editing and processing of picture;
According to the first touch sensible signal, the refocusing position selected in first light field image is determined and to described heavy
The light field data of focal position is focused, and according to the second touch sensible signal, in first light field image
The refocusing region corresponding with the refocusing position of generation carries out editing and processing, obtains second in the refocusing region
Light field image.
2. according to the method described in claim 1, it is characterized in that, it is described it is being generated in first light field image with it is described
The corresponding refocusing region of focal position, including:
In first light field image, corresponding with focal position choice box is generated, the region in the choice box is
The refocusing region.
3. method according to claim 1 or 2, which is characterized in that it is described according to the second touch sensible signal, to
The refocusing region corresponding with the focal position generated in first light field image carries out editing and processing, including:
According to the second touch sensible signal, the refocusing region is carried out it is mobile, rotate or scaling is handled.
4. a kind of light field image processing unit, which is characterized in that including:
Process instruction module is obtained, for obtaining the first touch sensible signal and the second touch sensible signal, wherein, described first
Touch sensible signal is used to indicate the refocusing position selected in the first light field image, and the second touch sensible signal is used for
Indicate the editing and processing to first light field image;
Refocusing editor module, for according to the first touch sensible signal, determining what is selected in first light field image
Refocusing position is simultaneously focused the light field data of the refocusing position, and according to the second touch sensible signal, right
The refocusing region corresponding with the refocusing position generated in first light field image carries out editing and processing, obtains institute
State the second light field image in refocusing region.
5. device according to claim 4, which is characterized in that the refocusing editor module includes:
Focusing unit, for according to the first touch sensible signal, being carried out to the light field data of the refocusing position
Focusing;
Refocusing Area generation unit, in first light field image, generation selection corresponding with the focal position
Frame, the region in the choice box are the refocusing region;
Editing and processing unit for carrying out editing and processing to the refocusing region, is obtained in edited refocusing region
Second light field image.
6. device according to claim 5, which is characterized in that the editing and processing unit is specifically used for:
According to the second touch sensible signal, the refocusing region is carried out it is mobile, rotate or scaling is handled.
7. a kind of light-field camera, which is characterized in that including such as claim 4-6 any one of them light field image processing unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310634244.0A CN104683684B (en) | 2013-11-29 | 2013-11-29 | Light field image treating method and apparatus and light-field camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310634244.0A CN104683684B (en) | 2013-11-29 | 2013-11-29 | Light field image treating method and apparatus and light-field camera |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104683684A CN104683684A (en) | 2015-06-03 |
CN104683684B true CN104683684B (en) | 2018-06-26 |
Family
ID=53318195
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310634244.0A Active CN104683684B (en) | 2013-11-29 | 2013-11-29 | Light field image treating method and apparatus and light-field camera |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104683684B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017054111A1 (en) * | 2015-09-28 | 2017-04-06 | 华为技术有限公司 | Method and device for sharing and downloading light field image |
CN106610521B (en) | 2015-10-22 | 2019-11-19 | 中强光电股份有限公司 | Image-taking device and image shooting method |
CN106973293B (en) * | 2017-04-21 | 2020-10-27 | 中国科学技术大学 | Light field image coding method based on parallax prediction |
CN107578437A (en) * | 2017-08-31 | 2018-01-12 | 深圳岚锋创视网络科技有限公司 | A kind of depth estimation method based on light-field camera, system and portable terminal |
CN111489407B (en) * | 2020-04-09 | 2023-06-02 | 中国科学技术大学先进技术研究院 | Light field image editing method, device, equipment and storage medium |
CN114157814B (en) * | 2022-02-09 | 2022-06-10 | 荣耀终端有限公司 | Display method, terminal and storage medium of light field photo |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101742107A (en) * | 2008-11-25 | 2010-06-16 | 索尼株式会社 | Imaging device and imaging method |
CN102656878A (en) * | 2009-11-27 | 2012-09-05 | 三星电子株式会社 | Image processing apparatus and method |
CN103024261A (en) * | 2011-09-20 | 2013-04-03 | 佳能株式会社 | Image capturing apparatus and control method thereof |
CN103327236A (en) * | 2012-03-23 | 2013-09-25 | 佳能株式会社 | Imaging apparatus and control method thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4929630B2 (en) * | 2005-07-06 | 2012-05-09 | ソニー株式会社 | Imaging apparatus, control method, and program |
US8559705B2 (en) * | 2006-12-01 | 2013-10-15 | Lytro, Inc. | Interactive refocusing of electronic images |
-
2013
- 2013-11-29 CN CN201310634244.0A patent/CN104683684B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101742107A (en) * | 2008-11-25 | 2010-06-16 | 索尼株式会社 | Imaging device and imaging method |
CN102656878A (en) * | 2009-11-27 | 2012-09-05 | 三星电子株式会社 | Image processing apparatus and method |
CN103024261A (en) * | 2011-09-20 | 2013-04-03 | 佳能株式会社 | Image capturing apparatus and control method thereof |
CN103327236A (en) * | 2012-03-23 | 2013-09-25 | 佳能株式会社 | Imaging apparatus and control method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104683684A (en) | 2015-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104683684B (en) | Light field image treating method and apparatus and light-field camera | |
AU2017100683B4 (en) | User interface for camera effects | |
CN103793097B (en) | Mobile terminal and its control method | |
EP3120217B1 (en) | Display device and method for controlling the same | |
AU2016101437B4 (en) | Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback | |
CN103839254B (en) | Contours segmentation device and method based on user's interaction | |
CN107066990A (en) | A kind of method for tracking target and mobile device | |
CN108629220A (en) | A kind of two dimension code reading method, apparatus and equipment | |
US20140325439A1 (en) | Method for outputting image and electronic device thereof | |
JP6854049B2 (en) | User interface for capturing and managing visual media | |
CN107992246A (en) | A kind of video editing method and its device and intelligent terminal | |
CN110189285A (en) | A kind of frames fusion method and device | |
CN105009035A (en) | Enhancing touch inputs with gestures | |
CN103677609A (en) | Picture processing method and terminal | |
CN103973978A (en) | Method and electronic device for achieving refocusing | |
CN105824422B (en) | A kind of information processing method and electronic equipment | |
CN104423796B (en) | User interface based on equipment situation | |
CN110533643A (en) | Certificate identification method and device | |
CN103605461A (en) | Method and terminal for displaying application interfaces | |
JP2019067388A (en) | User interface for manipulating light-field images | |
CN110262710A (en) | A kind of display methods of interactive interface, device and equipment | |
TW201413641A (en) | Apparatus and method capable of changing picture | |
CN106791398A (en) | A kind of image processing method and terminal | |
CN109407944A (en) | Multimedia resource plays adjusting method and device | |
CN107506110B (en) | Control method and system for 3D cube mobile terminal desktop and mobile terminal |
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 |