It is November 12, entitled " ear-drum in 2017 that the present invention, which is application No. is the 201711110448.9, applying date,
The divisional application of the patent of state real-time analysis method ".
Lack environment testing mechanism in the related ear during washing nose, to solve the above-mentioned problems, this hair in the prior art
It is bright to provide a kind of ear-drum state real-time analysis method, targeted 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) select the image filtering tupe being adapted with image resolution ratio to guarantee the image filtering of various resolution ratio
Effect, and in high-resolution image filtering tupe, piecemeal tupe is used 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, which comprises
Using pressure-measuring device, it is arranged inside patient's ear, for real-time measurement and exports the reality inside patient's ear
When air pressure;
Using nasal cleaner, for taking the mode by salt water injection patient's nasal cavity to clean patient's nasal cavity, and opening
Starting injection signal is issued when dynamic injection salt water, is issued when stopping spraying salt water and is stopped injection signal;
Using image capture device, it is arranged 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 image;
Equipment is stored using SD, is connect with mode selection device, for default resolution threshold to be stored in advance;
Use pattern selects equipment, connect with described image capture device, for receiving patient's Er Nei image, described in acquisition
The current resolution ratio of patient's Er Nei image is to be less than or equal to default resolution ratio threshold in described image resolution ratio as image resolution ratio
When value, the conventional filter apparatus is selected to carry out corresponding image filtering processing to the patient Er Nei image to obtain target filter
Wave image is also used to select the block-wise filter equipment pair when described image resolution ratio is greater than the default resolution threshold
The patient Er Nei image carries 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 image, based on described image resolution ratio apart from described default point
The patient Er Nei image averaging is 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, described 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
Splicing is to obtain target filtering image;
It using conventional filter apparatus, is connect with the mode selection device, for receiving the patient Er Nei image, to institute
Patient's Er Nei image overall execution homomorphic filtering processing is stated to obtain homomorphic filtering image, and whole to the homomorphic filtering image
Recursive filtering processing is executed 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 opening when receiving the starting injection signal
The dynamic real-time measurement to the real-time air pressure inside patient's ear is closed when receiving the stopping injection signal 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, for the real-time air pressure in real-time measurement
When transfiniting, start described image capture device, otherwise, closes described image capture device.
Preferably, in the first processing units, described image resolution ratio is closer apart from the default resolution threshold,
The relevant block that the patient Er Nei image averaging is divided into is bigger.
Preferably, in described the second processing unit, the resolution ratio of the splicing filtering image is apart from the default resolution
Rate threshold value is closer, 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 described 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 ear-drum state real-time analysis method of the invention is described in detail below with reference to accompanying drawings.
Due to lacking corresponding ear-drum testing mechanism, ear-drum is caused to be easy impaired, in order to overcome above-mentioned deficiency, the present invention is taken
It has built a kind of ear-drum state real-time analyzer and method, specific embodiment is as follows.
Fig. 1 is the structure according to the target analysis equipment of the ear-drum state real-time analyzer shown in embodiment of the present invention
Block diagram.
Fig. 2 is the structural block diagram according to the ear-drum state real-time analyzer shown in embodiment of the present invention, the system
System includes:
Pressure-measuring device is arranged inside patient's ear, for real-time measurement and exports the real-time gas inside patient's ear
Pressure;
Nasal cleaner is sprayed for taking the mode by salt water injection patient's nasal cavity to clean patient's nasal cavity, and in starting
Starting injection signal is issued when penetrating salt water, is issued when stopping spraying salt water and is stopped injection signal;
Image capture device is arranged inside patient's ear, adopts for carrying out realtime image data to patient's ear inside
Collection, to obtain and export patient's Er Nei image;
SD stores equipment, connect with mode selection device, for default resolution threshold to be stored in advance;
Mode selection device is connect with described image capture device, for receiving patient's Er Nei image, obtains the patient
The current resolution ratio of image is to be less than or equal to default resolution threshold in described image resolution ratio as image resolution ratio in ear
When, select the conventional filter apparatus to carry out corresponding image filtering processing to the patient Er Nei image to obtain target filtering
Image is also used to select the block-wise filter equipment to institute when described image resolution ratio is greater than the default resolution threshold
It states patient's Er Nei image 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 the second processing unit, institute
First processing units are stated for receiving the patient Er Nei image, based on described image resolution ratio apart from the default resolution ratio threshold
The patient Er Nei image averaging is divided into each piecemeal of corresponding block size by the distance of value, and to each piecemeal, being based on should
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 described 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 the splicing of each filtering piecemeal of acquisition with
Obtain target filtering image;
Conventional filter apparatus is connect with the mode selection device, for receiving the patient Er Nei image, to the disease
The homomorphic filtering of image overall execution is handled to obtain homomorphic filtering image in human ear, and to the homomorphic filtering image overall execution
Recursive filtering processing is to obtain target filtering image;
Target analysis equipment is connect, for receiving mesh respectively with the block-wise filter equipment and the conventional filter apparatus
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 opening when receiving the starting injection signal
The dynamic real-time measurement to the real-time air pressure inside patient's ear is closed when receiving the stopping injection signal 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, for the real-time air pressure in real-time measurement
When transfiniting, start described image capture device, otherwise, closes described image capture device.
Then, continue that the specific structure of ear-drum state real-time analyzer of the invention is further detailed.
In the ear-drum state real-time analyzer:
In the first processing units, described image resolution ratio is closer apart from the default resolution threshold, will be described
The relevant block that patient's Er Nei image averaging is divided into is bigger.
In the ear-drum state real-time analyzer:
In described 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 described 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.
Fig. 3 is the step flow chart according to the ear-drum state real-time analysis method shown in embodiment of the present invention, the side
Method includes:
Using pressure-measuring device, it is arranged inside patient's ear, for real-time measurement and exports the reality inside patient's ear
When air pressure;
Using nasal cleaner, for taking the mode by salt water injection patient's nasal cavity to clean patient's nasal cavity, and opening
Starting injection signal is issued when dynamic injection salt water, is issued when stopping spraying salt water and is stopped injection signal;
Using image capture device, it is arranged 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 image;
Equipment is stored using SD, is connect with mode selection device, for default resolution threshold to be stored in advance;
Use pattern selects equipment, connect with described image capture device, for receiving patient's Er Nei image, described in acquisition
The current resolution ratio of patient's Er Nei image is to be less than or equal to default resolution ratio threshold in described image resolution ratio as image resolution ratio
When value, the conventional filter apparatus is selected to carry out corresponding image filtering processing to the patient Er Nei image to obtain target filter
Wave image is also used to select the block-wise filter equipment pair when described image resolution ratio is greater than the default resolution threshold
The patient Er Nei image carries 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 image, based on described image resolution ratio apart from described default point
The patient Er Nei image averaging is 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, described 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
Splicing is to obtain target filtering image;
It using conventional filter apparatus, is connect with the mode selection device, for receiving the patient Er Nei image, to institute
Patient's Er Nei image overall execution homomorphic filtering processing is stated to obtain homomorphic filtering image, and whole to the homomorphic filtering image
Recursive filtering processing is executed 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 opening when receiving the starting injection signal
The dynamic real-time measurement to the real-time air pressure inside patient's ear is closed when receiving the stopping injection signal 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, for the real-time air pressure in real-time measurement
When transfiniting, start described image capture device, otherwise, closes described image capture device.
Then, continue that the specific steps of ear-drum state real-time analysis method of the invention are further detailed.
In the ear-drum state real-time analysis method:
In the first processing units, described image resolution ratio is closer apart from the default resolution threshold, will be described
The relevant block that patient's Er Nei image averaging is divided into is bigger.
In the ear-drum state real-time analysis method:
In described 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 described 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 formed at it, transmission
The often pollution by a variety of noises in recording process.In addition, certain links in image procossing work as the picture object of input simultaneously
Noise can be also introduced in result images when not as good as anticipation.These noises often show as one on the image and cause stronger visual effect
Isolated pixel point or block of pixels.
Generally, 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
It on the true gray value of pixel, causes bright, dim spot to interfere image, greatly reduces picture quality, influence image restoration, divide
Cut, feature extraction, the subsequent work such as image recognition progress.The filter for constructing a kind of effectively inhibition noise must be taken into consideration two
A basic problem: the noise that can be effectively removed in target and background;Meanwhile the shape, big of image object can be protected well
Small and specific geometry and topological features.Nonlinear filter is closed based on a kind of Nonlinear Mapping to input signal
System, often can approximatively 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.
Using ear-drum state real-time analyzer of the invention and method, for shortage ear-drum testing mechanism in the prior art
The technical issues of, by target analysis equipment, ear-drum Objective extraction is carried out for the image that accepts filter, and to target filtering image
And in addition shape analysis also uses pressure-measuring device, connect with the nasal cleaner to obtain and export current ear-drum state,
For starting the real-time measurement to the real-time air pressure inside patient's ear, stopping receiving when receiving starting injection signal
Only when 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 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.