Disclosure of Invention
In order to solve the technical problem that a desk is easy to cause fire due to book accumulation and difficult to prevent and control, the invention provides a field monitoring system based on a desk main body, the desk main body is fully utilized to realize fire detection on a field area, the fireproof capacity of the field area is improved, mean square difference values of corresponding lines are obtained by performing mean square difference operation on gray values of all pixel points of each line of an image, and whether a shooting scene is wrong or not is judged based on a matching result of the line mean square difference values, so that the shooting effect is ensured; on the basis of roughly detecting the target contour of the image, acquiring a region division strategy of the image, and on the basis, acquiring the target image with the background stripped with high precision; by adopting a region identification mechanism of standard deviation and an image enhancement mechanism based on a self-adaptive mode, the efficiency and the effect of image processing are effectively improved.
According to an aspect of the present invention, there is provided a desk body-based site monitoring system, the system including:
the desk comprises a desk body and a desk body, wherein the desk body comprises a support foot frame, a desk frame upright post and an upright post suite, the desk frame upright post is arranged above the support foot frame, and the upright post suite is used for wrapping the desk frame upright post; the momentum analysis equipment is arranged in the holder and used for detecting the moving speed value of the holder, sending a holder moving signal when the detected speed value exceeds a preset value, and sending a holder static signal when the detected speed value does not exceed the preset value; the CMOS sensing equipment is arranged on the holder, shoots the periphery of the desk main body and is used for outputting images around the desk; the area processing device is connected with the CMOS sensing device and used for receiving the image around the desk, performing contour extraction on each object in the image around the desk to obtain each distribution area of each object in the image around the desk, and partitioning the image around the desk to obtain each sub-image; in the area processing apparatus, the size of the sub-image obtained by uniformly dividing each distribution area is smaller than the size of the sub-image obtained by uniformly dividing the undistributed area with respect to the image around the desk, and the uniformly dividing each distribution area includes: the larger the area of the distribution region is, the larger the size of the sub-image obtained by division is; the object image extraction device is connected with the area processing device and used for receiving the sub-images of the image around the desk, detecting the dynamic range of each sub-image, adjusting the threshold size of the corresponding sub-image for background stripping based on the width size of the dynamic range of each sub-image, and further performing the following processing on each sub-image: carrying out background stripping on the subimages by adopting the adjusted threshold value to obtain a corresponding target area; the target image extraction equipment is also used for integrating each target area corresponding to each sub-image to obtain a target image and outputting the target image; in the target image extraction device, adjusting the threshold size for background stripping of the corresponding sub-image based on the width size of its dynamic range includes: the narrower the width of the dynamic range is, the smaller the adjusted threshold value for background stripping of the corresponding sub-image is; the Gaussian filtering device is connected with the target image extraction device and is used for receiving the target image and executing corresponding times of Gaussian filtering processing in proportion to the noise amplitude of the target image on the target image to obtain a corresponding self-adaptive filtering image; the grey value analysis device is connected with the Gaussian filter device and used for receiving the self-adaptive filter image and respectively executing standard deviation detection of grey values on each area of the self-adaptive filter image so as to obtain each standard deviation corresponding to each area; the area processing device is connected with the gray value analysis device and used for receiving each standard deviation of each area, calculating the mean value of each standard deviation of each area, taking the area with the distance from the standard deviation to the mean value exceeding a limited amount as an identification area, and performing image enhancement processing based on the signal-to-noise ratio of each identification area to obtain a corresponding enhancement area; the image positioning device is connected with the area processing device and used for receiving the area processing image, identifying a flame target of the area processing image based on a preset reference flame shape, determining positioning data of the flame target based on the position of the centroid of the flame target in the area processing image, and determining the size of the flame target based on the area percentage of the flame target occupying the area processing image.
More specifically, in the on-site monitoring system based on a desk main body, the on-site monitoring system further includes:
and the SD memory card is used for pre-storing the shooting background image and storing a plurality of line mean square deviation values, wherein each line mean square deviation value in the plurality of line mean square deviation values is a numerical value obtained by performing mean square deviation operation on each pixel point gray value of a corresponding line of the shooting background image.
More specifically, in the on-site monitoring system based on a desk main body, the on-site monitoring system further includes:
and the line analysis equipment is respectively connected with the momentum analysis equipment and the CMOS sensing equipment and is used for carrying out foreground stripping on the image around the desk when a pan-tilt motion signal is received so as to obtain an image to be analyzed, and carrying out mean square error operation on each pixel point gray value of each line of the image to be analyzed so as to obtain a mean square error value of the corresponding line so as to obtain a plurality of line mean square error values of the image to be analyzed.
More specifically, in the on-site monitoring system based on a desk main body, the on-site monitoring system further includes:
and the line matching equipment is respectively connected with the line analysis equipment and the SD memory card and is used for matching each line mean square deviation value of the shot background image with the line mean square deviation value of the corresponding sequence number line in the image to be analyzed based on the line sequence number so as to obtain corresponding matching degree, determining the corresponding line sequence number as a matching line when the matching degree is out of limit, calculating the proportion between the number of the matching lines and the vertical resolution of the image around the desk, and sending a scene error signal when the proportion is smaller than a preset proportion threshold value.
More specifically, in the on-site monitoring system based on a desk main body, the on-site monitoring system further includes:
and the Bluetooth communication interface is connected with the line matching equipment and used for sending the scene error signal to a nearby shooting monitoring center server through a Bluetooth communication link when receiving the scene error signal.
More specifically, in the desk body-based site monitoring system: and in the line matching equipment, when the proportion is greater than or equal to a preset proportion threshold value, sending a scene coincidence signal.
More specifically, in the desk body-based site monitoring system: the SD memory card is arranged in the holder and is also used for storing the preset proportion threshold value.
More specifically, in the desk body-based site monitoring system: the area processing equipment and the target image extraction equipment are realized by adopting FPGA chips with different models.
More specifically, in the desk body-based site monitoring system: in the gradation value analyzing device, performing standard deviation detection of the gradation values for the respective regions of the adaptive filter image includes: for each region, extracting the gray value of each pixel point of the region, and calculating the standard deviation of the region based on the gray value of each pixel point of the region.
More specifically, in the desk body-based site monitoring system: in the region processing apparatus, the smaller the signal-to-noise ratio of the identification region, the larger the magnitude of the image enhancement processing performed thereon.
Detailed Description
Embodiments of a desk body-based on-site monitoring system of the present invention will be described in detail with reference to the accompanying drawings.
The surface material of the desk pressing plate mainly comprises two types of PVC vacuum forming and melamine. The PVC vacuum forming is attractive, environment-friendly, waterproof and comfortable, the equipment investment of manufacturers is large, and representatives of China have Zhanjiang Sterculia in Guangdong and Shanghai. The surface hardness of the melamine is slightly higher, the melamine is high temperature resistant, and the melamine is simple to manufacture.
In order to overcome the defects, the invention builds the field monitoring system based on the desk main body, and can effectively solve the corresponding technical problem.
Fig. 1 is a schematic structural view illustrating a desk to which a desk body-based site monitoring system is applied according to an embodiment of the present invention.
The on-site monitoring system based on the desk body according to the embodiment of the invention comprises:
the desk comprises a desk body and a desk body, wherein the desk body comprises a support foot frame, a desk frame upright post and an upright post suite, the desk frame upright post is arranged above the support foot frame, and the upright post suite is used for wrapping the desk frame upright post;
the momentum analysis equipment is arranged in the holder and used for detecting the moving speed value of the holder, sending a holder moving signal when the detected speed value exceeds a preset value, and sending a holder static signal when the detected speed value does not exceed the preset value;
the CMOS sensing equipment is arranged on the holder, shoots the periphery of the desk main body and is used for outputting images around the desk;
the area processing device is connected with the CMOS sensing device and used for receiving the image around the desk, performing contour extraction on each object in the image around the desk to obtain each distribution area of each object in the image around the desk, and partitioning the image around the desk to obtain each sub-image; in the area processing apparatus, the size of the sub-image obtained by uniformly dividing each distribution area is smaller than the size of the sub-image obtained by uniformly dividing the undistributed area with respect to the image around the desk, and the uniformly dividing each distribution area includes: the larger the area of the distribution region is, the larger the size of the sub-image obtained by division is;
the object image extraction device is connected with the area processing device and used for receiving the sub-images of the image around the desk, detecting the dynamic range of each sub-image, adjusting the threshold size of the corresponding sub-image for background stripping based on the width size of the dynamic range of each sub-image, and further performing the following processing on each sub-image: carrying out background stripping on the subimages by adopting the adjusted threshold value to obtain a corresponding target area; the target image extraction equipment is also used for integrating each target area corresponding to each sub-image to obtain a target image and outputting the target image; in the target image extraction device, adjusting the threshold size for background stripping of the corresponding sub-image based on the width size of its dynamic range includes: the narrower the width of the dynamic range is, the smaller the adjusted threshold value for background stripping of the corresponding sub-image is;
the Gaussian filtering device is connected with the target image extraction device and is used for receiving the target image and executing corresponding times of Gaussian filtering processing in proportion to the noise amplitude of the target image on the target image to obtain a corresponding self-adaptive filtering image;
the grey value analysis device is connected with the Gaussian filter device and used for receiving the self-adaptive filter image and respectively executing standard deviation detection of grey values on each area of the self-adaptive filter image so as to obtain each standard deviation corresponding to each area;
the area processing device is connected with the gray value analysis device and used for receiving each standard deviation of each area, calculating the mean value of each standard deviation of each area, taking the area with the distance from the standard deviation to the mean value exceeding a limited amount as an identification area, and performing image enhancement processing based on the signal-to-noise ratio of each identification area to obtain a corresponding enhancement area;
the image positioning device is connected with the area processing device and used for receiving the area processing image, identifying a flame target of the area processing image based on a preset reference flame shape, determining positioning data of the flame target based on the position of the centroid of the flame target in the area processing image, and determining the size of the flame target based on the area percentage of the flame target occupying the area processing image.
Next, a detailed description will be made of a specific structure of the on-site monitoring system based on the desk main body of the present invention.
In the on-site monitoring system based on the desk main body, the system further comprises:
and the SD memory card is used for pre-storing the shooting background image and storing a plurality of line mean square deviation values, wherein each line mean square deviation value in the plurality of line mean square deviation values is a numerical value obtained by performing mean square deviation operation on each pixel point gray value of a corresponding line of the shooting background image.
In the on-site monitoring system based on the desk main body, the system further comprises:
and the line analysis equipment is respectively connected with the momentum analysis equipment and the CMOS sensing equipment and is used for carrying out foreground stripping on the image around the desk when a pan-tilt motion signal is received so as to obtain an image to be analyzed, and carrying out mean square error operation on each pixel point gray value of each line of the image to be analyzed so as to obtain a mean square error value of the corresponding line so as to obtain a plurality of line mean square error values of the image to be analyzed.
In the on-site monitoring system based on the desk main body, the system further comprises:
and the line matching equipment is respectively connected with the line analysis equipment and the SD memory card and is used for matching each line mean square deviation value of the shot background image with the line mean square deviation value of the corresponding sequence number line in the image to be analyzed based on the line sequence number so as to obtain corresponding matching degree, determining the corresponding line sequence number as a matching line when the matching degree is out of limit, calculating the proportion between the number of the matching lines and the vertical resolution of the image around the desk, and sending a scene error signal when the proportion is smaller than a preset proportion threshold value.
In the on-site monitoring system based on the desk main body, the system further comprises:
and the Bluetooth communication interface is connected with the line matching equipment and used for sending the scene error signal to a nearby shooting monitoring center server through a Bluetooth communication link when receiving the scene error signal.
In the desk body-based site monitoring system: and in the line matching equipment, when the proportion is greater than or equal to a preset proportion threshold value, sending a scene coincidence signal.
In the desk body-based site monitoring system: the SD memory card is arranged in the holder and is also used for storing the preset proportion threshold value.
In the desk body-based site monitoring system: the area processing equipment and the target image extraction equipment are realized by adopting FPGA chips with different models.
In the desk body-based site monitoring system: in the gradation value analyzing device, performing standard deviation detection of the gradation values for the respective regions of the adaptive filter image includes: for each region, extracting the gray value of each pixel point of the region, and calculating the standard deviation of the region based on the gray value of each pixel point of the region.
And in the desk body based on-site monitoring system: in the region processing apparatus, the smaller the signal-to-noise ratio of the identification region, the larger the magnitude of the image enhancement processing performed thereon.
In addition, in the desk body-based site monitoring system: the CMOS sensing equipment is selected to be a passive pixel sensor.
A Passive Pixel Sensor (PPS), also called Passive Pixel Sensor, is composed of a reverse biased photodiode and a switching transistor. The photodiode is essentially a PN junction composed of a P-type semiconductor and an N-type semiconductor, and it can be equivalently a reverse biased diode in parallel with a MOS capacitor. When the switch tube is opened, the photosensitive diode is communicated with a vertical Column line (Column bus). A Charge integrating amplifier read circuit (Charge integrating amplifier) at the end of the column line keeps the column line voltage constant, and when the signal Charge stored in the photodiode is read, the voltage is reset to the column line voltage level, and at the same time, the Charge proportional to the optical signal is converted into a Charge output by the Charge integrating amplifier.
By adopting the field monitoring system based on the desk body, aiming at the technical problem that a desk area is lack of a fireproof monitoring mode in the prior art, the fire disaster detection of the field area is realized by fully utilizing the desk body, the fireproof capability of the field area is improved, the mean square error value of a corresponding line is obtained by performing mean square error operation on the gray value of each pixel point of each line of an image, and whether a shooting scene has errors is judged based on the matching result of the line mean square error value, so that the shooting effect is ensured; on the basis of roughly detecting the target contour of the image, acquiring a region division strategy of the image, and on the basis, acquiring the target image with the background stripped with high precision; by adopting a region identification mechanism of standard deviation and an image enhancement mechanism based on a self-adaptive mode, the efficiency and effect of image processing are effectively improved, and the technical problem is solved.
It is to be understood that while the present invention has been described in conjunction with the preferred embodiments thereof, it is not intended to limit the invention to those embodiments. It will be apparent to those skilled in the art from this disclosure that many changes and modifications can be made, or equivalents modified, in the embodiments of the invention without departing from the scope of the invention. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention are still within the scope of the protection of the technical solution of the present invention, unless the contents of the technical solution of the present invention are departed.