CN106993091A - A kind of image weakening method and mobile terminal - Google Patents
A kind of image weakening method and mobile terminal Download PDFInfo
- Publication number
- CN106993091A CN106993091A CN201710198188.9A CN201710198188A CN106993091A CN 106993091 A CN106993091 A CN 106993091A CN 201710198188 A CN201710198188 A CN 201710198188A CN 106993091 A CN106993091 A CN 106993091A
- Authority
- CN
- China
- Prior art keywords
- region
- image
- data
- same depth
- mobile terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
-
- 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/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/2224—Studio circuitry; Studio devices; Studio equipment related to virtual studio applications
- H04N5/2226—Determination of depth image, e.g. for foreground/background separation
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Image Processing (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a kind of image weakening method, methods described includes:Obtain N number of image-region that mobile terminal user selects on image;Obtain the ID data in each region in N number of image-region;Based on the ID data in each region in N number of image-region, virtualization processing is carried out to described image.It can be seen that, a kind of image virtualization scheme that the present invention is provided, the corresponding depth data of different depth layer is fused into same depth data, then multiple regions can be fused into same depth layer, so, the image of generation, which can just be realized, is clearly shown one layer after fusion, and depth layer in addition then obscures display, that is the region of user's selection can realize that it is then virtualization clearly to show other regions, can select any number of targets to carry out image virtualization.
Description
Technical field
The present invention relates to technical field of image processing, more particularly to a kind of image weakening method and mobile terminal.
Background technology
Now with the fast development of science and technology, mobile terminal turns into all the more a part indispensable during people live, people
Taken pictures using mobile terminal, in order to bring user more preferable usage experience, dual camera is set in the terminal, can
Image is blurred the need for realize foundation user.
Current mobile terminal virtualization operation is mainly first taken pictures focuses afterwards, carries out dual camera virtualization operation and is exactly mainly
Picture is divided into 2 layers, foreground and background;By clicking in foreground and background position come the virtualization for switching front and rear scape and clear feelings
Condition.
Existing image blurs processing scheme, it is impossible to which the image of many depth layers is blurred.For example:Assuming that personage is on hand
Take before article is placed on, if the main target layering in image is focused, can be largely classified into from depth data
Article, personage, three layers of background (layer before, during and after i.e.);If now blurring focusing mode according to existing dual camera, when
Wherein any one layer is clicked on, one layer of click is clear, and is all for other two layers that virtualization is fuzzy.Due to existing virtualization processing
The a certain layer of layer is realized clearly before, during and after scheme can only cause, then when the article front layer and personage middle level that user wants keep clear
It is clear, and the fuzzy situation of layer can not then be realized after background, or obscured when user wants article front layer, and personage middle level and background
Clearly situation can not also be realized layer afterwards.
The content of the invention
The invention provides a kind of image weakening method and mobile terminal, to solve virtualization in the prior art to image
The problem of individual layer being blurred.
The invention discloses a kind of image weakening method, methods described includes:Mobile terminal user is obtained to select on image
The N number of image-region selected;Obtain the ID data in each region in N number of image-region;Based on N number of image district
The ID data in each region in domain, virtualization processing is carried out to described image.
The invention also discloses a kind of mobile terminal, the mobile terminal includes:First acquisition module, for obtaining movement
N number of image-region that terminal user selects on image;Second acquisition module, obtains each region in N number of image-region
ID data;Blurring module, based on the ID data in each region in N number of image-region, to the figure
As carrying out virtualization processing, wherein, N is the integer more than 1.
A kind of image virtualization scheme provided in an embodiment of the present invention, it is N number of that acquisition mobile terminal user selects on image
Image-region;Obtain the ID data in each region in N number of image-region;Based on every in N number of image-region
The ID data in individual region, virtualization processing is carried out to described image;Wherein, N is the integer more than 1.It can be seen that, the present invention is carried
A kind of image virtualization scheme supplied, same depth data is fused into by the corresponding depth data of different depth layer, then can will be multiple
Region can be fused into same depth layer, so, and the image of generation, which can just be realized, is clearly shown one layer after fusion,
And depth layer in addition then obscures display, i.e. the region of user's selection can realize that it is then void clearly to show other regions
Change, any number of targets can be selected to carry out image virtualization.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of image weakening method of the embodiment of the present invention;
Fig. 2 is a kind of flow chart of image weakening method of the embodiment of the present invention;
Fig. 3 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention;
Fig. 4 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention;
Fig. 5 is the structured flowchart of the blurring module of the embodiment of the present invention;
Fig. 6 is the structured flowchart of the judging submodule of the embodiment of the present invention;
Fig. 7 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention;
Fig. 8 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Reference picture 1, shows a kind of step flow chart of image weakening method of the present invention.
Image weakening method provided in an embodiment of the present invention comprises the following steps:
Step 101:Obtain N number of image-region that mobile terminal user selects on image.
When user needs to carry out image the virtualization of many depth layers, needed in mobile terminal screen epigraph it is clear or
The region of virtualization is needed to carry out touch control operation, it is necessary to which explanation, those skilled in the art can be according to actual conditions to touch-control
Operation is configured, and can be unit, double-click or long-press etc., this is not specifically limited.
According to touch control operation of the user to image, multiple regions that user selects on image are obtained, it may be determined that user
Need virtualization processing is carried out to which image-region.
Step 102:Obtain the ID data in each region in N number of image-region.
Determine the ID data of the pixel of each in image.Because the target of image by remote has near, then each pixel pair
The depth layer answered have same depth layer have then not in same depth layer, then the depth data of different depth layer is not yet
Together, the ID data of a pixel in image are determined.
The ID data in each region in N number of image-region are obtained, are subsequently needing what image was handled
It in operation, can no longer need to obtain the ID data in the region, save the time.
It should be noted that ID data are the depth data for each pixel for not doing any processing.
Step 103:Based on the ID data in each region in N number of image-region, virtualization processing is carried out to image.
Wherein, N is the integer more than 1.
ID data based on each region in N number of image-region are handled, and complete many depth layers to image
Virtualization processing.
A kind of image weakening method provided in an embodiment of the present invention, it is N number of that acquisition mobile terminal user selects on image
Image-region;Obtain the ID data in each region in N number of image-region;Based on every in N number of image-region
The ID data in individual region, virtualization processing is carried out to described image;Wherein, N is the integer more than 1.It can be seen that, the present invention is carried
A kind of image weakening method supplied, same depth data is fused into by the corresponding depth data of different depth layer, then can will be multiple
Region can be fused into same depth layer, so, and the image of generation, which can just be realized, is clearly shown one layer after fusion,
And depth layer in addition then obscures display, i.e. the region of user's selection can realize that it is then void clearly to show other regions
Change, any number of targets can be selected to carry out image virtualization.
Reference picture 2, shows a kind of step flow chart of image weakening method of the invention.
Image weakening method provided in an embodiment of the present invention comprises the following steps:
Step 201:Obtain N number of image-region that mobile terminal user selects on image.
When user needs to carry out image the virtualization of many depth layers, needed in mobile terminal screen epigraph it is clear or
The region of virtualization is needed to carry out touch control operation, it is necessary to which explanation, those skilled in the art can be according to actual conditions to touch-control
Operation is configured, and can be unit, double-click or long-press etc., this is not specifically limited, according to touch-control of the user to image
Operation, obtains multiple regions that user selects on image.
Step 202:Obtain the ID data in each region in N number of image-region.
Wherein, N is the integer more than 1.
Determine the ID data of the pixel of each in image.Because the target of image by remote has near, then each pixel pair
The depth layer answered have same depth layer have then not in same depth layer, then the depth data of different depth layer is not yet
Together, the ID data of a pixel in image are determined.
It should be noted that ID data are the depth data for each pixel for not doing any processing.
The ID data in each region in N number of image-region are obtained, are subsequently needing what image was handled
It in operation, can no longer need to obtain the ID data in the region, save the time.
Obtaining the ID data in each region in N number of image-region can be carried out to N number of image image-region
After virtualization processing, when needing to carry out other regions virtualization processing, the ID data in each region can be reused
Virtualization processing is carried out to different regions..
Step 203:Based on the ID data in each region in N number of image-region, judge whether N number of image-region is located
In same depth layer;If so, step 204 is then performed, if it is not, then performing step 205.
It should be noted that whether the ID data for judging each region in N number of image-region are same depth value
Or belong to same depth bounds;If the ID data in each region are same depth value or belong to same in N number of image-region
One depth bounds, then be judged as that N number of image-region is in same depth layer.
Step 204:If N number of image-region is in same depth layer, virtualization processing is carried out to image.
When N number of image-region judges to be in same depth layer, it is not necessary to the corresponding ID in the region of selection
Data carry out any processing, directly carry out virtualization processing to N number of image-region.
Step 205:If N number of image-region is in different depth layer, by all pixels in each region in N number of image-region
The depth data of point is disposed as same depth value or same depth bounds.
If the result judged is not at same depth layer as N number of image-region, by each region in N number of image-region
The fusion of all pixels point turn into same depth layer or same depth bounds, so N number of image-region could be blurred.
The corresponding different depth scope of N number of image-region or depth value are set to same depth value or depth model
Enclose, because the corresponding depth value in multiple images region or depth bounds are consistent, so as to realize to multiple different depth models
The region enclosed carries out virtualization processing, and does not influence other unchecked regions.
Step 206:Based on the depth data in each region in N number of image-region after percentage regulation data, image is entered
Row virtualization is handled.
The virtualization processing method of another optimization is that virtualization processing is carried out to N number of image-region, or to removing N number of in image
All image-regions outside image-region carry out virtualization processing.
During being blurred to image, selected image-region can be blurred, can also be to removing N number of image in image
All images outside region are blurred.A kind of image weakening method provided in an embodiment of the present invention, obtains mobile terminal and uses
N number of image-region that family is selected on image;Obtain the ID data in each region in N number of image-region;It is based on
The ID data in each region in N number of image-region, virtualization processing is carried out to described image;Wherein, N is more than 1
Integer.It can be seen that, the corresponding depth data of different depth layer is fused into same by a kind of image weakening method that the present invention is provided
Depth data, then can be fused into same depth layer by multiple regions, so, and the image of generation can be just realized after fusion
One layer clearly shown that and depth layer in addition then obscures display, i.e. the region of user's selection can be realized clearly
It is then virtualization to show other regions, and the usage experience that scheme lifts user is blurred by the image.
Reference picture 3, shows a kind of structured flowchart of mobile terminal of the embodiment of the present invention three.
Mobile terminal provided in an embodiment of the present invention includes:First acquisition module 301, exists for obtaining mobile terminal user
The N number of image-region selected on image;Second acquisition module 302, obtains the initial depth in each region in N number of image-region
Degrees of data;Blurring module 303, based on the ID data in each region in N number of image-region, is carried out to described image
Virtualization is handled, wherein, N is the integer more than 1.
A kind of mobile terminal provided in an embodiment of the present invention, obtains N number of image that mobile terminal user selects on image
Region;Obtain the ID data in each region in N number of image-region;Based on each area in N number of image-region
The ID data in domain, virtualization processing is carried out to described image;Wherein, N is the integer more than 1.It can be seen that, what the present invention was provided
A kind of mobile terminal, same depth data is fused into by the corresponding depth data of different depth layer, then can be with by multiple regions
Same depth layer is fused into, so, the image of generation, which can just be realized, is clearly shown one layer after fusion, and except this it
Outer depth layer then obscures display, i.e. the region of user's selection can realize that it is then virtualization, Neng Gouxuan clearly to show other regions
Select any number of targets and carry out image virtualization.
Reference picture 4, shows a kind of structured flowchart of mobile terminal of the present invention.
Mobile terminal provided in an embodiment of the present invention includes:First acquisition module 401, exists for obtaining mobile terminal user
The N number of image-region selected on image;Second acquisition module 402, obtains the initial depth in each region in N number of image-region
Degrees of data;Blurring module 403, based on the ID data in each region in N number of image-region, is carried out to described image
Virtualization is handled, wherein, N is the integer more than 1.
Preferably, it is the structured flowchart of blurring module, the blurring module 403 includes such as Fig. 5:Judging submodule 4031,
For the ID data based on each region in N number of image-region, judge N number of image-region whether in same
One depth layer;Submodule 4032 is blurred, if being in same depth layer for N number of image-region, described image is carried out
Virtualization is handled.
Preferably, the mobile terminal also includes:Fusion Module 404, if being in different depths for N number of image-region
Layer is spent, then the ID data in each region in N number of image-region are set to goal-selling depth data;Image is empty
Change module 405, for the depth data based on each region in N number of image-region after percentage regulation data, to described
Image carries out virtualization processing.
Preferably, the Fusion Module 404 is specifically for by all pixels in each region in N number of image-region
The depth data of point is disposed as same depth value or same depth bounds.
Preferably, as shown in fig. 6, being the structured flowchart of judging submodule, the judging submodule 4031 includes:Judge single
Member 40311, for judging whether the ID data in each region in N number of image-region are same depth value or belong to
Same depth bounds;Determining unit 40312, if the ID data for each region in N number of image-region are same
One depth value belongs to same depth bounds, then is judged as that N number of image-region is in same depth layer.
Preferably, as shown in figure 5, being the structured flowchart of blurring module, the blurring module 403 also includes, and handles submodule
Block 4033, for carrying out virtualization processing to the N number of image-region, or in described image except N number of image-region it
Outer all image-regions carry out virtualization processing.
A kind of mobile terminal provided in an embodiment of the present invention, obtains N number of image that mobile terminal user selects on image
Region;Obtain the ID data in each region in N number of image-region;Based on each area in N number of image-region
The ID data in domain, virtualization processing is carried out to described image;Wherein, N is the integer more than 1.It can be seen that, what the present invention was provided
A kind of mobile terminal, same depth data is fused into by the corresponding depth data of different depth layer, then can be with by multiple regions
Same depth layer is fused into, so, the image of generation, which can just be realized, is clearly shown one layer after fusion, and except this it
Outer depth layer then obscures display, i.e. the region of user's selection can realize that it is then virtualization clearly to show other regions, by this
Image virtualization scheme lifts the usage experience of user.
Reference picture 7, shows the structured flowchart of the mobile terminal of the present invention.
The mobile terminal 800 of the embodiment of the present invention includes:At least one processor 801, memory 802, at least one net
Network interface 804 and other users interface 803.Each component in mobile terminal 800 is coupled by bus system 805.
It is understood that bus system 805 is used to realize the connection communication between these components.Bus system 805 except include data/address bus it
Outside, in addition to power bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, in the figure 7 will be various total
Line is all designated as bus system 805.
Wherein, user interface 803 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 802 be intended to including but not limited to these
With the memory of any other suitable type.
In some embodiments, memory 802 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 8021 and application program 8022.
Wherein, operating system 8021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for
Realize various basic businesses and handle hardware based task.Application program 8022, includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 8022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 802, specifically, can be application
The program stored in program 8022 or instruction, processor 801 are used for:Obtain N number of figure that mobile terminal user selects on image
As region;Obtain the ID data in each region in N number of image-region;Based on each in N number of image-region
The ID data in region, virtualization processing is carried out to described image;Wherein, N is the integer more than 1.
The method that the embodiments of the present invention are disclosed can apply in processor 801, or be realized by processor 801.
Processor 801 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned processing
Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, and flash memory, read-only storage may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 802, processor 801 reads the information in memory 802, the step of completing the above method with reference to its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realized for software, can be by performing the module of function described in the embodiment of the present invention (such as process, function)
To realize the technology described in the embodiment of the present invention.Software code is storable in memory and by computing device.Storage
Device can be realized within a processor or outside processor.
Alternatively, processor 801 is additionally operable to:Based on the ID data in each region in N number of image-region, sentence
Whether the N number of image-region that breaks is in same depth layer;If N number of image-region is in same depth layer, to described
Image carries out virtualization processing.
Alternatively, processor 801 is additionally operable to:If N number of image-region is in different depth layer, by N number of figure
As the ID data in each region in region are set to goal-selling depth data;Described in after percentage regulation data
The depth data in each region in N number of image-region, virtualization processing is carried out to described image.
Alternatively, processor 801 is additionally operable to:By the depth of all pixels point in each region in N number of image-region
Data are disposed as same depth value or same depth bounds.
Alternatively, processor 801 is additionally operable to:Judging the ID data in each region in N number of image-region is
It is no to be same depth value or belong to same depth bounds;If the ID data in each region are in N number of image-region
Same depth value belongs to same depth bounds, then is judged as that N number of image-region is in same depth layer.
Alternatively, processor 801 is additionally operable to:Virtualization processing is carried out to N number of image-region, or in described image
All image-regions in addition to N number of image-region carry out virtualization processing.
Mobile terminal 800 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
By mobile terminal provided in an embodiment of the present invention, N number of image that mobile terminal user selects on image is obtained
Region;Obtain the ID data in each region in N number of image-region;Based on each area in N number of image-region
The ID data in domain, virtualization processing is carried out to described image;Wherein, N is the integer more than 1.It can be seen that, what the present invention was provided
A kind of mobile terminal, same depth data is fused into by the corresponding depth data of different depth layer, then can be with by multiple regions
Same depth layer is fused into, so, the image of generation, which can just be realized, is clearly shown one layer after fusion, and except this it
Outer depth layer then obscures display, i.e. the region of user's selection can realize that it is then virtualization, Neng Gouxuan clearly to show other regions
Select any number of targets and carry out image virtualization.
Reference picture 8, shows the structured flowchart of the mobile terminal of the present invention.
Mobile terminal in the embodiment of the present invention can be mobile phone, tablet personal computer, personal digital assistant (Personal
Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Fig. 8 includes radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block
930th, display unit 940, processor 960, voicefrequency circuit 970, WiFi (Wireless Fidelity) modules 980 and power supply
990。
Wherein, input block 930 can be used for the numeral or character information for receiving user's input, and produce and mobile terminal
User set and function control it is relevant signal input.Specifically, in the embodiment of the present invention, the input block 930 can be with
Including contact panel 931.Contact panel 931, also referred to as touch-screen, collect touch operation (ratio of the user on or near it
Such as user uses the operation of finger, any suitable object of stylus or annex on contact panel 931), and according to setting in advance
Fixed formula drives corresponding attachment means.Optionally, contact panel 931 may include touch detecting apparatus and touch controller two
Individual part.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, and signal is passed
Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then
Give the processor 960, and the order sent of reception processing device 960 and can be performed.Furthermore, it is possible to using resistance-type, electricity
The polytypes such as appearance formula, infrared ray and surface acoustic wave realize contact panel 931.Except contact panel 931, input block 930
Other input equipments 932 can also be included, other input equipments 932 can include but is not limited to physical keyboard, function key (such as
Volume control button, switch key etc.), trace ball, mouse, the one or more in action bars etc..
Wherein, display unit 940 can be used for information and the movement for showing the information inputted by user or being supplied to user
The various menu interfaces of terminal.Display unit 940 may include display panel 941, optionally, can use LCD or organic light emission
The forms such as diode (Organic Light-Emitting Diode, OLED) configure display panel 941.
It should be noted that contact panel 931 can cover display panel 941, touch display screen is formed, when touch display screen inspection
Measure after the touch operation on or near it, processor 960 is sent to determine the type of touch event, with preprocessor
960 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 960 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone
Individual part, by operation or performs and is stored in software program and/or module in first memory 921, and calls and be stored in
Data in second memory 922, perform the various functions and processing data of mobile terminal, so as to be carried out to mobile terminal overall
Monitoring.Optionally, processor 960 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 921 in software program and/or module and/
Or the data in the second memory 922, processor 960 is used for:Obtain N number of image that mobile terminal user selects on image
Region;Obtain the ID data in each region in N number of image-region;Based on each area in N number of image-region
The ID data in domain, virtualization processing is carried out to described image;Wherein, N is the integer more than 1.
Alternatively, processor 960 is additionally operable to:Based on the ID data in each region in N number of image-region, sentence
Whether the N number of image-region that breaks is in same depth layer;If N number of image-region is in same depth layer, to described
Image carries out virtualization processing.
Alternatively, processor 960 is additionally operable to:If N number of image-region is in different depth layer, by N number of figure
As the ID data in each region in region are set to goal-selling depth data;Described in after percentage regulation data
The depth data in each region in N number of image-region, virtualization processing is carried out to described image.
Alternatively, processor 960 is additionally operable to:By the depth of all pixels point in each region in N number of image-region
Data are disposed as same depth value or same depth bounds.
Alternatively, processor 960 is additionally operable to:Judging the ID data in each region in N number of image-region is
It is no to be same depth value or belong to same depth bounds;If the ID data in each region are in N number of image-region
Same depth value belongs to same depth bounds, then is judged as that N number of image-region is in same depth layer.
Alternatively, processor 960 is additionally operable to:Virtualization processing is carried out to N number of image-region, or in described image
All image-regions in addition to N number of image-region carry out virtualization processing.
By mobile terminal provided in an embodiment of the present invention, N number of image that mobile terminal user selects on image is obtained
Region;Obtain the ID data in each region in N number of image-region;Based on each area in N number of image-region
The ID data in domain, virtualization processing is carried out to described image;Wherein, N is the integer more than 1.It can be seen that, what the present invention was provided
A kind of mobile terminal, same depth data is fused into by the corresponding depth data of different depth layer, then can be with by multiple regions
Same depth layer is fused into, so, the image of generation, which can just be realized, is clearly shown one layer after fusion, and except this it
Outer depth layer then obscures display, i.e. the region of user's selection can realize that it is then virtualization, Neng Gouxuan clearly to show other regions
Select any number of targets and carry out image virtualization.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
Provided herein image weakening method not with the intrinsic phase of any certain computer, virtual system or miscellaneous equipment
Close.Various general-purpose systems can also be used together with based on teaching in this.As described above, construction has present invention side
Structure required by the system of case is obvious.In addition, the present invention is not also directed to any certain programmed language.Should be bright
In vain, it is possible to use various programming languages realize the content of invention described herein, that and language-specific is done above retouches
State be in order to disclose the present invention preferred forms.
In the specification that this place is provided, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, exist
Above in the description of the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect
The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as right
As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Thus claims of body embodiment are expressly incorporated in the embodiment, wherein the conduct of each claim in itself
The separate embodiments of the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit is required, summary and accompanying drawing) disclosed in each feature can or similar purpose identical, equivalent by offer alternative features come generation
Replace.
Although in addition, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of be the same as Example does not mean in of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any
Mode it can use in any combination.
The present invention all parts embodiment can be realized with hardware, or with one or more processor run
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor (DSP) come realize in image weakening method according to embodiments of the present invention some or
The some or all functions of person's whole part.The present invention is also implemented as perform method as described herein one
Divide or whole equipment or program of device (for example, computer program and computer program product).It is such to realize this hair
Bright program can be stored on a computer-readable medium, or can have the form of one or more signal.It is such
Signal can be downloaded from internet website and obtained, and either provided or provided in any other form on carrier signal.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and coming real by means of properly programmed computer
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with
Between the difference of other embodiment, each embodiment identical similar part mutually referring to.For system embodiment
For, because it is substantially similar to embodiment of the method, so description is fairly simple, referring to the portion of embodiment of the method in place of correlation
Defend oneself bright.
Claims (12)
1. a kind of image weakening method, applied to mobile terminal, it is characterised in that methods described includes:
Obtain N number of image-region that mobile terminal user selects on image;
Obtain the ID data in each region in N number of image-region;
Based on the ID data in each region in N number of image-region, virtualization processing is carried out to described image;
Wherein, N is the integer more than 1.
2. according to the method described in claim 1, it is characterised in that described based on each region in N number of image-region
ID data, the step of virtualization processing is carried out to the target area, including:
Based on the ID data in each region in N number of image-region, judge N number of image-region whether in same
One depth layer;
If N number of image-region is in same depth layer, virtualization processing is carried out to described image.
3. method according to claim 2, it is characterised in that described based on each region in N number of image-region
ID data, judge after the step of whether N number of image-region is in same depth layer, methods described also includes:
If N number of image-region is in different depth layer, by the ID number in each region in N number of image-region
According to being set to goal-selling depth data;
Based on the depth data in each region in N number of image-region after percentage regulation data, described image is carried out empty
Change is handled.
4. method according to claim 3, it is characterised in that it is described by N number of image-region each region just
The step of beginning depth data is set to goal-selling depth data, including:
The depth data of all pixels point in each region in N number of image-region is disposed as same depth value or same
Depth bounds.
5. method according to claim 2, it is characterised in that described based on each region in N number of image-region
ID data, judge the step of whether N number of image-region is in same depth layer, including:
Judge whether the ID data in each region in N number of image-region are same depth value or belong to same depth
Scope;
If the ID data in each region are same depth value or belong to same depth bounds in N number of image-region,
Then it is judged as that N number of image-region is in same depth layer.
6. according to the method described in claim 1, it is characterised in that described that the step of virtualization is handled, bag are carried out to described image
Include:
Virtualization processing is carried out to N number of image-region, or to all in addition to N number of image-region in described image
Image-region carries out virtualization processing.
7. a kind of mobile terminal, it is characterised in that including:
First acquisition module, for obtaining N number of image-region that mobile terminal user selects on image;
Second acquisition module, obtains the ID data in each region in N number of image-region;
Blurring module, based on the ID data in each region in N number of image-region, is carried out at virtualization to described image
Reason, wherein, N is the integer more than 1.
8. mobile terminal according to claim 7, it is characterised in that the blurring module includes:
Judging submodule, for the ID data based on each region in N number of image-region, judges N number of figure
As whether region is in same depth layer;
Submodule is blurred, if being in same depth layer for N number of image-region, virtualization processing is carried out to described image.
9. mobile terminal according to claim 8, it is characterised in that the mobile terminal also includes:
Fusion Module, if different depth layer is in for N number of image-region, by each area in N number of image-region
The ID data in domain are set to goal-selling depth data;
Image blurring module, for the depth data based on each region in N number of image-region after percentage regulation data,
Virtualization processing is carried out to described image.
10. mobile terminal according to claim 9, it is characterised in that the Fusion Module is specifically for by N number of figure
As the depth data of all pixels point in each region in region is disposed as same depth value or same depth bounds.
11. mobile terminal according to claim 7, it is characterised in that:The judging submodule includes:
Judging unit, for judging whether the ID data in each region in N number of image-region are same depth value
Or belong to same depth bounds;
Determining unit, if the ID data for each region in N number of image-region are same depth value or belonged to
Same depth bounds, then be judged as that N number of image-region is in same depth layer.
12. mobile terminal according to claim 7, it is characterised in that the blurring module includes:
Submodule is handled, for carrying out virtualization processing to N number of image-region, or to removing N number of figure in described image
As all image-regions outside region carry out virtualization processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710198188.9A CN106993091B (en) | 2017-03-29 | 2017-03-29 | Image blurring method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710198188.9A CN106993091B (en) | 2017-03-29 | 2017-03-29 | Image blurring method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106993091A true CN106993091A (en) | 2017-07-28 |
CN106993091B CN106993091B (en) | 2020-05-12 |
Family
ID=59412950
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710198188.9A Active CN106993091B (en) | 2017-03-29 | 2017-03-29 | Image blurring method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106993091B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108230333A (en) * | 2017-11-28 | 2018-06-29 | 深圳市商汤科技有限公司 | Image processing method, device, computer program, storage medium and electronic equipment |
CN108234865A (en) * | 2017-12-20 | 2018-06-29 | 深圳市商汤科技有限公司 | Image processing method, device, computer readable storage medium and electronic equipment |
CN108335323A (en) * | 2018-03-20 | 2018-07-27 | 厦门美图之家科技有限公司 | A kind of weakening method and mobile terminal of image background |
CN110062157A (en) * | 2019-04-04 | 2019-07-26 | 北京字节跳动网络技术有限公司 | Render method, apparatus, electronic equipment and the computer readable storage medium of image |
CN110569453A (en) * | 2018-03-27 | 2019-12-13 | 优酷网络技术(北京)有限公司 | Path blurring method and device based on canvas element |
WO2020087486A1 (en) * | 2018-11-02 | 2020-05-07 | Oppo广东移动通信有限公司 | Depth image processing method, depth image processing apparatus and electronic apparatus |
CN112541867A (en) * | 2020-12-04 | 2021-03-23 | Oppo(重庆)智能科技有限公司 | Image processing method, image processing device, electronic equipment and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104081765A (en) * | 2011-09-14 | 2014-10-01 | 三星电子株式会社 | Image processing apparatus and image processing method thereof |
US20150294475A1 (en) * | 2009-11-27 | 2015-10-15 | Sony Corporation | Image processing apparatus, image processing method and program |
CN105488511A (en) * | 2015-11-25 | 2016-04-13 | 小米科技有限责任公司 | Image identification method and device |
EP3035681A1 (en) * | 2014-12-15 | 2016-06-22 | Sony Computer Entertainment Europe Ltd. | Image processing method and apparatus |
CN105933589A (en) * | 2016-06-28 | 2016-09-07 | 广东欧珀移动通信有限公司 | Image processing method and terminal |
CN106060423A (en) * | 2016-06-02 | 2016-10-26 | 广东欧珀移动通信有限公司 | Bokeh photograph generation method and device, and mobile terminal |
-
2017
- 2017-03-29 CN CN201710198188.9A patent/CN106993091B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150294475A1 (en) * | 2009-11-27 | 2015-10-15 | Sony Corporation | Image processing apparatus, image processing method and program |
CN104081765A (en) * | 2011-09-14 | 2014-10-01 | 三星电子株式会社 | Image processing apparatus and image processing method thereof |
EP3035681A1 (en) * | 2014-12-15 | 2016-06-22 | Sony Computer Entertainment Europe Ltd. | Image processing method and apparatus |
CN105488511A (en) * | 2015-11-25 | 2016-04-13 | 小米科技有限责任公司 | Image identification method and device |
CN106060423A (en) * | 2016-06-02 | 2016-10-26 | 广东欧珀移动通信有限公司 | Bokeh photograph generation method and device, and mobile terminal |
CN105933589A (en) * | 2016-06-28 | 2016-09-07 | 广东欧珀移动通信有限公司 | Image processing method and terminal |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108230333A (en) * | 2017-11-28 | 2018-06-29 | 深圳市商汤科技有限公司 | Image processing method, device, computer program, storage medium and electronic equipment |
CN110546943B (en) * | 2017-12-20 | 2021-08-31 | 深圳市商汤科技有限公司 | Image processing method, image processing device, computer-readable storage medium and electronic equipment |
CN108234865A (en) * | 2017-12-20 | 2018-06-29 | 深圳市商汤科技有限公司 | Image processing method, device, computer readable storage medium and electronic equipment |
US11132770B2 (en) | 2017-12-20 | 2021-09-28 | Shenzhen Sensetime Technology Co., Ltd | Image processing methods and apparatuses, computer readable storage media and electronic devices |
CN110546943A (en) * | 2017-12-20 | 2019-12-06 | 深圳市商汤科技有限公司 | Image processing method, image processing device, computer-readable storage medium and electronic equipment |
CN108335323A (en) * | 2018-03-20 | 2018-07-27 | 厦门美图之家科技有限公司 | A kind of weakening method and mobile terminal of image background |
CN108335323B (en) * | 2018-03-20 | 2020-12-29 | 厦门美图之家科技有限公司 | Blurring method of image background and mobile terminal |
CN110569453A (en) * | 2018-03-27 | 2019-12-13 | 优酷网络技术(北京)有限公司 | Path blurring method and device based on canvas element |
WO2020087486A1 (en) * | 2018-11-02 | 2020-05-07 | Oppo广东移动通信有限公司 | Depth image processing method, depth image processing apparatus and electronic apparatus |
US11562496B2 (en) | 2018-11-02 | 2023-01-24 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Depth image processing method, depth image processing apparatus and electronic device |
CN110062157B (en) * | 2019-04-04 | 2021-09-17 | 北京字节跳动网络技术有限公司 | Method and device for rendering image, electronic equipment and computer readable storage medium |
CN110062157A (en) * | 2019-04-04 | 2019-07-26 | 北京字节跳动网络技术有限公司 | Render method, apparatus, electronic equipment and the computer readable storage medium of image |
CN112541867A (en) * | 2020-12-04 | 2021-03-23 | Oppo(重庆)智能科技有限公司 | Image processing method, image processing device, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106993091B (en) | 2020-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106993091A (en) | A kind of image weakening method and mobile terminal | |
CN107450800A (en) | A kind of task method to set up, mobile terminal and computer-readable recording medium | |
CN107657591A (en) | A kind of image processing method and mobile terminal | |
CN106713117A (en) | Group message display method and mobile terminal | |
CN106506401A (en) | A kind of flow managing method and mobile terminal | |
CN106101544A (en) | A kind of image processing method and mobile terminal | |
CN107577512A (en) | A kind of message display method, mobile terminal and computer-readable recording medium | |
CN107172346A (en) | A kind of weakening method and mobile terminal | |
CN106157125A (en) | A kind of payment interface changing method and device | |
CN106681603A (en) | Method for adjusting video playing progress and mobile terminal | |
CN107562263A (en) | Data entry device, mobile terminal and computer-readable recording medium | |
CN106445495A (en) | Application program interface display method and mobile terminal | |
CN106528603A (en) | Application program searching method and mobile terminal | |
CN107643912A (en) | A kind of information sharing method and mobile terminal | |
CN106527906A (en) | Picture capture method and mobile terminal | |
CN106527884A (en) | Target object processing method and mobile terminal | |
CN106648426A (en) | Method for adjusting video playing progress and mobile terminal | |
CN107483821A (en) | A kind of image processing method and mobile terminal | |
CN106888319A (en) | The display methods and mobile terminal of a kind of shortcuts bar | |
CN106569662A (en) | Display method of application interface and mobile terminal | |
CN107665140A (en) | A kind of display methods and mobile terminal of application program shortcut | |
CN106888320A (en) | A kind of method and mobile terminal with animation form display Weather information | |
CN106611404A (en) | Puzzle template selecting method and mobile terminal | |
CN107026986A (en) | The processing method and mobile terminal of a kind of video background music | |
CN106934052A (en) | A kind of media text handling method and mobile 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |