CN108305215A - A kind of image processing method and system based on intelligent mobile terminal - Google Patents
A kind of image processing method and system based on intelligent mobile terminal Download PDFInfo
- Publication number
- CN108305215A CN108305215A CN201810063316.3A CN201810063316A CN108305215A CN 108305215 A CN108305215 A CN 108305215A CN 201810063316 A CN201810063316 A CN 201810063316A CN 108305215 A CN108305215 A CN 108305215A
- Authority
- CN
- China
- Prior art keywords
- image
- mobile terminal
- block
- intelligent mobile
- clearly
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 11
- 239000000571 coke Substances 0.000 claims 1
- 230000006870 function Effects 0.000 description 10
- 238000000034 method Methods 0.000 description 8
- 241000283973 Oryctolagus cuniculus Species 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000004927 fusion Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Processing Or Creating Images (AREA)
- Studio Devices (AREA)
- Telephone Function (AREA)
Abstract
The present invention discloses a kind of image processing method and system based on intelligent mobile terminal, is related to technical field of image processing, includes the following steps:Several images for focusing different Same Scenes are obtained and store by controlling focus storehouse;Image A to be treated is shot, the articulation curve per piece image in image A and S1 is calculated;It chooses in image A and needs highlighted image block;Clarity by the multiple image obtained in articulation curve movement images A and S1 obtains described image block most clearly image in image A and S1;Most clearly in image, the part of part or image block except image block will be blurred;Will most clearly image and image A carry out image co-registration, obtain the image of needs and shown by display screen.
Description
Technical field
The present invention relates to technical field of image processing more particularly to a kind of image processing methods based on intelligent mobile terminal
And system.
Background technology
First, with the development of mobile phone technique, smart mobile phone is widely popularized, referred to as in people's daily life
Indispensable carry-on equipment, the camera function of mobile phone are also widely used, and more and more people get used to mobile phone
Camera shoots scenery at one's side.But the Deep Canvas for being all auto-focusing, cannot achieve on slr camera of mobile phone camera
And different focus.
Secondly, some existing U.S. figure softwares, it is mostly fairly simple, it can not be to background blurring or progress focusing process.I.e.
Individual software is set to be blurred, principle does not meet optical principle yet, and effect is undesirable.In addition, software cannot achieve
Focusing and total focus processing after taking pictures.
Finally, already present two inventive techniques:Mobile phone photograph method and system (application publication number CN 103152521
A) with the method and mobile terminal (103152521 A of application publication number CN) of realization Deep Canvas in a kind of mobile terminal, this two
And technology excessively is exactly the same, is only prominent personage's main body, blurs background.In addition, patent of invention:Mobile phone photograph method and system are also
It is proposed the technology of replacement personage's background.But it is background blurring when no discussion main body is not personage in their invention.Together
When, it does not mention even more, blurs main body, the calculating of prominent background.In addition, also without discussing virtualization foreground and background, in prominent
Between scenery technology.The limitation of this two inventive techniques is larger.
Currently, on apple and Android mobile phone, there is also some application software, such as AfterFocus, but the software is
Some virtualizations are carried out on existing picture, need oneself to formulate virtualization region, if the background on the original picture is relatively fuzzyyer,
Or foreground is relatively fuzzyyer, then later processing method can not also change its clarity.Only for the more visible picture of panorama,
By some image processing methods will clearly obscure portions, to reach the anti-shooting effect of similar large aperture list.So should
Software has significant limitation.
Invention content
It is an object of the invention to:When for solution, mobile intelligent terminal handles picture in the prior art, Wu Faxu
Change foreground and background and protrude intermediate scenery, also, fuzzy picture is compared for foreground or background itself can not to change it clear
Clear the problem of spending, the present invention provide a kind of image processing method and system based on intelligent mobile terminal.
Technical scheme is as follows:
On the one hand, the present invention provides a kind of image processing method based on intelligent mobile terminal, includes the following steps:
S1:Several images for focusing different Same Scenes are obtained and store by controlling focus storehouse;
S2:Image A to be treated is shot, the articulation curve per piece image in image A and S1 is calculated;
S3:It chooses in image A and needs highlighted image block;
S4:Clarity by the multiple image obtained in articulation curve movement images A and S1 obtains described image block
The most clearly image in image A and S1;
S5:Most clearly in image, the part of part or image block except image block will be blurred;
S6:Will most clearly image and image A carry out image co-registration, obtain the image of needs and shown by display screen.
Further, step of the invention further includes:
S7:The background parts for removing image block are substituted for other backgrounds.
On the other hand, the present invention discloses a kind of image processing system based on intelligent mobile terminal, including:
Focus storehouse image collection module, the image different for obtaining several focal lengths;
Memory module, the image different for storing several focal lengths;
Image processing module, for obtaining by being carried out pair to image different with several focal lengths in memory module image A
Than, choose and fusion, and obtain the image of needs;
Display module, for showing at the different image or image of several focal lengths that focus storehouse figure acquisition module obtains
Manage the image after resume module;
Specifically, the focus heap image collection module includes:
Camera unit, for shooting image;
Control unit shoots the image storehouse of different focusing for controlling camera, and these image storehouses is sent to
Memory module or display module;
Described control unit is the software mounted on intelligent mobile terminal.
Specifically, described image processing module includes:
Target selection unit, for the highlighted image block of selection needs in image A;
Computing unit, for calculating image A and the articulation curve per piece image in the image storehouse of different focusing, and
Clarity by the multiple image obtained in articulation curve movement images A and S1 obtains described image block in image A and S1
In most clearly image;
Blur unit, for most clearly the part of part or image block except image block carried out in image it is empty
Change, and for merging the image after blurring and image A.
Specifically, described image processing module further includes replacement unit, and the background parts for that will remove image block are replaced
At other backgrounds.
After adopting the above scheme, beneficial effects of the present invention are as follows:
(1) the invention enables can arbitrarily change the depth of field, prominent foreground master when taking pictures using mobile terminal or after taking pictures
Body, or prominent background scenery, or realize that the prominent of arbitrary depth of field scenery indicates so that mobile terminal, which is taken pictures, reaches single anti-
The effect that camera is realized.Nowadays, the popularization degree of the terminals such as smart mobile phone and pad is very high, live its gradually replace camera at
The main tool for shooting living scene or scenery for people has so the invention can undoubtedly be favored by consumers in general
Vast market prospect and value.
(2) present invention is by the clarity of the multiple image obtained in articulation curve movement images A and S1, described in acquisition
Image block most clearly image in image A and S1;Finally will most clearly image is merged with image A, solve foreground or the back of the body
Scape itself compares the problem of fuzzy picture can not change its clarity.
(3) present invention can choose image the background of part to be replaced, and can be substituted for the background of user's needs,
Function is more powerful, easy to spread.
Description of the drawings
Fig. 1 is flow chart of the method for the present invention;
Fig. 2 is the system construction drawing of the present invention;
Fig. 3 is the view 1 in the embodiment of the present invention;
Fig. 4 is the view 2 in the embodiment of the present invention;
Fig. 5 is the view 3 in the embodiment of the present invention;
Fig. 6 is the view 4 in the embodiment of the present invention;
Fig. 7 is the view 5 in the embodiment of the present invention;
Fig. 8 is the view 6 in the embodiment of the present invention.
Specific implementation mode
In the following, clearer, complete explanation will be carried out to the present invention in conjunction with specific implementation mode.
With the extensive use of intelligent terminal, mobile terminal is taken pictures also gradually instead of general camera, and people gradually use
Mobile phone, picture pick-up device built in pad etc. record scape at one's side and the people of oneself at any time.However, picture pick-up device picture built in mobile terminal
Though element is stepped up, the effect that its slr camera difficult to realize is realized.
Embodiment 1
As shown in Figure 1, the image processing method based on intelligent mobile terminal of the present embodiment, includes the following steps:
S1:Several images for focusing different Same Scenes are obtained and store by controlling focus storehouse;
S2:Image A to be treated is shot, the articulation curve per piece image in image A and S1 is calculated.
S3:It chooses in image A and needs highlighted image block.
S4:Clarity by the multiple image obtained in articulation curve movement images A and S1 obtains described image block
The most clearly image in image A and S1.
S5:Most clearly in image, the part of part or image block except image block will be blurred.
S6:Will most clearly image and image A carry out image co-registration, obtain the image of needs and shown by display screen.
S7:The background parts for removing image block are substituted for other backgrounds.
Aforesaid operations repeatedly are carried out to image A, so that it may to obtain the picture of multiple and different depth of field.
Embodiment 2
As shown in Fig. 2, the image processing system based on intelligent mobile terminal of the present embodiment, including:
Focus storehouse image collection module, the image different for obtaining several focal lengths;
Memory module, the image different for storing several focal lengths;
Image processing module, for obtaining by being carried out pair to image different with several focal lengths in memory module image A
Than, choose and fusion, and obtain the image of needs;
Display module, for showing at the different image or image of several focal lengths that focus storehouse figure acquisition module obtains
Manage the image after resume module.
Wherein, focus heap image collection module includes:
Camera unit, for shooting image, for the mobile phone in intelligent terminal, camera unit images for postposition
Head or front camera are not necessarily to external camera.
Control unit shoots the image storehouse of different focusing for controlling camera, and these image storehouses is sent to
Memory module or display module;Specifically, control unit is the software mounted on intelligent mobile terminal.
Wherein, image processing module includes:
Target selection unit, for the highlighted image block of selection needs in image A;
Computing unit, for calculating image A and the articulation curve per piece image in the image storehouse of different focusing, and
Clarity by the multiple image obtained in articulation curve movement images A and S1 obtains described image block in image A and S1
In most clearly image;
Blur unit, for most clearly the part of part or image block except image block carried out in image it is empty
Change, and for merging the image after blurring and image A;
Image processing module further includes replacement unit, for the background parts for removing image block to be substituted for other backgrounds.
Specifically, to realize technical scheme of the present invention, need by image procossing APP, this APP is mounted on intelligence
On mobile terminal.The APP softwares should include screening-mode selection function, function and replacement function be blurred, as shown in figure 3, Fig. 3
For the surface chart after the taking pictures of software.Include shooting function button on the interface of software entirety, blur function button and replace
Change function button.
If blue wire frame is selected areas in Fig. 5 or Fig. 6, if having selected rabbit for image block, when selection, such as
Fruit image block is too small, and image block edge, which is not easy selection, can select zoom in/out function to carry out more accurate selection.
After selecting or obtaining the multiple image of focus storehouse of the scene of taking pictures, computing unit can count it
It calculates, selection image block most clearly image wherein in multiple image after being merged the image with image A, then carries out it
Processing, selection virtualization function after, using to other than image block part or image block blurred as object.Virtualization degree can
To select background or scenery fog-level, and fuzzy mode.In the present embodiment, the image of focus storehouse is 3 width images,
Multiple image can also be selected, the image of the focus storehouse obtained in advance is more, and fusion and even image clearly are better.Then
Selection scenery button is clicked, is then selected on mobile phone screen, it is directly to go to draw with hand on mobile phone screen to choose mode
Go out to choose scenery.
As shown in fig. 6, having selected tree for image block, its background is blurred, similarly may be implemented to choosing scenery
Virtualization, specific processing mode also selects rabbit identical for the processing mode of image block, do not spoke more herein with above-mentioned
It is bright.
Fig. 4 and Fig. 5 has selected rabbit for image block in fact, unlike, scenery scenery is blurred in Fig. 4,
And background is blurred in Fig. 5.
As shown in fig. 7, when the image block in choosing is rabbit, the background or foreground of image block are replaced;Such as Fig. 8
It is shown, when the graph block in choosing is rabbit, image block is replaced.Appropriate put can be carried out when selected digital image block
Greatly, then determination is to replace image block or background, after determining, clicks selection picture buttons, can select in mobile phone picture into
Row is replaced, to achieve the purpose that replace background or scenery.
Claims (6)
1. a kind of image processing method based on intelligent mobile terminal, which is characterized in that include the following steps:
S1:Several images for focusing different Same Scenes are obtained and store by controlling focus storehouse;
S2:Image A to be treated is shot, the articulation curve per piece image in image A and S1 is calculated;
S3:It chooses in image A and needs highlighted image block;
S4:Clarity by the multiple image obtained in articulation curve movement images A and S1 obtains described image block and is scheming
As most clearly image in A and S1;
S5:Most clearly in image, the part of part or image block except image block will be blurred;
S6:Will most clearly image and image A carry out image co-registration, obtain the image of needs and shown by display screen.
2. a kind of image processing method based on intelligent mobile terminal according to claim 1, which is characterized in that also wrap
It includes:
S7:The background parts for removing image block are substituted for other backgrounds.
3. a kind of image processing system based on intelligent mobile terminal, which is characterized in that including:
Focus storehouse image collection module, the image different for obtaining several focal lengths;
Memory module, the image different for storing several focal lengths;
Image processing module is compared by the image different with several focal lengths in memory module to image A, is selected for obtaining
It takes and merges, and obtain the image of needs;
Display module, the image or image procossing mould different for showing several focal lengths that focus storehouse figure acquisition module obtains
Block treated image.
4. a kind of image processing system based on intelligent mobile terminal according to claim 3, which is characterized in that the coke
Putting heap image collection module includes:
Camera unit, for shooting image;
Control unit shoots the image storehouse of different focusing for controlling camera, and these image storehouses is sent to storage
Module or display module;
Described control unit is the software mounted on intelligent mobile terminal.
5. a kind of image processing system based on intelligent mobile terminal according to claim 3, which is characterized in that the figure
As processing module includes:
Target selection unit, for the highlighted image block of selection needs in image A;
Computing unit for calculating image A and the articulation curve per piece image in the image storehouse of different focusing, and passes through
The clarity of the multiple image obtained in articulation curve movement images A and S1, obtain described image block in image A and S1 most
Clearly image;
Unit is blurred, for most clearly the part of part or image block except image block being blurred in image,
And for the image after blurring and image A to be merged.
6. according to a kind of image processing system based on intelligent mobile terminal described in claim 5, which is characterized in that described
Image processing module further includes replacement unit, for the background parts for removing image block to be substituted for other backgrounds.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810063316.3A CN108305215A (en) | 2018-01-23 | 2018-01-23 | A kind of image processing method and system based on intelligent mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810063316.3A CN108305215A (en) | 2018-01-23 | 2018-01-23 | A kind of image processing method and system based on intelligent mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108305215A true CN108305215A (en) | 2018-07-20 |
Family
ID=62866098
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810063316.3A Pending CN108305215A (en) | 2018-01-23 | 2018-01-23 | A kind of image processing method and system based on intelligent mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108305215A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111866378A (en) * | 2020-06-30 | 2020-10-30 | 维沃移动通信有限公司 | Image processing method, apparatus, device and medium |
CN112235507A (en) * | 2020-10-14 | 2021-01-15 | 电子科技大学 | Image processing system and method for realizing controllable depth of field in mobile terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020075389A1 (en) * | 2000-12-18 | 2002-06-20 | Xerox Corporation | Apparatus and method for capturing a digital image |
CN103595909A (en) * | 2012-08-16 | 2014-02-19 | Lg电子株式会社 | Mobile terminal and controlling method thereof |
CN104065859A (en) * | 2014-06-12 | 2014-09-24 | 青岛海信电器股份有限公司 | Panoramic and deep image acquisition method and photographic device |
CN104104869A (en) * | 2014-06-25 | 2014-10-15 | 华为技术有限公司 | Photographing method and device and electronic equipment |
-
2018
- 2018-01-23 CN CN201810063316.3A patent/CN108305215A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020075389A1 (en) * | 2000-12-18 | 2002-06-20 | Xerox Corporation | Apparatus and method for capturing a digital image |
CN103595909A (en) * | 2012-08-16 | 2014-02-19 | Lg电子株式会社 | Mobile terminal and controlling method thereof |
CN104065859A (en) * | 2014-06-12 | 2014-09-24 | 青岛海信电器股份有限公司 | Panoramic and deep image acquisition method and photographic device |
CN104104869A (en) * | 2014-06-25 | 2014-10-15 | 华为技术有限公司 | Photographing method and device and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111866378A (en) * | 2020-06-30 | 2020-10-30 | 维沃移动通信有限公司 | Image processing method, apparatus, device and medium |
CN112235507A (en) * | 2020-10-14 | 2021-01-15 | 电子科技大学 | Image processing system and method for realizing controllable depth of field in mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103888683B (en) | Mobile terminal and shooting method thereof | |
US10015469B2 (en) | Image blur based on 3D depth information | |
WO2017045558A1 (en) | Depth-of-field adjustment method and apparatus, and terminal | |
US9195880B1 (en) | Interactive viewer for image stacks | |
US20050129324A1 (en) | Digital camera and method providing selective removal and addition of an imaged object | |
CN107948500A (en) | Image processing method and device | |
CN107959778A (en) | Imaging method and device based on dual camera | |
EP2987134A1 (en) | Generation of ghost-free high dynamic range images | |
US11769231B2 (en) | Methods and apparatus for applying motion blur to overcaptured content | |
CN103685940A (en) | Method for recognizing shot photos by facial expressions | |
CN104954665B (en) | Pan focus is realized | |
KR20140016401A (en) | Method and apparatus for capturing images | |
US20150195482A1 (en) | Method, system and smartphone that chooses optimal image to reduce shutter shake | |
JP2017514334A (en) | Slow shutter imaging method and imaging apparatus | |
CN107231524A (en) | Image pickup method and device, computer installation and computer-readable recording medium | |
CN108520493A (en) | Processing method, device, storage medium and the electronic equipment that image is replaced | |
CN107038362B (en) | Image processing apparatus, image processing method, and computer-readable recording medium | |
JP7221334B2 (en) | Photography method and device, terminal, storage medium | |
CN105812670B (en) | A kind of method and terminal taken pictures | |
WO2017080348A2 (en) | Scene-based photographing device and method, and computer storage medium | |
CN107645628B (en) | Information processing method and device | |
CN111277758A (en) | Photographing method, terminal and computer-readable storage medium | |
Zhao et al. | End-to-end denoising of dark burst images using recurrent fully convolutional networks | |
Peng et al. | Deep HDR reconstruction of dynamic scenes | |
CN106303243A (en) | A kind of photographic method, device and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180720 |
|
RJ01 | Rejection of invention patent application after publication |