CN107714097A - Ovulation prediction method and device, terminal - Google Patents
Ovulation prediction method and device, terminal Download PDFInfo
- Publication number
- CN107714097A CN107714097A CN201710980959.XA CN201710980959A CN107714097A CN 107714097 A CN107714097 A CN 107714097A CN 201710980959 A CN201710980959 A CN 201710980959A CN 107714097 A CN107714097 A CN 107714097A
- Authority
- CN
- China
- Prior art keywords
- detection
- image
- comparison
- ovulation
- time
- 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.)
- Pending
Links
- 230000016087 ovulation Effects 0.000 title claims abstract description 153
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000001514 detection method Methods 0.000 claims abstract description 267
- 238000012360 testing method Methods 0.000 claims abstract description 68
- 238000000605 extraction Methods 0.000 claims abstract description 12
- 238000012216 screening Methods 0.000 claims description 5
- 230000000007 visual effect Effects 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 7
- 230000000875 corresponding effect Effects 0.000 description 36
- 102000009151 Luteinizing Hormone Human genes 0.000 description 18
- 108010073521 Luteinizing Hormone Proteins 0.000 description 18
- 229940040129 luteinizing hormone Drugs 0.000 description 18
- 238000004891 communication Methods 0.000 description 10
- 210000002700 urine Anatomy 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 239000007788 liquid Substances 0.000 description 5
- 230000005236 sound signal Effects 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 239000003086 colorant Substances 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000007667 floating Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000035935 pregnancy Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000027758 ovulation cycle Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000012085 test solution Substances 0.000 description 1
- 238000009966 trimming Methods 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B10/00—Other methods or instruments for diagnosis, e.g. instruments for taking a cell sample, for biopsy, for vaccination diagnosis; Sex determination; Ovulation-period determination; Throat striking implements
- A61B10/0012—Ovulation-period determination
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B10/00—Other methods or instruments for diagnosis, e.g. instruments for taking a cell sample, for biopsy, for vaccination diagnosis; Sex determination; Ovulation-period determination; Throat striking implements
- A61B2010/0003—Other methods or instruments for diagnosis, e.g. instruments for taking a cell sample, for biopsy, for vaccination diagnosis; Sex determination; Ovulation-period determination; Throat striking implements including means for analysis by an unskilled person
- A61B2010/0006—Other methods or instruments for diagnosis, e.g. instruments for taking a cell sample, for biopsy, for vaccination diagnosis; Sex determination; Ovulation-period determination; Throat striking implements including means for analysis by an unskilled person involving a colour change
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B10/00—Other methods or instruments for diagnosis, e.g. instruments for taking a cell sample, for biopsy, for vaccination diagnosis; Sex determination; Ovulation-period determination; Throat striking implements
- A61B10/0012—Ovulation-period determination
- A61B2010/0029—Ovulation-period determination based on time measurement
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Medical Informatics (AREA)
- Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Pathology (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Investigating Or Analysing Biological Materials (AREA)
Abstract
Present invention is disclosed a kind of ovulation prediction method and device, terminal, belong to Computer Applied Technology field.Methods described includes:Detection zone and check plot to ovulation test paper carry out IMAQ, and the detection time of the ovulation test paper is recorded, obtain detection image, compares figure picture and corresponding detection time, carry out the extraction of color value respectively to the detection image and compares figure picture, obtain detecting color value and control color value, the detection color value and the comparison of the control color value, are predicted to ovulation period during by different detection times.Above-mentioned ovulation prediction method and device, terminal can improve the accuracy for carrying out color contrast with check plot to the detection zone of ovulation test paper, realize the Accurate Prediction to ovulation period.
Description
Technical Field
The invention relates to the technical field of computer application, in particular to an ovulation prediction method, an ovulation prediction device and a terminal.
Background
Currently, in the process of pregnancy preparation or contraception of most women, ovulation test paper is used for predicting ovulation time, namely, the ovulation test paper is used for detecting the peak level of luteinizing hormone, and then the ovulation time is predicted.
When the ovulation test paper is used for detecting the detection liquid, the detection area of the ovulation test paper has a color with a corresponding depth according to the content of luteinizing hormone in the detection liquid, and the control area has a color with a specific standard no matter how much the content of luteinizing hormone in the detection liquid is. For example, when the test solution is tested on an ovulation strip, the test area of the ovulation strip appears light red, while the control area appears in a standard color. If the color in the detection area is deeper than or close to the depth of the color in the control area, the detection result is positive, and the user to which the detection liquid belongs is in the ovulation period; if the color in the detection area is much lighter than the depth of the color in the control area, the detection result is negative, and the user to which the detection liquid belongs is not in the ovulation period. At the point of ovulation, a peak in luteinizing hormone content will occur. Thus, detection is continued by the ovulation strip, and the luteinizing hormone content reaches a peak at the deepest depth of the detection zone, at which point the ovulation phase is imminent.
However, at present, the detection area and the control area of the ovulation test paper are compared with each other by the naked eye in color depth, but the comparison by the naked eye can only be roughly judged, and the accuracy of color depth comparison is not high due to the color identification difference of each user individual, so that the ovulation time cannot be accurately predicted, and the optimal pregnancy period is missed.
Disclosure of Invention
The invention provides an ovulation prediction method and device, aiming at solving the technical problem that color depth comparison cannot be accurately carried out on a detection area and a contrast area in ovulation test paper in the related technology.
In a first aspect, there is provided a method of ovulation prediction, comprising:
acquiring images of a detection area and a comparison area of the ovulation test paper, and recording the detection time of the ovulation test paper to obtain a detection image, a comparison image and corresponding detection time;
extracting color values of the detection image and the comparison image respectively to obtain a detection color value and a comparison color value;
and predicting the ovulation time by comparing the detection color value with the comparison color value at different detection times.
In a second aspect, there is provided an ovulation predictor device, comprising:
the ovulation test paper detection device comprises an image frame and visual angle acquisition module, a comparison module and a comparison module, wherein the image frame and visual angle acquisition module is used for carrying out image acquisition on a detection area and a comparison area of ovulation test paper and recording the detection time of the ovulation test paper to obtain a detection image, a comparison image and corresponding detection time;
the color value extraction module is used for respectively extracting color values of the detection image and the comparison image to obtain a detection color value and a comparison color value;
and the ovulation time prediction module is used for predicting the ovulation time by comparing the detection color value with the comparison color value at different detection times.
In a third aspect, a smart terminal is provided, which includes:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the first aspects.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the ovulation prediction method according to the first aspect.
The technical scheme provided by the embodiment of the invention can obtain the following beneficial effects:
when carrying out ovulation prediction through the ovulation test paper, carry out image acquisition to the detection zone and the contrast zone of ovulation test paper, and record the check-out time of ovulation test paper, and then to obtaining the detection image, the contrast image carries out the extraction of colour value respectively, the colour value of detection image and the comparison of the colour value of contrast image when the different check-out time of rethread, predict the ovulation time, thereby avoided through the human naked eye to the discernment difference of colour, the accuracy of carrying out the colour contrast to the detection zone and the contrast zone of ovulation test paper has been improved, realize accurately predicting the ovulation time.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Figure 1 is a flow chart illustrating a method of ovulation prediction, according to an exemplary embodiment.
Fig. 2 is a flow chart showing an implementation of step S120 of the ovulation prediction method according to the corresponding embodiment of fig. 1.
Fig. 3 is a flow chart showing an implementation of step S130 of the ovulation prediction method according to the corresponding embodiment of fig. 2.
Fig. 4 is a flowchart illustrating an implementation of step S132 of the ovulation prediction method according to the corresponding embodiment of fig. 3.
Figure 5 is a flow chart of another ovulation prediction method according to the corresponding embodiment of figure 1.
Figure 6 is a block diagram illustrating an ovulation predictor device, according to an exemplary embodiment.
Fig. 7 is a block diagram of the color value extraction module 120 shown in accordance with a corresponding embodiment of fig. 6.
Figure 8 is a block diagram of the ovulation time prediction module 130 according to the corresponding embodiment of figure 7.
Fig. 9 is a block diagram of a structure of the ovulation time prediction submodule 132 according to the corresponding embodiment of fig. 8.
Figure 10 is a block diagram of another ovulation predictor device according to the corresponding embodiment of figure 6.
Fig. 11 is a block diagram illustrating a terminal according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as set forth in the claims below.
Fig. 1 is a flow chart illustrating an ovulation prediction method according to an exemplary embodiment, which may include the following steps, as shown in fig. 1.
In step S110, image acquisition is performed on the detection area and the control area of the ovulation test paper, and the detection time of the ovulation test paper is recorded to obtain a detection image, a control image and corresponding detection time.
The ovulation test strip is used to predict ovulation by detecting the peak Luteinizing Hormone (LH) level. The ovulation time and the 'safe period' in the menstrual cycle of women are determined by qualitatively detecting luteinizing hormone in human urine, so that the aim of selecting the best opportunity for conception or using the 'safe period' for contraception is fulfilled.
The ovulation test paper is provided with a detection area and a control area.
After the human urine is detected, the control area in the ovulation test paper presents a uniform standard color. For example, the Columbia ovulation strips show a blue line in the control zone after urine testing.
The color exhibited by the detection zone is correlated to the amount of luteinizing hormone in the urine, with the higher the amount of luteinizing hormone, the darker the color exhibited by the detection zone.
When the detection area and the comparison area of the ovulation test paper are subjected to image acquisition, the detection area and the comparison area can be directly subjected to image acquisition through shooting equipment; or cutting out images of the detection area and the contrast area from the collected ovulation test paper images after the whole ovulation test paper is subjected to image collection; or after the whole ovulation test paper is subjected to image acquisition, identifying a detection area and a comparison area in the ovulation test paper image through colors, and further extracting images of the detection area and the comparison area respectively; the detection zone and the control zone of the ovulation test strip may also be imaged in other ways.
The detection time is the time for detection by using ovulation test paper.
The ovulation test paper detected at each detection time detects luteinizing hormone in human urine at the detection time. Therefore, the luteinizing hormone in urine at different detection times is detected by the ovulation test paper detected at different detection times, and then the ovulation time is predicted.
In step S120, color values of the detection image and the comparison image are extracted, so as to obtain a detection color value and a comparison color value.
A color value is a numerical value of a color that distinguishes different colors by a certain color standard.
For example, under the RGB color standard, red is RGB (255, 0, 0), and white is RGB (255, 255, 255).
The detection color value is the color value of the detection area in the ovulation test paper. The control color value is the color value of the control zone in the ovulation test strip.
When extracting the color value, the color value of each pixel in the image may be obtained, and then the color values of all pixels in the image are averaged, and the obtained average value is used as the color value of the image; the color value of each pixel in the image can be acquired, the abnormal color value is removed, and then the color values of other pixels are averaged; or intercepting a preset area in the image, and calculating the average value of pixel color values in the preset area; the extraction of the color value may also be performed on the detection image or the comparison image in other manners.
In step S130, the ovulation time is predicted by comparing the detected color values with the control color values at different detection times.
It can be understood that, at different detection times, the concentration of luteinizing hormone in urine is different, and the detection color value of the detection image in the detection test paper is different.
Through comparing the detection color value with the comparison color value, according to the comparison result of the detection color value and the comparison color value in different detection time, the concentration analysis of luteinizing hormone in different detection time is carried out, and the prediction of ovulation time is realized.
By the method, the detection image and the contrast image which are used for image acquisition are extracted according to the detection area and the contrast area of the ovulation test paper, and then the ovulation time is predicted through color value comparison, so that the accuracy of color comparison between the detection area and the contrast area is improved, and the ovulation time is accurately predicted.
Fig. 2 is a detailed description of step S120 of the ovulation prediction method according to the corresponding embodiment of fig. 1. As shown in fig. 2, the step S120 may include the following steps.
In step S121, the detection image and the comparison image are grayed to obtain corresponding detection grayscale image and comparison grayscale image.
Image graying is the conversion of a multi-dimensional color image into a single-dimensional grayscale image.
In a specific exemplary embodiment, the color values of the grayscale image are 0-255. After the pure white image is subjected to image graying, the color value is 255; after the pure black image is grayed, the color value is 0. The color values of the images of any color are in the range of 0-255 after the images are grayed.
For example, an image of the RGB color standard is subjected to graphic graying by a floating point algorithm, and a grayscale color value Gray ═ R × 0.3+ G × 0.59+ B × 0.11; for another example, the image of RGB color standard is subjected to graphic graying by an averaging algorithm, and a grayscale color value Gray is (R + G + B)/0.11; for example, when an image of RGB color standard is subjected to graphic gradation, only the numerical values of red, green, or blue are taken as gradation color values, and the gradation color values Gray-R, G, or B are set.
In step S122, gray values of the detection gray image and the comparison gray image are obtained, so as to obtain a detection color value and a comparison color value.
For example, when the detected image and the comparison image are subjected to image graying by the floating point algorithm and the RGB color value of the detected image is (255,192,203), the detected color value Gray is 255 × 0.3+192 × 0.59+203 × 0.11 ═ 212.11 in the detected grayscale image obtained by the image graying.
By using the method, the detection image and the comparison image are respectively subjected to image graying to obtain the corresponding detection gray image and the corresponding comparison gray image, the multi-dimensional color image is converted into the single-dimensional black-and-white image, and the color comparison between the detection area and the comparison area can be realized through single color value comparison, so that the complexity of color comparison is greatly simplified, and the calculation amount of the comparison is reduced.
Fig. 3 is a detailed description of step S130 of the ovulation prediction method according to the corresponding embodiment of fig. 1. As shown in fig. 3, the step S130 may include the following steps.
In step S131, the ratio between the detected color value and the comparison color value at different detection times is calculated.
In step S132, the ovulation time is predicted based on the ratio of the different detection times.
Through the ratio between the detection colour value and the contrast colour value when different detection time of contrast, through the detection time when the ratio reaches the biggest, predict ovulation time.
For example, the detection color values at the detection times T1, T2, T3, T4, and T5, the detection times T1, T2, T3, T4, and T5 are 62, 73, 81, 87, and 70, respectively, and the comparison color values are all 85. It can be seen that at the test time T4, the color of the test area is deepest, and from test time T4-T5, the color of the test area changes from deep to light, and ovulation will occur during the test time T4-T5.
By the method, the ovulation time is accurately predicted by calculating the ratio of the detection color value to the comparison color value at different detection times and predicting the ovulation time according to the detection time when the ratio reaches the maximum value.
Fig. 4 is a detailed description of step S132 of the ovulation prediction method according to the corresponding embodiment of fig. 3. As shown in fig. 4, the step S132 may include the following steps.
In step S1321, according to the detection time, curve fitting is performed on the ratio at different detection times to obtain a ratio curve.
It will be appreciated that the time of detection is intermittent when the test is carried out using an ovulation strip.
Thus, the ratio at different detection times is also a discrete value. When the ovulation time is predicted, the ovulation time can be predicted only according to the existing ratio.
The curve fitting refers to fitting the ratio of different detection times by selecting a proper curve type, and further analyzing the variation trend of the ratio.
In a specific exemplary embodiment, the fitting of the ratio is performed by a spline curve, obtaining a continuous smooth curve of the ratio over the detection time.
Optionally, the fitting and trimming of the curve are performed during curve fitting through the historical ratio and the test result of the user, so that the accuracy of prediction of the ovulation time is further improved.
In step S1322, the ovulation time is predicted based on the ratio curve.
By using the method, curve fitting is carried out on the ratio of different detection times according to the detection time, and then ovulation time is predicted according to the obtained ratio curve, so that the ovulation time is prevented from being predicted only through a single discontinuous ratio, and the fitted curve is trimmed according to the historical ratio and the test result of a user, so that the accuracy of predicting the ovulation time is improved.
Alternatively, as shown in fig. 5, the ovulation prediction method according to the corresponding embodiment of fig. 1 may further include the following steps before step S120.
In step S210, the detection time is screened to obtain the comparison detection time.
The detection time includes a detection date and a detection clock.
For example, if the detection time is 7:00, 1/7/2017/1, the detection date is 7/1/2017, and the detection clock is 7: 00.
The comparative detection time is the detection time remaining after screening the detection time.
It will be appreciated that multiple tests of the ovulation strip may be performed on the same day.
For example, in 2017, 7, 1, 3 times of ovulation test paper tests are carried out, namely Beijing time 7:00, 12:00 and 18: 00.
In the detection time of the detection by the ovulation test paper, the detection is carried out for a plurality of times in some detection days, and the detection is carried out only once in some detection days.
It should be noted that the amount of luteinizing hormone in urine is not constant over a period of time. Therefore, in the ovulation test paper detected by different detection clocks in the same detection day, the color of the detection area has a certain difference correspondingly.
In order to avoid that the different colors of the detection areas corresponding to the detection times in the same detection date affect the accuracy of color comparison, the detection images corresponding to the detection times with the same detection date are screened, so that only one detection image is reserved under each detection date.
As mentioned above, the luteinizing hormone content in urine is not constant in each test day, but the trend of the luteinizing hormone content in urine is consistent in different test days.
In a specific exemplary embodiment, when the duplicate removal is performed on the detection images corresponding to the detection times with the same detection date, the detection clocks in the detection times are analyzed and counted in advance, the detection times with the same detection clock trend are selected from the detection times with different detection dates to obtain the comparison detection time, and then the detection images corresponding to the comparison detection time are extracted.
For example, in a physiological cycle, the ovulation test strips are tested for 5 times, the test time is T1, T2, T3, T4 and T5 in sequence, the test date of the test time T1 is D1, and the test clock is 7: 00; the detection date of the detection time T2 is D2, and the detection clock is 8: 00; the detection date of the detection time T3 is D2, and the detection clock is 12: 00; the detection date of the detection time T4 is D2, and the detection clock is 18: 00; the detection date of the detection time T5 is D3, and the detection clock is 7: 30. The detection dates include D1, D2, and D3, wherein D2 has been detected 3 times in total, the detection clocks are 8:00, 12:00, and 18:00, respectively, while in D1 and D3, the detection clocks are 7:00 and 7:30, respectively, and obviously, the detection clock 8:00 in D2 is closer to 7:00 and 7:30, so that the detection times T1 and T2 are used as comparison detection times, and detection images corresponding to the comparison detection times T1 and T2 are extracted.
In order to further improve the accuracy of ovulation period prediction, detection time is divided into more specific intervals, comparison detection time is screened from the detection time of each divided time interval, and then a detection image and a comparison image corresponding to the comparison detection time are extracted.
In a specific exemplary embodiment, the detection clock is divided into a plurality of clock intervals by interval dividing the detection clock. For example, Beijing time 0:00-6:00 is divided into clock interval C1, Beijing time 6:00-12:00 is divided into clock interval C2, Beijing time 12:00-18:00 is divided into clock interval C3, and Beijing time 18:00-24:00 is divided into clock interval C4. And extracting a detection image corresponding to one detection clock for each clock interval of each detection date, and excluding detection images corresponding to other detection clocks in the clock interval. Therefore, the color values of the detection images of 4 different clock intervals on each detection date are extracted, the accuracy of follow-up ovulation period prediction is further improved, the detection images corresponding to a plurality of detection clocks in the same clock interval on the same detection date are screened, the data processing amount of ovulation period prediction is reduced, and the complexity of data processing is reduced.
In step S220, a detection image and a comparison image corresponding to the comparison detection time are extracted.
By the method, the detection time is screened in advance, and after the detection image corresponding to the screened comparison detection time is extracted, the color value is extracted and analyzed, and due to the fluctuation of luteinizing hormone in one day, the color depth of the detection area in the ovulation test paper detected by different detection clocks on the same detection date is switched, so that the influence of the color change of the detection area in the ovulation test paper detected by different detection clocks on the same detection date on ovulation prediction is avoided, and the ovulation prediction accuracy is greatly improved.
The following are embodiments of the device of the present invention that may be used to perform the above-described ovulation predictor method embodiments. For details not disclosed in the embodiments of the device of the present invention, reference is made to the embodiments of the ovulation predictor method of the present invention.
Figure 6 is a block diagram illustrating an ovulation predictor device, according to an exemplary embodiment, including but not limited to: an image acquisition module 110, a color value extraction module 120 and an ovulation time prediction module 130.
The image acquisition module 110 is used for acquiring images of a detection area and a comparison area of the ovulation test paper and recording the detection time of the ovulation test paper to obtain a detection image, a comparison image and corresponding detection time;
a color value extraction module 120, configured to extract color values from the detection image and the comparison image, respectively, to obtain a detection color value and a comparison color value;
and the ovulation time prediction module 130 is used for predicting the ovulation time by comparing the detection color values with the comparison color values at different detection times.
The implementation process of the functions and actions of each module in the device is specifically described in the implementation process of the corresponding step in the ovulation prediction method, and is not described herein again.
Optionally, as shown in fig. 7, the color value extraction module 120 shown in fig. 6 includes, but is not limited to: an image graying sub-module 121 and a grayscale value acquisition sub-module 122.
The image graying sub-module 121 is configured to perform image graying on the detection image and the comparison image respectively to obtain a corresponding detection grayscale image and a corresponding comparison grayscale image;
the gray value obtaining submodule 122 is configured to obtain gray values of the detection gray image and the comparison gray image respectively to obtain a detection color value and a comparison color value.
Alternatively, as shown in fig. 8, the ovulation time prediction module 130 shown in fig. 6 includes, but is not limited to: a ratio operator module 131 and an ovulation time predictor sub-module 132.
A ratio operator module 131, configured to calculate a ratio between the detected color value and the comparison color value at different detection times;
and the ovulation time prediction submodule 132 is used for predicting the ovulation time according to the ratio of different detection times.
Alternatively, as shown in fig. 9, the ovulation time prediction submodule 132 shown in fig. 8 includes, but is not limited to: a curve fitting unit 1321 and an ovulation time prediction unit 1322.
The curve fitting unit 1321 is configured to perform curve fitting on the ratio at different detection times according to the detection time to obtain a ratio curve;
and an ovulation time prediction unit 1322 for predicting the ovulation time based on the ratio curve.
Optionally, as shown in fig. 10, the ovulation predictor device in the corresponding embodiment of fig. 6 further includes, but is not limited to: a detection time filtering module 210 and an image extraction module 220.
A detection time screening module 210, configured to screen detection times in the detection time to obtain comparison detection times;
and an image extracting module 220, configured to extract the detection image and the comparison image corresponding to the comparison detection time.
Fig. 11 is a block diagram illustrating a terminal 100 according to an example embodiment. Referring to fig. 11, the terminal 100 may include one or more of the following components: a processing component 101, a memory 102, a power component 103, an image capture component 104, an audio component 105, a sensor component 107, and a communication component 108. The above components are not all necessary, and the terminal 100 may add other components or reduce some components according to its own functional requirements, which is not limited in this embodiment.
The processing component 101 generally controls overall operations of the terminal 100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 101 may include one or more processors 109 to execute instructions to perform all or a portion of the above-described operations. Further, the processing component 101 may include one or more modules that facilitate interaction between the processing component 101 and other components. For example, the processing component 101 may include a multimedia module to facilitate interaction between the image acquisition component 104 and the processing component 101.
The memory 102 is configured to store various types of data to support operations at the terminal 100. Examples of such data include instructions for any application or method operating on terminal 100. The Memory 102 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as an SRAM (Static Random access Memory), an EEPROM (Electrically Erasable Programmable Read-Only Memory), an EPROM (Erasable Programmable Read-Only Memory), a PROM (Programmable Read-Only Memory), a ROM (Read-Only Memory), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk. Also stored in memory 102 are one or more modules configured to be executed by the one or more processors 109 to perform all or a portion of the steps of any of the methods illustrated in fig. 1, 2, 3, 4, and 5.
The power supply component 103 provides power to the various components of the terminal 100. The power components 103 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal 100.
The image capture assembly 104 includes a screen that provides an output interface between the terminal 100 and the user. In some embodiments, the screen may include an LCD (Liquid Crystal Display) and a TP (touch panel). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The audio component 105 is configured to output and/or input audio signals. For example, the audio component 105 includes a microphone configured to receive external audio signals when the terminal 100 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 102 or transmitted via the communication component 108. In some embodiments, audio component 105 also includes a speaker for outputting audio signals.
The sensor assembly 107 includes one or more sensors for providing various aspects of state assessment for the terminal 100. For example, the sensor assembly 107 can detect an open/close state of the terminal 100, a relative positioning of the components, a change in coordinates of the terminal 100 or a component of the terminal 100, and a change in temperature of the terminal 100. In some embodiments, the sensor assembly 107 may also include a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 108 is configured to facilitate communications between the terminal 100 and other devices in a wired or wireless manner. The terminal 100 may access a WIreless network based on a communication standard, such as WiFi (WIreless-Fidelity), 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 108 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the Communication component 108 further includes a Near Field Communication (NFC) module to facilitate short-range Communication. For example, the NFC module may be implemented based on an RFID (Radio Frequency Identification) technology, an IrDA (Infrared data association) technology, an UWB (Ultra-Wideband) technology, a BT (Bluetooth) technology, and other technologies.
In an exemplary embodiment, the terminal 100 may be implemented by one or more ASICs (Application specific integrated circuits), DSPs (Digital Signal processors), PLDs (Programmable Logic devices), FPGAs (Field Programmable gate arrays), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
The specific manner in which the processor of the terminal in this embodiment operates has been described in detail in relation to the embodiment of the ovulation predictor method and will not be described in detail here.
Optionally, the present invention further provides an intelligent terminal, which executes all or part of the steps of the ovulation prediction method shown in any one of fig. 1, fig. 2, fig. 3, fig. 4 and fig. 5. This intelligent terminal includes:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method according to any one of the embodiments described above.
The specific manner in which the processor of the device of this embodiment operates has been described in detail in relation to the embodiment of the ovulation predictor method and will not be described in detail here.
In an exemplary embodiment, a storage medium is also provided that is a computer-readable storage medium, such as may be transitory and non-transitory computer-readable storage media, including instructions. The storage medium may include, for example, the memory 102 of instructions executable by the processor 109 of the terminal 100 to perform the ovulation prediction method described above.
It is to be understood that the invention is not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be effected therein by one skilled in the art without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (12)
1. A method of ovulation prediction, said method comprising:
acquiring images of a detection area and a comparison area of the ovulation test paper, and recording the detection time of the ovulation test paper to obtain a detection image, a comparison image and corresponding detection time;
extracting color values of the detection image and the comparison image respectively to obtain a detection color value and a comparison color value;
and predicting the ovulation time by comparing the detection color value with the comparison color value at different detection times.
2. The method of claim 1, wherein the step of extracting color values from the detection image and the comparison image respectively to obtain the detection color value and the comparison color value comprises:
carrying out image graying on the detection image and the comparison image respectively to obtain a corresponding detection gray image and a corresponding comparison gray image;
and respectively acquiring the gray values of the detection gray image and the comparison gray image to obtain a detection color value and a comparison color value.
3. The method of claim 1 wherein the step of predicting ovulation time by comparing said detected color values with said control color values at different detection times comprises:
calculating the ratio of the detection color value to the comparison color value at different detection times;
and predicting the ovulation time according to the ratio at different detection times.
4. A method according to claim 3, wherein the step of predicting ovulation time based on said ratio at different test times comprises:
according to the detection time, performing curve fitting on the ratio at different detection times to obtain a ratio curve;
and predicting the ovulation time according to the ratio curve.
5. The method of claim 1, wherein before the step of extracting color values from the detection image and the comparison image respectively to obtain the detection color value and the comparison color value, the method further comprises:
screening the detection time in the detection time to obtain comparison detection time;
and extracting a detection image and a comparison image corresponding to the comparison detection time.
6. An ovulation predictor device, said device comprising:
the ovulation test paper detection device comprises an image frame and visual angle acquisition module, a comparison module and a comparison module, wherein the image frame and visual angle acquisition module is used for carrying out image acquisition on a detection area and a comparison area of ovulation test paper and recording the detection time of the ovulation test paper to obtain a detection image, a comparison image and corresponding detection time;
the color value extraction module is used for respectively extracting color values of the detection image and the comparison image to obtain a detection color value and a comparison color value;
and the ovulation time prediction module is used for predicting the ovulation time by comparing the detection color value with the comparison color value at different detection times.
7. The apparatus of claim 6, wherein the color value extraction module comprises:
the image graying sub-module is used for respectively graying the detection image and the comparison image to obtain a corresponding detection grayscale image and a corresponding comparison grayscale image;
and the gray value acquisition submodule is used for respectively acquiring the gray values of the detection gray image and the comparison gray image to obtain a detection color value and a comparison color value.
8. The apparatus of claim 6, wherein the ovulation time prediction module comprises:
the comparison operator module is used for calculating the ratio between the detection color value and the comparison color value at different detection times;
and the ovulation time prediction submodule is used for predicting the ovulation time according to the ratio of different detection times.
9. The apparatus of claim 8, wherein the ovulation time predictor submodule comprises:
the curve fitting unit is used for performing curve fitting on the ratio at different detection times according to the detection time to obtain a ratio curve;
and the ovulation time prediction unit is used for predicting the ovulation time according to the ratio curve.
10. The apparatus of claim 6, further comprising:
the detection time screening module is used for screening the detection time in the detection time to obtain comparison detection time;
and the image extraction module is used for extracting the detection image and the comparison image corresponding to the comparison detection time.
11. An intelligent terminal, characterized in that, intelligent terminal includes:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A computer readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the ovulation prediction method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710980959.XA CN107714097A (en) | 2017-10-19 | 2017-10-19 | Ovulation prediction method and device, terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710980959.XA CN107714097A (en) | 2017-10-19 | 2017-10-19 | Ovulation prediction method and device, terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107714097A true CN107714097A (en) | 2018-02-23 |
Family
ID=61212162
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710980959.XA Pending CN107714097A (en) | 2017-10-19 | 2017-10-19 | Ovulation prediction method and device, terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107714097A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110223290A (en) * | 2019-06-19 | 2019-09-10 | 深圳市亚辉龙生物科技股份有限公司 | Film appraisal procedure, device, computer equipment and storage medium |
CN110261627A (en) * | 2019-07-29 | 2019-09-20 | 杭州棒糖网络科技有限公司 | A kind of high-precision ovulation period prediction technique and device |
CN110448337A (en) * | 2019-08-23 | 2019-11-15 | 徐州联荣科技有限公司 | A kind of ovulation day monitoring device and its application method |
CN111426682A (en) * | 2020-03-18 | 2020-07-17 | 重庆诺思达医疗器械有限公司 | Method, device and equipment for detecting diseases and readable storage medium |
CN111968118A (en) * | 2020-10-09 | 2020-11-20 | 广州万孚健康科技有限公司 | Ovulation monitoring and analyzing method and system and readable storage medium |
CN114376619A (en) * | 2020-10-20 | 2022-04-22 | 中国计量大学 | Multi-index female ovulation detection system |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100696428B1 (en) * | 2005-09-23 | 2007-03-19 | 김용환 | A panties of pregnancy and ovulation for diagnosis |
CN101528138A (en) * | 2006-09-05 | 2009-09-09 | 孕育中心有限公司 | Method of detecting and predicting ovulation and the period of fertility |
CN102768272A (en) * | 2012-07-09 | 2012-11-07 | 北京利德曼生化股份有限公司 | Ovulation tester |
CN104697938A (en) * | 2015-03-21 | 2015-06-10 | 杨轶轩 | Test paper reading method and pregnancy test and ovulation testing method using same |
CN104964973A (en) * | 2015-07-08 | 2015-10-07 | 邓双胜 | Test paper reading and analyzing method and system based on mobile terminal camera |
CN105116153A (en) * | 2015-08-07 | 2015-12-02 | 南通市伊士生物技术有限责任公司 | Semiquantitative detection system for luteinizing hormone and detection method thereof |
CN105137093A (en) * | 2015-07-24 | 2015-12-09 | 天津起跑线生物信息技术有限公司 | Method for early warning of ovulation period |
CN105232091A (en) * | 2015-09-30 | 2016-01-13 | 龙国亮 | Women's ovulation detecting system and method |
CN106108952A (en) * | 2016-06-08 | 2016-11-16 | 杭州冰桶生物科技有限公司 | A kind of female ovulation surveys pregnant detection method |
CN106405118A (en) * | 2016-09-27 | 2017-02-15 | 北京爱康泰科技有限责任公司 | Ovulation test paper detection method and system |
CN106546756A (en) * | 2016-10-20 | 2017-03-29 | 北京爱康泰科技有限责任公司 | A kind of ovulation test paper detection method and system |
-
2017
- 2017-10-19 CN CN201710980959.XA patent/CN107714097A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100696428B1 (en) * | 2005-09-23 | 2007-03-19 | 김용환 | A panties of pregnancy and ovulation for diagnosis |
CN101528138A (en) * | 2006-09-05 | 2009-09-09 | 孕育中心有限公司 | Method of detecting and predicting ovulation and the period of fertility |
CN102768272A (en) * | 2012-07-09 | 2012-11-07 | 北京利德曼生化股份有限公司 | Ovulation tester |
CN104697938A (en) * | 2015-03-21 | 2015-06-10 | 杨轶轩 | Test paper reading method and pregnancy test and ovulation testing method using same |
CN104964973A (en) * | 2015-07-08 | 2015-10-07 | 邓双胜 | Test paper reading and analyzing method and system based on mobile terminal camera |
CN105137093A (en) * | 2015-07-24 | 2015-12-09 | 天津起跑线生物信息技术有限公司 | Method for early warning of ovulation period |
CN105116153A (en) * | 2015-08-07 | 2015-12-02 | 南通市伊士生物技术有限责任公司 | Semiquantitative detection system for luteinizing hormone and detection method thereof |
CN105232091A (en) * | 2015-09-30 | 2016-01-13 | 龙国亮 | Women's ovulation detecting system and method |
CN106108952A (en) * | 2016-06-08 | 2016-11-16 | 杭州冰桶生物科技有限公司 | A kind of female ovulation surveys pregnant detection method |
CN106405118A (en) * | 2016-09-27 | 2017-02-15 | 北京爱康泰科技有限责任公司 | Ovulation test paper detection method and system |
CN106546756A (en) * | 2016-10-20 | 2017-03-29 | 北京爱康泰科技有限责任公司 | A kind of ovulation test paper detection method and system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110223290A (en) * | 2019-06-19 | 2019-09-10 | 深圳市亚辉龙生物科技股份有限公司 | Film appraisal procedure, device, computer equipment and storage medium |
CN110261627A (en) * | 2019-07-29 | 2019-09-20 | 杭州棒糖网络科技有限公司 | A kind of high-precision ovulation period prediction technique and device |
CN110261627B (en) * | 2019-07-29 | 2020-11-10 | 杭州棒糖网络科技有限公司 | High-precision ovulation time prediction method and device |
CN110448337A (en) * | 2019-08-23 | 2019-11-15 | 徐州联荣科技有限公司 | A kind of ovulation day monitoring device and its application method |
CN111426682A (en) * | 2020-03-18 | 2020-07-17 | 重庆诺思达医疗器械有限公司 | Method, device and equipment for detecting diseases and readable storage medium |
CN111968118A (en) * | 2020-10-09 | 2020-11-20 | 广州万孚健康科技有限公司 | Ovulation monitoring and analyzing method and system and readable storage medium |
CN114376619A (en) * | 2020-10-20 | 2022-04-22 | 中国计量大学 | Multi-index female ovulation detection system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107714097A (en) | Ovulation prediction method and device, terminal | |
EP3429188B1 (en) | Regulation method, terminal equipment and non-transitory computer-readable storage medium for automatic exposure control of region of interest | |
CN104517268B (en) | Adjust the method and device of brightness of image | |
EP3554070B1 (en) | Photograph-capture method, apparatus and storage medium | |
CN109951627B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
RU2669511C2 (en) | Method and device for recognising picture type | |
US9524558B2 (en) | Method, system and software module for foreground extraction | |
US20140071310A1 (en) | Image processing apparatus, method, and program | |
CN112767392B (en) | Image definition determining method, device, equipment and storage medium | |
CN108229250B (en) | Traffic signal lamp repositioning method and device | |
US20180211368A1 (en) | Method and device for adjusting contrast | |
CN108932696B (en) | Signal lamp halo suppression method and device | |
US11783450B2 (en) | Method and device for image processing, terminal device and storage medium | |
CN109887044B (en) | Reproductive data evaluation method and system | |
CN107798314A (en) | Skin color detection method and device | |
CN106408567A (en) | Imaging quality detection method and apparatus of camera | |
US20150097990A1 (en) | Information processing apparatus, image capturing system, information processing method, and medium | |
CN111901459A (en) | Color temperature adjusting method, device, terminal and storage medium | |
CN113191327A (en) | Biological characteristic collection method, chip and computer readable storage medium | |
CN112188109B (en) | Camera debugging method and device and electronic equipment | |
CN113297880A (en) | Fingerprint acquisition method, fingerprint acquisition device, fingerprint acquisition terminal and storage medium | |
CN116320772A (en) | Fingerprint image acquisition method, fingerprint image acquisition equipment, storage medium and fingerprint image acquisition product | |
CN108763906B (en) | Biological feature recognition method and device | |
EP3038058A1 (en) | Methods and systems for color processing of digital images | |
CN103634526A (en) | Mobile terminal and method for adjusting configuration thereof by aid of camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 361000 Area 1F-D1, Huaxun Building A, Software Park, Xiamen Torch High-tech Zone, Xiamen City, Fujian Province Applicant after: Xiamen Meishao Co., Ltd. Address before: Software Park Siming District of Xiamen city in Fujian province 361008 two sunrise Road No. 22 Room 102, unit G03 Applicant before: XIAMEN MEIYOU INFORMATION SCIENCE & TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180223 |
|
RJ01 | Rejection of invention patent application after publication |