CN105120143B - The method and device of electronic colposcope elimination image spot - Google Patents

The method and device of electronic colposcope elimination image spot Download PDF

Info

Publication number
CN105120143B
CN105120143B CN201510452329.6A CN201510452329A CN105120143B CN 105120143 B CN105120143 B CN 105120143B CN 201510452329 A CN201510452329 A CN 201510452329A CN 105120143 B CN105120143 B CN 105120143B
Authority
CN
China
Prior art keywords
image
led lamp
lamp panel
multiple images
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510452329.6A
Other languages
Chinese (zh)
Other versions
CN105120143A (en
Inventor
罗伟珠
罗辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Edan Instruments Inc
Original Assignee
Edan Instruments Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Edan Instruments Inc filed Critical Edan Instruments Inc
Priority to CN201510452329.6A priority Critical patent/CN105120143B/en
Publication of CN105120143A publication Critical patent/CN105120143A/en
Application granted granted Critical
Publication of CN105120143B publication Critical patent/CN105120143B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention is suitable for electronic colposcope technical field more particularly to electronic colposcope eliminates the method and device of image spot.This method comprises: when receiving image acquisition instruction, it controls LED lamp plate to rotate to preset direction, obtains multiple images during LED lamp panel rotation, and synthesize to multiple images, composograph is obtained, to eliminate spot area non-shared in multiple images;Export composograph.The present invention changes the irradiating angle of LED lamp panel by the rotation of control LED lamp panel, and then change the position of hot spot, thus acquisition hot spot carries out image synthesis in the image of different location, obtain no hot spot or the seldom composograph of hot spot, to under the premise of the clarity of patient tissue details, substantially increase the effect that electronic colposcope eliminates image spot in the overall brightness and image for guaranteeing image.

Description

The method and device of electronic colposcope elimination image spot
Technical field
The invention belongs to methods and dress that electronic colposcope technical field more particularly to electronic colposcope eliminate image spot It sets.
Background technique
When the light source of electronic colposcope is radiated on patient tissue, if reflecting the light mistake into imaging sensor By force, then hot spot can be formed on the image of acquisition.Especially in moist, to have liquid irregular tissue, hot spot is especially tight Weight.Spot area is exactly reflective serious region, and the spot area on the image of electronic colposcope acquisition will affect doctor's observation The corresponding patient tissue details of spot area.
There are mainly two types of the schemes of the hot spot on the image for eliminating electronic colposcope acquisition in the prior art:
The first scheme uses polarization theory, places one piece of polarizing film respectively on light source and imaging sensor, and make two The polarization direction of block polarizing film is vertical, would not have hot spot on the image of electronic colposcope acquisition in this way.However, first In kind scheme, reflected light is only left the light in some direction after polarizing film, and the light in remaining direction is filtered, because This, will lead to the loss in detail of the patient tissue in the image of acquisition using the program, and the image that will lead to acquisition loses Three-dimensional sense.
Second scheme by complicated operation, calculate hot spot of certain mainly by which or plurality of LEDs (Light Emitting Diode, light emitting diode) causes, then controls the light on and off of this or plurality of LEDs to weaken at this Hot spot.Using second scheme, the facula position in image reduces the intensity of hot spot there is no changing.However, even if will The intensity of hot spot reduces to most weak, in this case it is still possible to influence the patient tissue details under doctor's observation hot spot.In addition, in second of side After closing plurality of LEDs in case, the reduction of overall brightness can be caused, to influence doctor to the patient tissue of other non-spot areas The observation of details.
To sum up, the effect of existing electronic colposcope elimination image spot is poor.
Summary of the invention
In consideration of it, the embodiment of the invention provides the method and devices that a kind of electronic colposcope eliminates image spot, with solution The poor problem of the effect that certainly existing electronic colposcope eliminates image spot.
In a first aspect, the embodiment of the invention provides a kind of methods that electronic colposcope eliminates image spot, comprising:
When receiving image acquisition instruction, control LED lamp plate is rotated to preset direction, in the LED Lamp plate obtains multiple images during rotating, and synthesizes to described multiple images, obtains composograph, described in eliminating Non-shared spot area in multiple images, non-shared spot area refers in described multiple images in described multiple images The spot area that at least one image does not include;
Export the composograph.
Preferably, the control LED lamp plate is rotated to preset direction, in the mistake of LED lamp panel rotation Multiple images are obtained in journey includes:
It controls the LED lamp panel and rotates n times to preset direction, and control the LED lamp panel and rotate predetermined angle every time, In, N is the integer greater than 1;
Image is obtained respectively after the LED lamp panel rotates the predetermined angle every time, to obtain described multiple images.
Preferably, the control LED lamp plate is rotated to preset direction, in the mistake of LED lamp panel rotation Multiple images are obtained in journey, and described multiple images are synthesized, and obtaining composograph includes:
It controls the LED lamp panel to rotate to preset direction, controls the LED lamp panel and rotate predetermined angle every time, and in institute It states after LED lamp panel rotates the predetermined angle every time and obtains image respectively;
The image obtained is synthesized, the first image is obtained, and judges the face of spot area in the first image Whether the ratio for the gross area that product accounts for the first image is greater than preset value;
If the ratio that the area of spot area accounts for the gross area of the first image in the first image is less than or equal to The preset value, then using the first image as the composograph;
If the ratio that the area of spot area accounts for the gross area of the first image in the first image is greater than described pre- If value, then continue to control the LED lamp panel rotate and obtaining image to the preset direction, up to recombine described first The ratio that the area of spot area accounts for the gross area of the first image recombined in image is less than or equal to described default Value or the LED lamp panel reach n times to the number that the preset direction rotates, then the first image recombined is made For the composograph, wherein N is the integer greater than 1.
Preferably, described that described multiple images are synthesized, composograph is obtained, it is non-in described multiple images to eliminate Shared spot area includes:
The RGB data of all pixels in described multiple images is converted into yuv data;
The spot area of each image is determined according to the Y value in the yuv data;
Described multiple images are synthesized according to the spot area of each image, obtain composograph, to eliminate Non-shared spot area in described multiple images.
Second aspect, the embodiment of the invention provides the devices that a kind of electronic colposcope eliminates image spot, comprising:
Image obtains and synthesis unit, for when receiving image acquisition instruction, control LED lamp plate to Preset direction rotation obtains multiple images during LED lamp panel rotation, and synthesizes to described multiple images, Composograph is obtained, to eliminate spot area non-shared in described multiple images, non-shared hot spot in described multiple images Region refers to the spot area that at least one image does not include in described multiple images;
Output unit, for exporting the composograph.
Preferably, described image, which is obtained with synthesis unit, includes:
Rotation control subelement rotates n times to preset direction for controlling the LED lamp panel, and controls the LED lamp panel Rotation predetermined angle every time, wherein N is the integer greater than 1;
Image obtains subelement, for obtaining image respectively after the LED lamp panel rotates the predetermined angle every time, with Obtain described multiple images.
Preferably, described image, which is obtained with synthesis unit, includes:
Rotation control and image obtain subelement, rotate for controlling the LED lamp panel to preset direction, described in control LED lamp panel rotates predetermined angle every time, and obtains image respectively after the LED lamp panel rotates the predetermined angle every time;
Synthesis and judgment sub-unit obtain the first image for synthesizing to the image obtained, and judge described the Whether the ratio that the area of spot area accounts for the gross area of the first image in one image is greater than preset value;
First composograph determines subelement, if the area for spot area in the first image accounts for first figure The ratio of the gross area of picture is less than or equal to the preset value, then using the first image as the composograph;
Second composograph determines subelement, if the area for spot area in the first image accounts for first figure The ratio of the gross area of picture is greater than the preset value, then continues to control the LED lamp panel rotating and obtaining to the preset direction Image, until the area of spot area accounts for total face of the first image recombined in the first image recombined Long-pending ratio is less than or equal to the preset value or the LED lamp panel and reaches n times to the number that the preset direction rotates, then Using the first image recombined as the composograph, wherein N is the integer greater than 1.
Preferably, described image, which is obtained with synthesis unit, includes:
Data conversion subelement, for the RGB data of all pixels in described multiple images to be converted to yuv data;
Spot area determines subelement, for determining the spot area of each image according to the Y value in the yuv data;
Image synthesizing subunit, for being synthesized according to the spot area of each image to described multiple images, Composograph is obtained, to eliminate spot area non-shared in described multiple images.
The third aspect, the embodiment of the invention provides the devices that a kind of electronic colposcope eliminates image spot, comprising:
Lens module and image procossing and display module, the lens module include control submodule, camera shooting submodule, LED lamp panel and motor;
The control submodule, for driving the motor when receiving image acquisition instruction, so that the motor control It makes the LED lamp panel to rotate to preset direction, and during LED lamp panel rotation, controls the camera shooting submodule and obtain Take multiple images;
Described image processing and display module obtain composograph, for synthesizing to described multiple images to eliminate Non-shared spot area in described multiple images, non-shared spot area refers to the multiple figure in described multiple images The spot area that at least one image does not include as in;
Described image processing and display module, are also used to export the composograph.
Preferably, the control submodule is specifically used for:
When receiving image acquisition instruction, the motor is driven, so that LED lamp panel described in the motor control is to default Direction rotates n times, and controls the LED lamp panel and rotate predetermined angle every time, wherein N is the integer greater than 1;
After the LED lamp panel rotates the predetermined angle every time, the camera shooting submodule is controlled respectively and obtains image, with Obtain described multiple images.
Existing beneficial effect is the embodiment of the present invention compared with prior art: the embodiment of the present invention passes through control LED light Plate rotates to change the irradiating angle of LED lamp panel, and then changes the position of hot spot, thus acquires hot spot in the image of different location Carry out image synthesis, obtain no hot spot or the seldom composograph of hot spot, thus in the overall brightness for guaranteeing image and In image under the premise of the clarity of patient tissue details, the effect that electronic colposcope eliminates image spot is substantially increased.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart for the method that electronic colposcope provided in an embodiment of the present invention eliminates image spot;
Fig. 2 is the schematic diagram that electronic colposcope provided in an embodiment of the present invention eliminates LED lamp panel in the method for image spot;
Fig. 3 is the right view that electronic colposcope provided in an embodiment of the present invention eliminates LED lamp panel in the method for image spot And the schematic diagram of LED lamp panel rotation;
Fig. 4 is the bottom view that electronic colposcope provided in an embodiment of the present invention eliminates LED lamp panel in the method for image spot And the schematic diagram of LED lamp panel rotation;
Fig. 5 is the initial photograph that electronic colposcope provided in an embodiment of the present invention eliminates LED lamp panel in the method for image spot The schematic diagram at the irradiation center after hitting the heart and LED rotation;
Fig. 6 be another embodiment of the present invention provides electronic colposcope eliminate image spot method implementation flow chart;
Fig. 7 be another embodiment of the present invention provides electronic colposcope eliminate image spot method implementation flow chart;
Fig. 8 is that electronic colposcope provided in an embodiment of the present invention is eliminated described in the method and step S101 of image spot to institute It states multiple images to be synthesized, obtains composograph, to eliminate the specific reality of spot area non-shared in described multiple images Existing flow chart;
Fig. 9 is the structural block diagram for the device that electronic colposcope provided in an embodiment of the present invention eliminates image spot;
Figure 10 be another embodiment of the present invention provides electronic colposcope eliminate image spot device structural block diagram.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 shows the implementation flow chart that electronic colposcope provided in an embodiment of the present invention eliminates the method for image spot, Details are as follows:
In step s101, when receiving image acquisition instruction, control LED lamp plate turns to preset direction It is dynamic, multiple images are obtained during LED lamp panel rotation, and synthesize to multiple images, obtain composograph, to eliminate Non-shared spot area in multiple images, non-shared spot area refers in multiple images at least in described multiple images The spot area for thering is an image not include;
In step s 102, composograph is exported.
Optionally, described when receiving image acquisition instruction, control LED lamp plate turns to preset direction Before dynamic, the method also includes: after electronic colposcope starting, control LED lamp panel shines;Adjust the camera lens of electronic colposcope Height, angle and camera lens at a distance from subject, make subject be located at imaging center and focus.It needs Bright, the subject in the embodiment of the present invention can be cervix, vaginal wall and vulva etc., be not limited thereto.
In embodiments of the present invention, the physics on electronic colposcope can be passed through to receive user by receiving image acquisition instruction The image acquisition instruction that key issues, or receive the image acquisition instruction that user is issued by virtual key.
LED lamp panel in the method for image spot is eliminated Fig. 2 shows electronic colposcope provided in an embodiment of the present invention to show It is intended to.
Fig. 3 shows the right side that electronic colposcope provided in an embodiment of the present invention eliminates LED lamp panel in the method for image spot View and the schematic diagram of LED lamp panel rotation.
Fig. 4 shows electronic colposcope provided in an embodiment of the present invention and eliminates facing upward for LED lamp panel in the method for image spot View and the schematic diagram of LED lamp panel rotation.
Fig. 5 show electronic colposcope provided in an embodiment of the present invention eliminate LED lamp panel in the method for image spot just The schematic diagram at the irradiation center behind beginning irradiation center and LED rotation.
When receiving image acquisition instruction, control motor drives LED lamp panel to rotate to preset direction.Wherein, side is preset To that can be vertical direction, as shown in Figure 3;Preset direction may be horizontal direction, as shown in Figure 4;Preset direction can be with The direction being superimposed for vertical direction with horizontal direction;Preset direction can also be both including vertical direction or including horizontal direction.
Photograph referring to Fig. 5, when preset direction is the direction that vertical direction is superimposed with horizontal direction, after LED lamp panel rotation The heart 52 is hit to move in a circle around the initial illumination center 51 of LED lamp panel.Wherein, the initial illumination center 51 of LED lamp panel refers to Be the light that all LED light sources when LED lamp panel is in initial position, in LED lamp panel issue intersection point;LED lamp panel turns Irradiation center 52 after dynamic refers to the intersection point for the light that all LED light sources after LED lamp panel rotates, in LED lamp panel issue. It should be noted that the irradiation center 52 after rotation surrounds the radius for the circular motion that initial illumination center 51 is completed with LED The variation of the amplitude of fluctuation of lamp plate and change, the amplitude of fluctuation of the amplitude of fluctuation of LED lamp panel is bigger, then rotate after irradiation center The radius of 52 circular motion completed around initial illumination center 51 is bigger.
After obtaining multiple images, multiple images are synthesized to obtain composograph, it is non-total in multiple images to eliminate Some spot areas.Wherein, spot area non-shared in multiple images refers to that at least one image is not in multiple images The spot area is not present in the spot area for including that is, at least one image.The spot area shared in multiple images refers to Be spot area that each image in multiple images includes.
As an embodiment of the present invention, composograph is only stored, without storing the multiple images obtained.
Preferably, the control LED lamp plate is rotated to preset direction, in the mistake of LED lamp panel rotation Multiple images are obtained in journey includes:
It controls the LED lamp panel and rotates n times to preset direction, and control the LED lamp panel and rotate predetermined angle every time, In, N is the integer greater than 1;
Image is obtained respectively after the LED lamp panel rotates the predetermined angle every time, to obtain described multiple images.
Fig. 6 show another embodiment of the present invention provides electronic colposcope eliminate image spot method implementation process Figure, referring to Fig. 6:
In step s 601, when receiving image acquisition instruction, control LED lamp panel rotates n times to preset direction, and controls LED lamp panel processed rotates predetermined angle every time, wherein N is the integer greater than 1;
In step S602, image is obtained respectively after LED lamp panel rotates predetermined angle every time, to obtain multiple images;
In step S603, multiple images are synthesized, obtain composograph, it is non-shared in multiple images to eliminate Spot area, non-shared spot area refers to that at least one image in multiple images does not include in described multiple images Spot area;
In step s 604, composograph is exported.
In embodiments of the present invention, control LED lamp panel rotates n times to preset direction, rotates predetermined angle every time.Preset angle Spend the light in image bigger, then that the facula position in image that LED lamp panel obtains after rotating every time is obtained relative to the last time The offset of spot position is bigger.Theoretically, the angle rotated every time the big, and facula position offset is more obvious, and repeats in multiple images Spot area it is fewer, be more conducive to image synthesis.But excessive predetermined angle may cause LED lamp panel and image stopped to pass The entering light of sensor, it is also possible to make light deviate subject, cause subject to shoot because of insufficient light unintelligible.In this hair In bright embodiment, the predetermined angle that LED lamp panel rotates every time is influenced by the structure of LED lamp panel.The LED welded in LED lamp panel is Plug-in type or patch type influence the integral thickness of LED lamp panel, and the integral thickness of LED lamp panel is thicker, then influence when LED lamp panel rotates A possibility that light-inletting quantity of imaging sensor, is bigger, and therefore, the LED lamp panel thicker for integral thickness, predetermined angle is smaller.This Outside, a possibility that area of hollow out is bigger among LED lamp panel, then LED lamp panel rotation constantly influences the light-inletting quantity of imaging sensor Smaller, therefore, LED lamp panel biggish for the area of intermediary's hollow out, predetermined angle can increase.In practical applications, according to The structure of LED lamp panel is using the maximum angle met the requirements as predetermined angle, to reduce number of revolutions, to reduce acquisition image Time, reduce system power dissipation.
As an embodiment of the present invention, control LED lamp panel, which rotates n times to preset direction, to be control LED lamp panel N times are rotated to preset direction, so that LED lamp panel is completed in the irradiation after one or more circular motion or LED lamp panel rotation The heart completes a circular motion.For example, control LED lamp panel rotates n times to vertical direction, complete LED lamp panel in vertical direction One circular motion, wherein predetermined angle can be 72 degree, and corresponding N can be 5, be not limited thereto.For another example control LED lamp panel rotates n times to horizontal direction, and LED lamp panel is made to complete a circular motion in the horizontal direction.For another example control LED light The direction that plate is superimposed to vertical direction with horizontal direction rotates n times, and a circumference is completed at the irradiation center after rotating LED lamp panel Movement.Wherein, after a circular motion is completed around initial illumination center in the irradiation center after control LED lamp panel rotation, control LED lamp panel processed rotates back into initial position.
Wherein, after the direction rotation n times that control LED lamp panel is superimposed to vertical direction with horizontal direction rotate LED lamp panel Irradiation center complete a circular motion specifically, the circumference where the irradiation center after rotation is divided into N equal portions, thus The position where irradiation center after determining N number of rotation.According to the position at initial illumination center and the irradiation after first rotation The position at center can determine first preset direction;According to the position at the irradiation center after first rotation and second The position at the irradiation center after rotation, can determine second preset direction;And so on.As shown in figure 5, N is equal to 8, it will The circumference where irradiation center after rotation is divided into 8 equal portions, so that it is determined that the position where the irradiation center after 8 rotations. Assuming that the irradiation center after first rotation is the irradiation center in Fig. 5 after the rotation of the top, the irradiation after LED lamp panel rotation Center is rotated clockwise around initial illumination center, then can determine that first preset direction is vertical direction, second pre- Set direction is to the direction that the 8th preset direction is that vertical direction is superimposed with horizontal direction.
It should be noted that being preset when the direction that control LED lamp panel is superimposed to vertical direction with horizontal direction rotates n times Angle refer to according to the irradiation center position after current operation, the irradiation center position after last rotation and The central angle that initial illumination center position determines, wherein the center of circle refers to initial illumination center position.Such as Fig. 5 institute Show, the direction that control LED lamp panel is superimposed to vertical direction with horizontal direction rotates the irradiation center after rotating LED lamp panel 8 times A circular motion is completed, the circumference where the irradiation center after rotation is divided into 8 equal portions, so that it is determined that after 8 rotations Position where irradiation center, and determine that predetermined angle is 45 degree.
As another embodiment of the invention, control that LED lamp panel rotates n times to preset direction and to control LED lamp panel every Secondary rotation predetermined angle can not also make LED lamp panel complete a circular motion, or not make the irradiation after LED lamp panel rotation A circular motion is completed around initial illumination center in center.For example, control LED lamp panel rotates 4 times to vertical direction, turn every time It is 72 degree dynamic.If the irradiation center that LED lamp panel does not complete after a circular motion or LED lamp panel rotation does not complete a circumference Movement, then after obtaining multiple images, control LED lamp panel rotates back into initial position.
Preferably, the control LED lamp plate is rotated to preset direction, in the mistake of LED lamp panel rotation Multiple images are obtained in journey, and described multiple images are synthesized, and obtaining composograph includes:
It controls the LED lamp panel to rotate to preset direction, controls the LED lamp panel and rotate predetermined angle every time, and in institute It states after LED lamp panel rotates the predetermined angle every time and obtains image respectively;
The image obtained is synthesized, the first image is obtained, and judges the face of spot area in the first image Whether the ratio for the gross area that product accounts for the first image is greater than preset value;
If the ratio that the area of spot area accounts for the gross area of the first image in the first image is less than or equal to The preset value, then using the first image as the composograph;
If the ratio that the area of spot area accounts for the gross area of the first image in the first image is greater than described pre- If value, then continue to control the LED lamp panel rotate and obtaining image to the preset direction, up to recombine described first The ratio that the area of spot area accounts for the gross area of the first image recombined in image is less than or equal to described default Value or the LED lamp panel reach n times to the number that the preset direction rotates, then the first image recombined is made For the composograph, wherein N is the integer greater than 1.
Fig. 7 show another embodiment of the present invention provides electronic colposcope eliminate image spot method implementation process Figure, referring to Fig. 7:
In step s 701, when receiving image acquisition instruction, initial pictures are obtained;
In step S702, control LED lamp panel rotates predetermined angle to preset direction, and obtains an image;
In step S703, the image obtained is synthesized, obtains the first image;
In step S704, judge the area of spot area in the first image account for the gross area of the first image ratio whether Greater than preset value, if so, thening follow the steps S706;If it is not, thening follow the steps S705;
In step S705, whether the number for judging that LED lamp panel is rotated to preset direction reaches n times, wherein N is greater than 1 Integer, if so, thening follow the steps S706;If it is not, then return step S702;
In step S706, using the first image as composograph.
In embodiments of the present invention, just all images obtained are synthesized after obtaining an image every time, is obtained To the first image.If the first image meets preset condition, using the first image as composograph.Wherein, preset condition The ratio that the area of spot area accounts for the gross area of the first image in one image is less than or equal to preset value.Thus in the first image It when meeting preset condition, no longer needs to control LED lamp panel and rotates and obtain image, rotate n times, letter without control LED lamp panel Change process, saves the time.
In embodiments of the present invention, if preset direction is vertical or horizontal direction, when determining composograph, LED lamp panel does not complete the rotation of a circumference, then controls LED lamp panel and rotate back into initial position.If preset direction is Vertical Square To the direction being superimposed with horizontal direction, then after determining composograph, control LED lamp panel rotates back into initial position.
Preferably, after the output composograph, the method also includes:
It determines the area-of-interest that user selects according to the composograph, and determines facular area in the area-of-interest The primary face product value in domain;
It controls the LED lamp panel to rotate M times to preset direction, and controls the LED lamp panel and rotate predetermined angle every time, In, M is the integer greater than 1;
Image is obtained respectively after the LED lamp panel rotates the predetermined angle every time, and determines the M figure obtained respectively As corresponding M area value;
It determines the minimal face product value in the primary face product value and the M area value, and controls the LED lamp panel rotation To the corresponding position of the minimal face product value.
Fig. 8 shows electronic colposcope provided in an embodiment of the present invention and eliminates described in the method and step S101 of image spot Described multiple images are synthesized, composograph is obtained, to eliminate the tool of spot area non-shared in described multiple images Body implementation flow chart, referring to Fig. 8:
In step S801, the RGB data of all pixels in multiple images is converted into yuv data;
In step S802, the spot area of each image is determined according to the Y value in yuv data;
In step S803, multiple images are synthesized according to the spot area of each image, obtain composograph, with Eliminate spot area non-shared in multiple images.
In embodiments of the present invention, all pixels of all images are transformed into YUV color space by rgb color space. Y value in yuv data indicates the brightness of pixel.Optionally, if the Y value of the pixel in a region more than preset ratio is greater than Default Y value, then be determined as spot area for the region.
It should be understood that in embodiments of the present invention, magnitude of the sequence numbers of the above procedures are not meant to the elder generation of execution sequence Afterwards, the execution sequence of each process should be determined by its function and internal logic, the implementation process structure without coping with the embodiment of the present invention At any restriction.
Fig. 9 shows the structural block diagram that electronic colposcope provided in an embodiment of the present invention eliminates the device of image spot.It should Device can be electronic colposcope, or the device being built in electronic colposcope.The device can be used for running Fig. 1 extremely The method that electronic colposcope shown in Fig. 8 eliminates image spot.For ease of description, it illustrates only related to the embodiment of the present invention Part.
Referring to Fig. 9, which includes:
Image obtains and synthesis unit 901, for controlling LED lamp when receiving image acquisition instruction Plate is rotated to preset direction, obtains multiple images during LED lamp panel rotation, and close to described multiple images At, composograph is obtained, to eliminate spot area non-shared in described multiple images, non-shared light in described multiple images Spot region refers to the spot area that at least one image does not include in described multiple images;
Output unit 902, for exporting the composograph.
Preferably, described image, which is obtained with synthesis unit 901, includes:
Rotation control subelement 9011 rotates n times to preset direction for controlling the LED lamp panel, and controls the LED Lamp plate rotates predetermined angle every time, wherein N is the integer greater than 1;
Image obtains subelement 9012, for the acquisition figure respectively after the LED lamp panel rotates the predetermined angle every time Picture, to obtain described multiple images.
Preferably, described image, which is obtained with synthesis unit 901, includes:
Rotation control and image obtain subelement 9013, rotate for controlling the LED lamp panel to preset direction, control institute It states LED lamp panel and rotates predetermined angle every time, and obtain image respectively after the LED lamp panel rotates the predetermined angle every time;
Synthesis obtains the first image, and judge institute for synthesizing to the image obtained with judgment sub-unit 9014 Whether the ratio for the gross area that the area for stating spot area in the first image accounts for the first image is greater than preset value;
First composograph determines subelement 9015, if the area for spot area in the first image accounts for described The ratio of the gross area of one image is less than or equal to the preset value, then using the first image as the composograph;
Second composograph determines subelement 9016, if the area for spot area in the first image accounts for described The ratio of the gross area of one image is greater than the preset value, then continues to control the LED lamp panel to preset direction rotation simultaneously Image is obtained, until the area of spot area accounts for the first image recombined in the first image recombined The ratio of the gross area is less than or equal to the preset value or the LED lamp panel and reaches N to the number that the preset direction rotates It is secondary, then using the first image recombined as the composograph, wherein N is the integer greater than 1.
Preferably, described image, which is obtained with synthesis unit 901, includes:
Data conversion subelement 9017, for the RGB data of all pixels in described multiple images to be converted to YUV number According to;
Spot area determines subelement 9018, for determining the facular area of each image according to the Y value in the yuv data Domain;
Image synthesizing subunit 9019, for being closed according to the spot area of each image to described multiple images At composograph being obtained, to eliminate spot area non-shared in described multiple images.
The embodiment of the present invention changes the irradiating angle of LED lamp panel by the rotation of control LED lamp panel, and then changes hot spot Position, the image for thus acquiring hot spot in different location carry out image synthesis, obtain no hot spot or the seldom synthesis of hot spot Image, to be greatly improved under the premise of the clarity of patient tissue details in the overall brightness and image for guaranteeing image Electronic colposcope eliminates the effect of image spot.
Figure 10 shows the structural block diagram that electronic colposcope provided in an embodiment of the present invention eliminates the device of image spot, ginseng According to Figure 10, which includes lens module 1000 and image procossing and display module 1001.Lens module 1000 is for obtaining figure Picture, image procossing and display module 1001 are for being handled and being shown to the image of acquisition.Lens module 1000 includes control Submodule 10001, camera shooting submodule 10002, LED lamp panel 10003 and motor 10004.Control submodule 10001 is taken the photograph for controlling As submodule 10002, LED lamp panel 10003, and driving and control motor 10004 are driven.Specifically, control submodule 10001 For when receiving image acquisition instruction, drive motor 10004, so that motor 10004 controls LED lamp panel 10003 to default Direction rotation, and during LED lamp panel 10003 rotates, control camera shooting submodule 10002 obtains multiple images.Camera shooting Module 10002 can control image amplification, reduce or freeze under the control of control submodule 10001, can also realize white flat The functions such as weighing apparatus.Control submodule 10001 is also used to communicate with image procossing and display module 1001, and transmits the image of acquisition extremely Image procossing and display module 1001.Image procossing and display module 1001 are synthesized for synthesizing to multiple images Image, to eliminate spot area non-shared in multiple images, non-shared spot area refers to multiple figures in multiple images The spot area that at least one image does not include as in.Control submodule 10001 includes key, and camera shooting submodule 10002 wraps Include imaging sensor.Imaging sensor can using CCD (Charge Coupled Device, charge coupled cell) or CMOS (Complementary Metal-Oxide Semiconductor, metal oxide semiconductor device).LED lamp panel 10003 light issued are for illuminating subject.The brightness of LED lamp panel 10003 can be adjusted by control submodule 10001 Section, to meet different clinical demands.Motor 10004 drives LED lamp panel 10003 with preset direction and predetermined angle by screw rod It is rotated.Image procossing and display module 1001 may include CPU (Central Processing Unit, central processing Device) and video frequency collection card.
Preferably, control submodule 10001 is specifically used for when receiving image acquisition instruction, drive motor 10004, with So that motor 10004 is controlled LED lamp panel 10003 and rotate n times to preset direction, and controls the rotation preset angle every time of LED lamp panel 10003 Degree, wherein N is the integer greater than 1.Control submodule 10001 is after LED lamp panel rotates predetermined angle every time, and control is taken the photograph respectively As the acquisition image of submodule 10002, to obtain multiple images.
The embodiment of the present invention changes the irradiating angle of LED lamp panel by the rotation of control LED lamp panel, and then changes hot spot Position, the image for thus acquiring hot spot in different location carry out image synthesis, obtain no hot spot or the seldom synthesis of hot spot Image, to be greatly improved under the premise of the clarity of patient tissue details in the overall brightness and image for guaranteeing image Electronic colposcope eliminates the effect of image spot.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description It with the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of method that electronic colposcope eliminates image spot characterized by comprising
When receiving image acquisition instruction, control LED lamp plate is rotated to preset direction, in the LED lamp panel Multiple images are obtained during rotation, and described multiple images are synthesized, and obtain composograph, it is the multiple to eliminate Non-shared spot area in image, non-shared spot area refers in described multiple images at least in described multiple images The spot area for thering is an image not include;
The control LED lamp plate is rotated to preset direction, is obtained during LED lamp panel rotation multiple Image, and described multiple images are synthesized, obtaining composograph includes: that the control LED lamp panel is rotated to preset direction, It controls the LED lamp panel and rotates predetermined angle every time, and obtained respectively after the LED lamp panel rotates the predetermined angle every time Image;The image obtained is synthesized, the first image is obtained, and judges that the area of spot area in the first image accounts for Whether the ratio of the gross area of the first image is greater than preset value;If the area of spot area accounts for described in the first image The ratio of the gross area of first image is less than or equal to the preset value, then using the first image as the composograph;
Export the composograph.
2. the method as described in claim 1, which is characterized in that the control LED lamp plate turns to preset direction Dynamic, obtaining multiple images during LED lamp panel rotation includes:
It controls the LED lamp panel and rotates n times to preset direction, and control the LED lamp panel and rotate predetermined angle every time, wherein N For the integer greater than 1;
Image is obtained respectively after the LED lamp panel rotates the predetermined angle every time, to obtain described multiple images.
3. the method as described in claim 1, which is characterized in that
If the ratio that the area of spot area accounts for the gross area of the first image in the first image is greater than the preset value, Then continue to control the LED lamp panel and image is rotated and obtained to the preset direction, until the first image recombined The area of middle spot area account for the gross area of the first image recombined ratio be less than or equal to the preset value or LED lamp panel described in person reaches n times to the number that the preset direction rotates, then using the first image recombined as institute State composograph, wherein N is the integer greater than 1.
4. the method as described in claims 1 to 3 any one, which is characterized in that it is described that described multiple images are synthesized, Composograph is obtained, includes: to eliminate spot area non-shared in described multiple images
The RGB data of all pixels in described multiple images is converted into yuv data;
The spot area of each image is determined according to the Y value in the yuv data;
Described multiple images are synthesized according to the spot area of each image, obtain composograph, described in eliminating Non-shared spot area in multiple images.
5. the device that a kind of electronic colposcope eliminates image spot characterized by comprising
Image obtains and synthesis unit, and for when receiving image acquisition instruction, control LED lamp plate is to default Direction rotation obtains multiple images during LED lamp panel rotation, and synthesizes to described multiple images, obtains Composograph, to eliminate spot area non-shared in described multiple images, non-shared spot area in described multiple images Refer to the spot area that at least one image does not include in described multiple images;
Described image is obtained with synthesis unit
Rotation control and image obtain subelement, rotate for controlling the LED lamp panel to preset direction, control the LED light Plate rotates predetermined angle every time, and obtains image respectively after the LED lamp panel rotates the predetermined angle every time;
Synthesis and judgment sub-unit for synthesizing to the image obtained obtain the first image, and judge first figure Whether the ratio for the gross area that the area of spot area accounts for the first image as in is greater than preset value;
First composograph determines subelement, if the area for spot area in the first image accounts for the first image The ratio of the gross area is less than or equal to the preset value, then using the first image as the composograph;
Output unit, for exporting the composograph.
6. device as claimed in claim 5, which is characterized in that described image, which is obtained with synthesis unit, includes:
Rotation control subelement rotates n times to preset direction for controlling the LED lamp panel, and it is each to control the LED lamp panel Rotate predetermined angle, wherein N is the integer greater than 1;
Image obtains subelement, for obtaining image respectively after the LED lamp panel rotates the predetermined angle every time, to obtain Described multiple images.
7. device as claimed in claim 5, which is characterized in that described image, which is obtained with synthesis unit, includes:
Second composograph determines subelement, if the area for spot area in the first image accounts for the first image The ratio of the gross area is greater than the preset value, then continues to control the LED lamp panel that image is rotated and obtained to the preset direction, Until the area of spot area accounts for the gross area of the first image recombined in the first image recombined Ratio is less than or equal to the preset value or the LED lamp panel and reaches n times to the number that the preset direction rotates, then will weigh Newly synthesized the first image is as the composograph, wherein N is the integer greater than 1.
8. the device as described in claim 5 to 7 any one, which is characterized in that described image, which is obtained with synthesis unit, includes:
Data conversion subelement, for the RGB data of all pixels in described multiple images to be converted to yuv data;
Spot area determines subelement, for determining the spot area of each image according to the Y value in the yuv data;
Image synthesizing subunit is obtained for being synthesized according to the spot area of each image to described multiple images Composograph, to eliminate spot area non-shared in described multiple images.
9. the device that a kind of electronic colposcope eliminates image spot characterized by comprising
Lens module and image procossing and display module, the lens module include control submodule, camera shooting submodule, LED light Plate and motor;
The control submodule, for driving the motor when receiving image acquisition instruction, so that motor control institute It states LED lamp panel to rotate to preset direction, and during LED lamp panel rotation, it is more to control the camera shooting submodule acquisition A image;It controls the LED lamp panel to rotate to preset direction, controls the LED lamp panel and rotate predetermined angle every time, and described LED lamp panel obtains image after rotating the predetermined angle every time respectively;
Described image processing and display module obtain composograph, described in eliminating for synthesizing to described multiple images Non-shared spot area in multiple images, non-shared spot area refers in described multiple images in described multiple images The spot area that at least one image does not include;The image obtained is synthesized, obtains the first image, and described in judgement Whether the ratio that the area of spot area accounts for the gross area of the first image in the first image is greater than preset value;If described first The ratio that the area of spot area accounts for the gross area of the first image in image is less than or equal to the preset value, then will be described First image is as the composograph;
Described image processing and display module, are also used to export the composograph.
10. device as claimed in claim 9, which is characterized in that the control submodule is specifically used for:
When receiving image acquisition instruction, the motor is driven, so that LED lamp panel described in the motor control is to preset direction N times are rotated, and controls the LED lamp panel and rotates predetermined angle every time, wherein N is the integer greater than 1;
After the LED lamp panel rotates the predetermined angle every time, the camera shooting submodule is controlled respectively and obtains image, to obtain Described multiple images.
CN201510452329.6A 2015-07-28 2015-07-28 The method and device of electronic colposcope elimination image spot Active CN105120143B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510452329.6A CN105120143B (en) 2015-07-28 2015-07-28 The method and device of electronic colposcope elimination image spot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510452329.6A CN105120143B (en) 2015-07-28 2015-07-28 The method and device of electronic colposcope elimination image spot

Publications (2)

Publication Number Publication Date
CN105120143A CN105120143A (en) 2015-12-02
CN105120143B true CN105120143B (en) 2019-03-29

Family

ID=54668019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510452329.6A Active CN105120143B (en) 2015-07-28 2015-07-28 The method and device of electronic colposcope elimination image spot

Country Status (1)

Country Link
CN (1) CN105120143B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651823A (en) * 2016-12-28 2017-05-10 努比亚技术有限公司 Device and method for eliminating picture light spot and mobile terminal
CN111983709A (en) * 2020-07-02 2020-11-24 中科兴华(深圳)科技服务有限公司 Multi-object capturing method of laser detector

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202288239U (en) * 2011-08-12 2012-07-04 三维医疗科技江苏股份有限公司 Digital gynecatoptron utilizing singlechip as core
CN104376545A (en) * 2013-08-16 2015-02-25 联想(北京)有限公司 Information processing method and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006041354A (en) * 2004-07-29 2006-02-09 Renesas Technology Corp Semiconductor device and its manufacturing method
JP4598498B2 (en) * 2004-11-29 2010-12-15 オリンパス株式会社 Intra-subject introduction device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202288239U (en) * 2011-08-12 2012-07-04 三维医疗科技江苏股份有限公司 Digital gynecatoptron utilizing singlechip as core
CN104376545A (en) * 2013-08-16 2015-02-25 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN105120143A (en) 2015-12-02

Similar Documents

Publication Publication Date Title
CN106257540B (en) The method and its processing system of virtual optical are provided
US11284993B2 (en) Variable resolution eye mounted displays
WO2017049922A1 (en) Image information collection apparatus, image collection method, and application thereof
CN107666606B (en) Binocular panoramic picture acquisition methods and device
CN208028980U (en) A kind of camera module and electronic equipment
US20170345398A1 (en) Minimal-latency tracking and display for matching real and virtual worlds in head-worn displays
US9792690B2 (en) Shape measurement system, image capture apparatus, and shape measurement method
CN105245790B (en) A kind of light compensation method, device and mobile terminal
CN107105157A (en) The multiple images captured from handheld device carry out portrait images synthesis
CN108696682B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN104113688A (en) Image processing method and electronic equipment
CN105120143B (en) The method and device of electronic colposcope elimination image spot
US11665328B2 (en) Method and electronic apparatus for stitching three-dimensional spherical panorama
US20140313359A1 (en) Camera assembly and image acquisition method using the same
CN110893095A (en) System and method for visible light and excited fluorescence real-time imaging
CN109008909A (en) A kind of low-power consumption capsule endoscope Image Acquisition and three-dimensional reconstruction system
KR101674099B1 (en) Apparatus for generating image for face authentication and method thereof
CN103750805A (en) High-definition medical endoscope video processing device and method
CN115272138A (en) Image processing method and related device
CN109005325B (en) Facial camera device and method based on interactive intelligent light supplementing
CN108270959A (en) Method, terminal device and the panoramic imaging device of panoramic imagery
JP2007187914A (en) Led illuminator and photographing device
US20150178589A1 (en) Apparatus for processing digital image and method of controlling the same
CN105678228B (en) Iris recognition optical imagery module and application method for safety identification authentication
CN108282616A (en) Processing method, device, storage medium and the electronic equipment of image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant