CN107644170A - A kind of image processing method and mobile terminal - Google Patents
A kind of image processing method and mobile terminal Download PDFInfo
- Publication number
- CN107644170A CN107644170A CN201710772874.2A CN201710772874A CN107644170A CN 107644170 A CN107644170 A CN 107644170A CN 201710772874 A CN201710772874 A CN 201710772874A CN 107644170 A CN107644170 A CN 107644170A
- Authority
- CN
- China
- Prior art keywords
- object region
- target image
- mobile terminal
- region
- bending
- 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
Landscapes
- Image Processing (AREA)
- Telephone Function (AREA)
- Studio Devices (AREA)
Abstract
The invention provides a kind of image processing method and mobile terminal, mobile terminal is provided with flexible screen, and method includes:In the display screen display target image of mobile terminal, bending operation of the detection user to flexible screen;If detecting bending operation, operated according to bending, determine object region pending in target image;Object region is encrypted.The present embodiment is solved present in prior art when presence simultaneously need to check information and private information on a pictures, the problem of being easily destroyed privacy of user.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of image processing method and mobile terminal.
Background technology
Mobile terminal epigraph checks that mode is by picture, Ran Houtu corresponding to the click in mobile terminal photograph album at present
Piece directly displays entire image.But this picture display mode is more direct, when user is wanted the part in a width picture
Images share give other people watch, but on another part image in the pictures exist more the information of privacy when, if now
Picture in its entirety is shared with into other people to watch, then can reveal the private information of user.
In summary, in the prior art there is when on a pictures simultaneously presence need to check information and private information when,
Easily there is the problem of destroying privacy of user.
The content of the invention
The embodiment of the present invention provides a kind of image processing method and mobile terminal, to solve present in prior art when one
Presence simultaneously be when need to check information and private information on pictures, the problem of being easily destroyed privacy of user.
In a first aspect, the embodiment of the present invention provides a kind of image processing method, applied to the mobile end for being provided with flexible screen
End, methods described include:
In the display screen display target image of mobile terminal, bending operation of the detection user to flexible screen;
If detecting bending operation, operated according to the bending, determine target figure pending in the target image
As region;
The object region is encrypted.
Second aspect, the embodiment of the present invention provide a kind of mobile terminal, are provided with flexible screen, the mobile terminal includes:
First detection module, in the display screen display target image of mobile terminal, user to be to flexible screen for detection
Bending operation;
Determining module, if for detecting bending operation, operated according to the bending, determine to treat in the target image
The object region of processing;
Encryption processing module, for the object region to be encrypted.
The third aspect, the embodiment of the present invention provide a kind of mobile terminal, are provided with flexible screen, the mobile terminal also includes
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor, the processing
The step of device realizes described image processing method when performing the computer program.
Fourth aspect, the embodiment of the present invention provide a kind of computer-readable recording medium, are stored thereon with computer program,
The step of described image processing method is realized when the computer program is executed by processor.
In embodiments of the present invention, by the way that in the display screen display target image of mobile terminal, user is to flexibility for detection
The bending operation of screen, and operated according to bending, object region pending in target image is determined, then to target figure
As region is encrypted so that object region can be encrypted, so that being given by whole pictures
When other people watch, content that other people can not be watched at object region avoids secret in object region
Property information leakage, effectively protect privacy of user, solve present in prior art when on a pictures and meanwhile exist need
When checking information and private information, the problem of being easily destroyed privacy of user.
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 represents the step flow chart of recording control method in embodiments of the invention;
Fig. 2 represents one of bending mode of flexible screen in embodiments of the invention;
Fig. 3 represents two of the bending mode of flexible screen in embodiments of the invention;
Fig. 4 represents three of the bending mode of flexible screen in embodiments of the invention;
Fig. 5 represents four of the bending mode of flexible screen in embodiments of the invention;
Fig. 6 represents the schematic diagram for the object region that the folding line being directed in Fig. 2 determines;
Fig. 7 represents the schematic diagram for the object region that the folding line being directed in Fig. 3 determines;
Fig. 8 represents the schematic diagram for the object region that the folding line being directed in Fig. 4 determines;
Fig. 9 represents the schematic diagram for the object region that the folding line being directed in Fig. 5 determines;
Figure 10 represents one of structured flowchart of mobile terminal in embodiments of the invention;
Figure 11 represents two of the structured flowchart of mobile terminal in embodiments of the invention;
Figure 12 represents three of the structured flowchart of mobile terminal in embodiments of the invention;
Figure 13 represents four of the structured flowchart of mobile terminal in embodiments of the 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 describes, it is clear that described embodiment is part of the embodiment of the present 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.
As shown in figure 1, being the step flow chart of image processing method in embodiments of the invention, this method is applied to set
The mobile terminal of flexible screen, comprises the following steps:
Step 101, in the display screen display target image of mobile terminal, bending operation of the detection user to flexible screen.
In this step,, can be with referring to Fig. 2 to Fig. 5 specifically, in the display screen display target image of mobile terminal
According to the arrow in Fig. 2 to Fig. 5, flexible screen is bent.
In addition, specifically, when user bends to flexible screen, the viewing area of target image on a display screen is not
Become.
Wherein, the target image of the display screen display of mobile terminal can be the picture in mobile terminal in photograph album.
Step 102, if detecting bending operation, operated according to bending, determine target figure pending in target image
As region.
In this step, can be first according to curved specifically, it is determined that during object region pending in target image
Folding operation, obtain the folding line formed during flexible screen bending;Folding line is then based on, it is determined that bending region and non-bent area
Domain;Then region will be bent or do not bend region and be defined as object region pending in target image.For example, such as Fig. 2
Shown in Fig. 5, when detecting bending operation of the user to flexible screen (including Fig. 2 and Fig. 4 corner bending and Fig. 3 and Fig. 5
Side edge bending), the folding line L that is formed when can obtain flexible screen bending;Folding line L is then based on, it is determined that bending region A
Region is not bent, wherein not bending region as the remaining area in display screen in addition to region A is bent;Region will finally be bent
A does not bend region and is defined as pending object region.So so that the display screen of mobile terminal is according to folding line area
It is divided into object region and the remaining area in addition to object region, so as to enter for mobile terminal to object region
Row encryption provides the foundation.
In addition, mobile terminal, which will bend region or not bend region, is defined as object-image region pending in target image
Domain so that the image-region that user is capable of encryption as needed directly bends flexible screen, and then causes object region
Requirement of the user to encryption section can be met to greatest extent.For example, it is assumed that secret letter is there are on the a-quadrant of display screen
Breath, then user directly can be bent a-quadrant, so that bending region A turns into pending object region, side
User select bending region when bending operation.
In addition, specifically, based on folding line, it is determined that bending region and after not bending region, can also be by bent area
Domain and bending region are defined as object region pending in target image not bending the overlay area on region.Example
Such as, it is object region for the B area in the folding line L, Fig. 6 in Fig. 2;For the B in the folding line L, Fig. 7 in Fig. 3
Region is object region;It is object region for the B area in the folding line L, Fig. 8 in Fig. 4;For in Fig. 5
B area in folding line L, Fig. 9 is object region.So, when object region is excessive, user can bend smaller
Screen area i.e. can obtain object region.In addition, when object region is the rectangular area of display screen edge,
The object region can be obtained by bending to operate, farthest realize obtaining for the object region needed for user
Take, and then farthest protect the privacy information of user.
In addition, specifically, detect bending operation when, the viewing area of target image and be not detected by bending operation when
Viewing area it is consistent, i.e., the viewing area of target image will not because bending operation and produce change, so as to be pair determination a mesh
The operation in logo image region provides the foundation.
In addition, specifically, it is determined that after object region pending in target image, the target figure can be recorded
As the edge coordinate in region, so that mobile terminal can obtain the object region.
Step 103, object region is encrypted.
In this step, specifically, when object region is encrypted, following two modes can be passed through
To be encrypted:
One:Gaussian Blur processing is carried out to object region.
Wherein it is possible to Gaussian Blur processing is carried out to object region according to equation below, so as to obtain by Gauss
Blurred picture after Fuzzy Processing:
Wherein, Iblur represents the blurred picture after Gaussian Blur is handled, and (x, y) represents each picture in target image
The coordinate of vegetarian refreshments, I (x, y) represent view data of the pixel point coordinates in target image for (x, y), GB (I (x, y)) expressions pair
Pixel point coordinates in target image carries out the view data after Gaussian Blur processing, Region tables for the view data of (x, y)
Show object region, Others represents the remaining area in addition to object region in target image.
So, after to object region progress Gaussian Blur processing so that original at object region
Image is shown in the lower section of blurred picture, and original image is still shown at remaining area, so that user is giving picture to it
When other people watch, other people can only watch the picture rich in detail in other regions, and the image at object region is then hidden,
Avoid user and view privacy information in object region, effectively protect the privacy of user.
Secondly:Object region is first based on, generates scrambled matrix, then according to scrambled matrix, adjusts object-image region
The brightness value of each pixel in domain.So, by according to scrambled matrix, adjusting the bright of each pixel in object region
Angle value, so that the image of each pixel is in invisible mode in object region.
Wherein it is possible to processing is adjusted to target image according to equation below, so as to obtain passing through according to scrambled matrix
Encrypted image after adjustment processing:
Wherein, Encrypt (I (x, y))=I (x, y)+Ematrix (I (x, y))
Wherein, Iproc (x, y) represents to be adjusted the encrypted image after processing according to scrambled matrix, and (x, y) represents target
The coordinate of each pixel in image, I (x, y) represent view data of the pixel point coordinates in target image for (x, y),
Ematrix (I (x, y)) represents scrambled matrix of the respective pixel point coordinates for the view data of (x, y), Encrypt (I (x, y))
Represent that the view data after adjustment processing is encrypted for the view data of (x, y) to the pixel point coordinates in target image,
Region represents object region, and Others represents the remaining area in addition to object region in target image.
Wherein, specifically, the numerical value of scrambled matrix can be generated at random by mobile terminal.
So, according to scrambled matrix, adjust in object region after the brightness value of each pixel, mesh can be caused
The brightness value of each pixel in logo image region changes, so that the image in object region is in invisible
State, and original image is still shown at remaining area, so that user, when picture is watched to other people, other people can only
The picture rich in detail of remaining area is watched, and the image at object region is then hidden, and is avoided user and is viewed target
Privacy information in image-region, effectively protects privacy of user.
The present embodiment is by the way that in the display screen display target image of mobile terminal, bending of the detection user to flexible screen is grasped
Make, and operated according to bending, determine object region pending in target image, then object region is carried out
Encryption so that object region can be encrypted, so that whole pictures are being watched to other people
When, content that other people can not be watched at object region, avoid letting out for privacy information in object region
Dew, effectively protect privacy of user, solve present in prior art when on a pictures simultaneously presence need to check information and
During private information, the problem of being easily destroyed privacy of user.
In addition, further, after object region is encrypted, looking into for target image can also be detected
The identity information for the person of seeing;If detecting, the identity information of viewer matches with the authentication information prestored, to mesh
Processing is decrypted in logo image region.So, by detecting the identity information of viewer and the authentication of default storage
During information match, object region is decrypted processing so that the encrypted image of object region can recover to
Reset condition, facilitate management of the user to target image and check.
Specifically, before the identity information of the viewer of detection target image, user can double-click object region
With input detection instruction, the detection instruction of now mobile terminal reception user's input, and prompted according to detection instruction display one
User inputs the prompt message of decryption instructions;When mobile terminal receives the decryption instructions that user inputs according to prompt message,
According to the identity information of the viewer of the decryption instructions detection target image received.User is so enabled at any time to target
Image-region is decrypted, and facilitates user's checking and managing to target image.
In addition, specifically, when detecting the identity information of viewer of target image, can be entered by least one of following
Row detection:Detect the face characteristic information of the viewer of target image;Detect the finger print information of viewer's input of target image;
Detect the iris information of the viewer of target image;Detect the encrypted message of viewer's input of target image.So, by looking into
The face characteristic information for the person of seeing, finger print information, the iris information of viewer or the encrypted message of input of viewer's input, come
The identity information of viewer is detected, improves the convenience and accuracy of the identity information of detection viewer, and then ensures to understand
The privacy of the private information in object region after close.
In addition, specifically, when object region is encrypted, Gaussian Blur is carried out to object region
Processing, then when processing is decrypted to object region, ambiguity solution processing can be carried out to object region.So, lead to
Cross and the ambiguity solution processing corresponding with Gaussian Blur processing carried out to the object region after Gaussian Blur is handled so that
Blurred picture in object region after Gaussian Blur is handled can recover the original to before being handled by Gaussian Blur
Beginning image, and then to the purpose of object region decryption processing.
In addition, specifically, when object region is encrypted, based on object region, generation is encrypted
Matrix, then according to scrambled matrix, the brightness value of each pixel in object region is adjusted, then to object region
When processing is decrypted, inverse transformation can be carried out to scrambled matrix, generate inverse matrix, then according to inverse matrix, adjust target figure
As the brightness value of each pixel in region, so that the brightness value of each pixel recovers to not according to adding in object region
Close matrix be adjusted before brightness value.
Wherein it is possible to processing is adjusted to target image according to equation below, so as to be restored to not according to encryption
Matrix is adjusted the original image of before processing:
Wherein, Decrypt (Iproc (x, y))=Iproc (x, y)-Ematrix (I (x, y))
Wherein, M (x, y) represents to recover to the original image for not being adjusted before processing according to scrambled matrix, (x, y) to represent
The coordinate of each pixel in target image, I (x, y) represent view data of the pixel point coordinates in target image for (x, y),
Ematrix (I (x, y)) represents scrambled matrix of the respective pixel point coordinates for the view data of (x, y), and Iproc (x, y) represents to press
The encrypted image after processing is adjusted according to scrambled matrix, Decrypt (Iproc (x, y)) is represented to the pixel in target image
Point coordinates is the view data of (x, y), the view data after adjustment processing is decrypted according to inverse matrix, Region represents target
Image-region, Others represent the remaining area in addition to object region in target image.
So, by the inverse matrix according to scrambled matrix, the brightness value of each pixel in object region is adjusted, is made
The brightness value before being adjusted according to scrambled matrix can be returned to by obtaining the brightness value of each pixel in object region, so as to
The image in object region is enabled to recover the original image to before encryption, and then to target image
The purpose that region is decrypted, facilitate user's checking and managing to target image.
The present embodiment is by the way that in the display screen display target image of mobile terminal, bending of the detection user to flexible screen is grasped
Make, and operated according to bending, determine object region pending in target image, then object region is carried out
Encryption so that object region can be encrypted, so that whole pictures are being watched to other people
When, content that other people can not be watched at object region, avoid letting out for privacy information in object region
Dew, effectively protect privacy of user, solve present in prior art when on a pictures simultaneously presence need to check information and
During private information, the problem of being easily destroyed privacy of user.
As shown in Figure 10, the embodiments of the invention provide a kind of mobile terminal, flexible screen is provided with, the mobile terminal bag
Include:
First detection module 1001, in the display screen display target image of mobile terminal, user to be to flexibility for detection
The bending operation of screen;
Determining module 1002, if for detecting bending operation, operated according to the bending, determine the target image
In pending object region;
Encryption processing module 1003, for the object region to be encrypted.
The present embodiment is by first detection module in the display screen display target image of mobile terminal, and user is to soft for detection
Property screen bending operation, and by determining module detect bending operation when, according to bending operate, determine to treat in target image
The object region of processing, then object region is encrypted by encryption processing module so that target figure
As region can be encrypted, so that when whole pictures are watched to other people, other people can not watch
Content at object region, avoids the leakage of privacy information in object region, effectively protects user hidden
Private, solve present in prior art when on a pictures simultaneously presence need to check information and private information when, be easily destroyed
The problem of privacy of user.
Alternatively, as shown in figure 11, the determining module 1002 includes:
Acquiring unit 10021, for being operated according to the bending, obtain the folding line formed during flexible screen bending;
First determining unit 10022, for based on the folding line, it is determined that bending region and not bending region;
Second determining unit 10023, for the bending region or the region that do not bend to be defined as into the target figure
The pending object region as in.
Alternatively, the mobile terminal also includes:
Second detection module 1004, the identity information of the viewer for detecting the target image;
Decryption processing module 1005, if for the identity information for detecting the viewer and the authentication prestored
Information match, then processing is decrypted to the object region.
Alternatively, the encryption processing module 1003 includes:
Ciphering unit 10031, for carrying out Gaussian Blur processing to the object region.
Alternatively, the decryption processing module 1005 includes:
Decryption unit 10051, for carrying out ambiguity solution processing to the object region.
Alternatively, the encryption processing module 1003 includes:
First generation unit 10032, for based on the object region, generating scrambled matrix;
First adjustment unit 10033, for according to the scrambled matrix, adjusting each pixel in the object region
The brightness value of point.
Alternatively, the decryption processing module 1005 includes:
Second generation unit 10052, for carrying out inverse transformation to the scrambled matrix, generate inverse matrix;
Second adjustment unit 10053, for according to the inverse matrix, adjusting each pixel in the object region
Brightness value.
Alternatively, second detection module 1004 includes at least one of following:
First detection unit 10041, the face characteristic information of the viewer for detecting the target image;
Second detection unit 10042, the finger print information that the viewer for detecting the target image inputs;
3rd detection unit 10043, the iris information of the viewer for detecting the target image;
4th detection unit 10044, the encrypted message that the viewer for detecting the target image inputs.
The present embodiment is by first detection module in the display screen display target image of mobile terminal, and user is to soft for detection
Property screen bending operation, and by determining module detect bending operation when, according to bending operate, determine to treat in target image
The object region of processing, then object region is encrypted by encryption processing module so that target figure
As region can be encrypted, so that when whole pictures are watched to other people, other people can not watch
Content at object region, avoids the leakage of privacy information in object region, effectively protects user hidden
Private, solve present in prior art when on a pictures simultaneously presence need to check information and private information when, be easily destroyed
The problem of privacy of user.
The embodiment of the present invention also provides a kind of mobile terminal, is provided with flexible screen, and the mobile terminal also includes processor,
Memory, it is stored in the computer program that can be run on the memory and on the processor, the computer program quilt
Each process of above-mentioned image processing method embodiment is realized during the computing device, and identical technique effect can be reached,
To avoid repeating, repeat no more here.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium
Calculation machine program, the computer program realize each process of above-mentioned image processing method embodiment when being executed by processor, and
Identical technique effect can be reached, to avoid repeating, repeated no more here.Wherein, described computer-readable recording medium, such as
Read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic disc or CD etc..
In addition, as shown in figure 12, the embodiment of the present invention provides a kind of mobile terminal, mobile terminal includes:At least one place
Manage device 1201, memory 1202, at least one network interface 1204 and user interface 1203.Each group in mobile terminal 1200
Part is coupled by bus system 1205.It is understood that bus system 1205 is used to realize that the connection between these components is led to
Letter.Bus system 1205 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal bus in addition.But
For the sake of clear explanation, various buses are all designated as bus system 1205 in fig. 12.
Wherein, user interface 1203 can include keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or flexible screen etc..
It is appreciated that the memory 1202 in the embodiment of the present invention can be volatile memory or non-volatile memories
Device, 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), erasable programmable are only
Read memory (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM,
) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used
Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static random-access
Memory (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), it is enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronous
Connect 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 1202 be intended to include but
It is not limited to the memory of these and any other suitable type.
In some embodiments, memory 1202 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 12021 and application program 12022.Specifically, memory 1202
In be stored with setup module and configuration file.
Wherein, operating system 12021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for
Realize various basic businesses and the hardware based task of processing.Application program 12022, include various application programs, such as matchmaker
Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented
The program of example method may be embodied in application program 12022.
In embodiments of the present invention, mobile terminal 1200 also includes:It is stored on memory 1202 and can be in processor
The computer program run on 1201, computer program realize following steps when being performed by processor 1201:In mobile terminal
During display screen display target image, bending operation of the detection user to flexible screen;If bending operation is detected, according to described curved
Folding operation, determines object region pending in the target image;The object region is encrypted.
The method that the embodiments of the present invention disclose can apply in processor 1201, or real by processor 1201
It is existing.Processor 1201 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1201 or software form.Above-mentioned
Processor 1201 can be general processor, digital signal processor (Digital Signal Processor, DSP), special
Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either 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, flash memory, read-only storage, may be programmed read-only
In the ripe computer-readable recording medium in this area such as memory or electrically erasable programmable memory, register.The meter
Calculation machine readable storage medium storing program for executing is located at memory 1202, and processor 1201 reads the information in memory 1202, complete with reference to its hardware
The step of into the above method.Specifically, computer program is stored with the computer-readable recording medium, computer program is located
Manage when device 1201 performs and realize such as each step in above-mentioned image processing method embodiment.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware,
Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits
(Application Specific Integrated Circuit, ASIC), digital signal processor (Digital Signal
Processor, 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 place
Manage in device, controller, microcontroller, microprocessor, other electronic units for performing the application function or its combination.
Realize, can be realized by performing the module (such as process, function etc.) of function of the embodiment of the present invention for software
The technology of the embodiment of the present invention.Software code is storable in memory and passes through computing device.Memory can handled
Realized in device or outside processor.
Alternatively, following steps can be also realized when computer program is performed by processor 1201:Operated according to the bending,
Obtain the folding line formed during flexible screen bending;Based on the folding line, it is determined that bending region and not bending region;By described in
Bending region or the region that do not bend are defined as object region pending in the target image.
Alternatively, following steps can be also realized when computer program is performed by processor 1201:Detect the target image
Viewer identity information;If detect the identity information of the viewer and the authentication information phase prestored
Match somebody with somebody, then processing is decrypted to the object region.
Alternatively, following steps can be also realized when computer program is performed by processor 1201:To the object-image region
Domain carries out Gaussian Blur processing.
Alternatively, following steps can be also realized when computer program is performed by processor 1201:To the object-image region
Domain carries out ambiguity solution processing.
Alternatively, following steps can be also realized when computer program is performed by processor 1201:Based on the target image
Region, generate scrambled matrix;According to the scrambled matrix, the brightness value of each pixel in the object region is adjusted.
Alternatively, following steps can be also realized when computer program is performed by processor 1201:The scrambled matrix is entered
Row inverse transformation, generate inverse matrix;According to the inverse matrix, the brightness value of each pixel in the object region is adjusted.
Alternatively, following steps can be also realized when computer program is performed by processor 1201:Detect the target image
Viewer face characteristic information;Detect the finger print information of viewer's input of the target image;Detect the target figure
The iris information of the viewer of picture;Detect the encrypted message of viewer's input of the target image.
Mobile terminal 1200 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, this
In repeat no more.
The mobile terminal provided in the above embodiment of the present invention, pass through the display screen display target image in mobile terminal
When, bending operation of the detection user to flexible screen, and operated according to bending, determine target image pending in target image
Region, then object region being encrypted so that object region can be encrypted, so that
Obtain when whole pictures are watched to other people, the content that other people can not be watched at object region, avoid mesh
The leakage of privacy information, effectively protects privacy of user in logo image region, solves present in prior art when one
Presence simultaneously be when need to check information and private information on picture, the problem of being easily destroyed privacy of user.
As shown in figure 13, another embodiment of the present invention provides a kind of mobile terminal, mobile terminal 1300 can be mobile phone,
Tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal 1300 in Figure 13 include radio frequency (Radio Frequency, RF) circuit 1310, memory 1320,
Input block 1330, display unit 1340, processor 1360, voicefrequency circuit 1370, WiFi (Wireless Fidelity) module
1380 and power supply 1390.
Wherein, input block 1330 is available for the numeral or character information for receiving user's input, and generation and movement are eventually
The signal input that the user at end 1300 is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block
1330 can include contact panel 1331.Contact panel 1331, also referred to as touch-screen, collect user's touching on or near it
Operation (for example user uses the operations of any suitable object or annex on contact panel 1331 such as finger, stylus) is touched, and
Corresponding attachment means are driven according to formula set in advance.Alternatively, contact panel 1331 may include touch detecting apparatus and
Two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the letter that touch operation is brought
Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into
Contact coordinate, then give the processor 1360, and the order sent of reception processing device 1360 and can be performed.Furthermore, it is possible to
Contact panel 1331 is realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1331, input block 1330 can also include other input equipments 1332, and other input equipments 1332 can include but is not limited to
One kind or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Kind.Wherein, display unit 1340 can be used for display by the information of user's input or be supplied to the information and mobile terminal of user
1300 various menu interfaces.Display unit 1340 may include display panel 1341, it is alternatively possible to using LCD or organic hairs
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 1341.
It should be noted that contact panel 1331 can cover display panel 1341, touch display screen is formed, the specific touch is shown
Shield for flexible screen.After the touch display screen detects the touch operation on or near it, processor 1360 is sent to true
Determine the type of touch event, be followed by subsequent processing device 1360 and corresponding vision is provided in touch display screen according to the type of touch event
Output.
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 does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
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 1360 is the control centre of mobile terminal 1300, utilizes various interfaces and the whole hand of connection
The various pieces of machine, by running or performing the software program and/or module that are stored in first memory 1321, and call
The data being stored in second memory 1322, the various functions and processing data of mobile terminal 1300 are performed, so as to movement
Terminal 1300 carries out integral monitoring.Alternatively, processor 1360 may include one or more processing units.
In embodiments of the present invention, mobile terminal 1300 also includes:Storage on a memory 1320 and can be in processor
The computer program run on 1360, computer program realize following steps when being performed by processor 1360:In mobile terminal
During display screen display target image, bending operation of the detection user to flexible screen;If bending operation is detected, according to described curved
Folding operation, determines object region pending in the target image;The object region is encrypted.
Alternatively, following steps can be also realized when computer program is performed by processor 1360:Operated according to the bending,
Obtain the folding line formed during flexible screen bending;Based on the folding line, it is determined that bending region and not bending region;By described in
Bending region or the region that do not bend are defined as object region pending in the target image.
Alternatively, following steps can be also realized when computer program is performed by processor 1360:Detect the target image
Viewer identity information;If detect the identity information of the viewer and the authentication information phase prestored
Match somebody with somebody, then processing is decrypted to the object region.
Alternatively, following steps can be also realized when computer program is performed by processor 1360:To the object-image region
Domain carries out Gaussian Blur processing.
Alternatively, following steps can be also realized when computer program is performed by processor 1360:To the object-image region
Domain carries out ambiguity solution processing.
Alternatively, following steps can be also realized when computer program is performed by processor 1360:Based on the target image
Region, generate scrambled matrix;According to the scrambled matrix, the brightness value of each pixel in the object region is adjusted.
Alternatively, following steps can be also realized when computer program is performed by processor 1360:The scrambled matrix is entered
Row inverse transformation, generate inverse matrix;According to the inverse matrix, the brightness value of each pixel in the object region is adjusted.
Alternatively, following steps can be also realized when computer program is performed by processor 1360:Detect the target image
Viewer face characteristic information;Detect the finger print information of viewer's input of the target image;Detect the target figure
The iris information of the viewer of picture;Detect the encrypted message of viewer's input of the target image.
The mobile terminal provided in the above embodiment of the present invention, pass through the display screen display target image in mobile terminal
When, bending operation of the detection user to flexible screen, and operated according to bending, determine target image pending in target image
Region, then object region being encrypted so that object region can be encrypted, so that
Obtain when whole pictures are watched to other people, the content that other people can not be watched at object region, avoid mesh
The leakage of privacy information, effectively protects privacy of user in logo image region, solves present in prior art when one
Presence simultaneously be when need to check information and private information on picture, the problem of being easily destroyed privacy of user.
Mobile terminal 1300 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, this
In repeat no more.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each
The unit and algorithm steps of example, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty
Technical staff can realize described function using distinct methods to each specific application, but this realization should not
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of unit, is only one kind
Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual
Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, be shown as unit
Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks
On unit.Some or all of unit therein can be selected to realize the mesh of scheme of the embodiment of the present invention according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If function is realized in the form of SFU software functional unit and as independent production marketing or in use, can stored
In a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words to existing
The part for having part that technology contributes or the technical scheme can be embodied in the form of software product, the computer
Software product is stored in a storage medium, including some instructions are make it that a computer equipment (can be personal meter
Calculation machine, server, or network equipment etc.) perform all or part of step of each embodiment method of the present invention.It is and foregoing
Storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
More than, it is only embodiment of the invention, but protection scope of the present invention is not limited thereto, and it is any to be familiar with
Those skilled in the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be covered
Within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (18)
- A kind of 1. image processing method, applied to the mobile terminal for being provided with flexible screen, it is characterised in that methods described includes:In the display screen display target image of mobile terminal, bending operation of the detection user to flexible screen;If detecting bending operation, operated according to the bending, determine object-image region pending in the target image Domain;The object region is encrypted.
- 2. according to the method for claim 1, it is characterised in that it is described to be operated according to the bending, determine the target figure As in the step of pending object region, including:Operated according to the bending, obtain the folding line formed during flexible screen bending;Based on the folding line, it is determined that bending region and not bending region;The bending region or the region that do not bend are defined as object region pending in the target image.
- 3. according to the method for claim 1, it is characterised in that described that the object region is encrypted After step, in addition to:Detect the identity information of the viewer of the target image;If detecting, the identity information of the viewer matches with the authentication information prestored, to the target figure As processing is decrypted in region.
- 4. according to the method for claim 3, it is characterised in that described that the object region is encrypted Step, including:Gaussian Blur processing is carried out to the object region.
- 5. according to the method for claim 4, it is characterised in that described that processing is decrypted to the object region Step, including:Ambiguity solution processing is carried out to the object region.
- 6. according to the method for claim 3, it is characterised in that described that the object region is encrypted Step, including:Based on the object region, scrambled matrix is generated;According to the scrambled matrix, the brightness value of each pixel in the object region is adjusted.
- 7. according to the method for claim 6, it is characterised in that described that processing is decrypted to the object region Step, including:Inverse transformation is carried out to the scrambled matrix, generates inverse matrix;According to the inverse matrix, the brightness value of each pixel in the object region is adjusted.
- 8. according to the method for claim 3, it is characterised in that the identity letter of the viewer of the detection target image The step of breath, including it is at least one of following:Detect the face characteristic information of the viewer of the target image;Detect the finger print information of viewer's input of the target image;Detect the iris information of the viewer of the target image;Detect the encrypted message of viewer's input of the target image.
- 9. a kind of mobile terminal, it is characterised in that the mobile terminal is provided with flexible screen, and the mobile terminal also includes:First detection module, in the display screen display target image of mobile terminal, detecting bending of the user to flexible screen Operation;Determining module, if for detecting bending operation, operated, determined pending in the target image according to the bending Object region;Encryption processing module, for the object region to be encrypted.
- 10. mobile terminal according to claim 9, it is characterised in that the determining module includes:Acquiring unit, for being operated according to the bending, obtain the folding line formed during flexible screen bending;First determining unit, for based on the folding line, it is determined that bending region and not bending region;Second determining unit, for by it is described bending region or it is described do not bend region be defined as it is pending in the target image Object region.
- 11. mobile terminal according to claim 9, it is characterised in that the mobile terminal also includes:Second detection module, the identity information of the viewer for detecting the target image;Decryption processing module, if for the identity information for detecting the viewer and the authentication information phase prestored Match somebody with somebody, then processing is decrypted to the object region.
- 12. mobile terminal according to claim 11, it is characterised in that the encryption processing module includes:Ciphering unit, for carrying out Gaussian Blur processing to the object region.
- 13. mobile terminal according to claim 12, it is characterised in that the decryption processing module includes:Decryption unit, for carrying out ambiguity solution processing to the object region.
- 14. mobile terminal according to claim 11, it is characterised in that the encryption processing module includes:First generation unit, for based on the object region, generating scrambled matrix;First adjustment unit, for according to the scrambled matrix, adjusting the brightness of each pixel in the object region Value.
- 15. mobile terminal according to claim 14, it is characterised in that the decryption processing module includes:Second generation unit, for carrying out inverse transformation to the scrambled matrix, generate inverse matrix;Second adjustment unit, for according to the inverse matrix, adjusting the brightness value of each pixel in the object region.
- 16. mobile terminal according to claim 11, it is characterised in that second detection module includes following at least one :First detection unit, the face characteristic information of the viewer for detecting the target image;Second detection unit, the finger print information that the viewer for detecting the target image inputs;3rd detection unit, the iris information of the viewer for detecting the target image;4th detection unit, the encrypted message that the viewer for detecting the target image inputs.
- A kind of 17. mobile terminal, it is characterised in that be provided with flexible screen, the mobile terminal also include processor, memory and The computer program that can be run on the memory and on the processor is stored in, the computer program is by the processing The step of image processing method as any one of claim 1 to 8 is realized when device performs.
- 18. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, the image processing method as any one of claim 1 to 8 is realized when the computer program is executed by processor The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710772874.2A CN107644170B (en) | 2017-08-31 | 2017-08-31 | A kind of image processing method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710772874.2A CN107644170B (en) | 2017-08-31 | 2017-08-31 | A kind of image processing method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107644170A true CN107644170A (en) | 2018-01-30 |
CN107644170B CN107644170B (en) | 2019-10-18 |
Family
ID=61110311
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710772874.2A Active CN107644170B (en) | 2017-08-31 | 2017-08-31 | A kind of image processing method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107644170B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108469898A (en) * | 2018-03-15 | 2018-08-31 | 维沃移动通信有限公司 | A kind of image processing method and flexible screen terminal |
CN108494958A (en) * | 2018-03-15 | 2018-09-04 | 维沃移动通信有限公司 | A kind of image processing method and flexible screen terminal |
CN109120850A (en) * | 2018-09-20 | 2019-01-01 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN109598138A (en) * | 2018-11-15 | 2019-04-09 | 阿里巴巴集团控股有限公司 | The method and device that whether sensitive information identification, cover and perception are checked in picture |
CN111159150A (en) * | 2019-12-19 | 2020-05-15 | 北京文安智能技术股份有限公司 | Data expansion method and device |
CN111400745A (en) * | 2019-11-20 | 2020-07-10 | 杭州海康威视系统技术有限公司 | Picture management method and device and electronic equipment |
CN115620214A (en) * | 2022-12-20 | 2023-01-17 | 浙江奥鑫云科技有限公司 | Safety processing method for network information data |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103914634A (en) * | 2014-03-26 | 2014-07-09 | 小米科技有限责任公司 | Image encryption method, image encryption device and electronic device |
CN104520788A (en) * | 2012-08-01 | 2015-04-15 | 三星电子株式会社 | Flexible display device and method for controlling the same |
CN105426724A (en) * | 2015-11-24 | 2016-03-23 | 上海斐讯数据通信技术有限公司 | Electronic image encryption method and device, electronic image decryption method and device, and equipment |
CN106354385A (en) * | 2016-08-26 | 2017-01-25 | 广东欧珀移动通信有限公司 | Image processing method, device and terminal equipment |
CN106373489A (en) * | 2015-11-16 | 2017-02-01 | 北京智谷睿拓技术服务有限公司 | Display method and display device based on curved display screen and user equipment |
-
2017
- 2017-08-31 CN CN201710772874.2A patent/CN107644170B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104520788A (en) * | 2012-08-01 | 2015-04-15 | 三星电子株式会社 | Flexible display device and method for controlling the same |
CN103914634A (en) * | 2014-03-26 | 2014-07-09 | 小米科技有限责任公司 | Image encryption method, image encryption device and electronic device |
CN106373489A (en) * | 2015-11-16 | 2017-02-01 | 北京智谷睿拓技术服务有限公司 | Display method and display device based on curved display screen and user equipment |
CN105426724A (en) * | 2015-11-24 | 2016-03-23 | 上海斐讯数据通信技术有限公司 | Electronic image encryption method and device, electronic image decryption method and device, and equipment |
CN106354385A (en) * | 2016-08-26 | 2017-01-25 | 广东欧珀移动通信有限公司 | Image processing method, device and terminal equipment |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108469898A (en) * | 2018-03-15 | 2018-08-31 | 维沃移动通信有限公司 | A kind of image processing method and flexible screen terminal |
CN108494958A (en) * | 2018-03-15 | 2018-09-04 | 维沃移动通信有限公司 | A kind of image processing method and flexible screen terminal |
CN108494958B (en) * | 2018-03-15 | 2021-01-08 | 维沃移动通信有限公司 | Image processing method and flexible screen terminal |
US11675442B2 (en) | 2018-03-15 | 2023-06-13 | Vivo Mobile Communication Co., Ltd. | Image processing method and flexible-screen terminal |
CN109120850A (en) * | 2018-09-20 | 2019-01-01 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN109598138A (en) * | 2018-11-15 | 2019-04-09 | 阿里巴巴集团控股有限公司 | The method and device that whether sensitive information identification, cover and perception are checked in picture |
CN109598138B (en) * | 2018-11-15 | 2023-07-11 | 创新先进技术有限公司 | Method and device for identifying, covering and sensing whether sensitive information in picture is checked or not |
CN111400745A (en) * | 2019-11-20 | 2020-07-10 | 杭州海康威视系统技术有限公司 | Picture management method and device and electronic equipment |
CN111159150A (en) * | 2019-12-19 | 2020-05-15 | 北京文安智能技术股份有限公司 | Data expansion method and device |
CN115620214A (en) * | 2022-12-20 | 2023-01-17 | 浙江奥鑫云科技有限公司 | Safety processing method for network information data |
Also Published As
Publication number | Publication date |
---|---|
CN107644170B (en) | 2019-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107644170B (en) | A kind of image processing method and mobile terminal | |
CN106127076B (en) | A kind of inspection method and mobile terminal of photograph album photo | |
CN103718187B (en) | Input via the safety of touch screen | |
CN105354466B (en) | A kind of fingerprint identification method and mobile terminal | |
CN106485164A (en) | A kind of image processing method and mobile terminal | |
WO2018196699A1 (en) | Method for displaying fingerprint recognition region, and mobile terminal | |
CN105959544A (en) | Mobile terminal and image processing method thereof | |
US9369283B2 (en) | Method for entering password and portable electronic device and unlocking method and data authenticating method | |
CN107390990A (en) | The method of adjustment and mobile terminal of a kind of image | |
CN107172346A (en) | A kind of weakening method and mobile terminal | |
CN105868617B (en) | Application program encryption method and mobile terminal | |
CN106027794B (en) | A kind of encryption method and mobile terminal of photo | |
CN107527040A (en) | A kind of method and apparatus of recognition of face | |
CN107580127A (en) | A kind of communication message reminding method and mobile terminal | |
CN107643912A (en) | A kind of information sharing method and mobile terminal | |
CN106250757B (en) | A kind of control method and mobile terminal of application program | |
CN107480500A (en) | The method and mobile terminal of a kind of face verification | |
CN107632870A (en) | The startup method and terminal of a kind of application | |
CN106911897A (en) | A kind of determination method and mobile terminal for shooting focus | |
CN107194907A (en) | A kind of sectional drawing synthetic method and mobile terminal | |
CN107390991A (en) | The processing method and mobile terminal of a kind of sectional drawing | |
CN106709457A (en) | Task execution method based on fingerprint, and mobile terminal | |
CN106599648A (en) | Application startup method and terminal | |
CN107396018A (en) | A kind of kinescope method, mobile terminal and computer-readable recording medium | |
CN107295218A (en) | A kind of image processing 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 |