CN103312955A - Method using pixel change to control starting and stopping of recording function of recording device - Google Patents
Method using pixel change to control starting and stopping of recording function of recording device Download PDFInfo
- Publication number
- CN103312955A CN103312955A CN 201210062293 CN201210062293A CN103312955A CN 103312955 A CN103312955 A CN 103312955A CN 201210062293 CN201210062293 CN 201210062293 CN 201210062293 A CN201210062293 A CN 201210062293A CN 103312955 A CN103312955 A CN 103312955A
- Authority
- CN
- China
- Prior art keywords
- shooting
- recording function
- recording
- recording device
- corder
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a method using pixel change to control starting and stopping of a recording function of a recording device, relates to image communication, and especially relates to image signal processing. The method comprises the steps of sampling shot images at a certain time interval; comparing the data of the same pixel of first and second sampled images; collecting comparison results of all valid pixels to judge whether an object moves in a recording range; and starting or stopping the recording function. According to the method, the recording device automatically controls starting and stopping of the recording function; the hardware cost is reduced; the defects of the prior art are overcome; and the method especially has a realistic significance for some portable recording devices.
Description
Technical field
The present invention relates to Image Communication, be specifically related to the processing of picture signal.
Background technology
Camera-shooting and recording device is after unlatching, and camera function can be enabled usually at any time.After enabling, the realtime graphic of extraneous scenery just can be shown in its monitor or view finder.Because limited storage space, its recording function normally manual operations by the user starts or closes.
In some occasion, need camera-shooting and recording device when realizing that there are objects moving, can start voluntarily recording function, with recording image in the middle of storage medium.In order to realize this function, usually control the start and stop of recording function in the prior art with specific transducer.But the sphere of action of these transducers is usually more limited, opens for a long time energy consumption also larger.
Summary of the invention
The objective of the invention is, provide under a kind of prerequisite not increasing hardware, realize the method for camera-shooting and recording device automatic control recording function start and stop when there are objects moving in the scope of shooting with video-corder.
In order to achieve the above object, the invention provides a kind of method of utilizing pixel to change the start and stop of control camera-shooting and recording device recording function, be characterized in, comprise following flow process:
The photographic map picture is sampled at a certain time interval, and the data of the same pixel of front and back double sampling image are compared, the comparison result that gathers all valid pixels, and judge with this whether there are objects moving in scope of shooting with video-corder, then start or stop recording function.
Foregoing method is characterized in, described judgement is shot with video-corder after whether there are objects moving in the scope, also will judge recording function start and stop state, restarts or stop recording function.
Foregoing method is characterized in, described comparison result is: data consistent is true before and after the same pixel; The front and back data are inconsistent to be false.
Foregoing method is characterized in, the described method that gathers comparison result is the percentage that false pixel quantity accounts for whole valid pixel quantity for statistics comparison logical value.
Foregoing method is characterized in, when described percentage surpassed preset value, system thought that there are objects moving in the scope of shooting with video-corder; When described percentage failed to surpass preset value, system is thought did not have movement of objects in the scope of shooting with video-corder.
Foregoing method is characterized in, to whether there are objects moving in the scope of shooting with video-corder and whether recording function has started and carry out XOR, if the result is true, then changes camera-shooting and recording device recording function start and stop state; If the result is false, then do not change camera-shooting and recording device recording function start and stop state.
Foregoing method is characterized in, described flow process loops, unless camera-shooting and recording device withdraws from this flow process.
Technical scheme provided by the present invention when realizing that camera-shooting and recording device is controlled the recording function start and stop automatically, has reduced hardware cost, has overcome the defective of prior art, particularly has more realistic meaning for some portable camera-shooting and recording devices.
Description of drawings
Fig. 1 is basic flow sheet of the present invention.
Embodiment
The basic principle of camera-shooting and recording device be by camera lens the imaging in equipment of extraneous image, and utilize illuminant module that one-tenth's optical imagery is changed into the signal of telecommunication, after being processed, transmit again and store.
When we took an object, the light that reflects on this object was collected by camera lens, made on its sensitive surface that focuses on picture pick-up device (for example target surface of camera tube), by picture pick-up device light was changed into electric energy again, had namely obtained " vision signal ".Photosignal is very faint, need to amplify by the pre-arcing road, process and adjust through various circuit again, the standard signal that obtains at last can be delivered on the recording mediums such as hard disk or tape and record, or propagates or deliver on the monitor by broadcasting system and show.In the prior art, this standard signal can carry out usually simultaneously in the demonstration on the monitor and the storage on recording medium.
In the actual use of camera-shooting and recording device, normally know the picture signal of taking the photograph by monitor first, and as reference, judge whether these picture signals are carried out record----namely be recorded on the storage medium.
Generally, the start and stop of recording function control by switch by the operator of camera-shooting and recording device.Under special circumstances, then need camera-shooting and recording device to open voluntarily or close recording function can there are objects moving in realizing the scope of shooting with video-corder the time.In the prior art, the start and stop of camera-shooting and recording device recording function are controlled by specific transducer usually, such as infrared sensor etc.
After obtaining standard signal in the camera-shooting and recording device, usually can temporarily be stored in the middle of the buffer memory.In the middle of the prior art, the resulting standard signal of camera-shooting and recording device all is digital signal usually.These digital signals also are stored in the middle of the buffer memory in digital form.
In the prior art, the picked-up of dynamic image and reproduction all realize according to " persistence of vision " principle.Be human eye after certain video disappears, still can make this image be detained 0.1-0.4 about second at retina.Picture pick-up device absorbs (or demonstration) tableaux successively with the speed of per second 24 (or 25) frame, and a series of tableauxs will cause a kind of continuous eye impressions because of persistence of vision effect, produce innervation true to nature, thereby realizes dynamic image.
Therefore, in the middle of buffer memory too the speed with per second 24 (or 25) frame deposit or read still image in.Certainly, the amount of images that can store simultaneously in the buffer memory is by the size of image and common decision of size of buffer memory.In the middle of some moved application, in order to reduce energy consumption, in the time need not opening recording function, the production function also was reduced to every certain time interval and deposits a two field picture in buffer memory.Generally, this interval should be lower than the sampling interval of hereinafter mentioning, and can not make false judgment because there being new image in the buffer memory to guarantee sampling hereinafter.
In technical scheme of the present invention, need to sample to the image of storing in the middle of the buffer memory, every of this sampling section is carried out once at regular intervals.The sample of each sampling is a complete image file.At least need the adjacent double sampling sample in front and back on the retention time process in the middle of the buffer memory, in order to compare.And take the result of comparison as judging basis, start or stop the recording function of camera-shooting and recording device.
Below in conjunction with an exemplary embodiments of the present invention, specifically describe embodiments of the present invention.In the middle of the present embodiment, the present invention is used for realizing automatically shooting with video-corder moving object.
In the middle of the menu of camera-shooting and recording device, open the shooting-recording function of taking a sample voluntarily of the present invention.
Up-to-date frame complete image data that deposit buffer memory after camera-shooting and recording device is opened this function in are sampled, and namely this frame image data are copied and deposits in another specific region in the buffer memory, with the basis that compares.
Camera-shooting and recording device guarantees that these comparison base image data of depositing in the buffer memory do not change, until compare finish after renewal.
Since in the buffer memory generally per second all deposit the multiple image data in, and in the practical application, because subject is familiar object in the daily life, its motion state can't be suddenlyd change within the short time (for example 1 second), therefore, to the sampling of image in the buffer memory certain interval should be set.In the middle of this exemplary embodiments, this time interval is 1 second.
After sampling was finished for the first time, the sampling second time was carried out at interval 1 second again.The gained view data compares with the rear base image data of comparing of preserving of for the first time sampling with sampling for the second time.When comparing, need the individual element data to compare one by one, and judge according to the result of comparison.
In the middle of the present embodiment, the resolution of image is 800 * 600, amounts to by 480,000 pixels to consist of.Therefore twice data value before and after each pixel need to be compared, judge each pixel before and after data whether consistent.
The comparison result of all 480,000 pixels is gathered.After gathering, if find that it is no that the pixel data comparison result that surpasses a certain ratio (being generally percentage) is arranged, namely during this pixel data inconsequent, draw the judgement that has object of which movement in the image, namely have moving object to enter the scope of shooting with video-corder.
Can the setting of above-mentioned percentage be related to this function and shield some common interference, and for example the slight change of ambient light or small items enter picture, to avoid error starting.
In the middle of the present embodiment, this percentage is set to 10%.Namely, when judging, if the ratio that two secondary data change before and after the same pixel in the middle of 1 second front and back two two field pictures greater than 10%, system is namely thought has moving object to enter the scope of shooting with video-corder.If the ratio that two secondary data change before and after the same pixel in the middle of the two frame sampling images of front and back is equal to or less than 10%, system is then thought does not have moving object to enter the scope of shooting with video-corder.
When system's judgement thinks that having object to enter shoots with video-corder scope, will detect recording function and whether start.If start, then do not carry out any action, still again sampling after the time interval of setting, and again compare and judge.If recording function not yet starts, then start recording function, and then again sampling after the time interval of setting, and again compare and judge.
When system's judgement thinks that not having moving object to enter shoots with video-corder scope, also will detect recording function and whether start.If do not start, then do not carry out any action, still again sampling after the time interval of setting, and again compare and judge.If recording function starts, then close recording function, and then again sampling after the time interval of setting, and again compare and judge.
After for the first time sampling, when whenever once sampling, after comparing with a front sampled data and judging, all the data with this time sampling gained deposit buffer memory in, and the data obtained of once sampling before replacing, with as the comparison basis of sampled data next time, then after the time interval, sample again next time, compare and judge, so circulation, as shown in Figure 1.
Cause off and on the camera-shooting and recording device frequent starting or stop for fear of object of which movement, start recording function after, the sampling interval can proper extension.In the middle of this enforcement, the sampling interval after recording function starts does not prolong, and still is 1 second.
Claims (7)
1. a method of utilizing pixel to change the start and stop of control camera-shooting and recording device recording function is characterized in that, comprises following flow process:
The photographic map picture is sampled at a certain time interval, and the data of the same pixel of front and back double sampling image are compared, the comparison result that gathers all valid pixels, and judge with this whether there are objects moving in scope of shooting with video-corder, then start or stop recording function.
2. the method for claim 1 is characterized in that, described judgement is shot with video-corder after whether there are objects moving in the scope, also will judge recording function start and stop state, restarts or stop recording function.
3. the method for claim 1 is characterized in that, described comparison result is: data consistent is true before and after the same pixel; The front and back data are inconsistent to be false.
4. method as claimed in claim 3 is characterized in that, the described method that gathers comparison result is the percentage that false pixel quantity accounts for whole valid pixel quantity for statistics comparison logical value.
5. method as claimed in claim 4 is characterized in that, when described percentage surpassed preset value, system thought that there are objects moving in the scope of shooting with video-corder; When described percentage failed to surpass preset value, system is thought did not have movement of objects in the scope of shooting with video-corder.
6. method as claimed in claim 2 is characterized in that, to whether there are objects moving in the scope of shooting with video-corder and whether recording function has started and carry out XOR, if the result is true, then changes camera-shooting and recording device recording function start and stop state; If the result is false, then do not change camera-shooting and recording device recording function start and stop state.
7. the method for claim 1 is characterized in that, described flow process loops, unless camera-shooting and recording device withdraws from this flow process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201210062293 CN103312955A (en) | 2012-03-11 | 2012-03-11 | Method using pixel change to control starting and stopping of recording function of recording device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201210062293 CN103312955A (en) | 2012-03-11 | 2012-03-11 | Method using pixel change to control starting and stopping of recording function of recording device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103312955A true CN103312955A (en) | 2013-09-18 |
Family
ID=49137711
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201210062293 Pending CN103312955A (en) | 2012-03-11 | 2012-03-11 | Method using pixel change to control starting and stopping of recording function of recording device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103312955A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105025240A (en) * | 2015-07-15 | 2015-11-04 | 深圳警翼数码科技有限公司 | Law enforcement recorder and control method thereof |
CN107395968A (en) * | 2017-07-26 | 2017-11-24 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal and its video recording operation detection process method and storage medium |
CN112393804A (en) * | 2019-08-02 | 2021-02-23 | 杭州海康微影传感科技有限公司 | Image correction method and device |
-
2012
- 2012-03-11 CN CN 201210062293 patent/CN103312955A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105025240A (en) * | 2015-07-15 | 2015-11-04 | 深圳警翼数码科技有限公司 | Law enforcement recorder and control method thereof |
CN107395968A (en) * | 2017-07-26 | 2017-11-24 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal and its video recording operation detection process method and storage medium |
CN112393804A (en) * | 2019-08-02 | 2021-02-23 | 杭州海康微影传感科技有限公司 | Image correction method and device |
CN112393804B (en) * | 2019-08-02 | 2022-04-05 | 杭州海康微影传感科技有限公司 | Image correction method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7689113B2 (en) | Photographing apparatus and method | |
KR102232517B1 (en) | Method for capturing image and image capturing apparatus | |
CN100442827C (en) | Image pick-up device and image processing method | |
US8780214B2 (en) | Imaging apparatus using shorter and larger capturing intervals during continuous shooting function | |
CN104469152B (en) | The automatic camera method and system of Wearable | |
CN101806988B (en) | Image pickup apparatus and image pickup method | |
CN101287074B (en) | Image pickup apparatus, image capturing system, method for driving image pickup apparatus | |
CN102625036A (en) | Image processing apparatus, image capturing apparatus and recording medium | |
CN101640788B (en) | Method and device for controlling monitoring and monitoring system | |
CN101534396A (en) | Digital imaging apparatus enabled to control flash light intensity and method of controlling the digital imaging apparatus | |
CN104580874B (en) | camera equipment and method for realizing photographing | |
US20130215289A1 (en) | Dynamic image capture utilizing prior capture settings and user behaviors | |
CN101359150B (en) | Image capturing apparatus and control method therefor | |
CN101341737A (en) | Digital camera, electronic apparatus equipped with digital camera, picture pick-up method of digital camera and storage medium storing program of digital camera | |
CN103004179A (en) | Tracking device, and tracking method | |
CN103312955A (en) | Method using pixel change to control starting and stopping of recording function of recording device | |
WO2007119819A1 (en) | Image recording and reproducing device | |
CN102621777A (en) | Imaging apparatus | |
JP5397078B2 (en) | Imaging device | |
CN106488128B (en) | Automatic photographing method and device | |
CN109964479A (en) | Picture pick-up device and its control method | |
CN103491286A (en) | Imaging apparatus and image display method therefor | |
JP2007243320A (en) | Electronic still camera and photographic method | |
WO2017071560A1 (en) | Picture processing method and device | |
FR2937428A1 (en) | DEVICE AND METHOD FOR SYNCHRONIZING A LIGHT WAVE WITH AN ELECTRONIC SIGNAL. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130918 |