Summary of the invention
It to solve the above-mentioned problems, can be timely the present invention provides a kind of hospital ward brightness adaptive regulation method
Each window target in ward is effectively detected, and surface brightness detection is carried out to each window target, to determine ward
The additional illumination intensity of illumination and needs inside whether is required supplementation with, thus to keep constant luminance in ward to provide solution party
Case.
For this purpose, the present invention at least has following three important inventive points:
(1) under rotary taking mode, once detecting window target, surface brightness detection is carried out immediately, and then determine
Whether the additional illumination intensity of illumination and needs is required supplementation in ward, to meet patient in the case where saving energy consumption
In demand of each period to light in ward;
(2) slickness based on window surface imaging is higher than the characteristic of the slickness of other body surfaces imaging, to target
The slickness of image is detected and is extracted, and identifies various different imageable targets so as to the slickness based on target image
Type;
(3) while the slickness based on target image carries out target type discrimination, the row of target image is also introduced
Sum of all pixels, column sum of all pixels participate in calculating, and introduce weight mechanism, to improve the accuracy of type discrimination results.
According to an aspect of the present invention, a kind of hospital ward brightness adaptive regulation method is provided, this method includes making
Each window target in ward is detected with brightness adaptive equalization formula windowsill in ward, and table is carried out to each window target
Face brightness detection, to determine whether to require supplementation with the additional illumination intensity of illumination and needs, brightness in the ward in ward
Adaptive equalization formula windowsill includes:
Light measuring instrument is arranged on exterior wall, carries out light intensity detection for the environment where External Wall, to obtain simultaneously
Export extraneous light intensity;
Ward intraoral illumination equipment is arranged on interior wall, connect respectively with surface brightness detection device and light measuring instrument, uses
In receiving current window surface brightness and extraneous light intensity respectively, it is based on the current window surface brightness and the exterior light
Line intensity determines if to need to issue ward intraoral illumination light, and when determination needs to issue ward intraoral illumination light, is based on described
Current window surface brightness and the extraneous light intensity determine that it issues the intensity of ward intraoral illumination light;
Integrated capture apparatus is arranged in wall top, including lens bracket, optical filter, imaging lens and photoelectric coupling
The front of the imaging lens is arranged in unit, the optical filter, and the photoelectric coupling unit for promoting inhibition is arranged in the imaging lens
Front, the photoelectric coupling unit for promoting inhibition is for taking pictures to environment in ward to export ambient image in ward, the camera lens branch
Frame includes Rotatable mechanism, for driving the photoelectric coupling unit for promoting inhibition rotary taking to export in multiframe ward continuous in time
Ambient image, the content of ambient image does not repeat mutually in the multiframe ward;
Mean filter equipment is connected with the integrated capture apparatus, and the mean filter equipment is for receiving the disease
Ambient image in room, and mean filter is executed to ambient image in the ward, to obtain and export filtered image;
Reference data acquires equipment, connect with the mean filter equipment, for receiving the filtered image, to described
Filtered image carries out maximum brightness value analysis, to obtain the corresponding maximum brightness value of the filtered image, and establishes with zero
It is abscissa to the maximum brightness value and zero to the maximum brightness value is that ordinate is formed by numerical matrix, the number
The numerical value of each data item is in value matrix, is the abscissa of the data item from brightness value in the filtered image
The distance of the pixel pixel that reaches the ordinate that brightness value is the data item be less than the route of pre-determined distance threshold value
Quantity.
Specific embodiment
Embodiment of the present invention is described in detail below with reference to accompanying drawings.
For inpatient, the environment in room is extremely important for the rehabilitation of patient, comfort level gradually at
For the factor of consideration.Particularly, for window or windowsill, windowing ventilation faces outdoor dust, the suspension in air can
Object, automobile noise etc. have no to enter in ward with blocking, and seriously affect the health of patient, influence the rest and work of patient
Make.If encountering the weather of blowing and raining, sandstorm or outdoor serious pollution, can't open a window ventilation.Meanwhile in closing ward
In the case of, oxygen is limited in ward, due to the respiration of patient, is consumed oxygen and is completely converted into carbon dioxide, make
Oxygen owning amount declines in ward, and carbon dioxide composition rises, and causes patient respiration to have some setbacks, influences sleep quality.Ordinary people
Everyone can breathe out 20 liters of carbon dioxide per hour, account for the 4% of exhaled gas total amount, and the carbon dioxide content in fresh air is
0.03~0.04%, if it is light contamination that the content of carbon dioxide, which is more than 0.1%, in atmosphere.Therefore, winter is closed for a long time
Ward in, will lead to that air quality is poor, the respiratory tract or even entire health, scientific ventilation for influencing occupant are very
Important.
Therefore, the design of window or windowsill in the prior art concentrates in ventilation effect.However, in addition to this, how
Window or windowsill are designed, enables brightness adaptive equalization in its closed ward in space, to meet patient to disease
The requirement of constant luminance in room is one of urgent need to solve the problem in the prior art.
In order to meet patient to the constant luminance demand of environment in ward, the present invention built a kind of hospital ward brightness from
Adjusting method is adapted to, this method includes each window mesh detected in ward using brightness adaptive equalization formula windowsill in ward
Mark, and surface brightness detection is carried out to each window target, to determine whether require supplementation with the benefit of illumination and needs in ward
Charging and lighting intensity.
Fig. 1 is according to the window body frame structure in the ward shown in embodiment of the present invention in brightness adaptive equalization formula windowsill
Figure.
Fig. 2 is the structural block diagram according to brightness adaptive equalization formula windowsill in the ward shown in embodiment of the present invention,
The windowsill includes:
Light measuring instrument is arranged on exterior wall, carries out light intensity detection for the environment where External Wall, to obtain simultaneously
Export extraneous light intensity;
Ward intraoral illumination equipment is arranged on interior wall, connect respectively with surface brightness detection device and light measuring instrument, uses
In receiving current window surface brightness and extraneous light intensity respectively, it is based on the current window surface brightness and the exterior light
Line intensity determines if to need to issue ward intraoral illumination light, and when determination needs to issue ward intraoral illumination light, is based on described
Current window surface brightness and the extraneous light intensity determine that it issues the intensity of ward intraoral illumination light.
Then, continue to carry out further the specific structure of brightness adaptive equalization formula windowsill in ward of the invention
It is bright.
In the ward in brightness adaptive equalization formula windowsill, further includes:
Integrated capture apparatus is arranged in wall top, including lens bracket, optical filter, imaging lens and photoelectric coupling
The front of the imaging lens is arranged in unit, the optical filter, and the photoelectric coupling unit for promoting inhibition is arranged in the imaging lens
Front, the photoelectric coupling unit for promoting inhibition is for taking pictures to environment in ward to export ambient image in ward.
In the ward in brightness adaptive equalization formula windowsill:
The lens bracket includes Rotatable mechanism, for driving the photoelectric coupling unit for promoting inhibition rotary taking to export the time
Ambient image in continuous multiframe ward is gone up, the content of ambient image does not repeat mutually in the multiframe ward.
In the ward in brightness adaptive equalization formula windowsill, further includes:
Mean filter equipment is connected with the integrated capture apparatus;
Wherein, the mean filter equipment is used to receive ambient image in the ward, and to environment map in the ward
As executing mean filter, to obtain and export filtered image.
In the ward in brightness adaptive equalization formula windowsill, further includes:
Pixel detection equipment is connect, for receiving the filtered image with the mean filter equipment;
Wherein, the pixel detection equipment be also used to detect the pixel quantity of every row of the filtered image using as
Row sum of all pixels, and the detection filtered image each column pixel quantity using as column sum of all pixels.
In the ward in brightness adaptive equalization formula windowsill, further includes:
Reference data acquires equipment, connect with the mean filter equipment, for receiving the filtered image, to described
Filtered image carries out maximum brightness value analysis, to obtain the corresponding maximum brightness value of the filtered image, and establishes with zero
It is abscissa to the maximum brightness value and zero to the maximum brightness value is that ordinate is formed by numerical matrix, the number
The numerical value of each data item is in value matrix, is the abscissa of the data item from brightness value in the filtered image
The distance of the pixel pixel that reaches the ordinate that brightness value is the data item be less than the route of pre-determined distance threshold value
Quantity;
Slickness extract equipment is connect, for receiving the numerical matrix and described with reference data acquisition equipment
Maximum brightness value, and execute following slickness extraction operation: for each of numerical matrix data item, calculate its cross
The difference of coordinate and ordinate square to subtract the result obtained after first intermediate value for 1 as the first intermediate value
It is inverted to obtain coefficient value, the coefficient value and the value of the data item are multiplied to obtain the corresponding component of the data item
The component value of all data item in the numerical matrix is added to obtain and export the corresponding light of the filtered image by value
Slip;
Material identification apparatus is connect, for obtaining respectively with the pixel detection equipment and the slickness extract equipment
The corresponding characteristic value of the filtered image, the row sum of all pixels of the filtered image and the column picture of the filtered image
Plain sum, it is total to the corresponding characteristic value of the filtered image, the row pixel of the filtered image based on different weights coefficient
The column sum of all pixels of the several and described filtered image is weighted respectively to obtain three weighted terms, and three weighted terms are added
To obtain parameter to be compared, and the parameter to be compared is compared with each different objects surface smoothness a reference value is preset
Compared with, to obtain and export the corresponding object type of the filtered image, the object type include window, wall, timber with
And lamps and lanterns;
Surface brightness detection device is connect with the material identification apparatus, for being window in the object type received
When, overall brightness detection is carried out to the filtered image, to obtain and export current window surface brightness.
In the ward in brightness adaptive equalization formula windowsill:
The reference data acquisition equipment, the slickness extract equipment, the material identification apparatus and the surface are bright
Degree detection device is integrated on same integrated circuit board.
And in the ward in brightness adaptive equalization formula windowsill:
The surface smoothness a reference value of window is greater than the surface smoothness a reference value of timber, the surface smoothness benchmark of timber
Value is greater than the surface smoothness a reference value of wall and the surface smoothness a reference value of wall is greater than the surface smoothness base of lamps and lanterns
Quasi- value.
In addition, image filtering, i.e., press down the noise of target image under conditions of retaining image minutia as far as possible
System, is indispensable operation in image preprocessing, and the quality for the treatment of effect will directly influence subsequent image processing and divide
The validity and reliability of analysis.
Not perfect due to imaging system, transmission medium and recording equipment etc., digital picture formed at it, transmission log mistake
The often pollution by a variety of noises in journey.In addition, certain links in image procossing when the picture object inputted and are not so good as pre-
Also noise can be introduced when thinking in result images.These noises often show as one on the image and cause the isolated of stronger visual effect
Pixel or block of pixels.Generally, noise signal it is uncorrelated to the object to be studied it occur with useless message form, upset figure
The observable information of picture.For data image signal, psophometer is either large or small extreme value, these extreme values are acted on by plus-minus
On the true gray value of image pixel, cause bright, dim spot to interfere image, greatly reduce picture quality, influence image restoration,
The progress of the subsequent work such as segmentation, feature extraction, image recognition.The filter for constructing a kind of effectively inhibition noise must be taken into consideration
Two basic problems: the noise that can be effectively removed in target and background;Meanwhile can protect well image object shape,
Size and specific geometry and topological features.
One of common image filtering mode is nonlinear filter, it is, in general, that when signal spectrum and noise frequency
When composing aliasing or such as the noise as caused by mission nonlinear or there are non-gaussian to make an uproar when containing nonadditivity noise in signal
Sound etc.), traditional linear filter technology, if Fourier converts, while filtering out noise, always blurred picture is thin in some way
Section (such as edge) and then the extraction property reduction for leading to the positioning accuracy and feature as linear character.And nonlinear filter is
Based on a kind of Nonlinear Mapping relationship to input signal, often a certain specific noise approximatively can be mapped as zero and retained
Signal wants feature, thus it can overcome the shortcoming of linear filter to a certain extent.
It is difficult for constant luminance in ward in the prior art using brightness adaptive equalization formula windowsill in ward of the invention
The technical issues of to realize, by rotatably being shot in ward, to obtain the acquisition image in each orientation, and to each
The acquisition image in a orientation carries out targetedly window and identifies, to obtain the position of each window, to be based further on window
The current signature at family carries out the regulation of adaptive equalization formula to brightness in ward, efficiently solves 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.