Disclosure of Invention
In order to solve the technical problem that a heater wastes electricity in the prior art, the invention provides an electric oil heater which adopts heating driving equipment to improve the heating power of a heating tube when a human body exists, wherein whether a pixel point is an edge point is judged based on the red component value of the pixel point and the red component values of the pixel points around the pixel point, and whether corresponding characteristic strengthening processing is started is determined based on the total number of the edge points of an image so as to avoid the appearance of a characteristic strengthening image with weakened edges; correcting the binarization threshold value of the image by adopting various parameters of the image, thereby ensuring the precision of the obtained binarization image; a two-stage detection mechanism of firstly carrying out load measurement and then carrying out image content analysis is adopted to analyze the shielding condition of the collected image, and a restoration mechanism corresponding to the shielding condition is provided.
According to an aspect of the present invention, there is provided an electric oil heater, the heater including:
the heating tube is arranged in the base of the warmer and used for converting electric energy into heat energy in an electric heating mode so as to enable the heating tube to heat; the heat conduction oil container is arranged on the base of the heater, is connected with the heating tube, is internally provided with heat conduction oil to receive heat emitted by the heating tube and transmits the heat emitted by the heating tube into the heat conduction oil;
the FLASH storage chip is connected with the load field evaluation equipment and is used for storing the self weight of the camera and a preset difference threshold value; the spherical camera shooting device is arranged on the base of the heater and used for shooting nearby the heater to obtain and output a corresponding image nearby the heater; the load field evaluation device is arranged below the spherical camera device and used for detecting the load weight of the spherical camera device so as to obtain the current load weight, subtracting the self weight of the camera from the current load weight so as to obtain a weight difference value, and sending a signal of overlarge difference value when the weight difference value is larger than or equal to a preset difference value threshold value, or sending a difference value tolerance signal; the red component analysis equipment is connected with the spherical camera equipment, and is used for performing average blocking on the image near the heater to obtain image blocks with the same sizes when the signal with the overlarge difference value is received, performing averaging calculation on red component values of pixel points of each image block to obtain block mean values corresponding to the image blocks, and also used for taking the blocks with the block mean values larger than or equal to a preset mean threshold value as shielding blocks, taking the blocks with the block mean values smaller than the preset mean threshold value as non-shielding blocks, and outputting one or more shielding blocks in the image near the heater; the image restoration device is connected with the red component analysis device and used for receiving one or more occlusion blocks in the image near the warmer, performing interpolation calculation on the image content of each occlusion block by adopting each image block around the occlusion block to obtain an interpolated image block serving as an interpolation block, and combining the one or more interpolation blocks and each non-occlusion block in the image near the warmer to obtain and output a current restored image; the multi-parameter analysis equipment is connected with the spherical camera equipment, and is used for receiving the image near the heater, determining the content uniformity degree of the image near the heater based on the pixel value distribution condition of the pixel points of the image near the heater, outputting the content uniformity degree, determining the content definition degree of the image near the heater based on the pixel value dynamic distribution range of the pixel points of the image near the heater, outputting the content definition degree, receiving the image near the heater, detecting the contrast of the image near the heater, and outputting the contrast; the coefficient extraction device is connected with the multi-parameter analysis device and used for receiving the content uniformity degree, the content definition degree and the contrast, determining an influence coefficient of the content uniformity degree on a binarization threshold value based on the content uniformity degree, determining an influence coefficient of the content definition degree on the binarization threshold value based on the content definition degree, determining an influence coefficient of the content definition degree on the binarization threshold value based on the contrast, and simultaneously correcting the binarization threshold value based on the three influence coefficients and outputting the corrected binarization threshold value; the binarization analysis device is connected with the coefficient extraction device and used for receiving the corrected binarization threshold value and carrying out binarization analysis on the image near the warmer based on the corrected binarization threshold value so as to obtain a binarization image corresponding to the image near the warmer; the edge point extraction device is connected with the binarization analysis device and used for receiving the binarization image, acquiring a red component value of each pixel point in the binarization image and executing the following operations aiming at each pixel point: judging whether the pixel point is an edge point or not based on the red component value of the pixel point and the red component values of the pixel points around the pixel point; in the edge point extracting device, determining whether the pixel point is an edge point based on the red component value of the pixel point and the red component values of the pixel points around the pixel point includes: calculating the mean value of the red component values of the pixels around the pixel, determining the difference value between the mean value and the red component value of the pixel, and judging that the pixel is an edge point when the absolute value of the difference value exceeds the limit; the edge point analyzing device is connected with the edge point extracting device and is used for determining the number of edge points in the binary image and determining the number of pixel points in the binary image, and when the ratio of the number of the edge points in the binary image to the number of the pixel points in the binary image is smaller than or equal to a preset proportional threshold value, a signal needing characteristic enhancement is sent; the signal enhancement device is connected with the edge point analysis device and is used for performing feature enhancement processing on the binarized image when the signal needing feature enhancement is received so as to obtain a corresponding feature enhanced image, wherein the strength of performing the feature enhancement processing on the binarized image by the signal enhancement device is in direct proportion to the number of edge points in the binarized image; the number comparison device is connected with the signal enhancement device, extracts a human body subimage to be detected with the same size as the preset reference human body subimage from the feature enhancement image based on the preset reference human body subimage, subtracts the human body subimage to be detected from the preset reference human body subimage to obtain a difference image, calculates the number of pixels with non-zero pixel values in the difference image, and sends a human body unidentified signal when the number of the non-zero pixels is greater than or equal to the first preset pixel number threshold; and the heating driving equipment is respectively connected with the heating tube and the quantity comparison equipment and is used for reducing the heating power of the heating tube when the unidentified signal of the human body is received.
More specifically, in the electric oil heater: the number comparison device is further configured to send a human identification signal when the number of non-zero pixels is less than the first preset pixel number threshold.
More specifically, in the electric oil heater: the heating driving device is also used for improving the heating power of the heating tube when receiving the human body identification signal.
More specifically, in the electric oil heater: the FLASH storage chip is also connected with the red component analysis equipment and is used for pre-storing the preset average value threshold value.
More specifically, in the electric oil heater: the FLASH memory chip, the load field evaluation device, the red component analysis device and the image restoration device are integrated on the same integrated circuit board.
More specifically, in the electric oil heater: the multi-parameter analysis device, the coefficient extraction device and the binarization analysis device are respectively realized by adopting different SOC chips.
More specifically, in the electric oil heater: in the edge point extracting device, determining whether the pixel point is an edge point based on the red component value of the pixel point and the red component values of the pixel points around the pixel point further includes: and when the absolute value of the difference value is not exceeded, judging that the pixel point is a background point.
More specifically, in the electric oil heater: in the edge point analysis device, when the ratio of the number of edge points in the binarized image to the number of pixel points in the binarized image is greater than the preset ratio threshold, a signal without feature enhancement is sent out.
Detailed Description
Embodiments of the electric oil heater type warmer of the present invention will be described in detail below.
The proper heater is selected according to the actual situation of a room, the capacity of a household electric meter is generally 3-10 amperes, and the heater with the power below 2000W is preferably selected to avoid power outage due to overlarge power, and if a single-storey house or a house with poor heat preservation effect is located, the heating power can be properly improved. If the house is already heated, the user feels that the house is not too warm, and the purchase of 1500W or even 1000W of electric heater is enough although the area of the house is more than 20 square meters.
In order to overcome the defects, the invention builds the electric oil heater, and can effectively solve the corresponding technical problem.
The electric oil heater type warmer shown according to the embodiment of the present invention includes:
the heating tube is arranged in the base of the warmer and used for converting electric energy into heat energy in an electric heating mode so as to enable the heating tube to heat;
the heat conduction oil container is arranged on the base of the heater, is connected with the heating tube, is internally provided with heat conduction oil to receive heat emitted by the heating tube and transmits the heat emitted by the heating tube into the heat conduction oil;
the FLASH storage chip is connected with the load field evaluation equipment and is used for storing the self weight of the camera and a preset difference threshold value;
the spherical camera shooting device is arranged on the base of the heater and used for shooting nearby the heater to obtain and output a corresponding image nearby the heater;
the load field evaluation device is arranged below the spherical camera device and used for detecting the load weight of the spherical camera device so as to obtain the current load weight, subtracting the self weight of the camera from the current load weight so as to obtain a weight difference value, and sending a signal of overlarge difference value when the weight difference value is larger than or equal to a preset difference value threshold value, or sending a difference value tolerance signal;
the red component analysis equipment is connected with the spherical camera equipment, and is used for performing average blocking on the image near the heater to obtain image blocks with the same sizes when the signal with the overlarge difference value is received, performing averaging calculation on red component values of pixel points of each image block to obtain block mean values corresponding to the image blocks, and also used for taking the blocks with the block mean values larger than or equal to a preset mean threshold value as shielding blocks, taking the blocks with the block mean values smaller than the preset mean threshold value as non-shielding blocks, and outputting one or more shielding blocks in the image near the heater;
the image restoration device is connected with the red component analysis device and used for receiving one or more occlusion blocks in the image near the warmer, performing interpolation calculation on the image content of each occlusion block by adopting each image block around the occlusion block to obtain an interpolated image block serving as an interpolation block, and combining the one or more interpolation blocks and each non-occlusion block in the image near the warmer to obtain and output a current restored image;
the multi-parameter analysis equipment is connected with the spherical camera equipment, and is used for receiving the image near the heater, determining the content uniformity degree of the image near the heater based on the pixel value distribution condition of the pixel points of the image near the heater, outputting the content uniformity degree, determining the content definition degree of the image near the heater based on the pixel value dynamic distribution range of the pixel points of the image near the heater, outputting the content definition degree, receiving the image near the heater, detecting the contrast of the image near the heater, and outputting the contrast;
the coefficient extraction device is connected with the multi-parameter analysis device and used for receiving the content uniformity degree, the content definition degree and the contrast, determining an influence coefficient of the content uniformity degree on a binarization threshold value based on the content uniformity degree, determining an influence coefficient of the content definition degree on the binarization threshold value based on the content definition degree, determining an influence coefficient of the content definition degree on the binarization threshold value based on the contrast, and simultaneously correcting the binarization threshold value based on the three influence coefficients and outputting the corrected binarization threshold value;
the binarization analysis device is connected with the coefficient extraction device and used for receiving the corrected binarization threshold value and carrying out binarization analysis on the image near the warmer based on the corrected binarization threshold value so as to obtain a binarization image corresponding to the image near the warmer;
the edge point extraction device is connected with the binarization analysis device and used for receiving the binarization image, acquiring a red component value of each pixel point in the binarization image and executing the following operations aiming at each pixel point: judging whether the pixel point is an edge point or not based on the red component value of the pixel point and the red component values of the pixel points around the pixel point; in the edge point extracting device, determining whether the pixel point is an edge point based on the red component value of the pixel point and the red component values of the pixel points around the pixel point includes: calculating the mean value of the red component values of the pixels around the pixel, determining the difference value between the mean value and the red component value of the pixel, and judging that the pixel is an edge point when the absolute value of the difference value exceeds the limit;
the edge point analyzing device is connected with the edge point extracting device and is used for determining the number of edge points in the binary image and determining the number of pixel points in the binary image, and when the ratio of the number of the edge points in the binary image to the number of the pixel points in the binary image is smaller than or equal to a preset proportional threshold value, a signal needing characteristic enhancement is sent;
the signal enhancement device is connected with the edge point analysis device and is used for performing feature enhancement processing on the binarized image when the signal needing feature enhancement is received so as to obtain a corresponding feature enhanced image, wherein the strength of performing the feature enhancement processing on the binarized image by the signal enhancement device is in direct proportion to the number of edge points in the binarized image;
the number comparison device is connected with the signal enhancement device, extracts a human body subimage to be detected with the same size as the preset reference human body subimage from the feature enhancement image based on the preset reference human body subimage, subtracts the human body subimage to be detected from the preset reference human body subimage to obtain a difference image, calculates the number of pixels with non-zero pixel values in the difference image, and sends a human body unidentified signal when the number of the non-zero pixels is greater than or equal to the first preset pixel number threshold;
and the heating driving equipment is respectively connected with the heating tube and the quantity comparison equipment and is used for reducing the heating power of the heating tube when the unidentified signal of the human body is received.
Next, a detailed description of the electric oil heater of the present invention will be further made.
In the electric oil heater: the number comparison device is further configured to send a human identification signal when the number of non-zero pixels is less than the first preset pixel number threshold.
In the electric oil heater: the heating driving device is also used for improving the heating power of the heating tube when receiving the human body identification signal.
In the electric oil heater: the FLASH storage chip is also connected with the red component analysis equipment and is used for pre-storing the preset average value threshold value.
In the electric oil heater: the FLASH memory chip, the load field evaluation device, the red component analysis device and the image restoration device are integrated on the same integrated circuit board.
In the electric oil heater: the multi-parameter analysis device, the coefficient extraction device and the binarization analysis device are respectively realized by adopting different SOC chips.
In the electric oil heater: in the edge point extracting device, determining whether the pixel point is an edge point based on the red component value of the pixel point and the red component values of the pixel points around the pixel point further includes: and when the absolute value of the difference value is not exceeded, judging that the pixel point is a background point.
And in the electric oil heater: in the edge point analysis device, when the ratio of the number of edge points in the binarized image to the number of pixel points in the binarized image is greater than the preset ratio threshold, a signal without feature enhancement is sent out.
In addition, the System on Chip is called SOC for short, i.e. System on Chip. From a narrow sense, the method is the chip integration of the core of an information system, and integrates key components of the system on one chip; in a broad sense, an SOC is a micro-miniature system, and if a Central Processing Unit (CPU) is the brain, the SOC is a system including the brain, heart, eyes, and hands. The academia at home and abroad generally tends to define the SOC as integrating a microprocessor, an analog IP core, a digital IP core and a memory (or off-chip memory control interface) on a single chip, which is usually custom-made or standard product oriented to a specific application.
The basic content of the SOC definition is mainly two-fold: one is its formation and the other is its formation process. The system-level chip can be composed of a system-level chip control logic module, a microprocessor/microcontroller CPU core module, a digital signal processor DSP module, an embedded memory module, an interface module for communicating with the outside, an analog front-end module containing ADC/DAC, a power supply and power consumption management module, a radio frequency front-end module, user defined logic (which can be realized by FPGA or ASIC) and a micro-electro-mechanical module for a wireless SOC, and more importantly, a SOC chip is embedded with a basic software (RDOS or COS and other application software) module or loadable user software and the like.
The electric oil heater adopts the heating driving equipment to improve the heating power of the heating pipe when the human body exists, so as to improve the heating efficiency of the heater, wherein whether the pixel points are edge points is judged based on the red component values of the pixel points and the red component values of the pixel points around the pixel points, and whether corresponding characteristic strengthening processing is started is determined based on the total number of the edge points of the image, so that the characteristic strengthening image with weakened edges is avoided; correcting the binarization threshold value of the image by adopting various parameters of the image, thereby ensuring the precision of the obtained binarization image; the two-stage detection mechanism of firstly carrying out load measurement and then analyzing the image content is adopted to analyze the shielding condition of the collected image and provide a restoration mechanism corresponding to the shielding condition, thereby solving the technical problem.
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.