[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN105511759A - Picture processing method and electronic equipment - Google Patents

Picture processing method and electronic equipment Download PDF

Info

Publication number
CN105511759A
CN105511759A CN201510924899.0A CN201510924899A CN105511759A CN 105511759 A CN105511759 A CN 105511759A CN 201510924899 A CN201510924899 A CN 201510924899A CN 105511759 A CN105511759 A CN 105511759A
Authority
CN
China
Prior art keywords
picture
block image
image
block
order
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
Application number
CN201510924899.0A
Other languages
Chinese (zh)
Other versions
CN105511759B (en
Inventor
唐九如
陈文辉
刘立娜
黄文娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510924899.0A priority Critical patent/CN105511759B/en
Publication of CN105511759A publication Critical patent/CN105511759A/en
Application granted granted Critical
Publication of CN105511759B publication Critical patent/CN105511759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a picture processing method and electronic equipment. The method comprises steps as follows: acquiring a first picture; performing partitioning on the first picture to obtain M images, wherein M is an integer larger than or equal to 2, and the M images are arranged in a first arrangement order in the first picture; acquiring a second picture on the basis of N images in the M images, wherein the second picture is different from the first picture, and N is a positive integer smaller than or equal to M. The picture processing method and the electronic equipment are used for solving the technical problem that the processing mode of electronic equipment is relatively single during picture processing in the prior art, and the technical effect of verified design of the picture processing mode is realized.

Description

A kind of image processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly a kind of information processing method and electronic equipment.
Background technology
Along with the development of electronic technology, electronics miscellaneous is evened out and is come out thereupon, and such as, panel computer, smart mobile phone, notebook computer etc., this brings many facilities to daily life.
At present, people are increasing to the demand of being taken pictures by electronic equipment.In order to beautify picture, and then meeting the viewing demand of user, having occurred such as adjusting contrast to picture for this reason, blood-shot eye illness process, carries out the equipment of the landscaping treatments such as picture mosaic process with other picture.
In the process of present inventor's technical scheme in invention the embodiment of the present application, find that above-mentioned prior art at least exists following technical matters:
, there is the technical matters that processing mode is comparatively single in the process that electronic equipment of the prior art carries out picture.
Summary of the invention
The embodiment of the present invention provides a kind of image processing method and electronic equipment, for solving the process that electronic equipment of the prior art carries out picture, there is the technical matters that processing mode is comparatively single, achieve the technique effect of the design of picture processing mode.
One, the embodiment of the present application provides a kind of image processing method, comprises the following steps:
Obtain the first picture;
Piecemeal process is carried out to described first picture, obtains M block image, wherein, M be more than or equal to 2 integer, described M block image arranges with first order order in described first picture;
Based on the N block image in described M block image, obtain second picture, wherein, described second picture is different from described first picture, and N is the positive integer being less than or equal to M.
Alternatively, described based on the N block image in described M block image, obtain second picture, specifically comprise:
Described N block image is determined from described M block image;
The display parameter value of at least one block of image in described N block image is adjusted, obtains the N block image after adjustment;
Based on the N block image after described adjustment, obtain described second picture.
Alternatively, when described N equals M, described based on the N block image in described M block image, obtain second picture, specifically comprise:
The order of described M block image in described first picture is adjusted, is adjusted to the second order order different from described first order order to make putting in order of described M block image by described first order order;
Obtain described second picture, wherein, described N block image arranges with described second order order in described second picture.
Alternatively, when described N is less than M, described based on the N block image in described M block image, obtain second picture, specifically comprise:
Described N block image is extracted according to a preset rules from described M block image.
Alternatively, describedly from described M block image, extract described N block image according to a preset rules, specifically comprise:
Determine line number and the columns of described first picture;
Based on described preset rules, from the described line number and described columns of described M block image, extract at least one row block image, and/or, at least a line block image, and/or, at least one block of image, thus obtain described N block image.
Alternatively, described based on the N block image in described M block image, after obtaining second picture, described method also comprises:
Determine that whether the current environment parameter information of described electronic equipment meets one pre-conditioned;
When for being, show described first picture;
For time no, show described second picture.
Alternatively, described N block image is in removable state, and described based on the N block image in described M block image, after obtaining second picture, described method also comprises:
Detect acquisition operating body and move operation for first of first block of image in described N block image;
Respond described first and move operation, described first block of image is adjusted to the second place by current primary importance.
Alternatively, in described first operation of described response, after described first block of image is adjusted to the second place by current primary importance, described method also comprises:
When the duration that described first block of image is in the described second place is greater than preset duration, generates and export the information whether described second place is tram.
Alternatively, when N equals M, described based on the N block image in described M block image, after obtaining second picture, described method also comprises:
Detect the second operation obtained for described second picture;
When described second is operating as default recovery operation, described second picture is returned to described first picture.
Two, the embodiment of the present application additionally provides a kind of electronic equipment, comprising:
Housing;
Processor, is arranged in described housing; Wherein, described processor is configured to:
Obtain the first picture;
Piecemeal process is carried out to described first picture, obtains M block image, wherein, M be more than or equal to 2 integer, described M block image arranges with first order order in described first picture;
Based on the N block image in described M block image, obtain second picture, wherein, described second picture is different from described first picture, and N is the positive integer being less than or equal to M.
Alternatively, described processor is configured to:
Described N block image is determined from described M block image;
The display parameter value of at least one block of image in described N block image is adjusted, obtains the N block image after adjustment;
Based on the N block image after described adjustment, obtain described second picture.
Alternatively, when described N equals M, described processor is configured to:
The order of described M block image in described first picture is adjusted, is adjusted to the second order order different from described first order order to make putting in order of described M block image by described first order order;
Obtain described second picture, wherein, described N block image arranges with described second order order in described second picture.
Alternatively, when described N is less than M, described processor is configured to:
Described N block image is extracted according to a preset rules from described M block image.
Alternatively, described processor is configured to:
Determine line number and the columns of described first picture;
Based on described preset rules, from the described line number and described columns of described M block image, extract at least one row block image, and/or, at least a line block image, and/or, at least one block of image, thus obtain described N block image.
Alternatively, described based on the N block image in described M block image, after obtaining second picture, described processor is configured to:
Determine that whether the current environment parameter information of described electronic equipment meets one pre-conditioned;
When for being, show described first picture;
For time no, show described second picture.
Alternatively, described N block image is in removable state, and described based on the N block image in described M block image, after obtaining second picture, described processor is configured to:
Detect acquisition operating body and move operation for first of first block of image in described N block image;
Respond described first and move operation, described first block of image is adjusted to the second place by current primary importance.
Alternatively, in described first operation of described response, after described first block of image is adjusted to the second place by current primary importance, described processor is configured to:
When the duration that described first block of image is in the described second place is greater than preset duration, generates and export the information whether described second place is tram.
Alternatively, when N equals M, described based on the N block image in described M block image, after obtaining second picture, described processor is configured to:
Detect the second operation obtained for described second picture;
When described second is operating as default recovery operation, described second picture is returned to described first picture.
Three, the embodiment of the present application additionally provides a kind of electronic equipment, comprising:
First obtains unit, for obtaining the first picture;
Second obtains unit, for carrying out piecemeal process to described first picture, obtains M block image, wherein, M be more than or equal to 2 integer, described M block image arranges with first order order in described first picture;
3rd obtains unit, and based on the N block image in described M block image, obtain second picture, wherein, described second picture is different from described first picture, and N is the positive integer being less than or equal to M.
Above-mentioned one or more technical scheme in the embodiment of the present application, at least has one or more technique effects following:
In the technical scheme of the embodiment of the present application, by obtaining the first picture; Piecemeal process is carried out to described first picture, obtains M block image, wherein, M be more than or equal to 2 integer, described M block image arranges with first order order in described first picture; Based on the N block image in described M block image, obtain second picture, wherein, described second picture is different from described first picture, and N is the positive integer being less than or equal to M.That is, by carrying out piecemeal process to photo current, and then obtain the new picture different from photo current, thus achieve the technique effect of the design of picture processing mode.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described by the accompanying drawing used required in describing embodiment below, apparently, the accompanying drawing in the following describes is only some embodiments of the present invention.
The process flow diagram of a kind of image processing method that Fig. 1 provides for the embodiment of the present application one;
The block image of the numbering 1-numbering 9 in a kind of image processing method that Fig. 2 a provides for the embodiment of the present application one included by first picture is by the tactic schematic diagram of first order;
By numbering 1 in a kind of image processing method that Fig. 2 b provides for the embodiment of the present application one, 3,5,7, the schematic diagram of second picture that forms of the block image of 9;
The schematic diagram of the second picture be made up of the block image of numbering 1,4,7,3,6,9 in a kind of image processing method that Fig. 2 c provides for the embodiment of the present application one;
The method flow diagram of step S103 in a kind of image processing method that Fig. 3 provides for the embodiment of the present application one;
Wherein a kind of method flow diagram of step S103 in a kind of image processing method that Fig. 4 provides for the embodiment of the present application one;
Step in a kind of image processing method that Fig. 5 provides for the embodiment of the present application one: the method flow diagram extracting described N block image from described M block image according to a preset rules;
Method flow diagram in a kind of image processing method that Fig. 6 provides for the embodiment of the present application one after step S103;
In a kind of image processing method that Fig. 7 provides for the embodiment of the present application one when M block image is in removable state, the method flow diagram after step S103;
In a kind of image processing method that Fig. 8 provides for the embodiment of the present application one when N equals M, the method flow diagram after step 103;
A kind of electronic equipment that Fig. 9 provides for the embodiment of the present application two;
A kind of electronic equipment that Figure 10 provides for the embodiment of the present application three.
Embodiment
The embodiment of the present invention provides a kind of image processing method and electronic equipment, for solving the process that electronic equipment of the prior art carries out picture, there is the technical matters that processing mode is comparatively single, achieve the technique effect of the design of picture processing mode.
Technical scheme in the embodiment of the present application is solve above-mentioned technical matters, and general thought is as follows:
Obtain the first picture;
Piecemeal process is carried out to described first picture, obtains M block image, wherein, M be more than or equal to 2 integer, described M block image arranges with first order order in described first picture;
Based on the N block image in described M block image, obtain second picture, wherein, described second picture is different from described first picture, and N is the positive integer being less than or equal to M.
In the technical scheme of the embodiment of the present application, by obtaining the first picture; Piecemeal process is carried out to described first picture, obtains M block image, wherein, M be more than or equal to 2 integer, described M block image arranges with first order order in described first picture; Based on the N block image in described M block image, obtain second picture, wherein, described second picture is different from described first picture, and N is the positive integer being less than or equal to M.That is, by carrying out piecemeal process to photo current, and then obtain the new picture different from photo current, thus achieve the technique effect of the design of picture processing mode.
Term "and/or" herein, being only a kind of incidence relation describing affiliated partner, can there are three kinds of relations in expression, and such as, A and/or B, can represent: individualism A, exists A and B simultaneously, these three kinds of situations of individualism B.In addition, character "/" herein, when not illustrating, general expression forward-backward correlation is to the relation liking a kind of "or".
In order to better understand technique scheme, below by accompanying drawing and specific embodiment, technical solution of the present invention is described in detail, the specific features being to be understood that in the embodiment of the present application and embodiment is the detailed description to technical solution of the present invention, instead of the restriction to technical solution of the present invention, when not conflicting, the technical characteristic in the embodiment of the present application and embodiment can be combined with each other.
Embodiment one
Please refer to Fig. 1, the embodiment of the present application one provides a kind of image processing method, comprising:
S101: obtain the first picture;
S102: carry out piecemeal process to described first picture, obtains M block image, wherein, M be more than or equal to 2 integer, described M block image arranges with first order order in described first picture;
S103: based on the N block image in described M block image, obtain second picture, wherein, described second picture is different from described first picture, and N is the positive integer being less than or equal to M.
In specific implementation process, the specific implementation process of step S101 to step S103 is as follows:
First, the first picture is obtained.Specifically, described first picture can by following three kinds of access approaches.The first access approaches be specially utilize the image acquisition units of electronic equipment to carry out image acquisition obtains.The second approach is specially and obtains from being stored in local first storage space of described electronic equipment.The third approach is specially and is sent to by another electronic equipment that described electronic equipment obtains.Certainly, those skilled in the art, can also obtain described first picture by other approach, has just repeated no longer one by one at this.In addition, in specific implementation process, described electronic equipment can be specifically the equipment such as notebook computer, panel computer, desktop computer, smart mobile phone, camera.
Then, piecemeal process is carried out to described first picture, obtains M block image, wherein, M be more than or equal to 2 integer, described M block image arranges with first order order in described first picture.Give a concrete illustration, when being 3 × 3 blocks of images by described first picture segmentation, wherein, each image putting in order as shown in Figure 2 a in described first picture in numbering 1-numbering 9.Then, based on N block image in described M block image, obtain second picture.Wherein, described second picture is different from described first picture, and N is the positive integer being less than or equal to M.Such as, from described M block image, extract the block image corresponding to numbering 1, numbering 3, numbering 5, numbering 7, numbering 9, obtain the new picture be made up of the block image of these 5 numbering correspondences, as shown in Figure 2 b.For another example, first row image and secondary series image is extracted from described first picture, final acquisition (comprises numbering 1 by first row image, 4, block image corresponding to 7) and the 3rd row image (comprise numbering 3,6, the block image corresponding to 9) the new picture that forms, as shown in Figure 2 c.
In the embodiment of the present application, please refer to Fig. 3, step S103: based on the N block image in described M block image, obtain second picture, specifically comprise:
S301: determine described N block image from described M block image;
S302: adjust the display parameter value of at least one block of image in described N block image, obtains the N block image after adjustment;
S303: based on the N block image after described adjustment, obtain described second picture.
In specific implementation process, the specific implementation process of step S301 to step S303 is as follows:
First, from described M block image, described N block image is determined.Such as, when the current piecemeal rule to described first picture is 10 × 10, from the described M block image after piecemeal, determine the block image of odd column.Then, the display parameter value in the block image of all odd columns adjusts, and obtains the N block image after adjustment.Such as, the contrast of all odd column block images in described first picture is adjusted to 80% by 50%, then or all odd column block images is added fade effect, thus obtain described second picture based on the block image after adjustment.For another example, from the described M block image after piecemeal, determine the block image of even number line, then by image contract included in all even number lines in described first picture out, obtain the described second picture be only made up of even number line image.Certainly, can also other the determination mode for determining described N block image from described M block image in the embodiment of the present application, just do not repeat one by one at this.
In the embodiment of the present application, when described N equals M, please refer to Fig. 4, step S103: based on the N block image in described M block image, obtain second picture, specifically comprise:
S401: the order of described M block image in described first picture adjusted, is adjusted to the second order order different from described first order order to make putting in order of described M block image by described first order order;
S402: obtain described second picture, wherein, described N block image arranges with described second order order in described second picture.
In specific implementation process, the specific implementation process of step S401 to step S402 is as follows:
First, the order of described M block image in described first picture is adjusted, be adjusted to the second order order different from described first order order to make putting in order of described M block image by described first order order.Then, obtain N block image with the tactic described second picture of described second order, that is, even if retain all picture materials in described first picture, in the embodiment of the present application, the original alignment of all blocks of images in described first picture order can also be upset, thus the described second picture that after obtaining adjustment order, each block of image forms.
In the embodiment of the present application, when described N is less than M, step S103: based on the N block image in described M block image, obtains second picture, is specially: from described M block image, extract described N block image according to a preset rules.Wherein, in specific implementation process, please refer to Fig. 5, the specific implementation process of this step comprises:
S501: line number and the columns of determining described first picture;
S502: based on described preset rules, from the described line number and described columns of described M block image, extracts at least one row block image, and/or, at least a line block image, and/or, at least one block of image, thus obtain described N block image.
In specific implementation process, the specific implementation process of step S501 to step S502 is as follows:
First, based on concrete piecemeal principle, after piecemeal process is carried out to described first picture, line number and the columns of described first picture can just be determined.Such as, current piecemeal principle is 10 × 10, then total line number of described first picture is 10 row, and total columns is 10 row, then each picture material of block image after piecemeal marks with numbering 1-100 successively.Then, based on described preset rules from the described line number and described columns of described M block image, extract at least one row image, and/or, at least a line block image, and/or, at least one block of image, thus obtain described N block image.Still be 10 × 10 to be described for piecemeal principle, such as, when described preset rules is extract all even number lines, then the block image extracted comprises the 2nd, 4,6,8, the picture material of 10 row.Such as, when described preset rules is extract all row images meeting adjacent column difference 3 row, then the block image extracted comprises the picture material of the 1st, 4,7,10 row.For another example, when described preset rules is extract all block images be numbered corresponding to even number, then the block image extracted comprises 2,4,6,8 ..., 100 numbering corresponding to block image.Certainly, extracting part branch's image and part rows image while that described preset rules also can being.Also can extract the block image be numbered corresponding to even number and the block image be numbered corresponding to odd number simultaneously.Certainly, for a person skilled in the art, can also described preset rules be set according to concrete needs, just repeated one by one at this.
In the embodiment of the present application, in order to ensure the security of electronic equipment about pictorial information.In step S103: based on the N block image in described M block image, after obtaining second picture, please refer to Fig. 6, described method also comprises:
S601: determine that whether the current environment parameter information of described electronic equipment meets one pre-conditioned;
S602: when for being, shows described first picture;
S603: for time no, show described second picture.
In specific implementation process, the specific implementation process of step S601 to step S603 is as follows:
When user uses described electronic equipment preview picture or gathers picture, first, determine that whether the current environment parameter information of described electronic equipment meets one pre-conditioned.Current environment parameter information meet described pre-conditioned time, show described first picture; Current environment parameter information do not meet described pre-conditioned time, show described second picture.Such as, when detect the current residing environment of described electronic equipment not secret time, just show second picture, thus effectively protect the personal information of user.Give a concrete illustration, when the facial image coupling prestored in the human face image information collected by the image acquisition units in described electronic equipment and this equipment, then show described first picture, now, the user corresponding to human face image information prestored in equipment is specially the people having permission the pictorial information sharing described electronic equipment.When the facial image prestored in gathered human face image information and this equipment does not mate, due to the personal information that observer now likely can steal user, at this moment show described second picture, then effectively can protect the personal information of user.
For another example, when detecting that the user number in the current residing environment of described electronic equipment is greater than a predetermined number, then described second picture is shown.If when being less than described predetermined number, then show the first picture.For another example, when detecting that the current residing environment of described electronic equipment is very noisy, then mean that current electronic device is in public arena.For another example, when detecting that the presently used network attribute of described electronic equipment is the common networks such as coffee shop, show that current electronic device is still in public arena.Because user uses in the process of described electronic equipment in public, when the people that walks about of periphery is more, still be easy to cause information leakage, so, even if in order to ensure the information security that still effectively can ensure user in public, in specific implementation process, correspondingly can adjust the concrete display mode of picture based on the current residing ambient condition of described electronic equipment.Certainly, those skilled in the art can also design different detection modes as required, determines the privacy of the current residing environment of described electronic equipment, has not just repeated one by one at this.
In the embodiment of the present application, in order to increase interactive between multi-user of described electronic equipment, and adding users is experienced.When described N block image is in removable state, in step S103: based on the N block image in described M block image, after obtaining second picture, please refer to Fig. 7, described method also comprises:
S701: detect acquisition operating body and move operation for first of first block of image in described N block image;
S702: respond described first and move operation, is adjusted to the second place by described first block of image by current primary importance.
In specific implementation process, the specific implementation process of step S701 to step S702 is as follows:
First, detect acquisition operating body and move operation for first of first block of image in described N block image.That is, described N block image is in removable state in described second picture, and such as, user's finger can move operation to the block image being numbered 3 in described second picture.Then, respond described first and move operation, described first block of image is adjusted to the second place by current described primary importance.Such as, the former block image being numbered 3 is arranged in the lower right position of described second picture, and user can be moved to the upper left position of described second picture.
In the embodiment of the present application, in step S702: respond described first and move operation, after described first block of image is adjusted to the second place by current primary importance, described method also comprises: when the duration that described first block of image is in the described second place is greater than preset duration, generates and exports the information whether described second place is tram.That is, when user moves splicing to the partial block image in described second picture, can reminding user be current whether this block image mosaic has been arrived proper position.
Such as, after being adjusted to described second picture by described first picture, the block image of former numbering 1 correspondence is adjusted in order in the region, the lower left corner in described second picture by the upper left corner of described first picture.When user moves to the upper right corner for the block image of this numbering correspondence in described second picture by position, the lower left corner, will generate whether current moved position is the original position of this block image in described first picture.Such as, here in the upper right comer region of described second picture, be not the upper left corner area of this number block image in described first picture.In order to avoid user carries out faulty operation to current block image in moving process, when the duration that described first image is in the described second place is greater than preset duration, just generate the information whether current location is tram.Such as, preset duration is 5s, when the block image being numbered 1 rests on upper right comer region 6s clock, then generates such as the information of " current splicing is incorrect ".On the one hand, can remind timely and effectively user.On the other hand, the interest of user operation is added.Certainly, can also be generate prompting user which region to carry out the prompting that the side of movement is original tram for current block image toward, just differing at this one illustrates.
In the embodiment of the present application, in order to ensure that user still can get the content information of original described first picture after the described second picture of acquisition.When N equals M, please refer to Fig. 8, in step S103: based on the N block image in described M block image, after obtaining second picture, described method also comprises:
S801: detect the second operation obtained for described second picture;
S802: when described second is operating as default recovery operation, described second picture is returned to described first picture.
In specific implementation process, the specific implementation process of step S801 to step S802 is as follows: first, detects the second operation obtained for described second picture.When described second is operating as default recovery operation, described second picture is returned to described first picture.Such as, specifically can pass through a function button, can be physical button, can be also virtual key, once after the operation for this function button being detected, just described second picture returned to described first picture.Can also be when detect operate in a flash for the rolling of described second picture time, tactic piece of Postprocessing technique will have been upset to original position in described second picture.Certainly, those skilled in the art can also carry out according to the use habit of user the operation that described second picture to be returned to described first picture by concrete design, has not just repeated one by one at this.
Embodiment two
Please refer to Fig. 9, based on the inventive concept that the embodiment of the present application one is same, the embodiment of the present application additionally provides a kind of electronic equipment, comprising:
Housing 10;
Processor 20, is arranged in housing 10; Wherein, processor 20 is configured to:
Obtain the first picture;
Piecemeal process is carried out to described first picture, obtains M block image, wherein, M be more than or equal to 2 integer, described M block image arranges with first order order in described first picture;
Based on the N block image in described M block image, obtain second picture, wherein, described second picture is different from described first picture, and N is the positive integer being less than or equal to M.
In the embodiment of the present application, processor 20 is configured to:
Described N block image is determined from described M block image;
The display parameter value of at least one block of image in described N block image is adjusted, obtains the N block image after adjustment;
Based on the N block image after described adjustment, obtain described second picture.
In the embodiment of the present application, when described N equals M, processor 20 is configured to:
The order of described M block image in described first picture is adjusted, is adjusted to the second order order different from described first order order to make putting in order of described M block image by described first order order;
Obtain described second picture, wherein, described N block image arranges with described second order order in described second picture.
In the embodiment of the present application, when described N is less than M, processor 20 is configured to:
Described N block image is extracted according to a preset rules from described M block image.
In the embodiment of the present application, processor 20 is configured to:
Determine line number and the columns of described first picture;
Based on described preset rules, from the described line number and described columns of described M block image, extract at least one row block image, and/or, at least a line block image, and/or, at least one block of image, thus obtain described N block image.
In the embodiment of the present application, described based on the N block image in described M block image, after obtaining second picture, processor 20 is configured to:
Determine that whether the current environment parameter information of described electronic equipment meets one pre-conditioned;
When for being, show described first picture;
For time no, show described second picture.
In the embodiment of the present application, described N block image is in removable state, and described based on the N block image in described M block image, after obtaining second picture, processor 20 is configured to:
Detect acquisition operating body and move operation for first of first block of image in described N block image;
Respond described first and move operation, described first block of image is adjusted to the second place by current primary importance.
In the embodiment of the present application, in described first operation of described response, after described first block of image is adjusted to the second place by current primary importance, processor 20 is configured to:
When the duration that described first block of image is in the described second place is greater than preset duration, generates and export the information whether described second place is tram.
In the embodiment of the present application, when N equals M, described based on the N block image in described M block image, after obtaining second picture, processor 20 is configured to:
Detect the second operation obtained for described second picture;
When described second is operating as default recovery operation, described second picture is returned to described first picture.
Embodiment three
Please refer to Figure 10, based on the inventive concept that the embodiment of the present application one is same, the embodiment of the present application additionally provides a kind of electronic equipment, comprising:
First obtains unit 30, for obtaining the first picture;
Second obtains unit 40, for carrying out piecemeal process to described first picture, obtains M block image, wherein, M be more than or equal to 2 integer, described M block image arranges with first order order in described first picture;
3rd obtains unit 50, and based on the N block image in described M block image, obtain second picture, wherein, described second picture is different from described first picture, and N is the positive integer being less than or equal to M.
In the embodiment of the present application, the 3rd acquisition unit 50 specifically comprises:
First determination module, for determining described N block image from described M block image;
First obtains module, for adjusting the display parameter value of at least one block of image in described N block image, obtains the N block image after adjustment;
Second obtains module, based on the N block image after described adjustment, obtains described second picture.
In the embodiment of the present application, when described N equals M, the 3rd obtains unit 50 specifically comprises:
First adjusting module, for the order of described M block image in described first picture being adjusted, is adjusted to the second order order different from described first order order to make putting in order of described M block image by described first order order;
3rd obtains module, and for obtaining described second picture, wherein, described N block image arranges with described second order order in described second picture.
In the embodiment of the present application, when described N is less than M, the 3rd obtain unit 50 specifically for:
Described N block image is extracted according to a preset rules from described M block image.
In the embodiment of the present application, described 3rd acquisition unit specifically comprises:
Second determination module, for determining line number and the columns of described first picture;
4th obtains module, based on described preset rules, from the described line number and described columns of described M block image, extracts at least one row block image, and/or, at least a line block image, and/or, at least one block of image, thus obtain described N block image.
In the embodiment of the present application, described based on the N block image in described M block image, after obtaining second picture, described electronic equipment also comprises:
First determining unit, one pre-conditioned for determining that whether the current environment parameter information of described electronic equipment meets;
First display unit, for when for being, shows described first picture;
For time no, show described second picture.
In the embodiment of the present application, described N block image is in removable state, and described based on the N block image in described M block image, after obtaining second picture, described electronic equipment also comprises:
First detecting unit, moves operation for detecting acquisition operating body for first of first block of image in described N block image;
First adjustment unit, moves operation for responding described first, described first block of image is adjusted to the second place by current primary importance.
In the embodiment of the present application, in described first operation of described response, after described first block of image is adjusted to the second place by current primary importance, described electronic equipment also comprises:
First generation unit, for when the duration that described first block of image is in the described second place is greater than preset duration, generates and exports the information whether described second place is tram.
In the embodiment of the present application, when N equals M, described based on the N block image in described M block image, after obtaining second picture, described electronic equipment also comprises:
Second detecting unit, for detecting the second operation obtained for described second picture;
First processing unit, for when described second is operating as default recovery operation, returns to described first picture by described second picture.
By the one or more technical schemes in the embodiment of the present application, following one or more technique effect can be realized:
In the technical scheme of the embodiment of the present application, by obtaining the first picture; Piecemeal process is carried out to described first picture, obtains M block image, wherein, M be more than or equal to 2 integer, described M block image arranges with first order order in described first picture; Based on the N block image in described M block image, obtain second picture, wherein, described second picture is different from described first picture, and N is the positive integer being less than or equal to M.That is, by carrying out piecemeal process to photo current, and then obtain the new picture different from photo current, thus achieve the technique effect of the design of picture processing mode.
In the technical scheme of the embodiment of the present application, by determining described N block image from described M block image; The display parameter value of at least one block of image in described N block image is adjusted, obtains the N block image after adjustment; Based on the N block image after described adjustment, obtain described second picture.That is, such as contrast can be carried out, brightness to the parts of images in described N block image, adjust process such as putting in order, thus, ensure that picture has good display effect on the one hand; On the other hand, the interactivity that picture is processed is enhanced.
In the technical scheme of the embodiment of the present application, one pre-conditioned by determining that whether the current environment parameter information of described electronic equipment meets; When for being, show described first picture; For time no, show described second picture.Such as, when the current residing environment of electronic equipment is non-privacy contexts, just display upsets sequentially or only comprises the second picture of the block image of part first picture.Thus improve the information security of electronic equipment.
In the technical scheme of the embodiment of the present application, move operation by detecting acquisition operating body for first of first block of image in described N block image; Respond described first and move operation, described first block of image is adjusted to the second place by current primary importance.That is, user can move current the putting in order of the every block image in described second picture, thus improves the interactivity of electronic equipment.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Specifically, the computer program instructions that image processing method in the embodiment of the present application is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, read by an electronic equipment when the computer program instructions corresponding with image processing method in storage medium or when being performed, comprise the steps:
Obtain the first picture;
Piecemeal process is carried out to described first picture, obtains M block image, wherein, M be more than or equal to 2 integer, described M block image arranges with first order order in described first picture;
Based on the N block image in described M block image, obtain second picture, wherein, described second picture is different from described first picture, and N is the positive integer being less than or equal to M.
Alternatively, store in described storage medium and step, described based on the N block image in described M block image, obtain second picture, corresponding computer program instructions, when being performed, specifically comprises:
Described N block image is determined from described M block image;
The display parameter value of at least one block of image in described N block image is adjusted, obtains the N block image after adjustment;
Based on the N block image after described adjustment, obtain described second picture.
Alternatively, store in described storage medium and step, when described N equals M, described based on the N block image in described M block image, obtain second picture, corresponding computer program instructions, when being performed, specifically comprises:
The order of described M block image in described first picture is adjusted, is adjusted to the second order order different from described first order order to make putting in order of described M block image by described first order order;
Obtain described second picture, wherein, described N block image arranges with described second order order in described second picture.
Alternatively, store in described storage medium and step, when described N is less than M, described based on the N block image in described M block image, obtain second picture, corresponding computer program instructions, when being performed, specifically comprises:
Described N block image is extracted according to a preset rules from described M block image.
Alternatively, store in described storage medium and step, describedly from described M block image, extract described N block image according to a preset rules, corresponding computer program instructions, when being performed, specifically comprises:
Determine line number and the columns of described first picture;
Based on described preset rules, from the described line number and described columns of described M block image, extract at least one row block image, and/or, at least a line block image, and/or, at least one block of image, thus obtain described N block image.
Alternatively, store in described storage medium and step, described based on the N block image in described M block image, obtain after second picture, corresponding computer program instructions is when being performed, and described method also comprises:
Determine that whether the current environment parameter information of described electronic equipment meets one pre-conditioned;
When for being, show described first picture;
For time no, show described second picture.
Alternatively, store in described storage medium and step, described N block image is in removable state, and described based on the N block image in described M block image, obtain after second picture, corresponding computer program instructions is when being performed, and described method also comprises:
Detect acquisition operating body and move operation for first of first block of image in described N block image;
Respond described first and move operation, described first block of image is adjusted to the second place by current primary importance.
Alternatively, store in described storage medium and step, in described first operation of described response, after described first block of image is adjusted to the second place by current primary importance, corresponding computer program instructions is when being performed, and described method also comprises:
When the duration that described first block of image is in the described second place is greater than preset duration, generates and export the information whether described second place is tram.
Alternatively, store in described storage medium and step, when N equals M, described based on the N block image in described M block image, obtain after second picture, corresponding computer program instructions is when being performed, and described method also comprises:
Detect the second operation obtained for described second picture;
When described second is operating as default recovery operation, described second picture is returned to described first picture.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (19)

1. an image processing method, comprising:
Obtain the first picture;
Piecemeal process is carried out to described first picture, obtains M block image, wherein, M be more than or equal to 2 integer, described M block image arranges with first order order in described first picture;
Based on the N block image in described M block image, obtain second picture, wherein, described second picture is different from described first picture, and N is the positive integer being less than or equal to M.
2. the method for claim 1, is characterized in that, described based on the N block image in described M block image, obtains second picture, specifically comprises:
Described N block image is determined from described M block image;
The display parameter value of at least one block of image in described N block image is adjusted, obtains the N block image after adjustment;
Based on the N block image after described adjustment, obtain described second picture.
3. method as claimed in claim 1 or 2, is characterized in that, when described N equals M, described based on the N block image in described M block image, obtains second picture, specifically comprises:
The order of described M block image in described first picture is adjusted, is adjusted to the second order order different from described first order order to make putting in order of described M block image by described first order order;
Obtain described second picture, wherein, described N block image arranges with described second order order in described second picture.
4. method as claimed in claim 1 or 2, is characterized in that, when described N is less than M, described based on the N block image in described M block image, obtains second picture, specifically comprises:
Described N block image is extracted according to a preset rules from described M block image.
5. method as claimed in claim 4, is characterized in that, describedly from described M block image, extracts described N block image according to a preset rules, specifically comprises:
Determine line number and the columns of described first picture;
Based on described preset rules, from the described line number and described columns of described M block image, extract at least one row block image, and/or, at least a line block image, and/or, at least one block of image, thus obtain described N block image.
6. method as claimed in claim 1 or 2, is characterized in that, described based on the N block image in described M block image, after obtaining second picture, described method also comprises:
Determine that whether the current environment parameter information of described electronic equipment meets one pre-conditioned;
When for being, show described first picture;
For time no, show described second picture.
7. method as claimed in claim 1 or 2, it is characterized in that, described N block image is in removable state, and described based on the N block image in described M block image, after obtaining second picture, described method also comprises:
Detect acquisition operating body and move operation for first of first block of image in described N block image;
Respond described first and move operation, described first block of image is adjusted to the second place by current primary importance.
8. method as claimed in claim 7, is characterized in that, in described first operation of described response, after described first block of image is adjusted to the second place by current primary importance, described method also comprises:
When the duration that described first block of image is in the described second place is greater than preset duration, generates and export the information whether described second place is tram.
9. method as claimed in claim 1 or 2, is characterized in that, when N equals M, described based on the N block image in described M block image, after obtaining second picture, described method also comprises:
Detect the second operation obtained for described second picture;
When described second is operating as default recovery operation, described second picture is returned to described first picture.
10. an electronic equipment, comprising:
Housing;
Processor, is arranged in described housing; Wherein, described processor is configured to:
Obtain the first picture;
Piecemeal process is carried out to described first picture, obtains M block image, wherein, M be more than or equal to 2 integer, described M block image arranges with first order order in described first picture;
Based on the N block image in described M block image, obtain second picture, wherein, described second picture is different from described first picture, and N is the positive integer being less than or equal to M.
11. electronic equipments as claimed in claim 10, it is characterized in that, described processor is configured to:
Described N block image is determined from described M block image;
The display parameter value of at least one block of image in described N block image is adjusted, obtains the N block image after adjustment;
Based on the N block image after described adjustment, obtain described second picture.
12. electronic equipments as described in claim 10 or 11, it is characterized in that, when described N equals M, described processor is configured to:
The order of described M block image in described first picture is adjusted, is adjusted to the second order order different from described first order order to make putting in order of described M block image by described first order order;
Obtain described second picture, wherein, described N block image arranges with described second order order in described second picture.
13. electronic equipments as described in claim 10 or 11, it is characterized in that, when described N is less than M, described processor is configured to:
Described N block image is extracted according to a preset rules from described M block image.
14. electronic equipments as claimed in claim 13, it is characterized in that, described processor is configured to:
Determine line number and the columns of described first picture;
Based on described preset rules, from the described line number and described columns of described M block image, extract at least one row block image, and/or, at least a line block image, and/or, at least one block of image, thus obtain described N block image.
15. electronic equipments as described in claim 10 or 11, is characterized in that, described based on the N block image in described M block image, after obtaining second picture, described processor is configured to:
Determine that whether the current environment parameter information of described electronic equipment meets one pre-conditioned;
When for being, show described first picture;
For time no, show described second picture.
16. electronic equipments as described in claim 10 or 11, it is characterized in that, described N block image is in removable state, and described based on the N block image in described M block image, after obtaining second picture, described processor is configured to:
Detect acquisition operating body and move operation for first of first block of image in described N block image;
Respond described first and move operation, described first block of image is adjusted to the second place by current primary importance.
17. electronic equipments as claimed in claim 16, is characterized in that, in described first operation of described response, after described first block of image is adjusted to the second place by current primary importance, described processor is configured to:
When the duration that described first block of image is in the described second place is greater than preset duration, generates and export the information whether described second place is tram.
18. electronic equipments as described in claim 10 or 11, is characterized in that, when N equals M, described based on the N block image in described M block image, after obtaining second picture, described processor is configured to:
Detect the second operation obtained for described second picture;
When described second is operating as default recovery operation, described second picture is returned to described first picture.
19. 1 kinds of electronic equipments, comprising:
First obtains unit, for obtaining the first picture;
Second obtains unit, for carrying out piecemeal process to described first picture, obtains M block image, wherein, M be more than or equal to 2 integer, described M block image arranges with first order order in described first picture;
3rd obtains unit, and based on the N block image in described M block image, obtain second picture, wherein, described second picture is different from described first picture, and N is the positive integer being less than or equal to M.
CN201510924899.0A 2015-12-14 2015-12-14 image processing method and electronic equipment Active CN105511759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510924899.0A CN105511759B (en) 2015-12-14 2015-12-14 image processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510924899.0A CN105511759B (en) 2015-12-14 2015-12-14 image processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105511759A true CN105511759A (en) 2016-04-20
CN105511759B CN105511759B (en) 2020-01-31

Family

ID=55719783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510924899.0A Active CN105511759B (en) 2015-12-14 2015-12-14 image processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105511759B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155346A (en) * 2016-06-29 2016-11-23 深圳信息职业技术学院 A kind of generation method and apparatus of word of expressing one's feelings
CN106327457A (en) * 2016-08-23 2017-01-11 北京金山安全软件有限公司 Picture processing method, device and equipment
WO2022037484A1 (en) * 2020-08-21 2022-02-24 北京字节跳动网络技术有限公司 Image processing method and apparatus, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103477635A (en) * 2010-10-08 2013-12-25 弗兰霍菲尔运输应用研究公司 Picture coding supporting block partitioning and block merging
CN103870444A (en) * 2012-12-12 2014-06-18 腾讯科技(深圳)有限公司 Image cutting method and system for image type texts
CN104091357A (en) * 2014-07-14 2014-10-08 厦门大学 Method for generating mosaic images on line through subject-related images
CN104376834A (en) * 2013-08-12 2015-02-25 联想(北京)有限公司 Brightness adjusting method and electronic device
CN104598802A (en) * 2015-02-13 2015-05-06 北京京东尚科信息技术有限公司 Verification method and system based on puzzle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103477635A (en) * 2010-10-08 2013-12-25 弗兰霍菲尔运输应用研究公司 Picture coding supporting block partitioning and block merging
CN103870444A (en) * 2012-12-12 2014-06-18 腾讯科技(深圳)有限公司 Image cutting method and system for image type texts
CN104376834A (en) * 2013-08-12 2015-02-25 联想(北京)有限公司 Brightness adjusting method and electronic device
CN104091357A (en) * 2014-07-14 2014-10-08 厦门大学 Method for generating mosaic images on line through subject-related images
CN104598802A (en) * 2015-02-13 2015-05-06 北京京东尚科信息技术有限公司 Verification method and system based on puzzle

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PS学习网: "PS处理分块堆叠图片", 《WWW.PS-XXW.CN/TUPIANCHULI/20.HTML》 *
王雷等: "《突破Authorware6.0创造实例五十讲》", 30 April 2002 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155346A (en) * 2016-06-29 2016-11-23 深圳信息职业技术学院 A kind of generation method and apparatus of word of expressing one's feelings
CN106327457A (en) * 2016-08-23 2017-01-11 北京金山安全软件有限公司 Picture processing method, device and equipment
CN106327457B (en) * 2016-08-23 2020-02-18 北京金山安全软件有限公司 Picture processing method, device and equipment
WO2022037484A1 (en) * 2020-08-21 2022-02-24 北京字节跳动网络技术有限公司 Image processing method and apparatus, device and storage medium

Also Published As

Publication number Publication date
CN105511759B (en) 2020-01-31

Similar Documents

Publication Publication Date Title
JP6028351B2 (en) Control device, electronic device, control method, and program
US9595127B2 (en) Three-dimensional collaboration
CN104731471B (en) Mobile terminal and control method thereof
US20120162384A1 (en) Three-Dimensional Collaboration
CN104463017B (en) A kind of information processing method and electronic equipment
WO2021213067A1 (en) Object display method and apparatus, device and storage medium
CN104732210A (en) Target human face tracking method and electronic equipment
TW202221380A (en) Obfuscated control interfaces for extended reality
CN104754221B (en) A kind of photographic method and mobile terminal
KR20190086781A (en) Methods, systems, and media for detecting stereoscopic video by generating fingerprints for multiple portions of a video frame
Song et al. Joint estimation of 3D hand position and gestures from monocular video for mobile interaction
CN105120169A (en) Information processing method and electronic equipment
CN105511759A (en) Picture processing method and electronic equipment
CN105808015A (en) Peep-proof user interaction device and peep-proof user interaction method
CN109976624A (en) Image display method, device, equipment and computer readable storage medium
CN102135856A (en) Display control method, display device and electronic device
CN104462099B (en) A kind of information processing method and electronic equipment
CN104536678B (en) A kind of display effect adjusting method and electronic equipment
CN103839032A (en) Identification method and electronic device
CN114296627B (en) Content display method, device, equipment and storage medium
WO2016102948A1 (en) Coherent touchless interaction with stereoscopic 3d images
CN112184535B (en) Image anti-counterfeiting method, device and equipment
Ens et al. Shared façades: Surface-embedded layout management for ad hoc collaboration using head-worn displays
Shumaker et al. Virtual, Augmented and Mixed Reality
Wang et al. Bare finger 3D air‐touch system with embedded multiwavelength optical sensor arrays for mobile 3D displays

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant