Lack in the prior art and wash environment testing mechanism in the related ear during nose, to solve the above-mentioned problems, this hair
It is bright to provide a kind of ear-drum state real-time analysis method, targetedly image recognition mode can be used, ear is carried out to image
Film Objective extraction and shape analysis, to obtain and export current ear-drum state.
Specifically, the present invention at least has important inventive point at following two:
(1) the image filtering tupe being adapted with image resolution ratio is selected to ensure the image filtering of various resolution ratio
Effect and in high-resolution image filtering tupe, uses piecemeal tupe to accelerate filtering operation speed;
(2) joint-action mechanism of nasal cleaner, pressure-measuring device and current ear-drum condition detecting device is established, is the use of ear-drum
Provide safety curtain.
According to an aspect of the present invention, a kind of ear-drum state real-time analysis method is provided, the method includes:
It using pressure-measuring device, is arranged on inside patient's ear, for measuring and exporting the reality inside patient's ear in real time
When air pressure;
Using nasal cleaner, for the mode by salt water injection patient's nasal cavity to be taken to be cleaned to patient's nasal cavity, and opening
Startup injection signal is sent out during dynamic injection brine, stopping injection signal being sent out when stopping and spraying brine;
It using image capture device, is arranged on inside patient's ear, for carrying out realtime graphic number to patient's ear inside
According to acquisition, to obtain and export patient's Er Nei images;
It using SD storage devices, is connect with mode selection device, for prestoring default resolution threshold;
Use pattern selects equipment, is connect with described image capture device, for receiving patient's Er Nei images, described in acquisition
The current resolution ratio of patient's Er Nei images in described image resolution ratio as image resolution ratio, to be less than or equal to default resolution ratio threshold
During value, the conventional filter apparatus is selected to carry out corresponding image filtering processing to the patient Er Nei images to obtain target filter
Wave image is additionally operable to, when described image resolution ratio is more than the default resolution threshold, select the block-wise filter equipment pair
The patient Er Nei images carry out corresponding image filtering processing to obtain target filtering image;
It using block-wise filter equipment, is connect with the mode selection device, including first processing units and second processing list
Member, the first processing units are for receiving the patient Er Nei images, based on described image resolution ratio apart from described default point
The patient Er Nei image averagings are divided into each piecemeal of corresponding block size by the distance of resolution threshold value, to each piecemeal,
Pixel value variance based on the piecemeal selects the homomorphic filtering of corresponding varying strength to handle to obtain filtering piecemeal, by acquisition
To obtain splicing filtering image, the second processing unit is connect with the first processing units, is used for each filtering piecemeal splicing
In receiving the splicing filtering image, the resolution ratio based on the splicing filtering image is apart from the remote of the default resolution threshold
The splicing filtering image is closely averagely divided into each piecemeal of relevant block size, to each piecemeal, based on the piecemeal
Pixel value variance selects the recursive filtering of corresponding varying strength to handle to obtain filtering piecemeal, by each filtering piecemeal of acquisition
Splice to obtain target filtering image;
It using conventional filter apparatus, is connect with the mode selection device, for receiving the patient Er Nei images, to institute
Patient's Er Nei image overall executions homomorphic filtering processing is stated to obtain homomorphic filtering image, and to homomorphic filtering image entirety
Recursive filtering processing is performed to obtain target filtering image;
Using target analysis equipment, it is connect respectively with the block-wise filter equipment and the conventional filter apparatus, for connecing
Target filtering image is received, and ear-drum Objective extraction and shape analysis are carried out to target filtering image, works as vestibule to obtain and export
Membrane stage;
Wherein, the pressure-measuring device is connect with the nasal cleaner, for when receiving the startup injection signal, opening
The dynamic real-time measurement to the real-time air pressure inside patient's ear when receiving the stopping injection signal, is closed to patient's ear
The real-time measurement of the real-time air pressure of piece inside;
Wherein, the pressure-measuring device is also connect with described image capture device, in the real-time air pressure measured in real time
When transfiniting, start described image capture device, otherwise, close described image capture device.
Preferably, in the first processing units, described image resolution ratio is nearer apart from the default resolution threshold,
The relevant block that the patient Er Nei image averagings are divided into is bigger.
Preferably, in the second processing unit, the resolution ratio of the splicing filtering image is apart from the default resolution
Rate threshold value is nearer, and the relevant block that the splicing filtering image is averagely divided into is bigger.
Preferably, in the first processing units, to each piecemeal, the pixel value variance of the piecemeal is bigger, selection
Homomorphic filtering processing intensity it is smaller.
Preferably, in the second processing unit, to each piecemeal, the pixel value variance of the piecemeal is bigger, selection
Recursive filtering processing intensity it is smaller.
Specific embodiment
The embodiment of the ear-drum state real-time analysis method of the present invention is described in detail below with reference to accompanying drawings.
Due to lacking corresponding ear-drum testing mechanism, ear-drum is caused easily to be damaged, in order to overcome above-mentioned deficiency, the present invention takes
It has built a kind of ear-drum state real-time analyzer and method, specific embodiment is as follows.
Fig. 1 is the structure of the target analysis equipment of the ear-drum state real-time analyzer according to embodiment of the present invention
Block diagram.
Block diagrams of the Fig. 2 for the ear-drum state real-time analyzer according to embodiment of the present invention, the system
System includes:
Pressure-measuring device is arranged on inside patient's ear, for measuring and exporting the real-time gas inside patient's ear in real time
Pressure;
Nasal cleaner for the mode by salt water injection patient's nasal cavity to be taken to clean patient's nasal cavity, and is sprayed starting
Startup injection signal is sent out when penetrating brine, stopping injection signal being sent out when stopping and spraying brine;
Image capture device is arranged on inside patient's ear, is adopted for carrying out realtime image data to patient's ear inside
Collection, to obtain and export patient's Er Nei images;
SD storage devices, connect with mode selection device, for prestoring default resolution threshold;
Mode selection device is connect with described image capture device, for receiving patient's Er Nei images, obtains the patient
The current resolution ratio of image in described image resolution ratio as image resolution ratio, to be less than or equal to default resolution threshold in ear
When, the conventional filter apparatus is selected to carry out corresponding image filtering processing to the patient Er Nei images to obtain target filtering
Image is additionally operable to, when described image resolution ratio is more than the default resolution threshold, select the block-wise filter equipment to institute
It states patient Er Nei images and carries out corresponding image filtering processing to obtain target filtering image;
Block-wise filter equipment is connect with the mode selection device, including first processing units and second processing unit, institute
First processing units are stated for receiving the patient Er Nei images, based on described image resolution ratio apart from the default resolution ratio threshold
The patient Er Nei image averagings are divided into each piecemeal of corresponding block size by the distance of value, to each piecemeal, based on this
The pixel value variance of piecemeal selects the homomorphic filtering of corresponding varying strength to handle to obtain filtering piecemeal, by each filter of acquisition
Wavelength-division block splices to obtain splicing filtering image, and the second processing unit is connect with the first processing units, for receiving
The splicing filtering image, the resolution ratio based on the splicing filtering image is apart from the far and near by institute of the default resolution threshold
Each piecemeal that splicing filtering image is averagely divided into relevant block size is stated, to each piecemeal, the pixel value based on the piecemeal
Variance selects the recursive filtering of corresponding varying strength to handle to obtain filtering piecemeal, by each filtering piecemeal of acquisition splice with
Obtain target filtering image;
Conventional filter apparatus is connect with the mode selection device, for receiving the patient Er Nei images, to the disease
The homomorphic filtering of image overall execution handles to obtain homomorphic filtering image, and to the homomorphic filtering image overall execution in human ear
Recursive filtering handles to obtain target filtering image;
Target analysis equipment is connect respectively with the block-wise filter equipment and the conventional filter apparatus, for receiving mesh
Filtering image is marked, and ear-drum Objective extraction and shape analysis are carried out to target filtering image, to obtain and export current ear-drum shape
State;
Wherein, the pressure-measuring device is connect with the nasal cleaner, for when receiving the startup injection signal, opening
The dynamic real-time measurement to the real-time air pressure inside patient's ear when receiving the stopping injection signal, is closed to patient's ear
The real-time measurement of the real-time air pressure of piece inside;
Wherein, the pressure-measuring device is also connect with described image capture device, in the real-time air pressure measured in real time
When transfiniting, start described image capture device, otherwise, close described image capture device.
Then, continue that the concrete structure of the ear-drum state real-time analyzer of the present invention is further detailed.
In the ear-drum state real-time analyzer:
In the first processing units, described image resolution ratio is nearer apart from the default resolution threshold, by described in
The relevant block that patient's Er Nei image averagings are divided into is bigger.
In the ear-drum state real-time analyzer:
In the second processing unit, the resolution ratio of the splicing filtering image is got over apart from the default resolution threshold
Closely, the relevant block splicing filtering image being averagely divided into is bigger.
In the ear-drum state real-time analyzer:
In the first processing units, to each piecemeal, the pixel value variance of the piecemeal is bigger, the homomorphism filter of selection
The intensity of wave processing is smaller.
And in the ear-drum state real-time analyzer:
In the second processing unit, to each piecemeal, the pixel value variance of the piecemeal is bigger, the recurrence filter of selection
The intensity of wave processing is smaller.
Step flow charts of the Fig. 3 for the ear-drum state real-time analysis method according to embodiment of the present invention, the side
Method includes:
It using pressure-measuring device, is arranged on inside patient's ear, for measuring and exporting the reality inside patient's ear in real time
When air pressure;
Using nasal cleaner, for the mode by salt water injection patient's nasal cavity to be taken to be cleaned to patient's nasal cavity, and opening
Startup injection signal is sent out during dynamic injection brine, stopping injection signal being sent out when stopping and spraying brine;
It using image capture device, is arranged on inside patient's ear, for carrying out realtime graphic number to patient's ear inside
According to acquisition, to obtain and export patient's Er Nei images;
It using SD storage devices, is connect with mode selection device, for prestoring default resolution threshold;
Use pattern selects equipment, is connect with described image capture device, for receiving patient's Er Nei images, described in acquisition
The current resolution ratio of patient's Er Nei images in described image resolution ratio as image resolution ratio, to be less than or equal to default resolution ratio threshold
During value, the conventional filter apparatus is selected to carry out corresponding image filtering processing to the patient Er Nei images to obtain target filter
Wave image is additionally operable to, when described image resolution ratio is more than the default resolution threshold, select the block-wise filter equipment pair
The patient Er Nei images carry out corresponding image filtering processing to obtain target filtering image;
It using block-wise filter equipment, is connect with the mode selection device, including first processing units and second processing list
Member, the first processing units are for receiving the patient Er Nei images, based on described image resolution ratio apart from described default point
The patient Er Nei image averagings are divided into each piecemeal of corresponding block size by the distance of resolution threshold value, to each piecemeal,
Pixel value variance based on the piecemeal selects the homomorphic filtering of corresponding varying strength to handle to obtain filtering piecemeal, by acquisition
To obtain splicing filtering image, the second processing unit is connect with the first processing units, is used for each filtering piecemeal splicing
In receiving the splicing filtering image, the resolution ratio based on the splicing filtering image is apart from the remote of the default resolution threshold
The splicing filtering image is closely averagely divided into each piecemeal of relevant block size, to each piecemeal, based on the piecemeal
Pixel value variance selects the recursive filtering of corresponding varying strength to handle to obtain filtering piecemeal, by each filtering piecemeal of acquisition
Splice to obtain target filtering image;
It using conventional filter apparatus, is connect with the mode selection device, for receiving the patient Er Nei images, to institute
Patient's Er Nei image overall executions homomorphic filtering processing is stated to obtain homomorphic filtering image, and to homomorphic filtering image entirety
Recursive filtering processing is performed to obtain target filtering image;
Using target analysis equipment, it is connect respectively with the block-wise filter equipment and the conventional filter apparatus, for connecing
Target filtering image is received, and ear-drum Objective extraction and shape analysis are carried out to target filtering image, works as vestibule to obtain and export
Membrane stage;
Wherein, the pressure-measuring device is connect with the nasal cleaner, for when receiving the startup injection signal, opening
The dynamic real-time measurement to the real-time air pressure inside patient's ear when receiving the stopping injection signal, is closed to patient's ear
The real-time measurement of the real-time air pressure of piece inside;
Wherein, the pressure-measuring device is also connect with described image capture device, in the real-time air pressure measured in real time
When transfiniting, start described image capture device, otherwise, close described image capture device.
Then, continue that the specific steps of the ear-drum state real-time analysis method of the present invention are further detailed.
In the ear-drum state real-time analysis method:
In the first processing units, described image resolution ratio is nearer apart from the default resolution threshold, by described in
The relevant block that patient's Er Nei image averagings are divided into is bigger.
In the ear-drum state real-time analysis method:
In the second processing unit, the resolution ratio of the splicing filtering image is got over apart from the default resolution threshold
Closely, the relevant block splicing filtering image being averagely divided into is bigger.
In the ear-drum state real-time analysis method:
In the first processing units, to each piecemeal, the pixel value variance of the piecemeal is bigger, the homomorphism filter of selection
The intensity of wave processing is smaller.
And in the ear-drum state real-time analysis method:
In the second processing unit, to each piecemeal, the pixel value variance of the piecemeal is bigger, the recurrence filter of selection
The intensity of wave processing is smaller.
In addition, not perfect due to imaging system, transmission medium and recording equipment etc., digital picture is in its formation, transmission
It is often polluted in recording process by a variety of noises.In addition, certain links in image procossing work as the picture object of input simultaneously
Not as good as can also introduce noise in result images during anticipation.These noises often show as one and cause stronger visual effect on the image
Isolated pixel point or block of pixels.
Usually, noise signal it is uncorrelated to the object to be studied it occur with useless message form, upset image
Observable information.For data image signal, psophometer is either large or small extreme value, these extreme values act on image by plus-minus
On the true gray value of pixel, bright, dim spot interference is caused to image, greatly reduces picture quality, image restoration is influenced, divides
Cut, feature extraction, image identification etc. subsequent work progress.It constructs a kind of effective wave filter for inhibiting noise and must take into consideration two
A basic problem:The noise in target and background can effectively be removed;Meanwhile the shape, big of image object can be protected well
Small and specific geometry and topological features.Nonlinear filter is based on a kind of Nonlinear Mapping pass to input signal
System, often can approx be mapped as a certain specific noise zero and stick signal wants feature, thus it is to a certain extent
The shortcoming of linear filter can be overcome.
Ear-drum state real-time analyzer using the present invention and method, for shortage ear-drum testing mechanism in the prior art
The technical issues of, by target analysis equipment, for the image that accepts filter, and ear-drum Objective extraction is carried out to target filtering image
And shape analysis, to obtain and export current ear-drum state, pressure-measuring device is in addition also used, is connect with the nasal cleaner,
For when receiving startup injection signal, starting the real-time measurement to the real-time air pressure inside patient's ear, stopping receiving
Only during injection signal, the real-time measurement to the real-time air pressure inside patient's ear is closed.
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 those skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications are all 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, every content without departing from technical solution of the present invention, technical spirit pair according to the present 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.