CN105791744A - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
CN105791744A
CN105791744A CN201410784402.5A CN201410784402A CN105791744A CN 105791744 A CN105791744 A CN 105791744A CN 201410784402 A CN201410784402 A CN 201410784402A CN 105791744 A CN105791744 A CN 105791744A
Authority
CN
China
Prior art keywords
image
pixel
vegetarian refreshments
slices vegetarian
image slices
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410784402.5A
Other languages
Chinese (zh)
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 CN201410784402.5A priority Critical patent/CN105791744A/en
Publication of CN105791744A publication Critical patent/CN105791744A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

The invention discloses an information processing method. The information processing method is used in a first electronic device and specifically comprises the following steps: obtaining a first image in a first area collected at a first moment and a second image in the first area collected at a second moment different from the first moment; determining M identical pixel points and K different pixel points in corresponding positions among N first image pixel points and N second image pixel points; obtaining a third image based on the M pixel points and the K pixel points, so the third image only contains one color or only contains two colors; and sending the third image into a processor.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly to a kind of information processing method and electronic equipment.
Background technology
Development along with science and technology, the range of application of image acquisition units is also more and more wider, such as home security monitoring, bank monitorings etc., make people in daily live and work, obtain good experience, after photographic head is applied in Smart Home, people are by disposing photographic head in the family, it is possible to the home environment of monitoring in real time oneself, greatly improve the security of people.
In prior art, photographic head passes through image acquisition units, is sent in visual information processor by the image collected, and these images, after receiving these image informations, are carried out follow-up analyzing and processing by processor.In whole process, image acquisition units can gather the image information of specific region always, even if after image acquisition units has collected some images relating to people's privacy, still can these images be sent in processor, such processor will be preserved some image informations relating to people's privacy.Present inventor is in realizing the embodiment of the present application in the process of technical scheme, it has been found that prior art exists following technical problem:
Owing in prior art, some are related to the image information of people's privacy and have been sent in processor by image acquisition units, so some image informations relating to people's privacy just preserved by processor, after these image informations are surprisingly revealed, the privacy resulting in people also can leak out therewith, visible, prior art also exists utilize include the monitoring device of image acquisition units be monitored time, there is the technical problem that the video council shot by image acquisition units is divulged a secret.
Summary of the invention
The embodiment of the present application provides a kind of information processing method and electronic equipment; during for solving prior art to utilize the monitoring device including image acquisition units be monitored; the technical problem that the video council that existence is shot by image acquisition units is divulged a secret, and then realize the technique effect of protection user's private information.
First aspect according to the application, a kind of information processing method is provided, it is applied in electronic equipment, described method specifically includes: obtain the first image in the first area that the first moment gathered and the second image in the described first area that second moment different from described first moment gathers, wherein, described first image includes N number of first image slices vegetarian refreshments, and includes N number of second image slices vegetarian refreshments in described second image, and N is positive integer;Determining M the pixel that described N number of first image slices vegetarian refreshments is identical with pixel on correspondence position in described N number of second image slices vegetarian refreshments and K the pixel that pixel is different, wherein, M is nonnegative integer, K is nonnegative integer and M and K's and for N;Based on described M pixel and described K pixel, it is thus achieved that the 3rd image, so that described 3rd image only comprising a kind of color or only comprising two kinds of colors;Described 3rd image is sent in processor, so that based on described 3rd image, described processor can judge whether described first area has object to be kept in motion between described first moment and described second moment, wherein, described first image and described second image include and meets a pre-conditioned Part I picture material, described 3rd image only comprises a part of described Part I picture material.
Optionally, described M the pixel determining that described N number of first image slices vegetarian refreshments is identical with pixel on correspondence position in described N number of second image slices vegetarian refreshments, and K the pixel that pixel is different, specifically include: obtain N number of first gray value of described N number of first pixel and N number of second gray value of described N number of second pixel;Taking i is 1 to N, by poor for i-th second gray value of i-th first gray value of i-th the first image slices vegetarian refreshments Yu i-th the second image slices vegetarian refreshments, obtains i-th gray scale difference value;Judge whether described i-th gray scale difference value is zero, obtain i-th judged result;When described i-th judged result is for being, characterize i-th the first image slices vegetarian refreshments identical with i-th the second image slices vegetarian refreshments, it is determined that described i-th the first image slices vegetarian refreshments or described i-th the second image slices vegetarian refreshments are static pixels point;When being engraved in after described first moment when described i-th judged result is no and described second, characterize i-th the first image slices vegetarian refreshments different from i-th the second image slices vegetarian refreshments, it is determined that described i-th the second image slices vegetarian refreshments is dynamic pixel point;When i is N, it is thus achieved that M static pixels point, and K dynamic pixel point.
Optionally, described based on described M pixel and described K pixel, it is thus achieved that the 3rd image, specifically include: M gray value of described M static pixels point is all adjusted to first and presets gray value, it is thus achieved that static pixels point after M adjustment;It is all adjusted to K gray value of described K dynamic pixel point preset the second default gray value that gray value is different from described first, it is thus achieved that dynamic pixel point after K adjustment;By static pixels point after described M adjustment and dynamic pixel point combination after described K adjustment, it is thus achieved that described 3rd image.
Optionally, described M the pixel determining that described N number of first image slices vegetarian refreshments is identical with pixel on correspondence position in described N number of second image slices vegetarian refreshments, and K the pixel that pixel is different, specifically include: obtain N number of first color value of described N number of first pixel and N number of second color value of described N number of second pixel;Taking i is 1 to N, by poor for i-th second color value of i-th first color value of i-th the first image slices vegetarian refreshments Yu i-th the second image slices vegetarian refreshments, obtains i-th color difference;Judge whether described i-th color difference is zero, obtain i-th judged result;When described i-th judged result is for being, characterize i-th the first image slices vegetarian refreshments identical with i-th the second image slices vegetarian refreshments, it is determined that described i-th the first image slices vegetarian refreshments or described i-th the second image slices vegetarian refreshments are static pixels point;When being engraved in after described first moment when described i-th judged result is no and described second, characterize i-th the first image slices vegetarian refreshments different from i-th the second image slices vegetarian refreshments, it is determined that described i-th the second image slices vegetarian refreshments is dynamic pixel point;When i is N, it is thus achieved that M static pixels point, and K dynamic pixel point.
Optionally, described based on described M pixel and described K pixel, it is thus achieved that the 3rd image, specifically include: M color value of described M static pixels point is all adjusted to the first pre-set color value, it is thus achieved that M adjust after static pixels point;K color value of described K dynamic pixel point is all adjusted to the second pre-set color value different from described first pre-set color value, it is thus achieved that dynamic pixel point after K adjustment;By static pixels point after described M adjustment and dynamic pixel point combination after described K adjustment, it is thus achieved that described 3rd image.
Optionally, after being sent in processor by described 3rd image, described method also includes: based on described 3rd image, it is judged that whether described first area has object to be in described kinestate between the described very first time and described second time.
Another aspect according to the application, a kind of electronic equipment is provided, specifically include: first obtains unit, for obtaining the first image in the first area that the first moment gathered and the second image in the described first area that second moment different from described first moment gathers, wherein, described first image includes N number of first image slices vegetarian refreshments, and includes N number of second image slices vegetarian refreshments in described second image, and N is positive integer;First determines unit, for determining M the pixel that in described N number of first image slices vegetarian refreshments and described N number of second image slices vegetarian refreshments, on correspondence position, pixel is identical, and K the pixel that pixel is different, wherein, M is nonnegative integer, K is nonnegative integer and M and K's and for N;Second obtains unit, for based on described M pixel and described K pixel, it is thus achieved that the 3rd image, so that only comprising a kind of color in described 3rd image or only comprising two kinds of colors;Transmitting element, for described 3rd image is sent in processor, so that based on described 3rd image, described processor can judge whether described first area has object to be kept in motion between described first moment and described second moment, wherein, described first image and described second image include and meets a pre-conditioned Part I picture material, described 3rd image only comprises a part of described Part I picture material.
Optionally, described first determines unit, specifically includes: first obtains module, for obtaining N number of first gray value of described N number of first pixel and N number of second gray value of described N number of second pixel;First computing module, being used for taking i is 1 to N, by poor for i-th second gray value of i-th first gray value of i-th the first image slices vegetarian refreshments Yu i-th the second image slices vegetarian refreshments, obtains i-th gray scale difference value;First judge module, is used for judging whether described i-th gray scale difference value is zero, obtains i-th judged result;First determines module, for when described i-th judged result is for being, characterizing i-th the first image slices vegetarian refreshments identical with i-th the second image slices vegetarian refreshments, it is determined that described i-th the first image slices vegetarian refreshments or described i-th the second image slices vegetarian refreshments are static pixels point;Second determines module, during for being engraved in after described first moment when described i-th judged result is no and described second, characterize i-th the first image slices vegetarian refreshments different from i-th the second image slices vegetarian refreshments, it is determined that described i-th the second image slices vegetarian refreshments is dynamic pixel point;When i is N, it is thus achieved that M static pixels point, and K dynamic pixel point.
Optionally, described second obtains unit, specifically includes: the first adjusting module, presets gray value for M gray value of described M static pixels point is all adjusted to first, it is thus achieved that static pixels point after M adjustment;Second adjusting module, for being all adjusted to K gray value of described K dynamic pixel point preset the second default gray value that gray value is different from described first, it is thus achieved that dynamic pixel point after K adjustment;First composite module, by static pixels point after described M adjustment and dynamic pixel point combination after described K adjustment, it is thus achieved that described 3rd image.
Optionally, described first determines unit, specifically includes: second obtains module, for obtaining N number of first color value of described N number of first pixel and N number of second color value of described N number of second pixel;Second computing module, being used for taking i is 1 to N, by poor for i-th second color value of i-th first color value of i-th the first image slices vegetarian refreshments Yu i-th the second image slices vegetarian refreshments, obtains i-th color difference;Second judge module, is used for judging whether described i-th color difference is zero, obtains i-th judged result;3rd determines module, for when described i-th judged result is for being, characterizing i-th the first image slices vegetarian refreshments identical with i-th the second image slices vegetarian refreshments, it is determined that described i-th the first image slices vegetarian refreshments or described i-th the second image slices vegetarian refreshments are static pixels point;4th determines module, during for being engraved in after described first moment when described i-th judged result is no and described second, characterize i-th the first image slices vegetarian refreshments different from i-th the second image slices vegetarian refreshments, it is determined that described i-th the second image slices vegetarian refreshments is dynamic pixel point;When i is N, it is thus achieved that M static pixels point, and K dynamic pixel point.
Optionally, described second obtains unit, specifically includes: the 3rd adjusting module, for M color value of described M static pixels point is all adjusted to the first pre-set color value, it is thus achieved that static pixels point after M adjustment;4th adjusting module, for being all adjusted to the second pre-set color value different from described first pre-set color value by K color value of described K dynamic pixel point, it is thus achieved that dynamic pixel point after K adjustment;Second composite module, for dynamic pixel point combination after static pixels point after adjusting described M and described K adjustment, it is thus achieved that described 3rd image.
Optionally, after described 3rd image is sent in processor, described electronic equipment also includes: processing unit, for based on described 3rd image, it is judged that whether described first area has object to be in described kinestate between the described very first time and described second time.
Said one in the embodiment of the present application or multiple technical scheme, at least have one or more technique effects following and advantage:
Due to the technical scheme in the embodiment of the present application, when utilizing the monitoring device including image acquisition units to be monitored, process by image information will be collected, so that whether the same area that electronic equipment may determine that the first moment and the second moment has moving object to exist, make the image being sent in processor not comprise the privacy information of user simultaneously, compared in prior art, some are related to the image information of people's privacy and have been sent in processor by image acquisition units, thus causing the technical scheme that privacy of user can leak out therewith, can effectively solve the problem that prior art utilizes and include the monitoring device of image acquisition units when being monitored, the technical problem that the video council that existence is shot by image acquisition units is divulged a secret, and then realize the technique effect of protection user's private information.
Accompanying drawing explanation
Fig. 1 is the flow chart of a kind of information processing method in the embodiment of the present application;
Fig. 2 is that in a kind of information processing method of the embodiment of the present application, step S102 the first implements flow chart;
Fig. 3 is that in a kind of information processing method of the embodiment of the present application, step S103 the first implements flow chart;
Fig. 4 is that in a kind of information processing method of the embodiment of the present application, the second of step S102 implements flow chart;
Fig. 5 is that in a kind of information processing method of the embodiment of the present application, the second of step S103 implements flow chart;
Fig. 6 a-Fig. 6 b is the schematic diagram of pixel gray value in the first image and the second image in the embodiment of the present application;
Fig. 7 is the pixel schematic diagram of the 3rd image obtained based on the first embodiment of step S102 and the first embodiment of step S103 in the embodiment of the present application;
Fig. 8 a-Fig. 8 b is the schematic diagram of pixel color value in the first image and the second image in the embodiment of the present application;
Fig. 9 is the pixel schematic diagram of the 3rd image obtained based on step S102 the second embodiment and step S103 the second embodiment in the embodiment of the present application;
Figure 10 is the structure chart of a kind of electronic equipment in the embodiment of the present application.
Detailed description of the invention
The embodiment of the present application provides a kind of information processing method and electronic equipment; during for solving prior art to utilize the monitoring device including image acquisition units be monitored; the technical problem that the video council that existence is shot by image acquisition units is divulged a secret, and then realize the technique effect of protection user's private information.
Technical scheme in the embodiment of the present application is solve above-mentioned technical problem, general thought is as follows: a kind of information processing method, it is applied in electronic equipment, described method specifically includes: obtain the first image in the first area that the first moment gathered and the second image in the described first area that second moment different from described first moment gathers, wherein, described first image includes N number of first image slices vegetarian refreshments, and described second image includes N number of second image slices vegetarian refreshments, N is positive integer;Determining M the pixel that described N number of first image slices vegetarian refreshments is identical with pixel on correspondence position in described N number of second image slices vegetarian refreshments and K the pixel that pixel is different, wherein, M is nonnegative integer, K is nonnegative integer and M and K's and for N;Based on described M pixel and described K pixel, it is thus achieved that the 3rd image, so that described 3rd image only comprising a kind of color or only comprising two kinds of colors;Described 3rd image is sent in processor, so that based on described 3rd image, described processor can judge whether described first area has object to be kept in motion between described first moment and described second moment, wherein, described first image and described second image include and meets a pre-conditioned Part I picture material, described 3rd image only comprises a part of described Part I picture material.
In above-mentioned technical scheme, due to the technical scheme in the embodiment of the present application, when utilizing the monitoring device including image acquisition units to be monitored, process by image information will be collected, so that whether the same area that electronic equipment may determine that the first moment and the second moment has moving object to exist, make the image being sent in processor not comprise the privacy information of user simultaneously, compared in prior art, some are related to the image information of people's privacy and have been sent in processor by image acquisition units, thus causing the technical scheme that privacy of user can leak out therewith, can effectively solve the problem that prior art utilizes and include the monitoring device of image acquisition units when being monitored, the technical problem that the video council that existence is shot by image acquisition units is divulged a secret, and then realize the technique effect of protection user's private information.
In order to be better understood from technique scheme, below in conjunction with Figure of description and specific embodiment, the technical scheme in the embodiment of the present application is described in detail.
Embodiment one
In order to allow those skilled in the art can know the technical scheme intactly understanding in the embodiment of the present application, in specific descriptions below, to illustrate for electronic equipment for the monitoring camera with image acquisition units, below in conjunction with example, that introduces method in the embodiment of the present application implements process:
Refer to Fig. 1, embodiments herein one provides the process that implements of a kind of information processing method to be described.The method comprises the steps:
S101: obtain the first image in the first area that the first moment gathered and the second image in the described first area that second moment different from described first moment gathers, wherein, described first image includes N number of first image slices vegetarian refreshments, and described second image includes N number of second image slices vegetarian refreshments, N is positive integer;
S102: determine M the pixel that described N number of first image slices vegetarian refreshments is identical with pixel on correspondence position in described N number of second image slices vegetarian refreshments and K the pixel that pixel is different, wherein, M is nonnegative integer, K is nonnegative integer and M and K's and for N;
S103: based on described M pixel and described K pixel, it is thus achieved that the 3rd image, so that only comprising a kind of color or only comprising two kinds of colors in described 3rd image;
S104: described 3rd image is sent in processor, so that based on described 3rd image, described processor can judge whether described first area has object to be kept in motion between described first moment and described second moment, wherein, described first image and described second image include and meets a pre-conditioned Part I picture material, described 3rd image only comprises a part of described Part I picture material.
Further, refer to Fig. 2, in the step S102 process implemented, specifically include:
S201: obtain N number of first gray value of described N number of first pixel and N number of second gray value of described N number of second pixel;
S202: taking i is 1 to N, by poor for i-th second gray value of i-th first gray value of i-th the first image slices vegetarian refreshments Yu i-th the second image slices vegetarian refreshments, obtains i-th gray scale difference value;
S203: judge whether described i-th gray scale difference value is zero, obtains i-th judged result;
S204: when described i-th judged result is for being, characterizes i-th the first image slices vegetarian refreshments identical with i-th the second image slices vegetarian refreshments, it is determined that described i-th the first image slices vegetarian refreshments or described i-th the second image slices vegetarian refreshments are static pixels point;
S205: when being engraved in after described first moment when described i-th judged result is no and described second, characterizes i-th the first image slices vegetarian refreshments different from i-th the second image slices vegetarian refreshments, it is determined that described i-th the second image slices vegetarian refreshments is dynamic pixel point;When i is N, it is thus achieved that M static pixels point, and K dynamic pixel point.
Further, refer to Fig. 3, in the step S103 process being embodied as, specifically include:
S301: M gray value of described M static pixels point is all adjusted to first and presets gray value, it is thus achieved that static pixels point after M adjustment;
S302: be all adjusted to K gray value of described K dynamic pixel point preset the second default gray value that gray value is different from described first, it is thus achieved that dynamic pixel point after K adjustment;
S303: by static pixels point after described M adjustment and dynamic pixel point combination after described K adjustment, it is thus achieved that described 3rd image.
Certainly, in specific implementation process, the detailed description of the invention of step S102 is not unique, refer to the another embodiment of Fig. 4, step S102:
S401: obtain N number of first color value of described N number of first pixel and N number of second color value of described N number of second pixel;
S402: taking i is 1 to N, by poor for i-th second color value of i-th first color value of i-th the first image slices vegetarian refreshments Yu i-th the second image slices vegetarian refreshments, obtains i-th color difference;
S403: judge whether described i-th color difference is zero, obtains i-th judged result;
S404: when described i-th judged result is for being, characterizes i-th the first image slices vegetarian refreshments identical with i-th the second image slices vegetarian refreshments, it is determined that described i-th the first image slices vegetarian refreshments or described i-th the second image slices vegetarian refreshments are static pixels point;
S405: when being engraved in after described first moment when described i-th judged result is no and described second, characterizes i-th the first image slices vegetarian refreshments different from i-th the second image slices vegetarian refreshments, it is determined that described i-th the second image slices vegetarian refreshments is dynamic pixel point;When i is N, it is thus achieved that M static pixels point, and K dynamic pixel point.
Further, the detailed description of the invention of corresponding step S103 is also not unique, refer to the another embodiment of Fig. 5, step S103, comprises the steps:
S501: M color value of described M static pixels point is all adjusted to the first pre-set color value, it is thus achieved that static pixels point after M adjustment;
S502: K color value of described K dynamic pixel point is all adjusted to the second pre-set color value different from described first pre-set color value, it is thus achieved that dynamic pixel point after K adjustment;
S503: by static pixels point after described M adjustment and dynamic pixel point combination after described K adjustment, it is thus achieved that described 3rd image.
No matter it is any specific embodiment, after the 3rd image is sent in processor, also includes, based on described 3rd image, it is judged that whether described first area has object to be in described kinestate between the described very first time and described second time.
Below by specific example, what describe information processing method in the embodiment of the present application implements process:
User is in the first moment, during the 12:00:00 at noon, monitoring camera has collected the first image in the window area of user, assume that the first image now is the image of a width static state, a simply blue sky, in the second moment, during 12:00:01, monitoring camera has collected the second image in the window area of user, assume now, a cat is had to pass through this window, simultaneously, assume that the first image and the second image are all the images of 3x3 pixel, certainly, it is not unique that interval between first moment and the second moment sets, assume that as 1s, can also be 0.1s, concrete interval can pass through user's sets itself, can also be set by some operational factors of self of electronic equipment;Meanwhile, the pixel of the first image and the second image neither be unique, it is possible to being all 1600x900, it is also possible to be 900x600 etc., concrete setting value can be set by user, it is also possible to is set by the operational factor of equipment self, does not here just repeat.
Now, monitoring camera carries out step S101: obtain the first image in the first area that the first moment gathered and the second image in the described first area that second moment different from described first moment gathers, wherein, described first image includes N number of first image slices vegetarian refreshments, and described second image includes N number of second image slices vegetarian refreshments, N is positive integer;Continuing the example above specifically, monitoring camera is when 12:00:00, it is thus achieved that contain a blue sky and that pixel is 3x3 the first image, when 12:00:01, it is thus achieved that include a cat and that pixel is 3x3 the second image.
After step S101 completes, perform step S102: determine M the pixel that described N number of first image slices vegetarian refreshments is identical with pixel on correspondence position in described N number of second image slices vegetarian refreshments, and K the pixel that pixel is different, wherein, M to be nonnegative integer, K be nonnegative integer and M and K's and for N;Specifically step S201 is first carried out: obtain N number of first gray value of described N number of first pixel and N number of second gray value of described N number of second pixel, continue the example above specifically, after obtaining the first image and the second image, monitoring camera obtains the gray value of 9 pixels of the first image, refer to Fig. 6 a, be specifically shown in following table one:
Table one:
Pixel (1-9) 1 2 3 4 5 6 7 8 9
Gray value (0-255) 20 10 20 15 20 20 15 15 20
Meanwhile, monitoring camera obtains the gray value of 9 pixels of the second image, refer to Fig. 6 b, is specifically shown in following table two:
Table two:
Pixel (1-9) 1 2 3 4 5 6 7 8 9
Gray value (0-255) 20 10 20 15 20 20 200 210 205
After step S201 completes, perform step S202: taking i is 1 to N, by poor for i-th second gray value of i-th first gray value of i-th the first image slices vegetarian refreshments Yu i-th the second image slices vegetarian refreshments, obtains i-th gray scale difference value;Continue the example above specifically, when i is 1, the gray value of the 1st pixel in the first image is deducted the gray value of the 1st pixel in the second image, it may be assumed that 20-20=0, now, the 1st gray scale difference value is just 1;When i is 2 to 9, specific embodiment is consistent when being 1 with i, here just repeats no more, and concrete gray scale difference value refer to table three:
Table three:
Pixel (1-9) 1 2 3 4 5 6 7 8 9
Gray scale difference value 0 0 0 0 0 0 -185 -205 -185
After step S202 completes, perform step S203: judge whether described i-th gray scale difference value is zero, obtain i-th judged result;Continue the example above specifically, when i is 1, owing to the 1st gray scale difference value is 0, then the 1st judged result is just yes, similar, when i is 2 to 9, the 2nd judged result to the 9th judged result, refer to table four:
Table four:
Numbering 1 2 3 4 5 6 7 8 9
Judged result It is It is It is It is It is It is No No No
After step S203 completes, perform step S204: when described i-th judged result is for being, characterize i-th the first image slices vegetarian refreshments identical with i-th the second image slices vegetarian refreshments, it is determined that described i-th the first image slices vegetarian refreshments or described i-th the second image slices vegetarian refreshments are static pixels point;Continue the example above specifically, when i is 1,1st judged result is yes, now, the 1st pixel in the first image and the 1st pixel in the second image are identical, namely now, the 1st pixel in second image is just a static pixels point, similar, according to table four, in the second image, the 2nd to the 6th pixel is also static pixels point.
After step S204 completes, perform step S205: when being engraved in when described i-th judged result is no and described second after described first moment, characterize i-th the first image slices vegetarian refreshments different from i-th the second image slices vegetarian refreshments, it is determined that described i-th the second image slices vegetarian refreshments is dynamic pixel point;When i is N, it is thus achieved that M static pixels point, and K dynamic pixel point;Continue the example above specifically, when i is 7,7th judged result is no, and now the 7th pixel in the first image and the 7th pixel in the second image differ, namely now the 7th pixel in the second image just for dynamic pixel point, similar, when i be 8, i is 9, according to table four, now, the 8th pixel in the second image and the 9th pixel are just for dynamic pixel point.
After step S205 completes, also just completing step S102, now, monitoring camera continues executing with step S103: based on described M pixel and described K pixel, obtain the 3rd image, so that described 3rd image only comprising a kind of color or only comprising two kinds of colors;Certainly when performing step S103, monitoring camera is first carried out step S301: M gray value of described M static pixels point is all adjusted to first and presets gray value, it is thus achieved that static pixels point after M adjustment;Continue the example above specifically, owing to above-mentioned steps has determined that 6 static pixels points, it is specially in the second image the 1st pixel to the 6th pixel, now, it is set to a gray value by unified for these 6 pixels above-mentioned, be assumed to be 255, i.e. lily pixel, then monitoring camera just obtain 6 adjust after static pixels point.
After step S301 completes, continue executing with step S302: be all adjusted to K gray value of described K dynamic pixel point preset the second default gray value that gray value is different from described first, it is thus achieved that dynamic pixel point after K adjustment;Continue the example above specifically, owing to above-mentioned steps has determined that 3 dynamic pixel points, it is specially the 7th pixel to the 9th pixel in the second image, now, 3 above-mentioned pixels unifications are set to the gray value different from above-mentioned gray value, be assumed to be 0, i.e. the pixel of ater, then monitoring camera just obtain 3 adjust after dynamic pixel point.
After step S302 completes, continue executing with step S303: by static pixels point after described M adjustment and dynamic pixel point combination after described K adjustment, it is thus achieved that described 3rd image;Continue the example above specifically, now monitoring camera obtain 6 adjust after static pixels point and 3 adjust after dynamic pixel point, these 9 pixels are combined into a new image in order, refer to Fig. 7, now monitoring camera just obtains one containing only the image having black and white.
After step S303 completes, also step S103 is just completed, now, monitoring camera will continue executing with step S104: is sent in processor by described 3rd image, so that based on described 3rd image, described processor can judge whether described first area has object to be kept in motion between described first moment and described second moment, wherein, described first image and described second image include and meets a pre-conditioned Part I picture material, described 3rd image only comprises a part of described Part I picture material;Continue the example above specifically, the image only comprising black and white that monitoring camera will obtain, it is sent in processor, processor can only by whether such graphical analysis obtains having the object of motion to occur in above-mentioned window area, and then analyze further these objects specifically what, whether user there is impact etc., and, now contains only black and white owing to storing in image within a processor, do not have directly, the discrimination degree of concrete people, so, even if the image in processor is revealed accidentally, leak without the privacy affecting user, thus being effectively protected the personal secrets of user.
Certainly, assume that the gray value that monitoring camera is not detected by correspondence position pixel between the first moment and the second moment has any change, so, pixel gray scale difference value on correspondence position is all just 0, now obtaining just containing only there being a kind of white in new image, this image is sent in the middle of processor by monitoring camera afterwards, in this case, the detailed description of the invention of monitoring camera is similar with above-mentioned situation, here just repeats no more.
Further, monitoring camera is except processing the gray value of pixel on correspondence position, it is also possible to the color value on correspondence position is processed, and sets forth this embodiment below in conjunction with specific example, specific as follows:
User is in the first moment, during the 12:00:00 at noon, monitoring camera has collected the first image in the window area of user, assume that the first image now is the image of a width static state, a simply blue sky, in the second moment, during 12:00:01, monitoring camera has collected the second image in the window area of user, assume now, a cat is had to pass through this window, simultaneously, assume that the first image and the second image are all the images of 3x3 pixel, certainly, it is not unique that interval between first moment and the second moment sets, assume that as 1s, can also be 0.1s, concrete interval can pass through user's sets itself, some operational factors of self of electronic equipment can also be passed through, it is set;Meanwhile, the pixel of the first image and the second image neither be unique, it is possible to being all 1600x900, it is also possible to be 900x600 etc., concrete setting value can be set by user, it is also possible to is set by the operational factor of equipment self, does not here just repeat.
Now, monitoring camera carries out step S101: obtain the first image in the first area that the first moment gathered and the second image in the described first area that second moment different from described first moment gathers, wherein, described first image includes N number of first image slices vegetarian refreshments, and described second image includes N number of second image slices vegetarian refreshments, N is positive integer;Continuing the example above specifically, monitoring camera is when 12:00:00, it is thus achieved that contain a blue sky and that pixel is 3x3 the first image, when 12:00:01, it is thus achieved that include a cat and that pixel is 3x3 the second image.
After step S101 completes, perform step S102: determine M the pixel that described N number of first image slices vegetarian refreshments is identical with pixel on correspondence position in described N number of second image slices vegetarian refreshments, and K the pixel that pixel is different, wherein, M to be nonnegative integer, K be nonnegative integer and M and K's and for N;Specifically step S401 is first carried out: obtain N number of first color value of described N number of first pixel and N number of second color value of described N number of second pixel;Continuing the example above specifically, after obtaining the first image and the second image, monitoring camera obtains the gray value of 9 pixels of the first image, refer to Fig. 8 a, is specifically shown in following table five:
Table five:
Pixel (1-9) 1 2 3 4 5 6 7 8 9
Color value (R) 30 30 32 32 29 30 33 30 30
Color value (G) 144 144 145 144 144 147 148 146 144
Color value (B) 255 255 254 253 255 255 252 255 255
Meanwhile, monitoring camera obtains the gray value of 9 pixels of the second image, refer to Fig. 8 b, is specifically shown in following table six:
Table six:
Pixel (1-9) 1 2 3 4 5 6 7 8 9
Color value (R) 30 30 32 32 29 30 240 230 240
Color value (G) 144 144 145 144 144 147 245 245 240
Color value (B) 255 255 254 253 255 255 245 240 245
After step S401 completes, perform step S402: taking i is 1 to N, by poor for i-th second color value of i-th first color value of i-th the first image slices vegetarian refreshments Yu i-th the second image slices vegetarian refreshments, obtains i-th color difference;Continue the example above specifically, when i is 1, the color value of the 1st pixel in the first image is deducted the gray value of the 1st pixel in the second image, it may be assumed that R:30-30=0;G:144-144=0;B:255-255=0;So the RGB difference of the 1st pixel is (0,0,0), and namely the 1st color difference is 0;When i is 2 to 9, specific embodiment is consistent when being 1 with i, here just repeat no more can, concrete color difference refer to table seven:
Table seven:
Pixel (1-9) 1 2 3 4 5 6 7 8 9
Color difference (R) 0 0 0 0 0 0 -207 -200 -210
Color difference (G) 0 0 0 0 0 0 -97 -99 -96
Color difference (B) 0 0 0 0 0 0 7 15 10
After step S402 completes, perform step S403: judge whether described i-th color difference is zero, obtain i-th judged result;Continue the example above specifically, when i is 1, owing to the 1st color difference is (0,0,0), namely 0, then the 1st judged result is just yes, similar, when i is 2 to 9, the 2nd judged result to the 9th judged result, refer to table eight:
Table eight:
Numbering 1 2 3 4 5 6 7 8 9
Judged result It is It is It is It is It is It is No No No
After step S403 completes, perform step S404: when described i-th judged result is for being, characterize i-th the first image slices vegetarian refreshments identical with i-th the second image slices vegetarian refreshments, it is determined that described i-th the first image slices vegetarian refreshments or described i-th the second image slices vegetarian refreshments are static pixels point;Continue the example above specifically, when i is 1,1st judged result is yes, now, the 1st pixel in the first image and the 1st pixel in the second image are identical, namely now, the 1st pixel in second image is just a static pixels point, similar, according to table eight, in the second image, the 2nd to the 6th pixel is also static pixels point.
After step S404 completes, perform step S405: when being engraved in after described first moment when described i-th judged result is no and described second, characterize i-th the first image slices vegetarian refreshments different from i-th the second image slices vegetarian refreshments, it is determined that described i-th the second image slices vegetarian refreshments is dynamic pixel point;When i is N, it is thus achieved that M static pixels point, and K dynamic pixel point;Continue the example above specifically, when i is 7,7th judged result is no, and now the 7th pixel in the first image and the 7th pixel in the second image differ, namely now the 7th pixel in the second image just for dynamic pixel point, similar, when i be 8, i is 9, according to table eight, now, the 8th pixel in the second image and the 9th pixel are just for dynamic pixel point.
After step S405 completes, also just completing step S102, now, monitoring camera continues executing with step S103: based on described M pixel and described K pixel, obtain the 3rd image, so that described 3rd image only comprising a kind of color or only comprising two kinds of colors;Certainly when performing step S103, monitoring camera is first carried out step S501: M color value of described M static pixels point is all adjusted to the first pre-set color value, it is thus achieved that static pixels point after M adjustment;Continue the example above specifically, owing to above-mentioned steps has determined that 6 static pixels points, it is specially in the second image the 1st pixel to the 6th pixel, now, it is set to a color value by unified for these 6 pixels above-mentioned, it is assumed that RGB is (0,0,255), the i.e. pixel of pure blue, then monitoring camera just obtain 6 adjust after static pixels point.
After step S501 completes, continue executing with step S502: K color value of described K dynamic pixel point is all adjusted to the second pre-set color value different from described first pre-set color value, it is thus achieved that dynamic pixel point after K adjustment;Continue the example above specifically, owing to above-mentioned steps has determined that 3 dynamic pixel points, it is specially the 7th pixel to the 9th pixel in the second image, now, 3 above-mentioned pixels unifications are set to the color value different from above-mentioned color value, it is assumed that for (255,0,0), namely pure red pixel, then monitoring camera just obtain 3 adjust after dynamic pixel point.
After step S502 completes, continue executing with step S503: by static pixels point after described M adjustment and dynamic pixel point combination after described K adjustment, it is thus achieved that described 3rd image;Continue the example above specifically, now monitoring camera obtain 6 adjust after static pixels point and 3 adjust after dynamic pixel point, these 9 pixels are combined into a new image in order, refer to Fig. 9, now monitoring camera just obtains one containing only there being red and blue image.
After step S503 completes, also step S103 is just completed, now, monitoring camera will continue executing with step S104: is sent in processor by described 3rd image, so that based on described 3rd image, described processor can judge whether described first area has object to be kept in motion between described first moment and described second moment, wherein, described first image and described second image include and meets a pre-conditioned Part I picture material, described 3rd image only comprises a part of described Part I picture material;Continue the example above specifically, monitoring camera only comprises red and blue image by what obtain, it is sent in processor, processor can only by whether such graphical analysis obtains having the object of motion to occur in above-mentioned window area, and then analyze further these objects specifically what, whether user there is impact etc., and, now contains only redness and blueness owing to storing in image within a processor, do not have directly, the discrimination degree of concrete people, so, even if the image in processor is revealed accidentally, leak without the privacy affecting user, thus being effectively protected the personal secrets of user.
Certainly the color value arranged is not only redness and blueness, it is also possible to being other colors, color value can be arranged to other the color value meeting certain condition by those skilled in the art according to concrete application scenarios, here just repeats no more.
In addition, assume that the color value that monitoring camera is not detected by correspondence position pixel between the first moment and the second moment has any change, so, pixel color difference on correspondence position is all just 0, now obtaining just containing only there being a kind of color in new image, this image is sent in the middle of processor by monitoring camera afterwards, in this case, the detailed description of the invention of monitoring camera is similar with above-mentioned situation, here just repeats no more.
Embodiment two
Refer to Figure 10, in the embodiment of the present application, also provide for a kind of electronic equipment based on same inventive concept, specifically include:
First obtains unit 10, for obtaining the first image in the first area that the first moment gathered and the second image in the described first area that second moment different from described first moment gathers, wherein, described first image includes N number of first image slices vegetarian refreshments, and described second image includes N number of second image slices vegetarian refreshments, N is positive integer;
First determines unit 20, for determining M the pixel that in described N number of first image slices vegetarian refreshments and described N number of second image slices vegetarian refreshments, on correspondence position, pixel is identical, and K the pixel that pixel is different, wherein, M is nonnegative integer, K is nonnegative integer and M and K's and for N;
Second obtains unit 30, for based on described M pixel and described K pixel, it is thus achieved that the 3rd image, so that only comprising a kind of color in described 3rd image or only comprising two kinds of colors;
Transmitting element 40, for described 3rd image is sent in processor, so that based on described 3rd image, described processor can judge whether described first area has object to be kept in motion between described first moment and described second moment, wherein, described first image and described second image include and meets a pre-conditioned Part I picture material, described 3rd image only comprises a part of described Part I picture material.
Optionally, first determines unit 20, specifically includes:
First obtains module, for obtaining N number of first gray value of described N number of first pixel and N number of second gray value of described N number of second pixel;
First computing module, being used for taking i is 1 to N, by poor for i-th second gray value of i-th first gray value of i-th the first image slices vegetarian refreshments Yu i-th the second image slices vegetarian refreshments, obtains i-th gray scale difference value;
First judge module, is used for judging whether described i-th gray scale difference value is zero, obtains i-th judged result;
First determines module, for when described i-th judged result is for being, characterizing i-th the first image slices vegetarian refreshments identical with i-th the second image slices vegetarian refreshments, it is determined that described i-th the first image slices vegetarian refreshments or described i-th the second image slices vegetarian refreshments are static pixels point;
Second determines module, during for being engraved in after described first moment when described i-th judged result is no and described second, characterize i-th the first image slices vegetarian refreshments different from i-th the second image slices vegetarian refreshments, it is determined that described i-th the second image slices vegetarian refreshments is dynamic pixel point;
When i is N, it is thus achieved that M static pixels point, and K dynamic pixel point.
Optionally, second obtains unit 30, specifically includes:
First adjusting module, presets gray value for M gray value of described M static pixels point is all adjusted to first, it is thus achieved that static pixels point after M adjustment;
Second adjusting module, for being all adjusted to K gray value of described K dynamic pixel point preset the second default gray value that gray value is different from described first, it is thus achieved that dynamic pixel point after K adjustment;
First composite module, by static pixels point after described M adjustment and dynamic pixel point combination after described K adjustment, it is thus achieved that described 3rd image.
Optionally, first determines unit 20, specifically includes:
Second obtains module, for obtaining N number of first color value of described N number of first pixel and N number of second color value of described N number of second pixel;
Second computing module, being used for taking i is 1 to N, by poor for i-th second color value of i-th first color value of i-th the first image slices vegetarian refreshments Yu i-th the second image slices vegetarian refreshments, obtains i-th color difference;
Second judge module, is used for judging whether described i-th color difference is zero, obtains i-th judged result;
3rd determines module, for when described i-th judged result is for being, characterizing i-th the first image slices vegetarian refreshments identical with i-th the second image slices vegetarian refreshments, it is determined that described i-th the first image slices vegetarian refreshments or described i-th the second image slices vegetarian refreshments are static pixels point;
4th determines module, during for being engraved in after described first moment when described i-th judged result is no and described second, characterize i-th the first image slices vegetarian refreshments different from i-th the second image slices vegetarian refreshments, it is determined that described i-th the second image slices vegetarian refreshments is dynamic pixel point;
When i is N, it is thus achieved that M static pixels point, and K dynamic pixel point.
Optionally, second obtains unit 30, specifically includes:
3rd adjusting module, for being all adjusted to the first pre-set color value by M color value of described M static pixels point, it is thus achieved that static pixels point after M adjustment;
4th adjusting module, for being all adjusted to the second pre-set color value different from described first pre-set color value by K color value of described K dynamic pixel point, it is thus achieved that dynamic pixel point after K adjustment;
Second composite module, for dynamic pixel point combination after static pixels point after adjusting described M and described K adjustment, it is thus achieved that described 3rd image.
Optionally, after being sent in processor by described 3rd image, described electronic equipment also includes:
Processing unit 50, for based on described 3rd image, it is judged that whether described first area has object to be in described kinestate between the described very first time and described second time.
By the one or more technical schemes in the embodiment of the present application, it is possible to achieve following one or more technique effects:
Due to the technical scheme in the embodiment of the present application, when utilizing the monitoring device including image acquisition units to be monitored, process by image information will be collected, so that whether the same area that electronic equipment may determine that the first moment and the second moment has moving object to exist, make the image being sent in processor not comprise the privacy information of user simultaneously, compared in prior art, some are related to the image information of people's privacy and have been sent in processor by image acquisition units, thus causing the technical scheme that privacy of user can leak out therewith, can effectively solve the problem that prior art utilizes and include the monitoring device of image acquisition units when being monitored, the technical problem that the video council that existence is shot by image acquisition units is divulged a secret, and then realize the technique effect of protection user's private information.
Those skilled in the art are it should be appreciated that 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, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the present invention can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
The present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program describe.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Specifically, the computer program instructions that a kind of information 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, when the computer program instructions corresponding with a kind of information processing method in storage medium is read by an electronic equipment or be performed, comprise the steps:
Obtain the first image in the first area that the first moment gathered and the second image in the described first area that second moment different from described first moment gathers, wherein, described first image includes N number of first image slices vegetarian refreshments, and described second image includes N number of second image slices vegetarian refreshments, N is positive integer;
Determining M the pixel that described N number of first image slices vegetarian refreshments is identical with pixel on correspondence position in described N number of second image slices vegetarian refreshments and K the pixel that pixel is different, wherein, M is nonnegative integer, K is nonnegative integer and M and K's and for N;
Based on described M pixel and described K pixel, it is thus achieved that the 3rd image, so that described 3rd image only comprising a kind of color or only comprising two kinds of colors;
Described 3rd image is sent in processor, so that based on described 3rd image, described processor can judge whether described first area has object to be kept in motion between described first moment and described second moment, wherein, described first image and described second image include and meets a pre-conditioned Part I picture material, described 3rd image only comprises a part of described Part I picture material.
Optionally, in described storage medium storage with step: determine M the pixel that in described N number of first image slices vegetarian refreshments and described N number of second image slices vegetarian refreshments, on correspondence position, pixel is identical, and K the pixel that pixel is different, corresponding computer instruction is specifically being performed in process, specifically includes following steps:
Obtain N number of first gray value of described N number of first pixel and N number of second gray value of described N number of second pixel;
Taking i is 1 to N, by poor for i-th second gray value of i-th first gray value of i-th the first image slices vegetarian refreshments Yu i-th the second image slices vegetarian refreshments, obtains i-th gray scale difference value;
Judge whether described i-th gray scale difference value is zero, obtain i-th judged result;
When described i-th judged result is for being, characterize i-th the first image slices vegetarian refreshments identical with i-th the second image slices vegetarian refreshments, it is determined that described i-th the first image slices vegetarian refreshments or described i-th the second image slices vegetarian refreshments are static pixels point;
When being engraved in after described first moment when described i-th judged result is no and described second, characterize i-th the first image slices vegetarian refreshments different from i-th the second image slices vegetarian refreshments, it is determined that described i-th the second image slices vegetarian refreshments is dynamic pixel point;
When i is N, it is thus achieved that M static pixels point, and K dynamic pixel point.
Optionally, in described storage medium storage and step: based on described M pixel and described K pixel, it is thus achieved that the 3rd image, correspondence computer instruction be specifically performed in process, specifically include following steps:
M gray value of described M static pixels point is all adjusted to first and presets gray value, it is thus achieved that static pixels point after M adjustment;
It is all adjusted to K gray value of described K dynamic pixel point preset the second default gray value that gray value is different from described first, it is thus achieved that dynamic pixel point after K adjustment;
By static pixels point after described M adjustment and dynamic pixel point combination after described K adjustment, it is thus achieved that described 3rd image.
Optionally, in described storage medium storage with step: determine M the pixel that in described N number of first image slices vegetarian refreshments and described N number of second image slices vegetarian refreshments, on correspondence position, pixel is identical, and K the pixel that pixel is different, corresponding computer instruction is specifically being performed in process, specifically includes following steps:
Obtain N number of first color value of described N number of first pixel and N number of second color value of described N number of second pixel;
Taking i is 1 to N, by poor for i-th second color value of i-th first color value of i-th the first image slices vegetarian refreshments Yu i-th the second image slices vegetarian refreshments, obtains i-th color difference;
Judge whether described i-th color difference is zero, obtain i-th judged result;
When described i-th judged result is for being, characterize i-th the first image slices vegetarian refreshments identical with i-th the second image slices vegetarian refreshments, it is determined that described i-th the first image slices vegetarian refreshments or described i-th the second image slices vegetarian refreshments are static pixels point;
When being engraved in after described first moment when described i-th judged result is no and described second, characterize i-th the first image slices vegetarian refreshments different from i-th the second image slices vegetarian refreshments, it is determined that described i-th the second image slices vegetarian refreshments is dynamic pixel point;
When i is N, it is thus achieved that M static pixels point, and K dynamic pixel point.
Optionally, in described storage medium storage and step: based on described M pixel and described K pixel, it is thus achieved that the 3rd image, correspondence computer instruction be specifically performed in process, specifically include following steps:
M color value of described M static pixels point is all adjusted to the first pre-set color value, it is thus achieved that static pixels point after M adjustment;
K color value of described K dynamic pixel point is all adjusted to the second pre-set color value different from described first pre-set color value, it is thus achieved that dynamic pixel point after K adjustment;
By static pixels point after described M adjustment and dynamic pixel point combination after described K adjustment, it is thus achieved that described 3rd image.
Optionally, store in described storage medium and step: after described 3rd image is sent in processor, corresponding computer instruction is specifically being performed in process, specifically includes following steps:
Based on described 3rd image, it is judged that whether described first area has object to be in described kinestate between the described very first time and described second time.
Although preferred embodiments of the present invention have been described, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment.So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, the present invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art.So, 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 (12)

1. an information processing method, is applied in the first electronic equipment, and described method specifically includes:
Obtain the first image in the first area that the first moment gathered and the second image in the described first area that second moment different from described first moment gathers, wherein, described first image includes N number of first image slices vegetarian refreshments, and described second image includes N number of second image slices vegetarian refreshments, N is positive integer;
Determining M the pixel that described N number of first image slices vegetarian refreshments is identical with pixel on correspondence position in described N number of second image slices vegetarian refreshments and K the pixel that pixel is different, wherein, M is nonnegative integer, K is nonnegative integer and M and K's and for N;
Based on described M pixel and described K pixel, it is thus achieved that the 3rd image, so that described 3rd image only comprising a kind of color or only comprising two kinds of colors;
Described 3rd image is sent in processor, so that based on described 3rd image, described processor can judge whether described first area has object to be kept in motion between described first moment and described second moment, wherein, described first image and described second image include and meets a pre-conditioned Part I picture material, described 3rd image only comprises a part of described Part I picture material.
2. the method for claim 1, it is characterised in that described M the pixel determining that described N number of first image slices vegetarian refreshments is identical with pixel on correspondence position in described N number of second image slices vegetarian refreshments, and K the pixel that pixel is different, specifically includes:
Obtain N number of first gray value of described N number of first pixel and N number of second gray value of described N number of second pixel;
Taking i is 1 to N, by poor for i-th second gray value of i-th first gray value of i-th the first image slices vegetarian refreshments Yu i-th the second image slices vegetarian refreshments, obtains i-th gray scale difference value;
Judge whether described i-th gray scale difference value is zero, obtain i-th judged result;
When described i-th judged result is for being, characterize i-th the first image slices vegetarian refreshments identical with i-th the second image slices vegetarian refreshments, it is determined that described i-th the first image slices vegetarian refreshments or described i-th the second image slices vegetarian refreshments are static pixels point;
When being engraved in after described first moment when described i-th judged result is no and described second, characterize i-th the first image slices vegetarian refreshments different from i-th the second image slices vegetarian refreshments, it is determined that described i-th the second image slices vegetarian refreshments is dynamic pixel point;
When i is N, it is thus achieved that M static pixels point, and K dynamic pixel point.
3. method as claimed in claim 2, it is characterised in that described based on described M pixel and described K pixel, it is thus achieved that the 3rd image, specifically includes:
M gray value of described M static pixels point is all adjusted to first and presets gray value, it is thus achieved that static pixels point after M adjustment;
It is all adjusted to K gray value of described K dynamic pixel point preset the second default gray value that gray value is different from described first, it is thus achieved that dynamic pixel point after K adjustment;
By static pixels point after described M adjustment and dynamic pixel point combination after described K adjustment, it is thus achieved that described 3rd image.
4. the method for claim 1, it is characterised in that described M the pixel determining that described N number of first image slices vegetarian refreshments is identical with pixel on correspondence position in described N number of second image slices vegetarian refreshments, and K the pixel that pixel is different, specifically includes:
Obtain N number of first color value of described N number of first pixel and N number of second color value of described N number of second pixel;
Taking i is 1 to N, by poor for i-th second color value of i-th first color value of i-th the first image slices vegetarian refreshments Yu i-th the second image slices vegetarian refreshments, obtains i-th color difference;
Judge whether described i-th color difference is zero, obtain i-th judged result;
When described i-th judged result is for being, characterize i-th the first image slices vegetarian refreshments identical with i-th the second image slices vegetarian refreshments, it is determined that described i-th the first image slices vegetarian refreshments or described i-th the second image slices vegetarian refreshments are static pixels point;
When being engraved in after described first moment when described i-th judged result is no and described second, characterize i-th the first image slices vegetarian refreshments different from i-th the second image slices vegetarian refreshments, it is determined that described i-th the second image slices vegetarian refreshments is dynamic pixel point;
When i is N, it is thus achieved that M static pixels point, and K dynamic pixel point.
5. method as claimed in claim 4, it is characterised in that described based on described M pixel and described K pixel, it is thus achieved that the 3rd image, specifically includes:
M color value of described M static pixels point is all adjusted to the first pre-set color value, it is thus achieved that static pixels point after M adjustment;
K color value of described K dynamic pixel point is all adjusted to the second pre-set color value different from described first pre-set color value, it is thus achieved that dynamic pixel point after K adjustment;
By static pixels point after described M adjustment and dynamic pixel point combination after described K adjustment, it is thus achieved that described 3rd image.
6. the method as described in claim as arbitrary in claim 1-5, it is characterised in that after being sent in processor by described 3rd image, described method also includes:
Based on described 3rd image, it is judged that whether described first area has object to be in described kinestate between the described very first time and described second time.
7., in an electronic equipment, specifically include:
First obtains unit, for obtaining the first image in the first area that the first moment gathered and the second image in the described first area that second moment different from described first moment gathers, wherein, described first image includes N number of first image slices vegetarian refreshments, and described second image includes N number of second image slices vegetarian refreshments, N is positive integer;
First determines unit, for determining M the pixel that in described N number of first image slices vegetarian refreshments and described N number of second image slices vegetarian refreshments, on correspondence position, pixel is identical, and K the pixel that pixel is different, wherein, M is nonnegative integer, K is nonnegative integer and M and K's and for N;
Second obtains unit, for based on described M pixel and described K pixel, it is thus achieved that the 3rd image, so that only comprising a kind of color in described 3rd image or only comprising two kinds of colors;
Transmitting element, for described 3rd image is sent in processor, so that based on described 3rd image, described processor can judge whether described first area has object to be kept in motion between described first moment and described second moment, wherein, described first image and described second image include and meets a pre-conditioned Part I picture material, described 3rd image only comprises a part of described Part I picture material.
8. electronic equipment as claimed in claim 7, it is characterised in that described first determines unit, specifically includes:
First obtains module, for obtaining N number of first gray value of described N number of first pixel and N number of second gray value of described N number of second pixel;
First computing module, being used for taking i is 1 to N, by poor for i-th second gray value of i-th first gray value of i-th the first image slices vegetarian refreshments Yu i-th the second image slices vegetarian refreshments, obtains i-th gray scale difference value;
First judge module, is used for judging whether described i-th gray scale difference value is zero, obtains i-th judged result;
First determines module, for when described i-th judged result is for being, characterizing i-th the first image slices vegetarian refreshments identical with i-th the second image slices vegetarian refreshments, it is determined that described i-th the first image slices vegetarian refreshments or described i-th the second image slices vegetarian refreshments are static pixels point;
Second determines module, during for being engraved in after described first moment when described i-th judged result is no and described second, characterize i-th the first image slices vegetarian refreshments different from i-th the second image slices vegetarian refreshments, it is determined that described i-th the second image slices vegetarian refreshments is dynamic pixel point;
When i is N, it is thus achieved that M static pixels point, and K dynamic pixel point.
9. electronic equipment as claimed in claim 8, it is characterised in that described second obtains unit, specifically includes:
First adjusting module, presets gray value for M gray value of described M static pixels point is all adjusted to first, it is thus achieved that static pixels point after M adjustment;
Second adjusting module, for being all adjusted to K gray value of described K dynamic pixel point preset the second default gray value that gray value is different from described first, it is thus achieved that dynamic pixel point after K adjustment;
First composite module, by static pixels point after described M adjustment and dynamic pixel point combination after described K adjustment, it is thus achieved that described 3rd image.
10. electronic equipment as claimed in claim 7, it is characterised in that described first determines unit, specifically includes:
Second obtains module, for obtaining N number of first color value of described N number of first pixel and N number of second color value of described N number of second pixel;
Second computing module, being used for taking i is 1 to N, by poor for i-th second color value of i-th first color value of i-th the first image slices vegetarian refreshments Yu i-th the second image slices vegetarian refreshments, obtains i-th color difference;
Second judge module, is used for judging whether described i-th color difference is zero, obtains i-th judged result;
3rd determines module, for when described i-th judged result is for being, characterizing i-th the first image slices vegetarian refreshments identical with i-th the second image slices vegetarian refreshments, it is determined that described i-th the first image slices vegetarian refreshments or described i-th the second image slices vegetarian refreshments are static pixels point;
4th determines module, during for being engraved in after described first moment when described i-th judged result is no and described second, characterize i-th the first image slices vegetarian refreshments different from i-th the second image slices vegetarian refreshments, it is determined that described i-th the second image slices vegetarian refreshments is dynamic pixel point;
When i is N, it is thus achieved that M static pixels point, and K dynamic pixel point.
11. electronic equipment as claimed in claim 10, it is characterised in that described second obtains unit, specifically includes:
3rd adjusting module, for being all adjusted to the first pre-set color value by M color value of described M static pixels point, it is thus achieved that static pixels point after M adjustment;
4th adjusting module, for being all adjusted to the second pre-set color value different from described first pre-set color value by K color value of described K dynamic pixel point, it is thus achieved that dynamic pixel point after K adjustment;
Second composite module, for dynamic pixel point combination after static pixels point after adjusting described M and described K adjustment, it is thus achieved that described 3rd image.
12. the electronic equipment as described in claim as arbitrary in claim 7-11, it is characterised in that after being sent in processor by described 3rd image, described electronic equipment also includes:
Processing unit, for based on described 3rd image, it is judged that whether described first area has object to be in described kinestate between the described very first time and described second time.
CN201410784402.5A 2014-12-16 2014-12-16 Information processing method and electronic device Pending CN105791744A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410784402.5A CN105791744A (en) 2014-12-16 2014-12-16 Information processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410784402.5A CN105791744A (en) 2014-12-16 2014-12-16 Information processing method and electronic device

Publications (1)

Publication Number Publication Date
CN105791744A true CN105791744A (en) 2016-07-20

Family

ID=56374824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410784402.5A Pending CN105791744A (en) 2014-12-16 2014-12-16 Information processing method and electronic device

Country Status (1)

Country Link
CN (1) CN105791744A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159859A (en) * 2007-11-29 2008-04-09 北京中星微电子有限公司 Motion detection method, device and an intelligent monitoring system
CN101493944A (en) * 2009-03-06 2009-07-29 北京中星微电子有限公司 Moving target detecting and tracking method and system
CN101656023A (en) * 2009-08-26 2010-02-24 西安理工大学 Management method of indoor car park in video monitor mode
CN102547222A (en) * 2010-12-16 2012-07-04 胡茂林 Only-moving-target image indication technology for protecting privacy of user in video monitoring
CN102867177A (en) * 2012-09-19 2013-01-09 无锡慧眼电子科技有限公司 People number counting method based on image grey level matching
US8810392B1 (en) * 2010-02-04 2014-08-19 Google Inc. Device and method for monitoring the presence of items and issuing an alert if an item is not detected

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159859A (en) * 2007-11-29 2008-04-09 北京中星微电子有限公司 Motion detection method, device and an intelligent monitoring system
CN101493944A (en) * 2009-03-06 2009-07-29 北京中星微电子有限公司 Moving target detecting and tracking method and system
CN101656023A (en) * 2009-08-26 2010-02-24 西安理工大学 Management method of indoor car park in video monitor mode
US8810392B1 (en) * 2010-02-04 2014-08-19 Google Inc. Device and method for monitoring the presence of items and issuing an alert if an item is not detected
CN102547222A (en) * 2010-12-16 2012-07-04 胡茂林 Only-moving-target image indication technology for protecting privacy of user in video monitoring
CN102867177A (en) * 2012-09-19 2013-01-09 无锡慧眼电子科技有限公司 People number counting method based on image grey level matching

Similar Documents

Publication Publication Date Title
CN106570909B (en) Skin color detection method, device and terminal
US10223839B2 (en) Virtual changes to a real object
CN103262097A (en) Augmented reality processing based on eye capture in handheld device
JP2015173441A (en) Method, apparatus and computer program product for disparity map estimation of stereo images
CN104182927B (en) Picture watermark adding method and device
CN104952027A (en) Face-information-contained picture cutting method and apparatus
CN104754221B (en) A kind of photographic method and mobile terminal
US20200184098A1 (en) Systems and Methods for Secure Obfuscation of Sensitive Information in Images
SG11201909071UA (en) Image processing methods and apparatuses, computer readable storage media and eletronic devices
US20170041538A1 (en) Method for correcting image from wide-angle lens and device therefor
CN106570472A (en) Skin color detecting method and device and terminal
CN105023252A (en) Method and system for enhancement processing of beautified image and shooting terminal
CN111768405B (en) Method, device, equipment and storage medium for processing marked image
CN104539868A (en) Information processing method and electronic equipment
CN103810696A (en) Method for detecting image of target object and device thereof
CN105791793A (en) Image processing method and electronic device
US9197851B2 (en) Apparatus and method for modulating images for videotelephony
CN107203961B (en) Expression migration method and electronic equipment
EP3206387A1 (en) Image dynamic range adjustment method, terminal, and storage media
CN105791744A (en) Information processing method and electronic device
CN104376578A (en) Moving object detection processing method and device applied to direct recording and broadcasting system
CN110751703A (en) Winding picture generation method, device, equipment and storage medium
CN102708570A (en) Method and device for obtaining depth map
CN105511759A (en) Picture processing method and electronic equipment
CN113436269B (en) Image dense stereo matching method, device and computer equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160720