Disclosure of Invention
in order to solve the technical problem that an effective water leakage detection mechanism is lacked in a sliding windowsill in the prior art, the invention provides a method for improving the controllability and reliability of the sliding windowsill.
The invention has at least the following four important points:
(1) Judging whether the key part leaks water or not based on the detection of the number of the pixels of the water body;
(2) the buzzer is adopted to send out buzzing sounds with frequencies corresponding to the number of the pixel points of the water body, so that the effectiveness of water leakage alarm is enhanced;
(3) Determining the size of a sliding window for filtering the image based on the noise distribution condition of the image, and selecting a plurality of brightness values which are equal to the number of pixels occupied by isolated noise in pixel values of nearby pixels as operation pixel values when filtering the pixel points;
(4) and performing arithmetic mean calculation on the plurality of operation pixel values to obtain a replacement pixel value of the processed pixel point, and finally obtaining and outputting a signal processing image corresponding to the image.
according to an aspect of the present invention, there is provided a method of improving controllability and reliability of a sliding sill, the method including: 1) providing a double-suspension sliding window sill; and 2) using the double-suspension sliding sill; the double-suspension type sliding window sill comprises:
The windowsill main body framework consists of a top suspension window body, a bottom suspension window body and a sliding window frame, wherein the top suspension window body slides up and down in the upper half part of the sliding window frame, and the bottom suspension window body slides up and down in the lower half part of the sliding window frame; the remote control switch is used for receiving a first displacement signal input by a user and a second displacement signal input by the user according to the remote control operation of the user; the remote control receiving equipment is arranged on the sliding window frame and is used for receiving a first displacement signal for controlling the sliding of the top suspension window body and receiving a second displacement signal for controlling the sliding of the bottom suspension window body; the directional shooting equipment is used for directionally shooting the joint position of the top suspended window body and the bottom suspended window body so as to obtain a corresponding real-time joint image; the image processing assembly is connected with the directional shooting equipment and is used for carrying out image processing on the image at the real-time joint so as to obtain and output a corresponding real-time processing image; the water leakage detection equipment is connected with the image processing assembly and executes the following actions aiming at each pixel point in the real-time processing image: judging whether the brightness value of the pixel point is between the upper limit brightness value and the lower limit brightness value of the water body, if so, the pixel point is a water body pixel point; the water leakage detection equipment is used for sending a water leakage identification signal when the number of the water body pixel points in the real-time processing image exceeds a limit; the buzzing equipment is connected with the water leakage detection equipment and is used for sending buzzing sounds with frequencies corresponding to the number of the water body pixel points when the water leakage identification signals are received; and the water leakage detection equipment is also used for sending a water leakage undetected signal when the number of the water body pixel points in the real-time processing image does not exceed a limited amount.
More specifically, in the double-hung sliding window sill: and the first sliding driving device is respectively connected with the remote control receiving device and the top suspension window body and is used for controlling the top suspension window body to correspondingly slide based on the received first displacement signal.
More specifically, in the double-hung sliding window sill: and the second sliding driving device is respectively connected with the remote control receiving device and the bottom suspension window body and is used for controlling the bottom suspension window body to correspondingly slide based on the received second displacement signal.
More specifically, in the double-hung sliding window sill: the image processing component comprises mean value analysis equipment which is connected with the directional shooting equipment and used for receiving the real-time junction image, acquiring each isolated noise in the real-time junction image, determining the number of pixel points occupied by each isolated noise in the real-time junction image based on each isolated noise, respectively acquiring each number based on the number of pixel points occupied by each isolated noise, and carrying out mean value calculation on each number to acquire a corresponding number mean value; the image processing component comprises size extraction equipment, the size extraction equipment is connected with the mean value analysis equipment and is used for receiving the number of pixel points occupied by each isolated noise respectively and determining the size of a sliding window for filtering the image at the real-time joint based on the number of the pixel points occupied by each isolated noise respectively; the image processing component comprises a static storage device which is connected with the size extraction device and is used for receiving and storing the size of the sliding window; the image processing component comprises point-by-point processing equipment which is respectively connected with the static storage equipment, the mean value analysis equipment and the size extraction equipment, and is used for receiving the number mean value and the sliding window and executing the following operations on each pixel point in the real-time joint image: taking each pixel point in the real-time joint image as an object pixel point, acquiring each pixel point in a sliding window with the object pixel point as the center in the real-time joint image as each reference pixel point, sequencing the brightness values of the reference pixel points from large to small, taking a plurality of brightness values with middle serial numbers and reaching the quantity average value as operation pixel values, and performing arithmetic average calculation on the plurality of operation pixel values to obtain a replacement pixel value of the object pixel point; the image processing assembly comprises signal extraction equipment which is respectively connected with the water leakage detection equipment and the point-by-point processing equipment and is used for receiving all the replacement pixel values of all the pixel points in the real-time joint image, acquiring a signal processing image corresponding to the real-time joint image based on all the replacement pixel values of all the pixel points in the real-time joint image and outputting the real-time processing image corresponding to the real-time joint image to the water leakage detection equipment.
More specifically, in the double-hung sliding window sill: the static storage device is also connected with the mean value analyzing device and used for receiving and storing the quantity mean value.
More specifically, in the double-hung sliding window sill: the point-by-point processing equipment comprises data receiving sub-equipment, data sending sub-equipment and pixel value processing sub-equipment, wherein the data receiving sub-equipment is used for receiving the quantity average value and the sliding window, the pixel value processing sub-equipment is connected with the data receiving sub-equipment, and the data sending sub-equipment is connected with the pixel value processing sub-equipment.
More specifically, in the double-hung sliding window sill: the pixel value processing unit is used for executing the following operations on each pixel point in the real-time junction image: taking each pixel point in the real-time joint image as an object pixel point, acquiring each pixel point in a sliding window with the object pixel point as the center in the real-time joint image as each reference pixel point, sequencing the brightness values of the reference pixel points from large to small, taking a plurality of brightness values with middle serial numbers and reaching the quantity average value as operation pixel values, and performing arithmetic average calculation on the operation pixel values to obtain a replacement pixel value of the object pixel point.
Detailed Description
embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
for a room with a small room space, the openable window sash can often break the head of a child, and the opened window can enable the whole room to look narrower. The pure wood sliding window can relieve troubles, adopts a hardware transmission structure, can be easily opened and closed only by slightly sliding one finger, not only can play a role of saving space, but also is a method for reducing safety implications for a household with children in rooms.
In order to overcome the defects, the invention provides a method for improving the controllability and reliability of a sliding windowsill, which comprises the following steps: 1) providing a double-suspension sliding window sill; and 2) using the double-suspension sliding window sill. The double-suspension type sliding windowsill can effectively solve the corresponding technical problem.
fig. 1 is a schematic structural view illustrating a double-hung sliding window sill according to an embodiment of the present invention, the window sill including:
the windowsill main body framework consists of a top suspension window body 3, a bottom suspension window body 1 and a sliding window frame 2, wherein the top suspension window body slides up and down in the upper half part of the sliding window frame, and the bottom suspension window body slides up and down in the lower half part of the sliding window frame;
The remote control switch is used for receiving a first displacement signal input by a user and a second displacement signal input by the user according to the remote control operation of the user;
The remote control receiving equipment is arranged on the sliding window frame and is used for receiving a first displacement signal for controlling the sliding of the top suspension window body and receiving a second displacement signal for controlling the sliding of the bottom suspension window body;
the directional shooting equipment is used for directionally shooting the joint position of the top suspended window body and the bottom suspended window body so as to obtain a corresponding real-time joint image;
The image processing assembly is connected with the directional shooting equipment and is used for carrying out image processing on the image at the real-time joint so as to obtain and output a corresponding real-time processing image;
the water leakage detection equipment is connected with the image processing assembly and executes the following actions aiming at each pixel point in the real-time processing image: judging whether the brightness value of the pixel point is between the upper limit brightness value and the lower limit brightness value of the water body, if so, the pixel point is a water body pixel point; the water leakage detection equipment is used for sending a water leakage identification signal when the number of the water body pixel points in the real-time processing image exceeds a limit;
The buzzing equipment is connected with the water leakage detection equipment and is used for sending buzzing sounds with frequencies corresponding to the number of the water body pixel points when the water leakage identification signals are received;
And the water leakage detection equipment is also used for sending a water leakage undetected signal when the number of the water body pixel points in the real-time processing image does not exceed a limited amount.
next, a specific structure of the double-hung sliding window sill of the present invention will be further described.
In the double-hung sliding window: and the first sliding driving device is respectively connected with the remote control receiving device and the top suspension window body and is used for controlling the top suspension window body to correspondingly slide based on the received first displacement signal.
In the double-hung sliding window: and the second sliding driving device is respectively connected with the remote control receiving device and the bottom suspension window body and is used for controlling the bottom suspension window body to correspondingly slide based on the received second displacement signal.
in the double-hung sliding window: the image processing component comprises mean value analysis equipment which is connected with the directional shooting equipment and used for receiving the real-time junction image, acquiring each isolated noise in the real-time junction image, determining the number of pixel points occupied by each isolated noise in the real-time junction image based on each isolated noise, respectively acquiring each number based on the number of pixel points occupied by each isolated noise, and carrying out mean value calculation on each number to acquire a corresponding number mean value;
the image processing component comprises size extraction equipment, the size extraction equipment is connected with the mean value analysis equipment and is used for receiving the number of pixel points occupied by each isolated noise respectively and determining the size of a sliding window for filtering the image at the real-time joint based on the number of the pixel points occupied by each isolated noise respectively;
the image processing component comprises a static storage device which is connected with the size extraction device and is used for receiving and storing the size of the sliding window;
the image processing component comprises point-by-point processing equipment which is respectively connected with the static storage equipment, the mean value analysis equipment and the size extraction equipment, and is used for receiving the number mean value and the sliding window and executing the following operations on each pixel point in the real-time joint image: taking each pixel point in the real-time joint image as an object pixel point, acquiring each pixel point in a sliding window with the object pixel point as the center in the real-time joint image as each reference pixel point, sequencing the brightness values of the reference pixel points from large to small, taking a plurality of brightness values with middle serial numbers and reaching the quantity average value as operation pixel values, and performing arithmetic average calculation on the plurality of operation pixel values to obtain a replacement pixel value of the object pixel point;
The image processing assembly comprises signal extraction equipment which is respectively connected with the water leakage detection equipment and the point-by-point processing equipment and is used for receiving all the replacement pixel values of all the pixel points in the real-time joint image, acquiring a signal processing image corresponding to the real-time joint image based on all the replacement pixel values of all the pixel points in the real-time joint image and outputting the real-time processing image corresponding to the real-time joint image to the water leakage detection equipment.
in the double-hung sliding window: the static storage device is also connected with the mean value analyzing device and used for receiving and storing the quantity mean value.
In the double-hung sliding window: the point-by-point processing equipment comprises data receiving sub-equipment, data sending sub-equipment and pixel value processing sub-equipment, wherein the data receiving sub-equipment is used for receiving the quantity average value and the sliding window, the pixel value processing sub-equipment is connected with the data receiving sub-equipment, and the data sending sub-equipment is connected with the pixel value processing sub-equipment.
In the double-hung sliding window: the pixel value processing unit is used for executing the following operations on each pixel point in the real-time junction image: taking each pixel point in the real-time joint image as an object pixel point, acquiring each pixel point in a sliding window with the object pixel point as the center in the real-time joint image as each reference pixel point, sequencing the brightness values of the reference pixel points from large to small, taking a plurality of brightness values with middle serial numbers and reaching the quantity average value as operation pixel values, and performing arithmetic average calculation on the operation pixel values to obtain a replacement pixel value of the object pixel point.
in addition, in the double-hung sliding window sill, further comprising: and the optical fiber communication interface is connected with the water leakage detection equipment and is used for receiving and sending a water leakage identification signal to the outside.
optical fibers are short for optical fibers, and are fibers made of glass or plastic that can be used as a light conducting means. The principle of transmission is "total reflection of light". The fine optical fiber is enclosed in a plastic sheath so that it can be bent without breaking. Generally, a Light Emitting Diode (LED) or a laser beam is used as a transmitter at one end of the optical fiber to transmit an optical pulse to the optical fiber, and a photosensor is used as a receiver at the other end of the optical fiber to detect the pulse.
In the multimode optical fiber, the core diameter is 50 μm and 62.5 μm, which are approximately equivalent to the thickness of human hair. Whereas the diameter of the single-mode optical fiber core is 8 μm to 10 μm, 9/125 μm is generally used. The core is surrounded by a glass envelope, commonly referred to as a cladding, of lower refractive index than the core, which keeps the light rays within the core. Further on the outside is a thin plastic outer jacket, i.e. a coating, for protecting the cladding. The optical fibers are typically bundled and protected by an outer jacket. The core is usually a double-walled concentric cylinder of silica glass with a small cross-sectional area, which is brittle and easily broken, and therefore requires the addition of a protective layer.
by adopting the double-suspension sliding windowsill, the technical problem that the sliding windowsill in the prior art is lack of an effective water leakage detection mechanism is solved, and whether water leakage occurs in a key part is judged by detecting the number of pixels in a water body; the buzzer is adopted to send out buzzing sounds with frequencies corresponding to the number of the pixel points of the water body, so that the effectiveness of water leakage alarm is enhanced; determining the size of a sliding window for filtering the image based on the noise distribution condition of the image, and selecting a plurality of brightness values which are equal to the number of pixels occupied by isolated noise in pixel values of nearby pixels as operation pixel values when filtering the pixel points; carrying out arithmetic mean calculation on the plurality of operation pixel values to obtain a replacement pixel value of a processed pixel point, and finally obtaining and outputting a signal processing image corresponding to the image; 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.