Disclosure of Invention
In order to solve the technical problem that the control mode of the hair washing equipment on the head washing flow rate of a user in the prior art is too rough, the invention provides push-pull type hair washing equipment.
Therefore, the invention needs to have the following two key points: (1) determining a current rinse flow rate of the hair rinse device based on a current user's hair area; (2) in the specific hair recognition, on the basis of executing the adaptive noise reduction processing based on the noise amplitude on the image to be processed, whether the histogram equalization processing meeting the image data requirement after the adaptive noise reduction processing is started or not is determined according to the gray scale equalization degree judgment result of the image after the adaptive noise reduction processing.
According to an aspect of the present invention, there is provided a push-pull type hair washing apparatus, comprising:
the push-pull type hair washing equipment comprises a hair washing basin and a hair washing bed, wherein the hair washing basin is positioned on the left side of the hair washing bed; in the push-pull type hair washing equipment, the hair washing basin is 75 cm long, 60 cm wide and 50 cm high; in the push-pull type hair washing equipment, the hair washing bed is 125 cm long, 80 cm wide and 50 cm high; a hair rinsing device located on the shampoo basin for receiving a reference rinsing flow rate and adjusting its current rinsing operation on the user's hair based on the reference rinsing flow rate so that the current rinsing flow rate on the user's hair is equal to the reference rinsing flow rate; the electronic eye video recording equipment is arranged above the hair washing basin and used for carrying out video recording operation facing the hair washing basin so as to obtain a current video frame and output the current video frame; the adaptive noise reduction equipment is connected with the electronic eye video recording equipment and used for receiving the current video recording frame, executing adaptive noise reduction processing based on noise amplitude on the current video recording frame to obtain a corresponding field noise reduction image and outputting the field noise reduction image, wherein the executing adaptive noise reduction processing based on the noise amplitude on the current video recording frame comprises the following steps: the larger the noise amplitude of the current video frame is, the more times of the adaptive noise reduction processing is performed on the current video frame; the balance degree extraction device is connected with the self-adaptive noise reduction device and used for receiving the on-site noise reduction image, executing a gray balance degree extraction operation on the on-site noise reduction image to obtain a corresponding on-site gray balance degree and outputting the on-site gray balance degree, wherein the executing of the gray balance degree extraction operation on the on-site noise reduction image to obtain the corresponding on-site gray balance degree comprises the following steps: performing gray balance extraction operation on the on-site noise-reduced image based on each gray value of each pixel point of the on-site noise-reduced image to obtain corresponding on-site gray balance; the data judgment device is connected with the gray scale balance degree extraction device and used for receiving the field gray scale balance degree, sending a processing stopping command when the field gray scale balance degree exceeds a preset gray scale balance degree threshold value and sending a continuous processing command when the field gray scale balance degree does not exceed the preset gray scale balance degree threshold value; the histogram equalization equipment is respectively connected with the data judgment equipment and the equalization degree extraction equipment, and is used for executing image histogram equalization operation on the field noise reduction image to obtain a histogram equalization image and outputting the histogram equalization image when the continuous processing command is received, and is also used for directly taking the field noise reduction image as the histogram equalization image and outputting the histogram equalization image when the stop processing command is received; and the flow rate distinguishing device is respectively connected with the hair washing device and the histogram equalization device and is used for determining the area percentage of the hair area in the histogram equalization image occupying the histogram equalization image based on the hair imaging characteristics and determining the corresponding reference flow rate based on the area percentage.
More specifically, in the push-pull type shampoo machine, further comprising:
and the wireless routing equipment is connected with the histogram equalization equipment and is used for receiving the histogram equalization image, performing MPEG-4 image compression coding on the histogram equalization image, and wirelessly distributing the compressed and coded histogram equalization image.
More specifically, in the push-pull type shampoo machine, further comprising:
a parameter processing device, a change detecting device, a sharpening performing device, an area analyzing device, and a fragment processing device, which are located between the histogram equalization device and the flow velocity discrimination device.
More specifically, in the push-pull type shampoo appliance: the parameter processing device is connected with the histogram equalization device and used for receiving the histogram equalization image and executing contrast enhancement processing with preset intensity on the histogram equalization image so as to obtain and output a corresponding parameter processing image.
More specifically, in the push-pull type shampoo appliance: the change detection device is connected with the parameter processing device and used for receiving the parameter processing image, obtaining each pixel value of each pixel point in the parameter processing image, dividing the maximum value of each pixel value by the minimum value of each pixel value to obtain a pixel value proportion, and sending a sharpening-free instruction when the pixel value proportion exceeds the limit, or sending a sharpening request instruction.
More specifically, in the push-pull type shampoo appliance: and the sharpening execution device is connected with the change detection device and is used for starting a real-time sharpening action on the parameter processing image when the sharpening request instruction is received so as to obtain a corresponding real-time sharpened image.
More specifically, in the push-pull type shampoo appliance: the area analysis device is connected with the sharpening execution device and used for identifying the outlines of a plurality of objects from the real-time sharpened image, calculating the areas of the plurality of objects in the real-time sharpened image respectively based on the outlines of the plurality of objects, performing mean calculation on the areas of the plurality of objects in the real-time sharpened image respectively to obtain a corresponding area mean value, and determining the number of fragments obtained after segmentation of the fragments with the same size is performed on the real-time sharpened image based on the area mean value.
More specifically, in the push-pull type shampoo appliance: the fragment processing device is respectively connected with the flow velocity identification device and the area analysis device, and is used for ascertaining the total area of each sub-fragment which is the object shape in each fragment, taking the fragment with the maximum total area as a key fragment, and sending the key fragment to the flow velocity identification device in place of the histogram equalization image.
More specifically, in the push-pull type shampoo appliance: the area analysis equipment and the fragment processing equipment are respectively realized by adopting different PAL devices, and the maximum computation amount of the different PAL devices is different.
More specifically, in the push-pull type shampoo appliance: in the area analysis device, determining the number of fragments obtained after performing fragment segmentation of the real-time sharpened image with the same size based on the area mean value includes: the larger the area average value is, the fewer fragments are obtained after the real-time sharpened image is subjected to fragment segmentation with the same size; wherein the change detection device comprises a pixel value extraction sub-device, a maximum pixel value detection sub-device, a minimum pixel value detection sub-device, a proportion calculation sub-device and an instruction distribution sub-device; and when receiving the non-sharpening instruction, the sharpening execution device directly outputs the parameter processing image as a real-time sharpened image.
Detailed Description
An embodiment of the push-pull type shampoo machine of the present invention will be described in detail below.
Push-pull type shampoo appliances include: the device comprises a frame, universal wheels, a sewage tank, a separation net, a water baffle and a head support; the universal wheels are arranged at the bottom of the frame and used for moving the bedside movable hair washing vehicle; the sewage tank is arranged between the bottom of the frame and the separation net and is used for containing hair washing sewage; the separation net is arranged at the top of the frame and used for supporting hair and leaking hair washing sewage; the water baffles are arranged around the separation net and used for preventing the hair washing sewage from splashing; the head support is arranged in the inner part of one side of the water baffle and used for supporting the head. The bedside movable hair washing vehicle is simple in structure and can be moved everywhere, so that a patient can be washed at any time without getting out of bed.
In order to overcome the defects, the push-pull type hair washing equipment is built, and the corresponding technical problem can be effectively solved.
A push-pull hair washing apparatus according to an embodiment of the present invention is shown comprising:
the push-pull type hair washing equipment comprises a hair washing basin and a hair washing bed, wherein the hair washing basin is positioned on the left side of the hair washing bed;
in the push-pull type hair washing equipment, the hair washing basin is 75 cm long, 60 cm wide and 50 cm high;
in the push-pull type hair washing equipment, the hair washing bed is 125 cm long, 80 cm wide and 50 cm high;
a hair rinsing device located on the shampoo basin for receiving a reference rinsing flow rate and adjusting its current rinsing operation on the user's hair based on the reference rinsing flow rate so that the current rinsing flow rate on the user's hair is equal to the reference rinsing flow rate;
the electronic eye video recording equipment is arranged above the hair washing basin and used for carrying out video recording operation facing the hair washing basin so as to obtain a current video frame and output the current video frame;
the adaptive noise reduction equipment is connected with the electronic eye video recording equipment and used for receiving the current video recording frame, executing adaptive noise reduction processing based on noise amplitude on the current video recording frame to obtain a corresponding field noise reduction image and outputting the field noise reduction image, wherein the executing adaptive noise reduction processing based on the noise amplitude on the current video recording frame comprises the following steps: the larger the noise amplitude of the current video frame is, the more times of the adaptive noise reduction processing is performed on the current video frame;
the balance degree extraction device is connected with the self-adaptive noise reduction device and used for receiving the on-site noise reduction image, executing a gray balance degree extraction operation on the on-site noise reduction image to obtain a corresponding on-site gray balance degree and outputting the on-site gray balance degree, wherein the executing of the gray balance degree extraction operation on the on-site noise reduction image to obtain the corresponding on-site gray balance degree comprises the following steps: performing gray balance extraction operation on the on-site noise-reduced image based on each gray value of each pixel point of the on-site noise-reduced image to obtain corresponding on-site gray balance;
the data judgment device is connected with the gray scale balance degree extraction device and used for receiving the field gray scale balance degree, sending a processing stopping command when the field gray scale balance degree exceeds a preset gray scale balance degree threshold value and sending a continuous processing command when the field gray scale balance degree does not exceed the preset gray scale balance degree threshold value;
the histogram equalization equipment is respectively connected with the data judgment equipment and the equalization degree extraction equipment, and is used for executing image histogram equalization operation on the field noise reduction image to obtain a histogram equalization image and outputting the histogram equalization image when the continuous processing command is received, and is also used for directly taking the field noise reduction image as the histogram equalization image and outputting the histogram equalization image when the stop processing command is received;
and the flow rate distinguishing device is respectively connected with the hair washing device and the histogram equalization device and is used for determining the area percentage of the hair area in the histogram equalization image occupying the histogram equalization image based on the hair imaging characteristics and determining the corresponding reference flow rate based on the area percentage.
Next, a further explanation will be made on the specific structure of the push-pull type hair washing apparatus of the present invention.
In the push-pull type shampoo apparatus, further comprising:
and the wireless routing equipment is connected with the histogram equalization equipment and is used for receiving the histogram equalization image, performing MPEG-4 image compression coding on the histogram equalization image, and wirelessly distributing the compressed and coded histogram equalization image.
In the push-pull type shampoo apparatus, further comprising:
a parameter processing device, a change detecting device, a sharpening performing device, an area analyzing device, and a fragment processing device, which are located between the histogram equalization device and the flow velocity discrimination device.
In the push-pull hair washing apparatus: the parameter processing device is connected with the histogram equalization device and used for receiving the histogram equalization image and executing contrast enhancement processing with preset intensity on the histogram equalization image so as to obtain and output a corresponding parameter processing image.
In the push-pull hair washing apparatus: the change detection device is connected with the parameter processing device and used for receiving the parameter processing image, obtaining each pixel value of each pixel point in the parameter processing image, dividing the maximum value of each pixel value by the minimum value of each pixel value to obtain a pixel value proportion, and sending a sharpening-free instruction when the pixel value proportion exceeds the limit, or sending a sharpening request instruction.
In the push-pull hair washing apparatus: and the sharpening execution device is connected with the change detection device and is used for starting a real-time sharpening action on the parameter processing image when the sharpening request instruction is received so as to obtain a corresponding real-time sharpened image.
In the push-pull hair washing apparatus: the area analysis device is connected with the sharpening execution device and used for identifying the outlines of a plurality of objects from the real-time sharpened image, calculating the areas of the plurality of objects in the real-time sharpened image respectively based on the outlines of the plurality of objects, performing mean calculation on the areas of the plurality of objects in the real-time sharpened image respectively to obtain a corresponding area mean value, and determining the number of fragments obtained after segmentation of the fragments with the same size is performed on the real-time sharpened image based on the area mean value.
In the push-pull hair washing apparatus: the fragment processing device is respectively connected with the flow velocity identification device and the area analysis device, and is used for ascertaining the total area of each sub-fragment which is the object shape in each fragment, taking the fragment with the maximum total area as a key fragment, and sending the key fragment to the flow velocity identification device in place of the histogram equalization image.
In the push-pull hair washing apparatus: the area analysis equipment and the fragment processing equipment are respectively realized by adopting different PAL devices, and the maximum computation amount of the different PAL devices is different.
In the push-pull hair washing apparatus: in the area analysis device, determining the number of fragments obtained after performing fragment segmentation of the real-time sharpened image with the same size based on the area mean value includes: the larger the area average value is, the fewer fragments are obtained after the real-time sharpened image is subjected to fragment segmentation with the same size;
wherein the change detection device comprises a pixel value extraction sub-device, a maximum pixel value detection sub-device, a minimum pixel value detection sub-device, a proportion calculation sub-device and an instruction distribution sub-device;
and when receiving the non-sharpening instruction, the sharpening execution device directly outputs the parameter processing image as a real-time sharpened image.
In addition, the wireless routing equipment is an extended product which integrates a single-purity wireless AP and a broadband router, not only has all functions of the single-purity wireless AP, such as supporting a DHCP client, a VPN, a firewall, WEP encryption and the like, but also comprises a Network Address Translation (NAT) function, and can support network connection sharing of local area network users. The Internet connection sharing in the family wireless network can be realized, and the wireless sharing access of ADSL, Cable modem and cell broadband can be realized. The wireless router equipment can be directly connected with all ADSL MODEM or CABLEMMODEM connected with the Ethernet, and can also be accessed again in a local area network mode such as a switch/concentrator, a broadband router and the like when in use. The simple virtual dialing software is arranged in the network, the user name and the password can be stored for dialing and surfing the Internet, the automatic dialing function can be provided for ADSL, CM and the like which access the Internet by dialing, and manual dialing or occupation of a computer as a server are not needed.
By adopting the push-pull type hair washing equipment, the current washing flow rate of the hair washing equipment is determined based on the hair area of the current user aiming at the technical problem that the control mode of the hair washing equipment on the washing flow rate of the head of the user is too coarse in the prior art; the method is particularly characterized in that in specific hair identification, on the basis of executing self-adaptive noise reduction processing based on noise amplitude on an image to be processed, whether histogram equalization processing meeting the requirements of image data after the self-adaptive noise reduction processing is started or not is determined according to a gray scale equalization degree judgment result of the image after the self-adaptive noise reduction processing; 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.