Invention content
To solve the above-mentioned problems, the present invention provides a kind of diary record system and method based on image procossing, energy
It is enough that effective discrimination under mechanism is customized to the currently used person of shared document, on this basis, for non-permission user
The big situation of modification amplitude takes the mode of log recording to carry out remarks, to which convenient shared user gives shared document for change in the later stage
Relevant information before being tampered.
For this purpose, the present invention has key inventive point at following three:
(1) amplitude of fluctuation based on current document, it is determined whether start the information monitoring to currently used person, and current
When user is recognized as non-permission user, start the log recording of current document, to be provided for subsequent Document retrieval
Important reference data;
(2) by the way of multiframe data statistics, the distribution feelings of Selection utilization form and aspect signal component value from Multiple components value
Condition carries out specific aim screening to image data to be identified, to improve the speed and efficiency of image procossing;
(3) contrast enhancement processing directly proportional to the width of histogram distribution range is executed to image so that figure
The contrast processing of picture and the content of image match.
According to an aspect of the present invention, a kind of diary record system based on image procossing is provided, the system comprises:
Mode switching device, for when current document is protection Doctype, into document protection operation mode, also using
In current document be non-protected Doctype when, into document normal manipulation mode;
Estimation device is changed, is connect with the mode switching device, is used under the document protection operation mode, to working as
The variation number of words of preceding document is estimated that the variation number of words that will be estimated to occupies the percentage of the total number of word of the current document
It as non-standard output signal is changed, is additionally operable under the document normal manipulation mode, the variation number of words of current document is not carried out
Estimation;
Operation triggering equipment, the difference mode switching device is connected with the variation estimation device, in the text
Under shelves protection operation mode, the variation percentage is received, when the variation percentage is more than or equal to preset percentage threshold value,
Operation trigger signal is sent out, when the variation percentage is less than the preset percentage threshold value, sends out attendant exclusion signal, institute
It states operation triggering equipment to be additionally operable under the document normal manipulation mode, sends out attendant exclusion signal;
Dome-type camera is connect with operation triggering equipment, for when receiving the operation trigger signal, opening
The image information of the dynamic user to current document is shot, and to obtain and export currently used person's figure of continuous multiple frames, is also used
In the image information shooting for when receiving the attendant exclusion signal, stopping carrying out the user of current document;
Rate detection device is connect with the dome-type camera, the current bat for detecting the dome-type camera
Frame speed is taken the photograph, to be exported as instant image rate;
Piecemeal processing equipment is connect respectively with the dome-type camera and the rate detection device, for receiving
Instant image rate is stated, and the piecemeal size executed to the currently used person's figure of each frame is determined based on the instant image rate,
Wherein, the instant image rate is bigger, and the piecemeal of acquisition is smaller;
Piecemeal selects equipment, current to each frame for receiving the currently used person's figure of the multiframe in prefixed time interval
User's figure executes the piecemeal of the piecemeal size determined based on the piecemeal processing equipment, determines each pixel in each piecemeal
The variance of the form and aspect signal component value of point, to the form and aspect signal component value of the image block of same position in the currently used person's figure of the multiframe
Variance carry out mean value computation, to determine color mean variance, the color mean variance of the image block of all positions is carried out
Size sorts, and is exported the image block of the maximum one third of color mean variance numerical value as image block set;
Piecemeal splices equipment, is connect with piecemeal selection equipment, for receiving described image block collection, to the figure
As all image blocks progress concatenation in block collection, to obtain composed pattern, and side is carried out to the composed pattern
Edge smoothing processing is to obtain edge smoothed image;
Histogram treatment equipment is connect with piecemeal splicing equipment, for receiving the edge smoothed image, to described
Edge smoothed image executes histogram treatment, to obtain the histogram distribution range of the edge smoothed image.
According to another aspect of the present invention, a kind of log recording method based on image procossing, the method are additionally provided
Including:
Use pattern switching equipment, for when current document is protection Doctype, into document protection operation mode,
It is additionally operable to when current document is non-protected Doctype, into document normal manipulation mode;
It using estimation device is changed, connect, is used under the document protection operation mode with the mode switching device,
The variation number of words of current document is estimated, the variation number of words that will be estimated to occupies the hundred of the total number of word of the current document
Divide than as non-standard output signal is changed, being additionally operable under the document normal manipulation mode, not to the variation number of words of current document
It is estimated;
Equipment is triggered using operation, the mode switching device is connected with the variation estimation device respectively, in institute
It states under document protection operation mode, receives the variation percentage, when the variation percentage is more than or equal to preset percentage threshold
When value, operation trigger signal is sent out, when the variation percentage is less than the preset percentage threshold value, sends out attendant exclusion letter
Number, the operation triggering equipment is additionally operable under the document normal manipulation mode, sends out attendant exclusion signal;
Using dome-type camera, it is connect with operation triggering equipment, for receiving the operation trigger signal
When, start and the image information of the user of current document is shot, to obtain and export currently used person's figure of continuous multiple frames,
It is additionally operable to when receiving the attendant exclusion signal, stops shooting the image information that the user of current document carries out;
Using rate detection device, it is connect with the dome-type camera, for detecting working as the dome-type camera
Preceding photographed frame speed, to be exported as instant image rate;
Using piecemeal processing equipment, it is connect respectively with the dome-type camera and the rate detection device, for connecing
The instant image rate is received, and determines that the piecemeal executed to the currently used person's figure of each frame is big based on the instant image rate
It is small, wherein the instant image rate is bigger, and the piecemeal of acquisition is smaller;
Equipment is selected using piecemeal, for receiving the currently used person's figure of the multiframe in prefixed time interval, to each frame
Currently used person's figure executes the piecemeal of the piecemeal size determined based on the piecemeal processing equipment, determines each in each piecemeal
The variance of the form and aspect signal component value of pixel, to the form and aspect of the image block of same position in the currently used person's figure of the multiframe at
The variance of score value carries out mean value computation, to determine color mean variance, by the color mean variance of the image block of all positions
Size sequence is carried out, is exported the image block of the maximum one third of color mean variance numerical value as image block set;
Splice equipment using piecemeal, is connect with piecemeal selection equipment, for receiving described image block collection, to institute
State all image blocks in image block set and carry out concatenation, to obtain composed pattern, and to the composed pattern into
The processing of row edge-smoothing is to obtain edge smoothed image;
Using histogram treatment equipment, it is connect with piecemeal splicing equipment, it is right for receiving the edge smoothed image
The edge smoothed image executes histogram treatment, to obtain the histogram distribution range of the edge smoothed image.
Specific implementation mode
Embodiment of the present invention is described in detail below with reference to accompanying drawings.
In order to overcome above-mentioned deficiency, the present invention to build a kind of diary record system and method based on image procossing.
Fig. 1 is to be illustrated according to the document access of the diary record system based on image procossing shown in embodiment of the present invention
Figure.
The diary record system based on image procossing shown according to an embodiment of the present invention includes:
Mode switching device, for when current document is protection Doctype, into document protection operation mode, also using
In current document be non-protected Doctype when, into document normal manipulation mode;
Estimation device is changed, is connect with the mode switching device, is used under the document protection operation mode, to working as
The variation number of words of preceding document is estimated that the variation number of words that will be estimated to occupies the percentage of the total number of word of the current document
It as non-standard output signal is changed, is additionally operable under the document normal manipulation mode, the variation number of words of current document is not carried out
Estimation;
Operation triggering equipment, the difference mode switching device is connected with the variation estimation device, in the text
Under shelves protection operation mode, the variation percentage is received, when the variation percentage is more than or equal to preset percentage threshold value,
Operation trigger signal is sent out, when the variation percentage is less than the preset percentage threshold value, sends out attendant exclusion signal, institute
It states operation triggering equipment to be additionally operable under the document normal manipulation mode, sends out attendant exclusion signal.
Then, continue to carry out further the concrete structure of the diary record system based on image procossing of the present invention
It is bright.
Can also include in the diary record system based on image procossing:
Dome-type camera is connect with operation triggering equipment, for when receiving the operation trigger signal, opening
The image information of the dynamic user to current document is shot, and to obtain and export currently used person's figure of continuous multiple frames, is also used
In the image information shooting for when receiving the attendant exclusion signal, stopping carrying out the user of current document;
Rate detection device is connect with the dome-type camera, the current bat for detecting the dome-type camera
Frame speed is taken the photograph, to be exported as instant image rate.
Can also include in the diary record system based on image procossing:
Piecemeal processing equipment is connect respectively with the dome-type camera and the rate detection device, for receiving
Instant image rate is stated, and the piecemeal size executed to the currently used person's figure of each frame is determined based on the instant image rate,
Wherein, the instant image rate is bigger, and the piecemeal of acquisition is smaller;
Piecemeal selects equipment, current to each frame for receiving the currently used person's figure of the multiframe in prefixed time interval
User's figure executes the piecemeal of the piecemeal size determined based on the piecemeal processing equipment, determines each pixel in each piecemeal
The variance of the form and aspect signal component value of point, to the form and aspect signal component value of the image block of same position in the currently used person's figure of the multiframe
Variance carry out mean value computation, to determine color mean variance, the color mean variance of the image block of all positions is carried out
Size sorts, and is exported the image block of the maximum one third of color mean variance numerical value as image block set;
Piecemeal splices equipment, is connect with piecemeal selection equipment, for receiving described image block collection, to the figure
As all image blocks progress concatenation in block collection, to obtain composed pattern, and side is carried out to the composed pattern
Edge smoothing processing is to obtain edge smoothed image;
Histogram treatment equipment is connect with piecemeal splicing equipment, for receiving the edge smoothed image, to described
Edge smoothed image executes histogram treatment, to obtain the histogram distribution range of the edge smoothed image;
Contrast processing equipment is connect with the histogram treatment equipment, for receiving the histogram distribution range, really
The width of the fixed histogram distribution range executes the high-definition image directly proportional to the width of histogram distribution range
Contrast enhancement processing, with obtain contrast handle image;
Target identification equipment is connect with the contrast processing equipment, and image, and base are handled for receiving the contrast
It is handled in image from the contrast in preset authorization people nominal contour and determines whether that donor's target can be matched, can
When matching donor's target, permission user's signal is sent out, otherwise, sends out non-permission user signal;
Logging device is separately connected with the target identification equipment and the variation estimation device, for receiving
When to the non-permission user signal, start recording changes daily record, wherein the variation daily record includes changing the time, changing
Current document information before percentage and variation.
Can also include in the diary record system based on image procossing:
Static storage device is connect with the target identification equipment, for storing the preset authorization people nominal contour.
And in the diary record system based on image procossing:
The logging device is additionally operable to, when receiving the permission user signal, not record variation daily record.
Meanwhile the log recording method based on image procossing shown according to an embodiment of the present invention includes:
Use pattern switching equipment, for when current document is protection Doctype, into document protection operation mode,
It is additionally operable to when current document is non-protected Doctype, into document normal manipulation mode;
It using estimation device is changed, connect, is used under the document protection operation mode with the mode switching device,
The variation number of words of current document is estimated, the variation number of words that will be estimated to occupies the hundred of the total number of word of the current document
Divide than as non-standard output signal is changed, being additionally operable under the document normal manipulation mode, not to the variation number of words of current document
It is estimated;
Equipment is triggered using operation, the mode switching device is connected with the variation estimation device respectively, in institute
It states under document protection operation mode, receives the variation percentage, when the variation percentage is more than or equal to preset percentage threshold
When value, operation trigger signal is sent out, when the variation percentage is less than the preset percentage threshold value, sends out attendant exclusion letter
Number, the operation triggering equipment is additionally operable under the document normal manipulation mode, sends out attendant exclusion signal.
Then, continue to carry out further the specific steps of the log recording method based on image procossing of the present invention
It is bright.
The log recording method based on image procossing can also include:
Using dome-type camera, it is connect with operation triggering equipment, for receiving the operation trigger signal
When, start and the image information of the user of current document is shot, to obtain and export currently used person's figure of continuous multiple frames,
It is additionally operable to when receiving the attendant exclusion signal, stops shooting the image information that the user of current document carries out;
Using rate detection device, it is connect with the dome-type camera, for detecting working as the dome-type camera
Preceding photographed frame speed, to be exported as instant image rate.
The log recording method based on image procossing can also include:
Using piecemeal processing equipment, it is connect respectively with the dome-type camera and the rate detection device, for connecing
The instant image rate is received, and determines that the piecemeal executed to the currently used person's figure of each frame is big based on the instant image rate
It is small, wherein the instant image rate is bigger, and the piecemeal of acquisition is smaller;
Equipment is selected using piecemeal, for receiving the currently used person's figure of the multiframe in prefixed time interval, to each frame
Currently used person's figure executes the piecemeal of the piecemeal size determined based on the piecemeal processing equipment, determines each in each piecemeal
The variance of the form and aspect signal component value of pixel, to the form and aspect of the image block of same position in the currently used person's figure of the multiframe at
The variance of score value carries out mean value computation, to determine color mean variance, by the color mean variance of the image block of all positions
Size sequence is carried out, is exported the image block of the maximum one third of color mean variance numerical value as image block set;
Splice equipment using piecemeal, is connect with piecemeal selection equipment, for receiving described image block collection, to institute
State all image blocks in image block set and carry out concatenation, to obtain composed pattern, and to the composed pattern into
The processing of row edge-smoothing is to obtain edge smoothed image;
Using histogram treatment equipment, it is connect with piecemeal splicing equipment, it is right for receiving the edge smoothed image
The edge smoothed image executes histogram treatment, to obtain the histogram distribution range of the edge smoothed image;
It using contrast processing equipment, is connect with the histogram treatment equipment, for receiving the histogram distribution model
It encloses, determines the width of the histogram distribution range, the width with the histogram distribution range is executed to the high-definition image
Directly proportional contrast enhancement processing handles image to obtain contrast;
It using target identification equipment, is connect with the contrast processing equipment, image is handled for receiving the contrast,
And handled in image from the contrast based on preset authorization people nominal contour and determine whether that donor's target can be matched,
When can match donor's target, permission user's signal is sent out, otherwise, sends out non-permission user signal;
Usage log recording equipment is separately connected with the target identification equipment and the variation estimation device, is used for
When receiving the non-permission user signal, start recording change daily record, wherein the variations daily record include variation the time,
Current document information before changing percentage and changing.
The log recording method based on image procossing can also include:
It using static storage device, is connect with the target identification equipment, for storing the preset authorization people standard wheels
It is wide.
And in the log recording method based on image procossing:
The logging device is additionally operable to, when receiving the permission user signal, not record variation daily record.
In addition, the dome-type camera includes cmos image sensor.CMOS Chinese scientific names are complementary metal oxide
Semiconductor, he is originally a kind of important chip in computer system, saves the most basic data of System guides.The manufacture of CMOS
Technology and general computer chip do not have a difference, and the semiconductor mainly made using silicon and germanium both elements makes it
Co-exist the semiconductor with N (band-electricity) and P (band+electric) grade on CMOS, electric current caused by the two complementary effects can be by
Image is noted down and be interpreted to processing chip.Found that CMOS can also be used as the image sensing in digital photography by processing later
Device.
For the portable use independently of power grid, there are one bright for the CMOS technology famous with low power consumption characteristic tool
Aobvious advantage:Cmos image sensor is designed for 5V and 3.3V supply voltages.And CCD chip then needs about 12V
Supply voltage, therefore have to use an electric pressure converter, so as to cause power consumption increase.In terms of total power consumption, control
Another benefit will be brought by being integrated into cmos sensor with system function:He eliminates all outer with other semiconductor elements
Portion's connecting line.Nowadays the driver of its high power consumption has been abandoned, this is because portion is communicated consumed energy in the chip
It is more much lower than the external realization method by PCB or substrate.
Diary record system and method using the present invention based on image procossing, are usurped for shared document in the prior art
The technical issues of data are difficult to give for change before changing only selects profit by using the mode of multiframe data statistics from Multiple components value
Specific aim screening is carried out to image data to be identified with the distribution situation of form and aspect signal component value, image is executed and the histogram
The directly proportional contrast enhancement processing of the width of distribution so that the contrast of image is handled and the content of image matches,
Particular, it is important that the also amplitude of fluctuation based on current document, it is determined whether start the information monitoring to currently used person, and
When currently used person is recognized as non-permission user, start the log recording of current document.
It is understood that although the present invention has been disclosed in the preferred embodiments as above, above-described embodiment not to
Limit the present invention.For any person skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications all are made to technical solution of the present invention using the technology contents of the disclosure above, or are revised as
With the equivalent embodiment of variation.Therefore, every content without departing from technical solution of the present invention is right according to the technical essence of the invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments still fall within the range of technical solution of the present invention protection
It is interior.