Summary of the invention
In order to solve to slide the technical issues of windowsill lacks effective leak water detdction mechanism in the prior art, the present invention is provided
A kind of method for the controllability and reliability promoting sliding windowsill.
The present invention at least has the important inventive point of following four:
(1) detection of the quantity based on water body pixel judges whether key position occurs leak;
(2) buzzer with the quantity respective frequencies of the water body pixel is issued using buzzer, enhances leak report
Alert validity;
(3) based on the noise profile situation to image, the ruler for the sliding window being filtered to described image is determined
It is very little, and when being filtered to pixel, it selects to reach isolated noise averaged occupation picture in its neighbouring pixel pixel value
Multiple brightness values of vegetarian refreshments quantity are as operation pixel value;
(4) arithmetic mean of instantaneous value is carried out to the multiple operation pixel value to calculate to obtain the replacement pixel of pixel processed
Value, finally obtains and exports the corresponding signal processing image of described image.
According to an aspect of the present invention, a kind of method of controllability and reliability promoting sliding windowsill, this method are provided
It include: 1) a kind of double suspension type sliding windowsills are provided;Windowsills are slided with 2) use double suspension types;Double suspension type slidings
Windowsill includes:
Windowsill main framework is made of top suspension forms, bottom hung forms and sliding window frame, and the top hangs window
Body slides up and down in the top half of the sliding window frame, and the bottom hung forms are in the lower half portion of the sliding window frame
Inside slide up and down;Remote control switch, for the remote control operation according to user, the first displacement signal and the user for receiving user's input are defeated
The second displacement signal entered;Remote control reception equipment is arranged on the sliding window frame, outstanding for controlling the top for receiving
The first displacement signal of forms sliding is hung, and receives the second displacement signal for controlling the bottom hung forms sliding;
Capture apparatus is oriented, the position for hanging forms and bottom hung forms handover towards the top is oriented bat
It takes the photograph, to obtain corresponding real-time junction image;Image processing modules are connect with the orientation capture apparatus, for described
Real-time junction image carries out image procossing, to obtain and export corresponding real time processed images;Water leakage detection device, and it is described
Image processing modules connection executes following movement for each of real time processed images pixel: judging the picture
Whether the brightness value of vegetarian refreshments is located between water body upper limit brightness value and water body lower limit brightness value, is, then the pixel is water body
Pixel;When quantity of the water leakage detection device for the water body pixel in the real time processed images is more than limitation,
Issue leak identification signal;Buzzing equipment is connect with the leak water detdction equipment, for receiving the leak identification signal
When, issue the buzzer with the quantity respective frequencies of the water body pixel;Wherein, the water leakage detection device is also used in institute
When stating the quantity of the water body pixel in real time processed images and being less than limitation, issues leak and do not find out signal.
More specifically, in the double suspension types sliding windowsills: the first sliding driving equipment, respectively with the remote control reception
Equipment and the top suspension forms connects, for based on the first displacement signal received control the top suspension forms into
The corresponding sliding of row.
More specifically, in the double suspension types sliding windowsills: the second sliding driving equipment, respectively with the remote control reception
Equipment is connected with the bottom hung forms, for based on the second displacement signal that receives control the bottom hung forms into
The corresponding sliding of row.
More specifically, in double suspension type sliding windowsills: described image processing component includes mean value analyzing device, with
The orientation capture apparatus connection obtains each in the real-time junction image for receiving the real-time junction image
A isolated noise determines the quantity for the pixel that it is occupied in the real-time junction image based on each isolated noise,
And the quantity of the pixel occupied respectively based on each isolated noise carries out each quantity with obtaining each quantity respectively
Mean value computation, to obtain corresponding number average value;Described image processing component includes size extract equipment, is parsed with the mean value
Equipment connection, for receiving the quantity for the pixel that each isolated noise occupies respectively, based on each isolated noise difference
The quantity of the pixel occupied determines the size for the sliding window being filtered to the real-time junction image;The figure
As processing component includes static storage device, it is connect with the size extract equipment, for receiving and storing the sliding window
Size;Described image processing component includes point-by-point processing equipment, is set respectively with the static storage device, mean value parsing
It is standby to be connected with the size extract equipment, for receiving the number average value and the sliding window, and to the real-time handover
Locate each of image pixel and execute following operation: using each of real-time junction image pixel as pair
As pixel, each picture in the sliding window centered on the subject image vegetarian refreshments is obtained in the real-time junction image
Each brightness value of each reference image vegetarian refreshments is carried out sequence from big to small and arranged by vegetarian refreshments as each reference image vegetarian refreshments
Sequence, using intermediate serial number, reach multiple brightness values of the number average value quantity as operation pixel value, to the multiple operation
Pixel value carries out arithmetic mean of instantaneous value calculating, to obtain the replacement pixel value of the subject image vegetarian refreshments;Described image processing component packet
Data extraction device is included, is connect respectively with the water leakage detection device and the point-by-point processing equipment, it is described real-time for receiving
Each replacement pixel value of each pixel in the image of junction, and based on each pixel in the real-time junction image
Each replacement pixel value of point obtains the corresponding signal processing image of the real-time junction image, and sets to the detecting water leakage
It is standby to export the corresponding real time processed images of the real-time junction image.
More specifically, in double suspension type sliding windowsills: the static storage device is also set with mean value parsing
Standby connection, for receiving and storing the number average value.
More specifically, in the double suspension types sliding windowsills: the point-by-point processing equipment include the sub- equipment of data receiver,
Data send sub- equipment and pixel value handles sub- equipment, and the sub- equipment of data receiver is for receiving the number average value and described
Sliding window, the pixel value handle sub- equipment and connect with the sub- equipment of the data receiver, and the data send sub- equipment and institute
It states pixel value and handles sub- equipment connection.
More specifically, in double suspension type sliding windowsills: the pixel value processing unit is used for the real-time friendship
Connect place's each of image pixel and execute following operation: using each of real-time junction image pixel as
Subject image vegetarian refreshments obtains each in the sliding window centered on the subject image vegetarian refreshments in the real-time junction image
Each brightness value of each reference image vegetarian refreshments is carried out sequence from big to small and arranged by pixel as each reference image vegetarian refreshments
Sequence, using intermediate serial number, reach multiple brightness values of the number average value quantity as operation pixel value, to the multiple operation
Pixel value carries out arithmetic mean of instantaneous value calculating, to obtain the replacement pixel value of the subject image vegetarian refreshments.
Specific embodiment
Embodiment of the present invention is described in detail below with reference to accompanying drawings.
For the suspension type window room smaller for room space, openable sash often knocks against child's hard
Head, and the window opened can allow entire room to seem more narrow.Pure wood sliding window can release puzzlement, using hardware
Drive mechanism only needs the gently sliding of a finger, so that it may easily open easily closure, can not only play section space-efficient and make
With, and be also to reduce a kind of method implicit safely for having the household of child in room.
In order to overcome above-mentioned deficiency, a kind of method that the present invention builds controllability and reliability for promoting sliding windowsill should
Method includes: 1) to provide a kind of double suspension type sliding windowsills;Windowsills are slided with 2) use double suspension types.Double suspension types
Sliding windowsill can effectively solve the problem that corresponding technical problem.
Fig. 1 is the structural schematic diagram that windowsill is slided according to double suspension types shown in embodiment of the present invention, the windowsill packet
It includes:
Windowsill main framework is made of top suspension forms 3, bottom hung forms 1 and sliding window frame 2, and the top is outstanding
It hangs forms to slide up and down in the top half of the sliding window frame, lower half of the bottom hung forms in the sliding window frame
It is slided up and down in part;
Remote control switch receives the first displacement signal and the user's input of user's input for the remote control operation according to user
Second displacement signal;
Remote control reception equipment is arranged on the sliding window frame, sliding for controlling the top suspension forms for receiving
The first dynamic displacement signal, and receive the second displacement signal for controlling the bottom hung forms sliding;
Capture apparatus is oriented, the position for hanging forms and bottom hung forms handover towards the top carries out
Orientation shooting, to obtain corresponding real-time junction image;
Image processing modules are connect with the orientation capture apparatus, for carrying out image to the real-time junction image
Processing, to obtain and export corresponding real time processed images;
Water leakage detection device is connect with described image processing component, for each of real time processed images picture
Vegetarian refreshments executes following movement: judging whether the brightness value of the pixel is located at water body upper limit brightness value and water body lower limit brightness value
Between, it is that then the pixel is water body pixel;The water leakage detection device is for the water in the real time processed images
When the quantity of body image vegetarian refreshments is more than limitation, leak identification signal is issued;
Buzzing equipment is connect with the leak water detdction equipment, for when receiving the leak identification signal, issue with
The buzzer of the quantity respective frequencies of the water body pixel;
Wherein, the quantity that the water leakage detection device is also used to the water body pixel in the real time processed images does not surpass
When crossing limitation, issues leak and do not find out signal.
Then, continue that the specific structure of double suspension types sliding windowsill of the invention is further detailed.
In the double suspension types sliding windowsills: the first sliding driving equipment, respectively with the remote control reception equipment and institute
Top suspension forms connection is stated, it is corresponding for being carried out based on the first displacement signal control top suspension forms received
Sliding.
In the double suspension types sliding windowsills: the second sliding driving equipment, respectively with the remote control reception equipment and institute
The connection of bottom hung forms is stated, is carried out accordingly for controlling the bottom hung forms based on the second displacement signal received
Sliding.
In double suspension type sliding windowsills: described image processing component includes mean value analyzing device, with the orientation
Capture apparatus connection, for receiving the real-time junction image, each isolate obtained in the real-time junction image is made an uproar
Sound determines the quantity for the pixel that it is occupied in the real-time junction image based on each isolated noise, and based on each
The quantity for the pixel that a isolated noise occupies respectively carries out mean value meter to obtain each quantity respectively, to each quantity
It calculates, to obtain corresponding number average value;
Described image processing component includes size extract equipment, is connect with the mean value analyzing device, each for receiving
The quantity for the pixel that isolated noise occupies respectively is determined based on the quantity for the pixel that each isolated noise occupies respectively
To the size for the sliding window that the real-time junction image is filtered;
Described image processing component includes static storage device, is connect with the size extract equipment, for receiving and depositing
Store up the size of the sliding window;
Described image processing component includes point-by-point processing equipment, is parsed respectively with the static storage device, the mean value
Equipment is connected with the size extract equipment, for receiving the number average value and the sliding window, and to the real-time friendship
Connect place's each of image pixel and execute following operation: using each of real-time junction image pixel as
Subject image vegetarian refreshments obtains each in the sliding window centered on the subject image vegetarian refreshments in the real-time junction image
Each brightness value of each reference image vegetarian refreshments is carried out sequence from big to small and arranged by pixel as each reference image vegetarian refreshments
Sequence, using intermediate serial number, reach multiple brightness values of the number average value quantity as operation pixel value, to the multiple operation
Pixel value carries out arithmetic mean of instantaneous value calculating, to obtain the replacement pixel value of the subject image vegetarian refreshments;
Described image processing component includes data extraction device, respectively with the water leakage detection device and the point-by-point processing
Equipment connection, for receiving each replacement pixel value of each pixel in the real-time junction image, and based on described
Each replacement pixel value of each pixel in the image of real-time junction obtains the corresponding signal of the real-time junction image
Image is handled, and exports the corresponding real time processed images of the real-time junction image to the water leakage detection device.
In double suspension type sliding windowsills: the static storage device is also connect with the mean value analyzing device, is used
In receiving and storing the number average value.
In double suspension type sliding windowsills: the point-by-point processing equipment includes the sub- equipment of data receiver, data transmission
Sub- equipment and pixel value handle sub- equipment, and the sub- equipment of data receiver is for receiving the number average value and the sliding window
Mouthful, the pixel value handles sub- equipment and connect with the sub- equipment of the data receiver, and the data send sub- equipment and the pixel
Value handles sub- equipment connection.
In double suspension type sliding windowsills: the pixel value processing unit is used for in the real-time junction image
Each pixel execute following operation: using each of real-time junction image pixel as object pixel
Point, each pixel obtained in the sliding window centered on the subject image vegetarian refreshments in the real-time junction image are made
For each reference image vegetarian refreshments, each brightness value of each reference image vegetarian refreshments is subjected to sequence from big to small and is sorted, will in
Between serial number, reach multiple brightness values of the number average value quantity as operation pixel value, to the multiple operation pixel value
Arithmetic mean of instantaneous value calculating is carried out, to obtain the replacement pixel value of the subject image vegetarian refreshments.
In addition, in double suspension type sliding windowsills, further includes: fiber optic data communication interface, with the water leakage detection device
Connection, for receiving and sending leak identification signal to outside.
Optical fiber is writing a Chinese character in simplified form for optical fiber, is a kind of fiber made of glass or plastics, can be used as light conduction tool.It passes
Defeated principle is " total reflection of light ".Fine optical fiber is encapsulated in plastic sheath, allows it to be bent and be unlikely to be broken.It is logical
Often, the emitter of one end of optical fiber uses light emitting diode (light emitting diode, LED) or beam of laser by light
Pulse is sent to optical fiber, and the reception device of the other end of optical fiber detects pulse using light-sensitive element.
In multimode fibre, the diameter of core is 50 μm and 62.5 μm two kinds, substantially suitable with the thickness of the hair of people.And it is single
The diameter of mode fiber core is 8 μm~10 μm, and the most commonly used is 9/125 μm.One layer of refractive index glass lower than core is surrounded outside core
Big envelope, is commonly called as covering, and covering makes light be maintained at in-core.Outside is one layer of thin plastic wrapper, i.e. coat again, is used to
Protect covering.Optical fiber is usually bundled into beam, and there is shell protection in outside.The fibre core usually cross-sectional area made of quartz glass is very
Small double concentric circle cylinder, his quality is crisp, easy fracture, it is therefore desirable to an additional protective layer.
Windowsill is slided using double suspension types of the invention, lacks effective leak water detdction for sliding windowsill in the prior art
The technical issues of mechanism, judges whether key position occurs leak by the detection of the quantity based on water body pixel;Using bee
The device that rings issues the buzzer with the quantity respective frequencies of the water body pixel, enhances the validity of water leakage alarm;Based on pair
The noise profile situation of image, determines the size for the sliding window being filtered to described image, and clicks through to pixel
When row filtering processing, the multiple brightness for reaching isolated noise averaged occupation pixel quantity in its neighbouring pixel pixel value are selected
Value is used as operation pixel value;Arithmetic mean of instantaneous value calculating is carried out to the multiple operation pixel value to replace to obtain pixel processed
Pixel value is changed, finally obtain and exports the corresponding signal processing image of described image;To solve above-mentioned technical problem.
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, anything that does not depart from the technical scheme of the invention are 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.