HK40096910A - A method of controlling auto-exposure settings of a mobile device having a camera - Google Patents
A method of controlling auto-exposure settings of a mobile device having a camera Download PDFInfo
- Publication number
- HK40096910A HK40096910A HK62024085123.3A HK62024085123A HK40096910A HK 40096910 A HK40096910 A HK 40096910A HK 62024085123 A HK62024085123 A HK 62024085123A HK 40096910 A HK40096910 A HK 40096910A
- Authority
- HK
- Hong Kong
- Prior art keywords
- color reference
- camera
- color
- image
- reference card
- Prior art date
Links
Description
技术领域Technical Field
本申请涉及一种控制具有至少一个相机的移动装置的自动曝光设置的方法,以及一种通过使用该移动装置来确定样品中分析物浓度的方法。本发明进一步涉及具有至少一个相机的移动装置,涉及用于确定体液样品中至少一种分析物浓度的试剂盒,并且进一步涉及计算机程序和计算机可读存储介质。这些方法、装置、计算机程序和存储介质具体地可用于医学诊断中,以便例如定性和/或定量检测一种或多种体液中的一种或多种分析物,诸如用于检测血液和/或间质液中的葡萄糖。然而,本发明也可应用于其他领域。This application relates to a method for controlling the automatic exposure settings of a mobile device having at least one camera, and a method for determining the concentration of an analyte in a sample using the mobile device. The invention further relates to a mobile device having at least one camera, to a kit for determining the concentration of at least one analyte in a body fluid sample, and further to a computer program and a computer-readable storage medium. These methods, devices, computer programs, and storage media are specifically applicable in medical diagnostics for, for example, qualitative and/or quantitative detection of one or more analytes in one or more body fluids, such as for detecting glucose in blood and/or interstitial fluid. However, the invention is also applicable to other fields.
背景技术Background Technology
在医学诊断学领域中,在许多情况下,必须在体液(例如血液、间质液、尿液、唾液或其他类型的体液)样品中检测一或多种分析物的浓度。待检测的分析物例如为葡萄糖、甘油三酯、乳酸、胆固醇或通常存在于这些体液中的其他类型分析物。根据分析物的浓度和/或存在,必要时,可选择适当的治疗方法。在不缩小范围的情况下,本发明可具体地就血糖测量来说明。然而,应注意的是,本发明也可用于使用测试条的其他分析测量类型。In the field of medical diagnostics, in many cases, it is necessary to detect the concentration of one or more analytes in samples of bodily fluids (e.g., blood, interstitial fluid, urine, saliva, or other types of bodily fluids). The analytes to be detected are, for example, glucose, triglycerides, lactate, cholesterol, or other types of analytes commonly present in these bodily fluids. Depending on the concentration and/or presence of the analytes, appropriate treatment methods may be selected, if necessary. Without narrowing its scope, the invention can be specifically described in relation to blood glucose measurement. However, it should be noted that the invention can also be used for other types of analytical measurements using test strips.
一般而言,本领域技术人员已知的装置以及方法利用包括一或多个测试化学物质的测试条,其中,该一个或多个测试化学物质在待检测的分析物存在时,能够执行一个或多个可检测的检测反应,诸如光学可检测的检测反应。关于这些测试化学物质,可参考例如J.Hoenes等人:The Technology Behind Glucose Meters:Test Strips,DiabetesTechnology&Therapeutics,第10卷,增刊1,2008年,S-10至S-26。其他类型的测试化学物质是可行的,并且可用于执行本发明。Generally, apparatuses and methods known to those skilled in the art utilize test strips comprising one or more test chemicals, wherein the one or more test chemicals are capable of performing one or more detectable detection reactions, such as optically detectable detection reactions, in the presence of the analyte to be detected. For example, reference can be made to J. Hoenes et al.: The Technology Behind Glucose Meters: Test Strips, Diabetes Technology & Therapeutics, Vol. 10, Supplement 1, 2008, pp. 10-26. Other types of test chemicals are feasible and can be used to carry out this invention.
通常,监测测试化学物质中的一种或多种光学可检测的变化,以便从这些变化中得出待检测的至少一种分析物的浓度。为了检测测试条的测试场的光学性质的至少一种变化,已知有各种类型的检测器(具有用于照亮测试场的各种类型的光源)(也称为专用仪表或分析测量装置)。Typically, one or more optically detectable changes in a test chemical substance are monitored in order to derive the concentration of at least one analyte to be detected from these changes. Various types of detectors (with various types of light sources for illuminating the test field) (also known as dedicated instruments or analytical measuring devices) are known for detecting at least one change in the optical properties of the test field of a test strip.
此外,除了使用专门为光学检测对应测试条所包括的测试化学物质的变化而开发的定制检测器之外,最近的开发旨在使用广泛可获得的装置,诸如智能手机。然而,当使用具有相机的消费性电子装置(诸如智能手机)代替专用分析测量装置以确定分析物浓度时,需要考虑各种影响。例如,将考虑照明条件、定位或其他或多或少不可控制的条件。In addition to using custom detectors specifically developed for optical detection of changes in the test chemicals included in the test strips, recent developments aim to utilize widely available devices, such as smartphones. However, when using consumer electronic devices with cameras (such as smartphones) instead of dedicated analytical measuring devices to determine analyte concentrations, various influences need to be considered. For example, lighting conditions, positioning, or other more or less uncontrollable conditions will be taken into account.
US20170042451A1描述了使用计算装置(可为智能手机)拍摄的图像中的像素值在很大程度上依赖于拍摄图像时存在的照明以及相机所拍摄的图像的曝光。因此,建议拍摄参考卡在其中也可见的图像。然后在所拍摄的图像中识别卡上具有已知反射率的纯灰色的位置,并分析该卡上位置的像素以使图像的曝光和白平衡标准化。然后将标准化应用于图像的所选像素的平均值,以创建校正的像素值。US20170042451A1 describes how pixel values in images captured using a computing device (such as a smartphone) are highly dependent on the lighting present at the time the image was captured and the exposure of the image taken by the camera. Therefore, it is recommended to capture an image in which a reference card is also visible. Then, locations of pure gray with known reflectivity on the card are identified in the captured image, and the pixels at those locations are analyzed to normalize the image's exposure and white balance. This normalization is then applied to the average of selected pixels in the image to create corrected pixel values.
US10469807B2描述了一种使用包括至少一个参考标度的模板卡来确定颜色匹配的系统。接收模板卡的图像和颜色样品,并且基于至少一个参考标度RGB值与至少一个参考标度的对应校准RGB值之间的差异对样品RGB值应用颜色校正以生成颜色校正的样品RGB值。然后将颜色校正的样品RGB值与储存在数据库中的颜色定义的RGB值进行比较以确定颜色匹配。描述了未知的相机增益和照明效果可能不会影响实际红色、绿色和蓝色颜色值,因为相机增益和照明效果以与影响未知颜色的样品相同的方式来影响模板卡。因此描述了模板卡用作参考卡以消除可能影响未知颜色样品的感知或成像的许多变化。进一步描述了在卡的背景颜色为均匀且已知的情况下,可以利用这一事实来计算且减去任何平顺不均匀性,从而产生比实际小数倍的残余不均匀性。这可以通过对模板背景图像中已知颜色相同的多个点进行采样,并基于该点的位置确定图像中与已知颜色的差异,以找到并去除平顺不均匀性。US10469807B2 describes a system for determining color matching using a template card that includes at least one reference scale. The system receives an image of the template card and a color sample, and applies color correction to the sample RGB values based on the difference between the RGB values of at least one reference scale and their corresponding calibrated RGB values to generate color-corrected sample RGB values. The color-corrected sample RGB values are then compared with RGB values of color definitions stored in a database to determine a color match. It is described that unknown camera gain and illumination effects may not affect the actual red, green, and blue color values because these effects affect the template card in the same way they affect the sample of unknown color. Therefore, the template card is described as being used as a reference card to eliminate many variations that may affect the perception or imaging of the unknown color sample. It is further described that, when the background color of the card is uniform and known, this fact can be used to calculate and subtract any smooth inhomogeneities, resulting in residual inhomogeneities several times smaller than the actual ones. This can be achieved by sampling multiple points in the template background image that are of the same known color and determining the difference in the image from the known color based on the location of that point, thus finding and removing smooth inhomogeneities.
US9903857B2描述了一种用于执行分析的测试设备,该测试设备包括:容器,其含有试剂,该试剂通过对颜色或图案变化进行显色而与经施加的测试样品起反应;移动电话或笔记本电脑,其包括处理器和图像捕获装置,其中,处理器配置为用于处理通过图像捕获装置所捕获的数据并且输出针对所施加的测试样品的测试结果。进一步描述了在所得图像的动态范围不足以达到检测极限的情况下,或者在照明平均曝光设置的限制迫使动态范围太差的情况下,可能需要在不同的曝光设置下捕获多个图像然后将这些图像组合成单个更高动态范围的“虚拟”图像,使用适当的算法在帧之间重新定向图像,并舍弃不需要的或低价值的数据。描述了对比颜色(例如在测试条外壳上)和外壳的不同形状以简化图像处理。在没有外壳或外壳与测试条颜色相似的情况下,公开了在图像捕获期间将测试条放置在对比鲜明的背景上可能是优选的。US9903857B2 describes a test apparatus for performing analysis, comprising: a container containing a reagent that reacts with an applied test sample by color development of a color or pattern change; a mobile phone or laptop computer including a processor and an image capture device, wherein the processor is configured to process data captured by the image capture device and output test results for the applied test sample. It further describes that when the dynamic range of the resulting image is insufficient to reach the detection limit, or when the limitation of the average exposure setting forces the dynamic range to be too poor, it may be necessary to capture multiple images at different exposure settings and then combine these images into a single "virtual" image with a higher dynamic range, using appropriate algorithms to redirect the images between frames and discard unwanted or low-value data. Different shapes of contrasting colors (e.g., on the test strip shell) and shells are described to simplify image processing. In the absence of a shell or when the shell is a similar color to the test strip, it is disclosed that placing the test strip against a contrasting background during image capture may be preferred.
US9506855B2公开了在用于定量比色分析的移动电话的受控设定之外的日常使用的挑战是补偿环境光条件。描述了在一张参考图表上测量12个区域时,发现不同环境光条件下测得的强度呈线性关系。得出的结论是,参考比色图表可用于补偿环境光变化引起的强度差异。还描述了参考图表几乎消除了自动相机功能的影响,使图像可重现且可量化。通过包括黄色、橙色和红色区域,将参考图表向暖色方向偏移,这克服了AWB降低CMOS成像阵列的红色波段的增益的趋势,因为硅在这些较长波长下表现出更好的响应能力。US9506855B2 discloses a challenge in everyday use of mobile phones for quantitative colorimetric analysis, beyond controlled settings, namely compensating for ambient light conditions. It describes how, when measuring 12 regions on a reference chart, the intensity measured under different ambient light conditions showed a linear relationship. The conclusion is that the reference colorimetric chart can be used to compensate for intensity differences caused by variations in ambient light. It also describes how the reference chart virtually eliminates the effects of automatic camera functionality, making images reproducible and quantifiable. By including yellow, orange, and red regions, shifting the reference chart towards warmer colors overcomes the tendency of AWB to reduce the gain of CMOS imaging arrays in the red band, as silicon exhibits better response at these longer wavelengths.
尽管使用移动计算设备和颜色参考卡执行分析测量具有优势,但仍存在许多技术挑战。具体而言,利用移动装置通过光学测试条来确定分析物浓度可能需要准确确定光学测试条的颜色变化,因此通常仍然具有挑战性。需要保证合适的图像亮度。在所捕获的图像中观察到的亮度可能例如取决于各种影响因素,诸如在捕获图像时确定曝光的设置,诸如快门速度、光圈大小和传感器增益,以及捕获图像后应用于该图像的后处理步骤。具体而言,移动装置对曝光设置的确定通常是在自动曝光模式下进行的装置特定的过程,并且因此可能对测量应用程序的制造商而言是未知的。尽管使用自动曝光模式拍摄的图像通常具有良好的整体或平均亮度,但可能存在局部曝光不足或过度曝光的图像部分,该部分比图像平均值更暗或更亮。执行落在可表示的最小或最大强度之外的强度值将在图像中表现为最小或最大亮度的均匀区域,从而丢失图像细节。如果基本图像元素(例如,测试场)因此位于那些曝光不足或过度曝光的图像区域内,则该图像不能用于确定分析物浓度。While performing analytical measurements using mobile computing devices and color reference cards offers advantages, several technical challenges remain. Specifically, determining analyte concentrations using a mobile device via optical test strips often requires accurately determining the color variations of the test strips, which is generally challenging. Adequate image brightness must be ensured. The brightness observed in a captured image can depend on various influencing factors, such as the exposure settings determined at the time of image capture, including shutter speed, aperture size, and sensor gain, as well as post-processing steps applied to the image after capture. Specifically, the determination of exposure settings by the mobile device is typically a device-specific process performed in automatic exposure mode and may therefore be unknown to the manufacturer of the measurement application. Although images captured using automatic exposure mode generally have good overall or average brightness, there may be underexposed or overexposed areas that are darker or brighter than the image average. Applying intensity values that fall outside the representable minimum or maximum intensity will result in uniform areas of minimum or maximum brightness in the image, leading to a loss of image detail. If fundamental image elements (e.g., the test field) are therefore located within those underexposed or overexposed image areas, the image cannot be used to determine analyte concentrations.
待解决的问题Problems to be solved
因此,期望提供一种方法和装置,其可解决上述使用移动装置的技术挑战,例如使用消费性电子移动装置,具体地不专用于分析测量的多功能移动装置,诸如智能手机或平板计算机。具体而言,应提出用于控制移动装置的自动曝光设置的方法和装置,以确保获取适合于可靠且准确地确定分析物浓度的图像。进一步期望提供一种方法和装置,其允许对体液样品中的分析物进行使用者友好的移动式确定,分析测量具有高准确度和可靠性,并因此可以考虑图像亮度和装置特定的方面。Therefore, it is desirable to provide a method and apparatus that addresses the aforementioned technical challenges of using mobile devices, such as consumer electronic mobile devices, specifically multifunctional mobile devices not dedicated to analytical measurements, such as smartphones or tablets. Specifically, a method and apparatus for controlling the automatic exposure settings of the mobile device should be provided to ensure the acquisition of images suitable for reliably and accurately determining analyte concentrations. Furthermore, it is desirable to provide a method and apparatus that allows for user-friendly mobile determination of analytes in bodily fluid samples, with high accuracy and reliability in analytical measurements, and thus takes into account image brightness and device-specific aspects.
发明内容Summary of the Invention
这个问题通过以下来解决:一种当通过使用相机捕获颜色参考卡的至少一部分的至少一个图像和施加有样品的光学测试条的试剂测试场的至少一部分的至少一个图像时,控制具有至少一个相机的移动装置的自动曝光设置的方法;一种通过使用该移动装置来确定样品中分析物浓度的方法;具有独立权利要求的特征的计算机程序、计算机可读存储介质、计算器可读存储介质、试剂盒和移动装置。可用单独方式或以任何随意组合方式实现的有利实施例列于从属权利要求。This problem is solved by: an automatic exposure setting of a moving device having at least one camera when capturing at least one image of at least a portion of a color reference card and at least one image of at least a portion of a reagent test field to which an optical test strip of the sample is applied using a camera; a method for determining the concentration of an analyte in a sample using the moving device; a computer program, a computer-readable storage medium, a calculator-readable storage medium, a reagent kit, and a moving device having the features of the independent claims. Advantageous embodiments that can be implemented individually or in any arbitrary combination are set forth in the dependent claims.
如下文所使用的,术语“具有”、“包含”或“包括”或其任意语法变化形式以非排他性方式使用。因此,这些术语既可指除了由这些术语引入的特征之外,在此上下文中描述的实体中不存在其他特征的情况,也可指存在一个或多个其他特征的情况。作为示例,表述“A具有B”、“A包含B”和“A包括B”都可指除B之外,A中不存在其他任何元素的情况(即,A仅由B组成的情况),以及除B之外,实体A中还存在一个或多个其他元素诸如元素C、元素C和D或甚至其他元素的情况。As used below, the terms “have,” “contain,” or “include,” or any grammatical variation thereof, are used in a non-exclusive manner. Thus, these terms can refer either to a situation where no other features exist in the entity described in this context besides those introduced by these terms, or to a situation where one or more other features exist. For example, the statements “A has B,” “A contains B,” and “A includes B” can all refer to a situation where no other elements exist in A besides B (i.e., A consists only of B), and to a situation where entity A contains one or more other elements besides B, such as element C, elements C and D, or even other elements.
此外,应注意,指示特征或元素可存在一次或多次的术语“至少一个”、“一个或多个”或类似表述通常在引入相应特征或元素时仅使用一次。在下文中,在大多数情况下,当提及相应的特征或元素时,尽管相应的特征或元素可能只存在一次或多次,但不会重复使用表述“至少一个”或“一个或多个”。Furthermore, it should be noted that the terms "at least one," "one or more," or similar expressions indicating that a feature or element may exist once or more are generally used only once when the corresponding feature or element is introduced. In the following text, in most cases, when referring to the corresponding feature or element, the expressions "at least one" or "one or more" will not be used repeatedly, even though the corresponding feature or element may exist only once or more.
此外,如下所用,术语“优选地”、“更优选地”、“特别地”、“更特别地”、“具体地”、“更具体地”或类似的术语与可选特征结合使用,而不限制替代可能性。因此,由这些术语引入的特征是可选特征,并且无意以任何方式限制权利要求的范围。如技术人员将认识到的,本发明可通过使用替代特征来执行。类似地,由“在本发明的实施例中”引入的特征或类似表述意图成为可选特征,而对本发明的替代实施例没有任何限制,对本发明的范围没有任何限制,并且对将以这种方式引入的特征与本发明的其他可选或非可选特征相结合的可能性也没有任何限制。Furthermore, as used below, the terms "preferredly," "more preferably," "particularly," "more particularly," "specifically," "more specifically," or similar terms are used in combination with optional features without limiting the possibility of substitution. Therefore, features introduced by these terms are optional features and are not intended to limit the scope of the claims in any way. As those skilled in the art will recognize, the invention can be practiced using alternative features. Similarly, features introduced by "in embodiments of the invention" or similar expressions are intended to be optional features, without limiting alternative embodiments of the invention, without limiting the scope of the invention, and without limiting the possibility of combining features introduced in this way with other optional or non-optional features of the invention.
在第一方面,公开了一种当通过使用相机捕获颜色参考卡的至少一部分的至少一个图像和施加有样品的光学测试条的试剂测试场的至少一部分的至少一个图像时,控制具有至少一个相机的移动装置的自动曝光设置的方法。In a first aspect, a method is disclosed for controlling the automatic exposure settings of a moving device having at least one camera when at least one image of at least a portion of a color reference card and at least one image of at least a portion of a reagent test field on which an optical test strip of a sample is applied are captured by using a camera.
该方法包括下列步骤:The method includes the following steps:
a)提供颜色参考卡和具有施加有样品的测试场的光学测试条,a) Provide a color reference card and optical test strips with a test field on which the sample is applied.
ο其中颜色参考卡包括具有已知参考颜色值的多个不同的颜色参考场以及具有定义的灰度值的一个或多个灰色背景场,The color reference card includes multiple distinct color reference fields with known reference color values and one or more gray background fields with defined grayscale values.
b)设置曝光计量区,并且基于设置的曝光计量区中的场景确定自动曝光设置,b) Set the exposure metering area, and determine the automatic exposure settings based on the scene within the set exposure metering area.
ο其中设置的曝光计量中的场景包括施加有样品的光学测试条的试剂测试场的至少一部分,以及颜色参考卡的该多个不同的颜色参考场的至少一部分和该一个或多个灰色背景场的至少一部分,以及The scene set in the exposure metering includes at least a portion of a reagent test field on which an optical test strip of the sample is applied, at least a portion of the plurality of different color reference fields of the color reference card, and at least a portion of the one or more gray background fields.
c)通过使用相机捕获包括步骤b)的场景的图像,c) Capture images of the scene including that in step b) using a camera.
ο其中使用步骤b)的经确定的自动曝光设置。The determined automatic exposure settings from step b) are used.
该方法可包括未列出的其他步骤。This method may include other steps not listed.
如本文所使用,术语“自动曝光设置”是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体而言可涉及,但不限于,相机的自动调整的曝光参数值以控制曝光或进入图像的光的量。可以例如通过调整诸如传感器增益、快门速度或曝光时间、透镜光圈中的一者或多者的曝光参数值,或者通过调整用于改变相机曝光参数值的任何其他相机操作来调节曝光。传感器增益可以例如被定义为控制来自一个或多个相机传感器的信号的放大的数码相机设置。在调整传感器增益时,可以针对每个传感器或相机的传感器子集单独控制信号的放大。可替代地,当调整传感器增益时,可以针对相机的所有传感器统一控制信号的放大。增加增益会通过增加数字模拟单元(ADU)与传感器上获取的电子的比率来放大信号。结果是增加增益会增强图像的表观亮度。快门速度或曝光时间可以例如被定义为相机快门打开、将光曝光到相机传感器上的时间长度。透镜光圈可以指限制可以穿过的光的量的孔或开口。虽然对于一些移动装置,曝光参数值可以由使用者手动设置,但许多智能手机(尤其是便宜的智能手机),不允许使用者自由调整曝光参数值,例如传感器增益、快门速度(曝光时间)或透镜光圈。这些智能手机只提供自动曝光模式。例如,这种自动曝光模式会尝试拍摄图像,使得图像的积分强度或亮度符合预定义值。然而,当自动曝光设置基于设置的曝光计量区中的不合适的场景而确定时,这可能导致不合适的自动曝光设置用于捕获图像,使所得图像不适合于用来确定样品中的分析物的浓度。As used herein, the term "auto exposure setting" is a broad term and will be given the common and customary meaning to those skilled in the art, and is not limited to a specific or customary meaning. Specifically, the term may refer to, but is not limited to, automatically adjusted exposure parameter values of a camera to control the amount of light entering or exposing an image. Exposure can be adjusted, for example, by adjusting one or more of the exposure parameter values such as sensor gain, shutter speed or exposure time, lens aperture, or by adjusting any other camera operation used to change the camera's exposure parameter values. Sensor gain can be defined, for example, as a digital camera setting that controls the amplification of signals from one or more camera sensors. When adjusting sensor gain, signal amplification can be controlled individually for each sensor or a subset of the camera's sensors. Alternatively, when adjusting sensor gain, signal amplification can be controlled uniformly for all sensors of the camera. Increasing gain amplifies the signal by increasing the ratio of the digital-to-analog unit (ADU) to the electrons acquired on the sensor. As a result, increasing gain enhances the apparent brightness of the image. Shutter speed or exposure time can be defined, for example, as the length of time the camera shutter is open, exposing light to the camera sensor. A lens aperture refers to a hole or opening that restricts the amount of light that can pass through. While some mobile devices allow users to manually set exposure parameters, many smartphones (especially inexpensive ones) do not allow users to freely adjust exposure parameters such as sensor gain, shutter speed (exposure time), or lens aperture. These smartphones only offer an automatic exposure mode. For example, this automatic exposure mode attempts to capture an image so that the integrated intensity or brightness of the image meets predefined values. However, when the automatic exposure settings are determined based on an unsuitable scene within the set exposure metering range, this can result in inappropriate automatic exposure settings being used to capture an image that is unsuitable for determining the concentration of analytes in a sample.
术语“控制”通常是指影响或调节设置的过程或以定义或可定义的方式确定设置的过程。当确定自动曝光设置时,结果(经确定的自动曝光设置)受待成像的场景或场景的一部分(或更具体地,场景或场景的一部分中的照明条件)的影响。可以设置曝光计量区来确定相机视场中的场景(或整个场景)的哪一部分被相机使用以确定自动曝光设置。The term "control" generally refers to the process of influencing or adjusting settings, or the process of determining settings in a defined or definable manner. When determining automatic exposure settings, the result (the determined automatic exposure settings) is affected by the scene or a portion of the scene to be imaged (or more specifically, the lighting conditions within the scene or a portion of the scene). Exposure metering zones can be set to determine which part of the scene (or the entire scene) in the camera's field of view is used by the camera to determine the automatic exposure settings.
如本文中所使用的术语“移动装置”,是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体地可涉及,但不限于,移动电子装置,更具体地涉及移动通讯装置,诸如手机或智能手机。此外或可替代地,如以下将进一步详述,该移动装置也可涉及具有至少一个相机的平板计算机或另一类型的便携式计算机。As used herein, the term "mobile device" is a broad term and will be given the common and customary meaning to those skilled in the art, and is not limited to any particular or customary meaning. The term may specifically refer to, but is not limited to, mobile electronic devices, and more specifically to mobile communication devices such as mobile phones or smartphones. Additionally or alternatively, as will be further detailed below, the mobile device may also refer to a tablet computer or another type of portable computer having at least one camera.
如本文中所使用的术语“相机”,是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体地可涉及,但不限于,具有至少一种成像元件的装置,该成像元件配置为用于记录或捕获空间分辨的一维、二维或甚至三维光学数据或信息。该相机可具体地包括一或多个成像装置,诸如相机芯片或成像芯片,例如CCD和/或CMOS芯片。该相机,特定地成像装置可包括图像传感器的一维或二维阵列(诸如像素)。例如,该相机可在至少一个维度上包括至少10个像素,诸如各维度上包括至少10个像素。但应注意的是,其他相机也是可行的。除了至少一个相机芯片或成像芯片之外,该相机也可包括另外元件,诸如一个或多个光学元件,例如,一个或多个透镜。例如,该相机可为固定焦距相机,其具有至少一个相对于该相机固定地调整的透镜。然而,可替代地,该相机也可包括自动或手动调整的一个或多个可变透镜。该相机还可以包括用于控制光圈的膜片(由此可以控制达到相机传感器的光的量)。膜片的功能很像眼睛的虹膜-其控制透镜开口(称为光圈)的有效直径。该相机可以进一步包括环境光传感器,用于测量场景反射的将在图像中捕获的光。As used herein, the term "camera" is a broad term and will be given the common and customary meaning to those skilled in the art, and is not limited to any particular or customary meaning. Specifically, the term may refer to, but is not limited to, an apparatus having at least one imaging element configured to record or capture spatially resolved one-dimensional, two-dimensional, or even three-dimensional optical data or information. The camera may specifically include one or more imaging devices, such as a camera chip or imaging chip, for example, a CCD and/or CMOS chip. The imaging device of the camera may specifically include a one-dimensional or two-dimensional array (such as pixels) of an image sensor. For example, the camera may include at least 10 pixels in at least one dimension, such as at least 10 pixels in each dimension. However, it should be noted that other cameras are also possible. In addition to at least one camera chip or imaging chip, the camera may also include additional elements, such as one or more optical elements, for example, one or more lenses. For example, the camera may be a fixed-focus camera having at least one lens that is fixedly adjusted relative to the camera. However, alternatively, the camera may also include one or more variable lenses that are automatically or manually adjusted. The camera may also include a diaphragm for controlling the aperture (thereby controlling the amount of light reaching the camera sensor). The diaphragm functions much like the iris of an eye—it controls the effective diameter of the lens opening (called the aperture). The camera could further include an ambient light sensor to measure the light reflected from the scene that will be captured in the image.
本发明应可具体适用于相机,如通常用于移动应用程序中的例如笔记本电脑、平板电脑,或具体地如手机,例如智能手机。因此,具体地,该相机可为移动装置的部分,该移动装置除该至少一个相机外还包括一或多个数据处理装置,例如一或多个数据处理器。然而,其他相机也是可行的。This invention is specifically applicable to cameras, such as those commonly used in mobile applications, like laptops, tablets, or specifically mobile phones, such as smartphones. Therefore, specifically, the camera can be part of a mobile device that, in addition to the at least one camera, includes one or more data processing devices, such as one or more data processors. However, other cameras are also feasible.
相机具体可为彩色相机。因此,例如对于每个像素,可以提供或生成颜色信息,例如三种颜色R、G、B的颜色值,更大数量的颜色值也是可行的,例如对于每个像素的四个颜色值,例如R、G、G、B。彩色相机通常是技术人员一般已知的。因此,例如,相机芯片可由三个或更多不同的颜色传感器组成,例如彩色记录像素,其中一个像素用于红色(R),一个像素用于绿色(G),一个像素用于蓝色(B)。对于每个像素,例如对于R、G、B,依据相应颜色的强度通过像素记录数值,例如0至255范围内的数字值。代替使用例如R、G、B的颜色三元组,作为示例,可以使用例如R、G、G、B四元组。像素的颜色灵敏度可由滤色器或由相机像素中所使用的传感器元件的适当固有灵敏度生成,这些技术是技术人员一般已知的。例如,增益可以是控制来自相机传感器的信号的放大的数码相机设置。The camera can specifically be a color camera. Therefore, for example, for each pixel, color information can be provided or generated, such as color values for three colors: R, G, and B. A larger number of color values are also possible, such as four color values for each pixel, for example, R, G, G, and B. Color cameras are generally known to those skilled in the art. Therefore, for example, the camera chip can consist of three or more different color sensors, such as color recording pixels, one pixel for red (R), one pixel for green (G), and one pixel for blue (B). For each pixel, for example, for R, G, and B, a numerical value is recorded by the pixel according to the intensity of the corresponding color, for example, a digital value in the range of 0 to 255. Instead of using a color triplet such as R, G, and B, for example, a quadruple such as R, G, G, and B can be used. The color sensitivity of a pixel can be generated by a color filter or by the appropriate inherent sensitivity of the sensor elements used in the camera pixel; these techniques are generally known to those skilled in the art. For example, gain can be a digital camera setting that controls the amplification of the signal from the camera sensor.
如上所略述,步骤a)包括提供颜色参考卡和具有施加有样品的测试场的光学测试条。As briefly described above, step a) includes providing a color reference card and an optical test strip with a test field on which the sample is applied.
如本文所使用,术语“光学测试条”是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体地可涉及,但不限于,配置为用于执行颜色变化检测反应的条形元件或装置。光学测试条在本文中也可仅称为测试条,其中这些术语可指称相同的元件。光学测试条可特别地具有试剂测试场,该试剂测试场包括至少一种用于检测至少一种分析物的测试化学物质。作为示例,光学测试条可包括至少一种具有至少一种试剂测试场施加于其或整合于其中的基板,例如至少一种载体。特别地,光学测试条可进一步包括至少一个白色区域,例如白场(white field),特别是在接近测试场的地方,例如包围或围绕测试场。白色区域可为独立布置在基板或载体上的分离场。然而,此外或可替代地,基板或载体本身可为或可包括白色区域。该至少一种载体可以是条形的,从而提供测试条的基本形式。这类测试条一般都是广泛使用且可获得的。一个测试条可带有单一测试场或多个测试场,其中包括相同或不同的测试化学品。As used herein, the term "optical test strip" is a broad term and will be given the common and customary meaning to those skilled in the art, and is not limited to a specific or customary meaning. The term specifically refers to, but is not limited to, strip-shaped elements or devices configured to perform a color change detection reaction. An optical test strip may also be referred to herein simply as a test strip, where these terms may refer to the same element. An optical test strip may particularly have a reagent test field comprising at least one test chemical substance for detecting at least one analyte. As an example, an optical test strip may comprise at least one substrate, such as at least one carrier, having at least one reagent test field applied thereto or integrated therein. In particular, an optical test strip may further comprise at least one white area, such as a white field, especially near the test field, such as surrounding or enclosing the test field. The white area may be a separate field arranged independently on the substrate or carrier. However, additionally or alternatively, the substrate or carrier itself may be or may comprise a white area. The at least one carrier may be strip-shaped, thus providing the basic form of a test strip. Such test strips are generally widely used and available. A test strip may have a single test field or multiple test fields, which may contain the same or different test chemicals.
如本文所进一步使用,术语“试剂测试场”(也称为“测试场”)是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体地可涉及但不限于测试化学物质的相干量,例如具有一层或多层材料的场(例如圆形、多边形或矩形的场或区域),测试场的至少一层具有测试化学物质包括于其中。As used further herein, the term “reagent test field” (also referred to as “test field”) is a broad term and will be given a common and customary meaning to those skilled in the art, and is not limited to a particular or customary meaning. The term may specifically refer to, but is not limited to, a coherent quantity of a test chemical substance, such as a field (e.g., a circular, polygonal, or rectangular field or area) having one or more layers of material, at least one layer of which contains the test chemical substance.
测试条可放置在颜色参考卡的顶部,和/或颜色参考卡可包括一个或多个窗口,其中具有一个或多个窗口的颜色参考卡放置在光学测试条的顶部,使得通过窗口可见到试剂测试区域。The test strip may be placed on top of the color reference card, and/or the color reference card may include one or more windows, wherein the color reference card having one or more windows is placed on top of the optical test strip so that the reagent test area is visible through the windows.
如本文所使用,术语“颜色参考卡”是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体地可涉及,但不限于具有、设置在其中或设置在其上(例如在至少一个表面上)的具有已知颜色性质或光学性质的多个不同颜色参考场的任意项目,诸如具有已知参考颜色值的多个色场及进一步的具有定义的灰阶的一个或多个灰色背景场。例如,颜色参考卡可为包括至少一种基底的平面卡,该基底在至少一个表面上具有和/或在其中设置有多个具有已知颜色坐标的颜色参考场和一个或多个具有已知灰阶的灰色背景场。颜色参考卡还可以包括一个或多个另外的灰色场。这将在下面进一步描述。As used herein, the term "color reference card" is a broad term and will be given the common and customary meaning to those skilled in the art, and is not limited to a specific or customary meaning. The term may specifically refer to, but is not limited to, any item having, disposed therein, or disposed on (e.g., on at least one surface) multiple different color reference fields having known color or optical properties, such as multiple color fields with known reference color values and further, one or more gray background fields with defined gray levels. For example, a color reference card may be a planar card comprising at least one substrate having and/or disposed therein on at least one surface multiple color reference fields with known color coordinates and one or more gray background fields with known gray levels. A color reference card may also include one or more additional gray fields. This will be further described below.
具体地,基底可以具有平坦表面,该平坦表面包括多个颜色参考场、一个或多个灰色背景场以及任选地设置在其上的(附加)灰色场(见下文)。作为示例,基板可为或可包括纸基板、纸板基板、塑料基板、陶瓷基板或金属基板中的一种或多种。也可能为层压基板。作为示例,基板可为片状或柔性的。然而,应注意的是,基板也可实施到所用的制品中,例如实施到盒壁、vile、容器、医用耗材(例如测试条)等中。因此,颜色参考卡也可以完全或部分地集成至光学测试条中。因此,颜色参考卡的至少一部分的至少一个图像可完全或部分地包括具有至少一个试剂测试场的光学测试条的至少一部分的图像。Specifically, the substrate may have a flat surface comprising a plurality of color reference fields, one or more gray background fields, and optionally (additional) gray fields disposed thereon (see below). As an example, the substrate may be or may include one or more of a paper substrate, cardboard substrate, plastic substrate, ceramic substrate, or metal substrate. It may also be a laminated substrate. As an example, the substrate may be sheet-like or flexible. However, it should be noted that the substrate may also be incorporated into the article of manufacture, such as into a box wall, vile, container, medical consumable (e.g., test strip), etc. Therefore, the color reference card may also be wholly or partially integrated into the optical test strip. Thus, at least one image of at least a portion of the color reference card may wholly or partially comprise an image of at least a portion of the optical test strip having at least one reagent test field.
此外,颜色参考卡可包括至少一个位置标记。作为示例,该至少一个位置标记可为或可以特别地包括ArUco码等。具体地,该至少一个位置标记可布置在颜色参考卡的至少一角。因此,移动装置配置为用于检测和/或读取标记,具体地通过光学检测(例如在步骤c)中捕获的至少一个图像的)标记,并视情况从标记检索信息,诸如有关颜色参考卡相对于相机的位置和/或方向的信息。颜色参考卡可以包括另外信息的其他标记,或者位置标记可以附加地包括另外信息。此类另外信息可以包括以下中的至少一者:用于识别颜色参考卡和/或颜色参考卡的类型的标识符,诸如标签、条形码或QR码中的至少一者;指定颜色参考卡的细节(诸如参考颜色值、灰色背景和/或另外灰度值等)的说明符,诸如通过使用标签、条形码或QR码中的至少一者。Furthermore, the color reference card may include at least one location marker. As an example, the at least one location marker may be, or may specifically include, an ArUco code, etc. Specifically, the at least one location marker may be positioned at at least one corner of the color reference card. Therefore, the mobile device is configured to detect and/or read the marker, specifically by optical detection (e.g., of the marker in at least one image captured in step c), and, where appropriate, retrieve information from the marker, such as information about the position and/or orientation of the color reference card relative to the camera. The color reference card may include other markers containing additional information, or the location markers may additionally include additional information. Such additional information may include at least one of the following: an identifier for identifying the color reference card and/or the type of color reference card, such as at least one of a label, barcode, or QR code; a specifier specifying details of the color reference card (such as reference color values, gray background, and/or other grayscale values, etc.), such as by using at least one of a label, barcode, or QR code.
如本文所使用,术语“颜色参考场”是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体地可涉及,但不限于,具有已知光学性质(例如已知参考颜色值)的任意项目。具体地,由颜色参考卡组成的颜色参考场可为二维结构,例如矩形、正方形、多边形、圆形和/或椭圆形,其具有统一的颜色值。颜色参考场的颜色值具体地可为预定颜色值、已知颜色值或可确定颜色值中的一种或多种。颜色参考场可由颜色参考卡的表面组成和/或设置于其中,具体而言以这样的方式设置,其使得该多个不同的颜色参考场的至少一部分(例如一个颜色参考场)可在步骤c)中捕获的图像中可见。此外,颜色参考场可具有在颜色坐标系统的子空间中的颜色值,该子空间对应于试剂测试区域的颜色形成反应的颜色空间。颜色参考卡的颜色参考场具体地可以规则的图案布置在颜色参考卡的表面,例如以矩形图案(例如矩形矩阵图案)布置。图案布置具体地可实现识别颜色参考场,例如通过从位置标记中的一个或多个中沿x方向和/或y方向以预定距离搜索来实现。As used herein, the term "color reference field" is a broad term and will be given a meaning common and customary to those skilled in the art, and is not limited to a specific or customary meaning. Specifically, the term may refer to, but is not limited to, any item having known optical properties (e.g., known reference color values). Specifically, a color reference field composed of color reference cards may be a two-dimensional structure, such as a rectangle, square, polygon, circle, and/or ellipse, having uniform color values. The color values of the color reference field may specifically be one or more of predetermined color values, known color values, or determinable color values. The color reference field may be composed of and/or disposed therein by the surface of the color reference cards, specifically disposed in such a way that at least a portion (e.g., one color reference field) of the plurality of different color reference fields is visible in the image captured in step c). Furthermore, the color reference field may have color values in a subspace of a color coordinate system corresponding to the color space of the color-forming reaction in the reagent test area. The color reference fields of the color reference cards may specifically be arranged in a regular pattern on the surface of the color reference cards, for example, in a rectangular pattern (e.g., a rectangular matrix pattern). The pattern arrangement can specifically enable the identification of a color reference field, for example, by searching along the x and/or y directions at predetermined distances from one or more of the location markers.
此外,颜色参考场可局部分布在颜色参考卡上,具体地分布在图像中可见的一部分颜色参考卡上。颜色参考卡包括具有不同参考颜色值的至少两个颜色参考场。具体地,颜色参考卡可包括具有不同颜色值的多个颜色参考场,其中颜色参考场的颜色值可选自颜色空间的预定颜色子空间。预定颜色子空间可包括试剂测试场的颜色形成反应的至少一个颜色值。Furthermore, the color reference fields may be locally distributed on the color reference card, specifically on a portion of the color reference card visible in the image. The color reference card includes at least two color reference fields with different reference color values. Specifically, the color reference card may include multiple color reference fields with different color values, wherein the color values of the color reference fields can be selected from a predetermined color subspace of the color space. The predetermined color subspace may include at least one color value of the color-forming reaction of the reagent test field.
如本文所使用,术语“已知颜色参考值”是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体地可涉及,但不限于,颜色参考场的预定颜色值、实际颜色值或真实颜色值。具体地,已知参考颜色值可包括至少三个颜色值,例如每种R、G、B颜色至少一个颜色值。每个颜色参考场的已知参考颜色值可储存于移动装置的数据储存装置中,例如储存于查找表、寄存器、数据库等。已知参考颜色值可通过测量相应颜色值来确定,具体地通过测量受控实验室环境中的颜色值(例如通过使用光谱仪)来确定。使用光谱仪测量颜色参考场可定义相应已知参考颜色值。As used herein, the term "known color reference value" is a broad term and will be given a meaning common and customary to those skilled in the art, and is not limited to a specific or customary meaning. The term may specifically refer to, but is not limited to, predetermined color values, actual color values, or true color values of a color reference field. Specifically, a known reference color value may include at least three color values, for example, at least one color value for each of the R, G, and B colors. The known reference color values for each color reference field may be stored in the data storage device of the mobile device, such as in a lookup table, register, database, etc. Known reference color values can be determined by measuring the corresponding color values, specifically by measuring color values in a controlled laboratory environment (e.g., using a spectrometer). Measuring a color reference field using a spectrometer defines the corresponding known reference color values.
如本文所使用,术语“灰色背景场”是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体地可涉及,但不限于任意项目,诸如具有已知或可确定的限制、具有定义的灰阶的颜色或灰色阴影的场。具体地,灰阶可涉及相对亮度值,其指示黑色与白色混合的比例或百分比。例如,灰阶为100%可指示黑色场,灰阶为0%可指示白色场,而灰阶介于0%与100%之间可指示黑色与白色的混合。颜色参考卡所包括的一个或多个灰色背景场具体而言可以具有定义的和已知的RGB颜色值。对于颜色(r,g,b),当r=g=b时得到灰度值。灰色背景场可为二维结构,诸如矩形、正方形、多边形、圆形和/或椭圆形,其具有统一的灰阶。一个灰色背景场可以围绕颜色参考场(以及任选的另外的灰色场和位置标记)的布置构建外框。作为另一个实例,颜色参考卡除了颜色参考场之外、除了另外的灰色场(如果存在)之外以及除了位置标记(如果存在)之外(以及潜在地除了颜色参考卡上用于放置测试条的空间之外)的基本上所有区域可被一个或多个灰色背景场覆盖。此外,当测试条放置在颜色参考卡的顶部或下方并且测试条的某些部分通过颜色参考卡的窗口可见时,颜色参考卡所包括的一个或多个灰色背景场可以被局部分配给一个或多个测试场。此外,颜色参考卡所包括的一个或多个灰色背景场可以被局部分配给多个颜色参考场和/或一个或多个另外的灰色场。As used herein, the term "gray background field" is a broad term and will be given a common and customary meaning to those skilled in the art, and is not limited to a specific or customary meaning. The term may specifically refer to, but is not limited to, any field of color or gray shades having known or determinable limitations and defined grayscale levels. Specifically, grayscale may refer to relative brightness values that indicate the proportion or percentage of black and white mixing. For example, a grayscale of 100% may indicate a black field, a grayscale of 0% may indicate a white field, and grayscale levels between 0% and 100% may indicate a mixture of black and white. One or more gray background fields included in a color reference card may specifically have defined and known RGB color values. For a color (r, g, b), a grayscale value is obtained when r = g = b. A gray background field may be a two-dimensional structure, such as a rectangle, square, polygon, circle, and/or ellipse, having a uniform grayscale. A gray background field may have an outline constructed around an arrangement of a color reference field (and optionally additional gray fields and position markers). As another example, substantially all areas of the color reference card, except for the color reference fields, other gray fields (if present), and location markers (if present) (and potentially the space on the color reference card used to place test strips), may be covered by one or more gray background fields. Furthermore, when a test strip is placed on top of or below the color reference card and portions of the test strip are visible through a window of the color reference card, one or more gray background fields included in the color reference card may be locally assigned to one or more test fields. Additionally, one or more gray background fields included in the color reference card may be locally assigned to multiple color reference fields and/or one or more other gray fields.
当面对相机时,一个或多个灰色背景场可以覆盖颜色参考卡的表面的至少5%,特别是至少10%或至少15%。When facing a camera, one or more gray background fields may cover at least 5%, particularly at least 10% or at least 15%, of the surface of the color reference card.
作为示例,一个或多个灰色背景场可以具有介于0%与30%灰阶之间或介于70%与100%灰阶之间的定义的灰度值。通过使用灰阶位于灰度谱的下端或上端的灰色背景场,与使用灰阶位于灰度谱中间的灰色背景场相比,自动曝光设置的确定可能受到更大的影响。特别地,一个或多个灰色背景场可以具有介于0%与20%灰阶之间或介于80%与100%灰阶之间的定义的灰度值。在一个实例中,一个或多个灰色背景场可以具有介于0%与10%灰阶之间的定义的灰度值。在一个实例中,灰色背景场的特征在于都具有相同的灰度值。As an example, one or more gray background fields can have defined gray values between 0% and 30% gray levels or between 70% and 100% gray levels. Using a gray background field with gray levels at the lower or upper ends of the gray spectrum can have a greater impact on the determination of automatic exposure settings compared to using a gray background field with gray levels in the middle of the gray spectrum. Specifically, one or more gray background fields can have defined gray values between 0% and 20% gray levels or between 80% and 100% gray levels. In one instance, one or more gray background fields can have defined gray values between 0% and 10% gray levels. In one instance, the gray background fields are characterized by all having the same gray value.
在一个实例中,除了一个或多个灰色背景场之外,参考卡还包括另外的灰色场。这些另外的灰色场可以具有与一个或多个灰色背景场的灰度值不同的灰度值。该另外的灰色场可以特别地具有介于>30%与<70%之间的灰阶。该另外的灰色场可为二维结构,诸如矩形、正方形、多边形、圆形和/或椭圆形,其具有统一的灰阶。在一个实例中,这些另外的灰色场各自包括二维结构,该二维结构小于颜色参考卡上最大灰色背景场的二维结构。In one instance, in addition to one or more gray background fields, the reference card includes additional gray fields. These additional gray fields may have gray values different from those of the one or more gray background fields. Specifically, these additional gray fields may have gray levels between >30% and <70%. These additional gray fields may be two-dimensional structures, such as rectangles, squares, polygons, circles, and/or ellipses, with a uniform gray level. In one instance, each of these additional gray fields comprises a two-dimensional structure smaller than the two-dimensional structure of the largest gray background field on the color reference card.
当测试条放置在颜色参考卡的顶部或下方并且测试条的某些部分通过颜色参考卡的窗口可见时,参考卡所包括的另外的灰色场可以被局部分配给一个或多个测试场。颜色参考卡所包括的另外的灰色场可以被局部分配给多个颜色参考场和/或一个或多个灰色背景场。When the test strip is placed on top of or below the color reference card and parts of the test strip are visible through the window of the color reference card, additional gray fields included in the reference card can be locally assigned to one or more test fields. Additional gray fields included in the color reference card can be locally assigned to multiple color reference fields and/or one or more gray background fields.
如本文所使用,术语“局部分配的”是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体地可涉及,但不限于,至少两个对象之间的预定的空间布置,例如标准化局部布置。作为示例,两个或更多个对象可通过放置在相邻位置而被局部分配给彼此。因此,当测试条放置在颜色参考卡后方时,可以将另外的灰色场放置在与测试场相邻的位置。另外的灰色场也可被局部地分配给颜色参考卡上的至少一个颜色参考场,使得这些另外的灰色场(至少部分地)可以围绕该至少一个颜色参考场。因此,术语“局部”可指最接近的围绕颜色参考场和/或试剂测试场。其中,一般而言,如果第一对象局部分配给第二对象,该分配并不一定排除第一对象也局部分配给至少一个第三对象。作为示例,第一对象可与至少一个第二对象和至少一个第三对象相邻,从而同时分配给该第二对象和第三对象。As used herein, the term "partially assigned" is a broad term and will be given a meaning common and customary to those skilled in the art, and is not limited to a particular or customary meaning. The term may specifically refer to, but is not limited to, a predetermined spatial arrangement between at least two objects, such as a standardized local arrangement. As an example, two or more objects may be locally assigned to each other by placing them in adjacent positions. Thus, when a test strip is placed behind a color reference card, additional gray fields may be placed adjacent to the test field. Additional gray fields may also be locally assigned to at least one color reference field on the color reference card such that these additional gray fields (at least partially) surround the at least one color reference field. Therefore, the term "local" may refer to the closest surrounding color reference field and/or reagent test field. Generally, if a first object is locally assigned to a second object, this assignment does not necessarily preclude the first object from also being locally assigned to at least one third object. As an example, a first object may be adjacent to at least one second object and at least one third object, thereby being assigned to both the second and third objects simultaneously.
另外的灰色场可以用作灰色参考场,从中可以确定局部亮度信息。一个或多个灰色背景场也可以用作灰色参考场,从中可以确定局部亮度信息。可以考虑局部亮度信息来从捕获的至少一个图像确定强度校正的图像。An additional gray field can be used as a gray reference field from which local brightness information can be determined. One or more gray background fields can also be used as gray reference fields from which local brightness information can be determined. Local brightness information can be taken into account to determine an intensity-corrected image from at least one captured image.
例如,另外的灰色场和任选的灰色背景场可以被局部地分配给测试场。它们因此可以围绕该测试场。因此,局部分配给测试场的另外的灰色场和任选的灰色背景场与该测试场可形成测试场组。该测试场群组因此可以包括多个冗余另外的灰色场和任选地具有至少两个或任选地至少三个不同灰阶的冗余灰色背景场,其中可以为每个灰阶提供至少两个、任选地至少三个冗余灰色场(这里将围绕测试场的另外的灰色场和灰色背景场一起视为灰色场)。具体地,冗余灰色场可以对称方式(更具体地,以旋转对称和/或镜像对称方式)布置在测试场周围。作为示例,可通过对具有相同灰阶的冗余灰色场求平均来确定测试场的局部亮度信息。具体地,局部亮度信息可通过相对于灰色场与测试场的距离对冗余灰色场求平均来确定。例如,求平均可包括用冗余灰色场与测试场的二次方距离的倒数对该冗余灰色场的颜色值进行加权。可替代地或附加地,求平均可包括单独对每个RGB颜色值求平均。For example, additional gray fields and optional gray background fields can be locally assigned to the test field. They can therefore surround the test field. Thus, the additional gray fields and optional gray background fields locally assigned to the test field, together with the test field, form a test field group. This test field group can therefore include multiple redundant additional gray fields and a redundant gray background field optionally having at least two or at least three different gray levels, wherein at least two, optionally at least three redundant gray fields can be provided for each gray level (here, the additional gray fields surrounding the test field and the gray background field are considered together as gray fields). Specifically, the redundant gray fields can be arranged symmetrically around the test field (more specifically, in a rotationally symmetric and/or mirror-symmetric manner). As an example, the local brightness information of the test field can be determined by averaging redundant gray fields having the same gray level. Specifically, the local brightness information can be determined by averaging the redundant gray fields relative to the distance between the gray fields and the test field. For example, averaging can include weighting the color values of the redundant gray fields with the reciprocal of the square of the distance between the redundant gray fields and the test field. Alternatively or additionally, averaging may include averaging each RGB color value individually.
类似地,颜色参考卡可以包括局部分配给颜色参考场的另外的灰色场和任选的灰色背景场。它们因此可以围绕颜色参考场。因此,局部分配给颜色参考场的另外的灰色场和任选的灰色背景场与该颜色参考场可形成颜色参考场组。该颜色参考场群组因此可以包括多个冗余另外的灰色场和任选地具有至少两个或任选的至少三个不同灰阶的冗余灰色背景场,其中可以为每个灰阶提供至少两个、任选地至少三个冗余灰色场(这里将围绕测试场的另外的灰色场和灰色背景场一起视为灰色场)。具体地,冗余灰色场可以对称方式(更具体地,以旋转对称和/或镜像对称方式)布置在颜色参考场周围。作为示例,可通过对具有相同灰阶的冗余灰色场求平均来确定颜色参考场的局部亮度信息。具体地,局部亮度信息可通过相对于灰色场与颜色参考场的距离对冗余灰色场求平均来确定。例如,求平均可包括用冗余灰色场与颜色参考场的二次方距离的倒数对该冗余灰色场的颜色值进行加权。可替代地或附加地,求平均可包括单独对每个RGB颜色值求平均。Similarly, a color reference card may include additional gray fields and optional gray background fields locally assigned to a color reference field. These can therefore surround the color reference field. Thus, the additional gray fields and optional gray background fields locally assigned to the color reference field, together with the color reference field, can form a color reference field group. This color reference field group can therefore include multiple redundant additional gray fields and a redundant gray background field optionally having at least two or at least three different gray levels, wherein at least two, optionally at least three redundant gray fields can be provided for each gray level (here, the additional gray fields surrounding the test field and the gray background field are considered together as gray fields). Specifically, the redundant gray fields can be arranged symmetrically around the color reference field (more specifically, in a rotationally symmetric and/or mirror-symmetric manner). As an example, local brightness information of the color reference field can be determined by averaging redundant gray fields having the same gray level. Specifically, local brightness information can be determined by averaging the redundant gray fields relative to the distance between the gray fields and the color reference field. For example, averaging may include weighting the color values of the redundant gray fields with the reciprocal of the square of the distance between the redundant gray fields and the color reference field. Alternatively or additionally, averaging may include averaging each RGB color value individually.
如上所述,步骤b)包括设置曝光计量区,并且基于设置的曝光计量区中的场景确定自动曝光设置。As described above, step b) includes setting an exposure metering area and determining automatic exposure settings based on the scene within the set exposure metering area.
如本文所使用,术语“曝光计量区”是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体地可以涉及,但不限于,自动曝光算法所考虑的区域,以自动计算和/或操纵相机的曝光参数值,从而以预定方式捕获图像。通过曝光计量区,因此可以确定相机视场中的场景的哪一部分被考虑用来确定自动曝光设置。然后,确定自动曝光设置通常可以定义为运行任何算法,该算法自动计算和/或操纵相机的一个或多个曝光参数值,从而以预定方式捕获图像。例如,对于给定场景,可能存在预定的最佳平均亮度值,相机将尝试通过调整相机的一个或多个曝光参数值来实现该平均亮度值。例如,一些自动曝光算法计算和/或操纵曝光参数值(例如相机的增益),使得图像亮度的平均值、中值或加权值等于预定的最佳亮度值。As used herein, the term "exposure metering zone" is a broad term and will be given a common and customary meaning to those skilled in the art, and is not limited to a specific or customary meaning. The term may specifically refer to, but is not limited to, the area considered by an automatic exposure algorithm to automatically calculate and/or manipulate camera exposure parameter values to capture an image in a predetermined manner. Through the exposure metering zone, it can be determined which part of the scene in the camera's field of view is considered to determine the automatic exposure settings. Determining the automatic exposure settings can then generally be defined as running any algorithm that automatically calculates and/or manipulates one or more camera exposure parameter values to capture an image in a predetermined manner. For example, for a given scene, there may be a predetermined optimal average brightness value, which the camera will attempt to achieve by adjusting one or more of the camera's exposure parameter values. For example, some automatic exposure algorithms calculate and/or manipulate exposure parameter values (e.g., camera gain) such that the average, median, or weighted value of the image brightness equals the predetermined optimal brightness value.
曝光计量区可以设置为包括相机视场中的整个场景或仅相机视场中的场景的一部分。在第一种情况下,设置的曝光计量区中的场景因此对应于相机视场中的场景。在第二种情况下,设置的曝光计量区中的场景仅包括相机视场中的场景的一部分。在第一种情况下,基于设置的曝光计量区中的场景的一部分来确定自动曝光设置,这因此意味着基于相机视场中的整个场景(相机视场中的场景的100%)来确定自动曝光设置。这也可以称为“全帧计量”。在第二种情况下,曝光计量区可以被设置为仅包括相机视场中的场景的一部分(例如,至少10%或至少20%或至少30%),诸如位于相机视场的中心的部分(这可以称为“中心点计量”)或相机视场中的场景的偏离中心的部分(这可以称为“偏离中心点计量”),例如,在偏离中心的选定焦点周围。在这种情况下,基于设置的曝光计量区中的场景的一部分来确定自动曝光设置,这意味着仅基于相机视场中的场景一部分来确定自动曝光设置。在一个实例中,相机视场中的场景的一部分的场景可以包括不同的区域,这些区域可以被不同地加权用于确定自动曝光设置。在另一个实例中,场景的所有区域或场景的一部分被均匀加权。The exposure metering zone can be set to include the entire scene within the camera's field of view or only a portion of the scene within the camera's field of view. In the first case, the scene within the set exposure metering zone therefore corresponds to the scene within the camera's field of view. In the second case, the scene within the set exposure metering zone includes only a portion of the scene within the camera's field of view. In the first case, the automatic exposure setting is determined based on a portion of the scene within the set exposure metering zone, which therefore means determining the automatic exposure setting based on the entire scene within the camera's field of view (100% of the scene within the camera's field of view). This can also be referred to as "full-frame metering." In the second case, the exposure metering zone can be set to include only a portion of the scene within the camera's field of view (e.g., at least 10%, at least 20%, or at least 30%), such as a portion located at the center of the camera's field of view (this can be referred to as "center-point metering") or a portion of the scene outside the center of the camera's field of view (this can be referred to as "off-center metering"), for example, around a selected focus point outside the center. In this case, the automatic exposure setting is determined based on a portion of the scene within the set exposure metering zone, which means determining the automatic exposure setting based only on a portion of the scene within the camera's field of view. In one instance, a portion of the scene within the camera's field of view may include different regions, which can be weighted differently to determine the automatic exposure settings. In another instance, all regions of the scene or a portion of the scene may be weighted uniformly.
根据本发明的方法,设置的曝光计量区中的场景包括施加有样品的光学测试条的试剂测试场的至少一部分,以及颜色参考卡的多个不同的颜色参考的至少一部分和灰色背景场的至少一部分。According to the method of the present invention, the scene in the exposure metering area includes at least a portion of a reagent test field on which an optical test strip of the sample is applied, at least a portion of a plurality of different color references of a color reference card, and at least a portion of a gray background field.
设置曝光计量区和/或确定自动曝光设置可由使用者动作启动或可自动启动,例如一旦自动检测到至少一个物体存在于相机视场内和/或视场的预定部分内时。使用者可以手动设置曝光计量区,例如通过按下按钮,或者移动装置的处理器可以经配置,诸如通过软件编程,用于设置曝光计量区。因此,曝光计量区的设置可以是可控的,例如由用户或由测量应用程序的制造商的软件编程来控制。相反,移动装置基于设置的曝光计量区中的场景来确定自动曝光设置可系对测量应用程序的制造商测而言为未知的装置特定的过程。Setting the exposure metering zone and/or determining the automatic exposure settings can be initiated by user action or automatically, such as upon automatic detection of at least one object within the camera's field of view and/or a predetermined portion thereof. The user can manually set the exposure metering zone, for example, by pressing a button, or the mobile device's processor can be configured, such as through software programming, to set the exposure metering zone. Therefore, the setting of the exposure metering zone can be controllable, for example, controlled by the user or by software programming by the measurement application manufacturer. Conversely, the mobile device determining the automatic exposure settings based on the scene within the set exposure metering zone can be a device-specific process unknown to the measurement application manufacturer.
可以以静态或动态方式设置曝光计量区。例如,在静态设置中,曝光计量区可以设置为覆盖相机视场中的场景的预定义部分,例如位于相机视场的中心的部分(预定义大小的区域)。静态设置特别地涉及在移动装置不跟踪色卡相对于相机的位置的情况下和/或在移动装置跟踪色卡相对于相机的位置之前对曝光计量区的设置,用于确定自动曝光设置。例如,在将曝光计量区设置为覆盖相机视场中的场景的中心(预定义大小的区域)之后,可以引导使用者将颜色参考卡放置在相机视场的中心。动态设置特别地可以涉及曝光计量区的设置,其中首先移动装置跟踪色卡相对于相机的位置,并且当确定色卡在相机的视场(的某个部分)适合地可见时,相应地设置曝光计量区,并且基于设置的曝光计量区中的场景来确定自动曝光设置。可以在移动装置上执行计算机程序(例如测量应用程序),其中该计算机程序包括使移动装置执行设置曝光计量区的步骤的指令。一旦设置了曝光计量区,就可以自动执行基于设置的曝光计量区中的场景来确定自动曝光设置。在这种情况下,计算机程序(例如测量应用程序)无法直接调整曝光参数值,而仅能通过控制曝光计量区的设置来间接影响自动曝光设置。Exposure metering zones can be set statically or dynamically. For example, in a static setting, the exposure metering zone can be set to cover a predefined portion of the scene within the camera's field of view, such as a portion located at the center of the camera's field of view (an area of predefined size). Static settings specifically involve setting the exposure metering zone to determine automatic exposure settings before and after the mobile device tracks the position of the color reference card relative to the camera. For example, after setting the exposure metering zone to cover the center of the scene within the camera's field of view (an area of predefined size), the user can be guided to place the color reference card at the center of the camera's field of view. Dynamic settings specifically involve setting the exposure metering zone, where the mobile device first tracks the position of the color reference card relative to the camera, and when it is determined that the color reference card is appropriately visible within a portion of the camera's field of view, the exposure metering zone is set accordingly, and automatic exposure settings are determined based on the scene within the set exposure metering zone. A computer program (e.g., a measurement application) can be executed on the mobile device, wherein the computer program includes instructions to cause the mobile device to perform the step of setting the exposure metering zone. Once the exposure metering zone is set, automatic exposure settings can be determined automatically based on the scene within the set exposure metering zone. In this situation, computer programs (such as measurement applications) cannot directly adjust the exposure parameter values, but can only indirectly affect the automatic exposure settings by controlling the settings of the exposure metering area.
如上所述,步骤c)包括通过使用相机来捕获包括步骤b)的场景的至少一个图像,其中使用步骤b)的经确定的自动曝光设置。As described above, step c) includes capturing at least one image of the scene including step b) using a camera, wherein the determined automatic exposure settings of step b) are used.
如本文中所使用的术语“图像”是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语可以具体地涉及,但不限于,一组空间分辨的光学数据。具体地,该术语可涉及通过使用相机所记录的数据,诸如来自成像装置的多个电子读数,诸如相机芯片的像素。As used herein, the term "image" is a broad term and will be given the common and customary meaning to those skilled in the art, and is not limited to a particular or customary meaning. The term may specifically refer to, but is not limited to, a set of spatially resolved optical data. Specifically, the term may refer to data recorded using a camera, such as multiple electronic readings from an imaging device, such as pixels from a camera chip.
如本文所使用,术语“捕获至少一个图像”是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体地可涉及,但不限于,成像、图像记录、图像采集、图像捕获中的一种或多种。术语“捕获至少一个图像”可包括捕获单个图像和/或多个图像,例如一系列图像。例如,图像的捕获可包括连续记录一系列图像,例如视频或电影。至少一个图像的捕获可由用户动作启动或可自动启动,例如一旦自动检测到至少一个物体存在于相机视场内和/或视野的预定部分内时。这些自动图像采集技术是已知的,例如在自动条形码读取器的领域,例如来自自动条形码读取应用程序。作为示例,可通过使用相机采集图像流或图像“直播”来进行图像捕获,其中自动或通过使用者的互动(诸如按下按钮)来储存一个或多个图像并且其中一个图像用作至少一个图像。图像采集可由移动装置的处理器支持,并且图像储存可在移动装置的数据储存装置中进行。As used herein, the term "capture at least one image" is a broad term and will be given a meaning common and customary to those skilled in the art, and is not limited to a particular or customary meaning. The term may specifically refer to, but is not limited to, one or more of imaging, image recording, image acquisition, and image capture. The term "capture at least one image" may include capturing a single image and/or multiple images, such as a series of images. For example, image capture may include the continuous recording of a series of images, such as a video or movie. The capture of at least one image may be initiated by user action or may be initiated automatically, for example, once at least one object is automatically detected to be present within the camera's field of view and/or a predetermined portion of the field of view. These automatic image acquisition techniques are known, for example, in the field of automatic barcode readers, such as those from automatic barcode reading applications. As an example, image capture may be performed by using a camera to capture an image stream or image "live," wherein one or more images are stored automatically or by user interaction (such as pressing a button), and one of these images is used as at least one image. Image acquisition may be supported by the processor of a mobile device, and image storage may be performed in the data storage device of the mobile device.
该至少一个图像包括步骤b)的场景。为了捕获图像,使用步骤b)的经确定的自动曝光设置。由于颜色参考卡的亮度阶,特别是颜色参考卡的灰色背景场的亮度阶(在一定范围内)控制在步骤b)中确定哪些自动曝光设置,然后在步骤c)中用于捕获至少一个图像,因此可以减少甚至防止所捕获图像上相关部分的曝光不足或过度曝光。这有助于获得适合于确定样品中分析物的浓度的图像。The at least one image includes the scene from step b). To capture the image, the determined automatic exposure settings from step b) are used. Since the brightness levels of the color reference card, particularly the brightness levels of the gray background field (within a certain range), control which automatic exposure settings are determined in step b) and then used to capture at least one image in step c), underexposure or overexposure of relevant portions of the captured image can be reduced or even prevented. This helps to obtain an image suitable for determining the concentration of the analyte in the sample.
移动装置可以包括显示器。移动装置的相机和显示器可以都定位在移动装置的同一侧上(在这种情况下,相机可以称为前置相机)或定位在移动装置的相对侧上(在这种情况下,相机可以称为后置相机)。具体地,相机可以是后置相机。作为示例,移动装置可以包括显示器,且本发明的方法可以包括在显示器上提供视觉引导以将相机相对于物体定位,该物体包括光学测试条的至少一部分和/或颜色参考卡的至少一部分,以供确定自动曝光设置和/或以供捕获至少一个图像。例如,视觉引导包括一个或多个箭头、框或线,指示相机相对于物体的优选定位。作为示例,视觉引导包括与叠加在移动装置的显示器上的物体的形状相对应的轮廓。The mobile device may include a display. The camera and display of the mobile device may both be positioned on the same side of the mobile device (in which case, the camera may be referred to as a front-facing camera) or positioned on opposite sides of the mobile device (in which case, the camera may be referred to as a rear-facing camera). Specifically, the camera may be a rear-facing camera. As an example, the mobile device may include a display, and the method of the present invention may include providing visual guidance on the display to position the camera relative to an object, which includes at least a portion of an optical test strip and/or at least a portion of a color reference card, for determining automatic exposure settings and/or for capturing at least one image. For example, the visual guidance includes one or more arrows, boxes, or lines indicating a preferred positioning of the camera relative to the object. As an example, the visual guidance includes an outline corresponding to the shape of the object superimposed on the display of the mobile device.
在显示器上提供视觉引导以将相机相对于显示器上的物体定位,以供确定曝光参数和/或捕获至少一个图像,这可以特别地涉及在显示器上提供视觉引导以引导用户定位相机,使得设置的曝光计量区中的场景包括施加有样品的光学测试条的试剂测试场的至少一部分,以及颜色参考卡的多个不同的颜色参考场的至少一部分和一个或多个灰色背景场的至少一部分。视觉引导可以例如包括与叠加在移动装置的显示器上的光学测试条的至少一部分和/或颜色参考卡的至少一部分的形状相对应的轮廓。Providing visual guidance on a display to position a camera relative to an object on the display for determining exposure parameters and/or capturing at least one image may particularly involve providing visual guidance on the display to guide a user in positioning the camera such that the scene in the set exposure metering area includes at least a portion of a reagent test field on which an optical test strip of the sample is applied, at least a portion of a plurality of different color reference fields of a color reference card, and at least a portion of one or more gray background fields. The visual guidance may, for example, include an outline corresponding to the shape of at least a portion of the optical test strip and/or at least a portion of the color reference card superimposed on the display of the mobile device.
确定自动曝光设置可以自动启动。自动曝光设置的自动确定可以例如在确定叠加在显示器上的物体的轮廓覆盖物体的情况下自动启动。特别地,一旦自动检测到设置的曝光计量区内的物体的存在和/或其特定位置,就可以自动启动确定自动曝光设置。物体可包括光学测试条的至少一部分和/或颜色参考卡的至少一部分。The determination of automatic exposure settings can be initiated automatically. Automatic determination of automatic exposure settings can be initiated, for example, upon determining that the outline of an object superimposed on the display covers the object. Specifically, the determination of automatic exposure settings can be initiated automatically once the presence of an object within the set exposure metering area and/or its specific location is automatically detected. The object may include at least a portion of an optical test strip and/or at least a portion of a color reference card.
颜色参考卡可以特别地包括至少一个位置标记。附加地或可替代地,测试条可以包括至少一个位置标记。作为示例,该至少一个位置标记可为或可以包括ArUco码等。具体地,该至少一个位置标记可布置在颜色参考卡的至少一角。作为示例,位置标记也可以位于颜色参考卡的每个角(并且颜色卡潜在地可以包括附加的位置标记)。Color reference cards may specifically include at least one position mark. Additionally or alternatively, test strips may include at least one position mark. As an example, the at least one position mark may be or may include an ArUco code, etc. Specifically, the at least one position mark may be located at at least one corner of the color reference card. As an example, the position mark may also be located at each corner of the color reference card (and the color card may potentially include additional position marks).
移动装置配置为用于检测和/或读取一个或多个位置标记,具体地通过光学检测标记。因此,移动装置配置为用于检测和/或读取标记,具体地通过光学检测标记,并任选地从标记检索信息,诸如有关颜色参考卡的类型、性质或相对于相机的方向的信息。从而,移动装置可以例如自动确定相机相对于颜色参考卡是在限定的位置。如果基于至少一个位置标记相对于颜色参考卡在限定的位置,确定自动曝光设置自动启动。The mobile device is configured to detect and/or read one or more location markers, specifically by optical detection of the markers. Therefore, the mobile device is configured to detect and/or read the markers, specifically by optical detection of the markers, and optionally retrieve information from the markers, such as information about the type, nature, or orientation of the color reference card relative to the camera. Thus, the mobile device can, for example, automatically determine that the camera is in a defined position relative to the color reference card. If, based on at least one location marker being in a defined position relative to the color reference card, automatic exposure settings are determined to be automatically activated.
在一个实施例中,相机基于至少一个位置标记而相对于颜色参考卡的位置经确定,并且曝光计量区是依经确定的位置而设置。这是曝光计量区动态设置的实例。具体地,可以跟踪参考卡相对于相机的位置,例如通过使用至少一个位置标记(诸如至少一个ArUco标记),并且可以设置适当的曝光计量区,以便曝光计量区中的场景包括用于确定自动曝光设置的颜色参考卡。In one embodiment, the camera's position relative to a color reference card is determined based on at least one location marker, and the exposure metering zone is set according to the determined position. This is an example of dynamically setting the exposure metering zone. Specifically, the position of the reference card relative to the camera can be tracked, for example, by using at least one location marker (such as at least one ArUco marker), and an appropriate exposure metering zone can be set such that the scene within the exposure metering zone includes the color reference card used to determine the automatic exposure settings.
颜色参考卡可包括用于定位光学测试条和/或试剂测试场的至少一个定位元件。具体地,颜色参考卡可包括至少一个窗口元件,当测试条放置在颜色参考卡后方时,试剂测试场通过该窗口元件是可见的。例如,窗口元件可为颜色参考卡的切口部分。窗口元件可具体地经配置为用于保持光学测试条,并因此试剂测试场由光学测试条组成,该光学测试条相对于颜色参考卡在限定的位置。在确定相机的曝光参数和捕获至少一个图像中的一者或两者期间,试剂测试场可以特别地相对于颜色参考卡在限定的位置。从而可以确保在所实现的测量结果的准确性方面的最佳性能。The color reference card may include at least one positioning element for positioning the optical test strip and/or the reagent test field. Specifically, the color reference card may include at least one window element through which the reagent test field is visible when the test strip is placed behind the color reference card. For example, the window element may be a cutout portion of the color reference card. The window element may be specifically configured to hold the optical test strip, and thus the reagent test field consists of the optical test strip, which is positioned relative to the color reference card. The reagent test field can be positioned specifically relative to the color reference card during the determination of camera exposure parameters and the capture of one or both of at least one image. This ensures optimal performance in terms of the accuracy of the achieved measurement results.
如上所述,本发明的方法的步骤c)包括通过使用相机来捕获包括步骤b)的场景的至少一个图像,其中使用步骤b)的经确定的自动曝光设置。在确定相机的曝光参数和捕获至少一个图像中的一者或两者期间,相机可以相对于颜色参考卡在限定的位置。特别地,可以利用处于与确定自动曝光设置相同的相对位置的相机和颜色参考卡来捕获图像。As described above, step c) of the method of the present invention includes capturing at least one image of the scene comprising step b) using a camera, wherein the determined automatic exposure settings of step b) are used. During the determination of the camera's exposure parameters and the capture of at least one image, or both, the camera may be in a defined position relative to a color reference card. Specifically, images may be captured using a camera and a color reference card in the same relative position as when the automatic exposure settings are determined.
移动装置可以基于位置标记自动确定相机的视场内和/或相机的视场的预定部分内的颜色参考卡的存在和/或其特定位置,诸如设置的曝光计量区。确定自动曝光设置可以自动启动,特别是一旦自动检测到至少一个物体存在于相机的视场内或相机的视场的预定区域内即可以自动启动,该物体包括光学测试条的至少一部分和/或颜色参考卡的至少一部分。附加地或可替代地,捕获至少一个图像可以自动启动,特别是一旦自动检测到至少一个物体存在于相机的视场内或相机的视场的预定部分内即可以自动启动,该物体包括光学测试条的至少一部分和/或颜色参考卡的至少一部分。The mobile device can automatically determine the presence and/or specific location of a color reference card, such as a set exposure metering zone, within the camera's field of view and/or a predetermined portion of the camera's field of view, based on location markers. Determining the automatic exposure settings can be initiated automatically, particularly once at least one object is automatically detected to be present within the camera's field of view or a predetermined area of the camera's field of view, the object comprising at least a portion of the optical test strip and/or at least a portion of the color reference card. Additionally or alternatively, capturing at least one image can be initiated automatically, particularly once at least one object is automatically detected to be present within the camera's field of view or a predetermined portion of the camera's field of view, the object comprising at least a portion of the optical test strip and/or at least a portion of the color reference card.
优选地,确定相机的曝光参数和捕获至少一个图像期间的照明条件是基本上不变的。由此,可以确保所确定的自动曝光设置实际上适合于捕获图像,使得可以减少甚至防止所捕获图像上相关部分的曝光不足或过度曝光。在一个实施例中,移动装置的照明源,特别是移动装置的闪光灯可以用于照亮相机视场中的场景。因此,针对相机确定自动曝光设置和捕获图像期间的照明条件可以以移动装置的照明源,特别是移动装置的闪光灯为主。Preferably, the camera's exposure parameters and the lighting conditions during the capture of at least one image remain substantially constant. This ensures that the determined automatic exposure settings are actually suitable for capturing the image, thereby reducing or even preventing underexposure or overexposure of relevant portions of the captured image. In one embodiment, the illumination source of the mobile device, particularly the flash of the mobile device, can be used to illuminate the scene within the camera's field of view. Therefore, the determination of the automatic exposure settings for the camera and the lighting conditions during image capture can be primarily based on the illumination source of the mobile device, particularly the flash of the mobile device.
设置的曝光计量区中的场景的至少5%,特别是至少10%或至少15%可以包括一个或多个灰色背景场的至少一部分。在一个实例中,设置的曝光计量区中的场景可以包括整个颜色参考卡。在步骤c)中捕获的至少一个图像可以基本上包括步骤b)的设置的曝光计量中的场景。以上情况中的一者或两者可有助于通过具有定义的灰度值的灰色背景场来影响自动曝光设置,从而避免或至少减少步骤c)中捕获的图像的过度曝光和/或曝光不足。在一个实施例中,因此可以以下方式影响自动曝光设置:至少一个颜色参考场的亮度不同于其中具有定义的灰度值的灰色背景场将被白色场代替的情形。在另一个实施例中,因此可以以下方式影响自动曝光设置:至少一个颜色参考场的亮度不同于其中具有定义的灰度值的灰色背景场将被黑色场代替的情形。At least 5%, particularly at least 10% or at least 15%, of the scene within the set exposure metering area may include at least a portion of one or more gray background fields. In one instance, the scene within the set exposure metering area may include the entire color reference card. At least one image captured in step c) may substantially comprise the scene within the set exposure metering of step b). One or both of the above can help influence the automatic exposure settings by using a gray background field with defined grayscale values, thereby avoiding or at least reducing overexposure and/or underexposure of the image captured in step c). In one embodiment, the automatic exposure settings can therefore be influenced in such a way that the brightness of at least one color reference field differs from a case where a gray background field with defined grayscale values is replaced by a white field. In another embodiment, the automatic exposure settings can therefore be influenced in such a way that the brightness of at least one color reference field differs from a case where a gray background field with defined grayscale values is replaced by a black field.
作为步骤d),该方法可以包括确定至少一个可采纳性信息项目,其中如果对应于至少一个图像中的颜色参考场的每个像素或至少一预定像素组展现出在可接受限值内的亮度值,例如介于50与240之间,或介于80与220之间,该可采纳性信息项目指示可采纳性。可以基于至少一个位置标记在相机的视场中动态地确定该预定像素组。如本文所使用,术语“可采纳性”是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体地可涉及,但不限于,所捕获的至少一个图像是否被允许和/或被拒绝用于确定分析物浓度的表征。因此,作为示例,可通过确定对应于至少一个图像中的颜色参考场的每个像素或至少一预定像素组是否展现出在可接受限值内的亮度值来定性或定量可采纳性。可以将亮度值与一个或多个条件进行比较。举一个简单的例子,可以将亮度值与一个或多个比较值、参考值或标准值进行比较,其中该比较可以产生二进制结果,诸如“可采纳的”或“非可采纳的”/“不可采纳的”。作为示例,比较值和/或参考值可以包括最小允许亮度值及最大允许亮度值。作为示例,比较值、参考值和/或标准值可以从实验或从边界条件(例如通过分析测量中要达到的精度来确定)得出。As step d), the method may include determining at least one acceptability information item, wherein acceptability is indicated if each pixel or at least a predetermined group of pixels corresponding to a color reference field in at least one image exhibits a luminance value within acceptable limits, such as between 50 and 240, or between 80 and 220. The predetermined group of pixels may be determined dynamically within the camera's field of view based on at least one location marker. As used herein, the term "acceptability" is a broad term and will be given a meaning common and customary to those skilled in the art, and is not limited to a specific or customary meaning. The term may specifically relate to, but is not limited to, whether at least one captured image is permitted and/or rejected for characterization in determining analyte concentration. Thus, as an example, acceptability may be qualitatively or quantitatively determined by determining whether each pixel or at least a predetermined group of pixels corresponding to a color reference field in at least one image exhibits a luminance value within acceptable limits. The luminance value may be compared to one or more conditions. To give a simple example, a luminance value can be compared to one or more comparison values, reference values, or standard values, where the comparison can produce binary results such as "acceptable" or "unacceptable"/"unacceptable". As an example, comparison values and/or reference values can include minimum and maximum permissible luminance values. As an example, comparison values, reference values, and/or standard values can be derived experimentally or from boundary conditions (e.g., by analyzing the required accuracy in the measurement).
如本文所使用,术语“可采纳性信息项目”是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语可具体涉及关于可采纳性的信息指示,但不以之为限。特定地,可采纳性信息项目可以涉及从至少一个图像确定分析测量结果值的可采纳性的指示。作为示例,该可采纳性信息项目可为布尔(Boolean)或数字信息,诸如指示“可采纳的”或“非可采纳的”/“不可采纳的”。因此,作为示例,在亮度值低于最小亮度值或高于最大亮度值的情况下,对于确定分析测量结果值的目的,可以将所捕获的图像确定为不可采纳的。As used herein, the term "admissibility information item" is a broad term and will be given a meaning common and customary to those skilled in the art, but not limited to a specific or customary meaning. The term may specifically refer to, but is not limited to, an indication of information regarding admissibility. Specifically, an admissibility information item may refer to an indication of the admissibility of an analytical measurement result value determined from at least one image. As an example, the admissibility information item may be Boolean or numeric information, such as an indication of "admissible" or "non-admissible"/"unacceptable". Thus, as an example, in cases where the brightness value is below the minimum brightness value or above the maximum brightness value, for the purpose of determining the analytical measurement result value, the captured image may be determined as unacceptable.
在本发明的另一方面,因此,公开了一种确定体液中分析物的浓度的方法。该方法包括使用具有至少一个相机的移动装置。In another aspect of the invention, a method for determining the concentration of an analyte in bodily fluids is disclosed. This method includes using a mobile device having at least one camera.
该方法进一步包括:The method further includes:
i)控制根据本发明的移动装置的自动曝光设置,诸如根据上述公开的任一实施例,和/或根据以下更详细公开的任一实施例;i) Controlling the automatic exposure settings of the mobile device according to the invention, such as according to any of the embodiments disclosed above, and/or according to any of the embodiments disclosed in more detail below;
ii)通过使用施加有样品的光学测试条的试剂测试场的至少一部分的至少一个图像和多个不同的颜色参考场的至少一部分的至少一个图像来确定样品中分析物的浓度。ii) Determine the concentration of the analyte in the sample by using at least one image of at least a portion of a reagent test field on which an optical test strip of the sample is applied and at least one image of at least a portion of a plurality of different color reference fields.
如本文所使用,术语“确定体液中分析物的浓度”,也称为“分析测量”,是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体地可涉及,但不限于,对体液的任意样品或等分式样中的至少一种分析物的定性和/或定量确定。例如,体液可包括血液、间质液、尿液、唾液或其他类型的体液中的一种或多种。在一个实施例中,分析物为葡萄糖并且体液为血液。以浓度确定的结果作为实例,其可为分析物的浓度和/或存在或不存在待确定的分析物。具体地,作为示例,该确定可为血糖测量,因此该确定的结果可例如是血糖浓度。特别是,可通过分析测量来确定分析测量结果值。As used herein, the term "determining the concentration of an analyte in a body fluid," also known as "analytical measurement," is a broad term and will be given a meaning common and customary to those skilled in the art, and is not limited to a specific or customary meaning. The term specifically refers to, but is not limited to, the qualitative and/or quantitative determination of at least one analyte in any sample or aliquot of a body fluid. For example, body fluids may include one or more of blood, interstitial fluid, urine, saliva, or other types of body fluids. In one embodiment, the analyte is glucose and the body fluid is blood. Taking the result of concentration determination as an example, it may be the concentration of the analyte and/or the presence or absence of the analyte to be determined. Specifically, as an example, the determination may be a blood glucose measurement, and thus the result of the determination may be, for example, a blood glucose concentration. In particular, the result value of an analytical measurement can be determined by an analytical measurement.
因此,术语“分析物浓度值”,其通常也可称为“分析测量结果值”,或如本文所使用,“分析测量结果值”是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体地可涉及,但不限于,样品中分析物浓度的数字指示。Therefore, the term "analyte concentration value," which may also be referred to as "analytical measurement result value," or as used herein, "analytical measurement result value," is a broad term and will be given a meaning common and customary to those skilled in the art, and is not limited to a specific or customary meaning. The term may specifically refer to, but is not limited to, a numerical indication of the concentration of an analyte in a sample.
作为示例,至少一种分析物可为或可包括一种或多种特定化学化合物和/或其他参数。作为示例,可确定参与代谢的一种或多种分析物,例如血糖。此外或可替代地,确定其他类型的分析物或参数,例如pH值。As an example, at least one analyte may be or may include one or more specific chemical compounds and/or other parameters. As an example, one or more analytes involved in metabolism, such as blood glucose, may be identified. Additionally or alternatively, other types of analytes or parameters, such as pH, may be identified.
用于确定体液中分析物浓度的方法还包括使用具有至少一个相机的移动装置。此外,该方法包括使用颜色参考卡和具有施加有样品的测试场的光学测试条。Methods for determining the concentration of an analyte in bodily fluids also include the use of a moving device with at least one camera. Furthermore, the method includes the use of a color reference card and an optical test strip having a test field on which the sample is applied.
该方法包括基于试剂测试场的颜色形成以确定分析物浓度值。因此,该方法可为包括诱发测试化学物质与体液样品或其一部分(诸如至少一种分析物)之间的测试反应的分析测量,具体地为分析物专一性的测试反应,其中测试反应包括试剂测试场的颜色变化,其指示测试反应的程度和/或指示分析物的存在或浓度。颜色形成可包括光学测试条的或具体而言试剂测试场的至少一种光学性质的任意变化,该变化可通过使用相机光学地测量或确定。具体地,分析测量可为或可包括在至少一种待确定分析物存在下的颜色形成反应。如本文所使用,术语“颜色形成反应”是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体上可涉及,但不限于,化学、生物或物理反应,在该反应期间,涉及反应的至少一种元素的颜色,特别是反射率,随反应的进行而变化。颜色形成可通过移动装置检测,诸如通过移动装置的处理器,并可定量评估,诸如通过从至少一个图像中衍生至少一个参数,该至少一个参数量化或特征化因体液样品中分析物的存在而导致的试剂测试场的颜色形成。作为示例,可使用一个或多个上述颜色坐标。因此,移动装置,且特别是移动装置的处理器的配置可以通过确定由于检测反应而发生的一种或多种颜色坐标变化来确定颜色变化。This method includes determining analyte concentration values based on color formation in a reagent test field. Therefore, this method can be an analytical measurement comprising inducing a test reaction between a test chemical substance and a bodily fluid sample or a portion thereof (such as at least one analyte), specifically a test reaction for analyte specificity, wherein the test reaction includes a color change in the reagent test field, which indicates the extent of the test reaction and/or the presence or concentration of the analyte. Color formation may include any change in at least one optical property of an optical test strip or, specifically, a reagent test field, which can be optically measured or determined using a camera. Specifically, the analytical measurement may be or may include a color formation reaction in the presence of at least one analyte to be determined. As used herein, the term "color formation reaction" is a broad term and will be given the common and customary meaning to those skilled in the art, and is not limited to a particular or customary meaning. The term may specifically refer to, but is not limited to, a chemical, biological, or physical reaction in which the color, particularly reflectance, of at least one element involved in the reaction changes as the reaction proceeds. Color formation can be detected by a mobile device, such as a processor of the mobile device, and can be quantitatively evaluated, such as by deriving at least one parameter from at least one image, which quantifies or characterizes the color formation of the reagent test field due to the presence of an analyte in a bodily fluid sample. As an example, one or more of the aforementioned color coordinates can be used. Therefore, the configuration of the mobile device, and particularly the processor of the mobile device, can determine the color change by identifying one or more color coordinate changes that occur due to the detection reaction.
从试剂测试场的颜色形成确定至少一种分析物浓度值。为此目的,可使用至少一个图像。作为示例,分析物浓度值可为分析测量结果的数值指标,例如指示样品中至少一种分析物的浓度,例如血糖浓度。The concentration value of at least one analyte is determined from the color formation of the reagent test field. For this purpose, at least one image may be used. As an example, the analyte concentration value may be a numerical indicator of the analytical measurement result, such as indicating the concentration of at least one analyte in the sample, for example, blood glucose concentration.
作为示例,当捕获试剂测试场的至少一部分的至少一个图像时,颜色参考卡的多个不同的颜色参考场的至少一部分和一个或多个灰色背景场的至少一部分位于相机的视场中,并且因此,在试剂测试场的至少一部分的至少一个图像中,颜色参考卡的至少一部分是可见的。作为示例,光学测试条可放置在颜色参考卡的顶部,和/或颜色参考卡可包括一个或多个窗口(切口),其中具有一个或多个窗口的颜色参考卡放置在光学测试条的顶部,使得通过窗口可见到试剂测试场。As an example, when capturing at least one image of at least a portion of the reagent test field, at least a portion of multiple different color reference fields of the color reference card and at least a portion of one or more gray background fields are located within the camera's field of view, and therefore, at least a portion of the color reference card is visible in at least one image of at least a portion of the reagent test field. As an example, an optical test strip may be placed on top of the color reference card, and/or the color reference card may include one or more windows (cutouts), wherein the color reference card having one or more windows is placed on top of the optical test strip such that the reagent test field is visible through the windows.
具体地,使用颜色参考卡可允许在试剂测试区域颜色的至少一个图像中校正相机的特定变化或装置的特定变化。因此,通常,相机和/或移动装置在不通知用户的情况下,将一种或多种评估或预评估算法应用于图像,例如伽马校正,当评估图像并确定至少一个分析物浓度值时,其必须被考虑。通过使用至少一个具有已知光学性质的颜色参考卡,可将移动装置设置为用于校正和/或校准图像,因此在确定至少一个分析物浓度值时或之前,需考虑相机和/或移动装置的内部程序。如上所述,用于确定体液中分析物的浓度的方法包括控制自动曝光设置的方法。Specifically, using a color reference card allows for the correction of specific camera or device variations in at least one image of the color of the reagent testing area. Therefore, typically, the camera and/or mobile device apply one or more evaluation or pre-evaluation algorithms to the image without notifying the user, such as gamma correction, which must be taken into account when evaluating the image and determining at least one analyte concentration value. By using at least one color reference card with known optical properties, the mobile device can be configured for image correction and/or calibration; therefore, the internal procedures of the camera and/or mobile device must be considered when or before determining at least one analyte concentration value. As mentioned above, methods for determining the concentration of an analyte in bodily fluids include methods for controlling automatic exposure settings.
在本发明的另一方面,公开了一种移动装置,该移动装置具有至少一个相机和至少一个显示器。该移动装置进一步具有至少一个处理器。移动装置配置为用于执行根据本发明的控制自动曝光设置的方法的至少步骤b)和c),及任选的步骤d),诸如根据上述公开的任一实施例,和/或根据以下更详细公开的任一实施例。In another aspect of the invention, a mobile device is disclosed, having at least one camera and at least one display. The mobile device further has at least one processor. The mobile device is configured to perform at least steps b) and c) and optional step d) of the method for controlling automatic exposure settings according to the invention, such as according to any of the embodiments disclosed above, and/or according to any of the embodiments disclosed in more detail below.
移动装置可进一步配置为用于执行根据本发明的确定样品中分析物的浓度的方法的步骤ii),诸如根据上述公开的任一实施例,和/或根据以下更详细公开的任一实施例。The mobile device may be further configured to perform step ii) of the method for determining the concentration of an analyte in a sample according to the present invention, such as according to any of the embodiments disclosed above, and/or according to any of the embodiments disclosed in more detail below.
术语“处理器”是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体地可涉及,但不限于,其配置为用于执行计算机或系统的基本操作的任意逻辑电路,和/或一般而言,涉及其配置为用于执行计算或逻辑操作的装置。特别地,处理器可以配置为用于处理驱动移动装置、计算机或系统的基本指令。作为示例,处理器可包括至少一种算术逻辑单元(arithmeticlogic unit,ALU)、至少一个浮点单元(floating-point unit,FPU)(例如,数学协处理器或数字协处理器)、多个记录器(具体是其配置为用于提供操作数至ALU并储存操作结果的记录器)、和存储器(例如L1和L2高速缓存)。特别地,处理器可为多核处理器。具体地,处理器可为或可包括中央处理单元(central processing unit,CPU)。此外或可替代地,处理器可为或可包括微处理器,因此,具体而言,处理器的组件可包括于一个单一集成电路(integrated circuitry,IC)芯片中。此外或可替代地,处理器可为或可包括一种或多种专用集成电路集成电路和/或一种或多种现场可编程逻辑门阵列等。The term "processor" is a broad term and will be given a meaning common and customary to those skilled in the art, and is not limited to a specific or customary meaning. Specifically, the term may refer to, but is not limited to, any logic circuit configured to perform basic operations of a computer or system, and/or, in general, to means configured to perform computational or logical operations. In particular, a processor may be configured to process basic instructions that drive a mobile device, computer, or system. As an example, a processor may include at least one arithmetic logic unit (ALU), at least one floating-point unit (FPU) (e.g., a math coprocessor or a digital coprocessor), multiple recorders (specifically, recorders configured to provide operands to the ALU and store the results of operations), and memory (e.g., L1 and L2 caches). In particular, a processor may be a multi-core processor. Specifically, a processor may be or may include a central processing unit (CPU). Alternatively or concurrently, the processor may be or may include a microprocessor; therefore, specifically, the components of the processor may be contained within a single integrated circuit (IC) chip. Alternatively or concurrently, the processor may be or may include one or more application-specific integrated circuits (ASICs) and/or one or more field-programmable gate arrays (FPGAs), etc.
具体地,处理器可以配置为用于执行和/或支持移动装置的控制自动曝光设置的方法的一个或多个方法步骤,诸如通过软件编程。具体地,处理器配置为用于支持设置曝光计量区,并且基于设置的曝光计量区中的场景确定自动曝光设置,以及用于捕获图像,诸如通过提示用户捕获图像和/或通过检测视场中的颜色参考卡,以及自动设置曝光计量区并基于设置的曝光计量区中的场景确定自动曝光设置和/或自动捕获图像。此外,处理器可以配置为用于识别被捕获图像上的颜色参考场,并且可以确定其的测得的参考颜色值。处理器可以配置为用于将已知参考颜色值分配给对应的测得的颜色参考场。因此,处理器可以配置为用于确定测得的参考颜色值与对应的已知参考颜色值之间的关系,例如通过将测得的参考颜色值拟合于对应的已知参考颜色值。处理器可通过线性优化方法确定关系,例如颜色变换矩阵等的线性变换。此外,处理器可以配置为用于通过使用该关系得出颜色参考卡质量上的至少一个质量信息项。Specifically, the processor can be configured to perform one or more method steps of a method for controlling automatic exposure settings of a mobile device, such as through software programming. Specifically, the processor is configured to support setting an exposure metering zone and determining automatic exposure settings based on a scene within the set exposure metering zone, and to capture images, such as by prompting a user to capture an image and/or by detecting a color reference card in the field of view, and to automatically set the exposure metering zone and determine the automatic exposure settings based on a scene within the set exposure metering zone and/or automatically capture images. Furthermore, the processor can be configured to identify a color reference field on the captured image and determine its measured reference color value. The processor can be configured to assign known reference color values to corresponding measured color reference fields. Therefore, the processor can be configured to determine a relationship between the measured reference color values and corresponding known reference color values, for example, by fitting the measured reference color values to corresponding known reference color values. The processor can determine the relationship using a linear optimization method, such as a linear transformation of a color transformation matrix. Furthermore, the processor can be configured to derive at least one quality information item on the quality of the color reference card using this relationship.
进一步地,处理器可以配置为用于执行和/或辅助用于确定体液中分析物浓度的方法步骤,例如通过软件编程。具体地,处理器配置为用于通过使用移动装置的相机来支持捕获至少一个图像,该至少一个图像包括施加有样品的光学测试条的试剂测试场的至少一部分,以及颜色参考卡的多个不同的颜色参考场的至少一部分和一个或多个灰色背景场的至少一部分。处理器经进一步配置为用于从试剂测试区域的颜色形成中确定至少一个分析物浓度值,诸如通过控制自动曝光设置,从因颜色形成反应而得出的一种或多种颜色坐标变化,将一种或多种颜色坐标变化换算为至少一个分析物浓度值。具体地,处理器配置为用于支持控制自动曝光设置的方法的步骤b)、c)和d)中的一个或多个步骤或所有步骤以及辅助确定体液中分析物的浓度的方法的步骤ii)。处理器进一步配置为用于在提供颜色参考卡和具有施加有样品的测试场的光学测试条方面引导用户,诸如通过提供用户指导,例如以视觉形式或听觉形式。处理器进一步配置为用于辅助捕获至少一个图像,例如通过在视野中自动地检测光学测试条或其一部分和/或提示用户捕获图像。Furthermore, the processor can be configured to perform and/or assist method steps for determining the concentration of an analyte in a body fluid, for example, through software programming. Specifically, the processor is configured to support the capture of at least one image using a camera of a mobile device, the at least one image including at least a portion of a reagent test field of an optical test strip with a sample applied, and at least a portion of multiple different color reference fields of a color reference card and at least a portion of one or more gray background fields. The processor is further configured to determine at least one analyte concentration value from color formation in the reagent test area, such as by controlling automatic exposure settings, converting one or more color coordinate changes resulting from the color formation reaction into at least one analyte concentration value. Specifically, the processor is configured to support one or more or all of steps b), c), and d) of the method for controlling automatic exposure settings and step ii) of the method for assisting in determining the concentration of an analyte in a body fluid. The processor is further configured to guide the user in providing the color reference card and the optical test strip with the test field having the sample applied, such as by providing user guidance, for example, in a visual or auditory form. The processor is further configured to assist in capturing at least one image, for example by automatically detecting an optical test bar or a portion thereof in the field of view and/or prompting the user to capture the image.
在本发明的另一方面,公开了一种试剂盒,该试剂盒包括根据本发明的至少一个移动装置,诸如根据上述公开的任一实施例,和/或根据以下更详细公开的任一实施例,进一步地包括具有至少一个试剂测试场的光学测试条和至少一个颜色参考卡,该颜色参考卡包括具有已知参考颜色值的多个不同的颜色参考场以及具有定义的灰度值的一个或多个灰色背景场。如本文中所使用的术语“试剂盒”是广义术语,并且将被赋予对于本领域普通技术人员普通和惯常的含义,并且不限于特殊或自定义的含义。该术语具体可指涉(但不限于)至少两种物品的组合,作为示例,该至少两种物品可在包装中结合提供,其可以相互作用以实现至少一个共同的目的。In another aspect of the invention, a kit is disclosed comprising at least one mobile device according to the invention, such as according to any of the embodiments disclosed above, and/or according to any of the embodiments disclosed in more detail below, further comprising an optical test strip having at least one reagent test field and at least one color reference card, the color reference card comprising a plurality of different color reference fields having known reference color values and one or more gray background fields having defined grayscale values. The term “kit” as used herein is a broad term and is to be given a common and customary meaning to those skilled in the art, and is not limited to a particular or customary meaning. The term may specifically refer to (but is not limited to) a combination of at least two items, as an example, which may be provided in combination in a package and may interact to achieve at least one common purpose.
在本发明的另一方面,公开了一种包括指令的计算机程序,当该程序由具有相机的移动装置执行时,这些指令使移动装置的处理器执行根据上述公开的任一实施例和/或根据以下更详细公开的任一实施例的控制自动曝光设置的方法的步骤b)和c)(以及任选的步骤d)),和/或确定体液中分析物的浓度的方法的步骤ii)。In another aspect of the invention, a computer program comprising instructions, when executed by a mobile device having a camera, causing the processor of the mobile device to perform steps b) and c) (and optional step d) of a method for controlling automatic exposure settings according to any of the embodiments disclosed above and/or according to any of the embodiments disclosed in more detail below, and/or step ii) of a method for determining the concentration of an analyte in a body fluid.
在本发明的另一方面,公开了一种包括指令的计算机可读存储介质,当该程序由具有相机的移动装置执行时,这些指令使移动装置的处理器执行根据上述公开的任一实施例和/或根据以下更详细公开的任一实施例的控制自动曝光设置的方法的步骤b)和c)(以及任选的步骤d)),和/或确定体液中分析物的浓度的方法的步骤ii)。In another aspect of the invention, a computer-readable storage medium comprising instructions which, when executed by a mobile device having a camera, cause the processor of the mobile device to perform steps b) and c) (and optional step d) of a method for controlling automatic exposure settings according to any of the embodiments disclosed above and/or according to any of the embodiments disclosed in more detail below, and/or step ii) of a method for determining the concentration of an analyte in a body fluid.
如本文所使用,术语“计算机可读存储介质”具体地可涉及非暂时性数据存储装置,例如在其上储存计算机可执行指令的硬件存储介质。该计算机可读数据载体或存储介质具体可以是或可以包括例如随机存取存储器(RAM)和/或只读存储器(ROM)之类的存储介质。As used herein, the term "computer-readable storage medium" specifically refers to a non-transitory data storage device, such as a hardware storage medium on which computer-executable instructions are stored. This computer-readable data carrier or storage medium may specifically be or may include storage media such as random access memory (RAM) and/or read-only memory (ROM).
该计算机程序也可体现为计算机程序产品。如本文所使用,计算机程序产品可涉及如可作为可交易产品的程序。产品通常可以任意格式呈现,例如论文格式,或在计算机可读数据载体上和/或在计算机可读存储介质上呈现。具体地,计算机程序产品可散布于数据网络上。The computer program can also be embodied as a computer program product. As used herein, a computer program product may refer to a program that can be traded as a product. Products can typically be presented in any format, such as a thesis format, or on a computer-readable data carrier and/or on a computer-readable storage medium. Specifically, computer program products can be distributed across data networks.
根据本发明的方法和装置使得能够使用更多种类的移动装置模型进行分析测量。通过使用经过质量确认的颜色参考卡,即使对于多种不同的移动装置,分析测量也可为体液中分析物浓度提供准确的分析测量结果。The method and apparatus according to the invention enable analytical measurements using a wider variety of mobile device models. By using a quality-verified color reference card, accurate analytical measurements of analyte concentrations in bodily fluids can be provided even for a variety of different mobile devices.
以下摘要说明且不排除更多可能的实施例,可设想以下实施例:The following summary describes, but does not exclude, more possible embodiments, the following of which are conceivable:
实施例1:一种当通过使用相机(130)捕获颜色参考卡(110)的至少一部分的至少一个图像及施加有样品的光学测试条(118)的试剂测试场(120)的至少一部分的至少一个图像时,控制具有至少一个相机(130)的移动装置(128)的自动曝光设置的方法,Example 1: A method for controlling the automatic exposure settings of a moving device (128) having at least one camera (130) when capturing at least one image of at least a portion of a color reference card (110) and at least one image of at least a portion of a reagent test field (120) on which an optical test strip (118) with a sample is applied, using a camera (130).
该方法包括以下步骤:The method includes the following steps:
a)提供颜色参考卡(110)和施加有样品的具有测试场(120)的光学测试条(118),a) Provide a color reference card (110) and an optical test strip (118) with a test field (120) on which a sample is applied.
·其中颜色参考卡(110)包括具有已知参考颜色值的多个不同的颜色参考场(112)和具有定义的灰度值的一个或多个灰色背景场(114),The color reference card (110) includes multiple distinct color reference fields (112) with known reference color values and one or more gray background fields (114) with defined grayscale values.
b)设置曝光计量区,并且基于设置的曝光计量区中的场景(126)确定自动曝光设置;b) Set the exposure metering area and determine the automatic exposure settings based on the scene (126) in the set exposure metering area;
·其中所设置的曝光计量区中的场景(126)包括施加有样品的光学测试条(118)的试剂测试场(120)的至少一部分,以及颜色参考卡(110)的该多个不同的颜色参考场(112)的至少一部分和该一个或多个灰色背景场(114)的至少一部分,• The scene (126) in the exposure measurement area includes at least a portion of the reagent test field (120) on which the optical test strip (118) of the sample is applied, and at least a portion of the plurality of different color reference fields (112) of the color reference card (110) and at least a portion of the one or more gray background fields (114).
c)通过使用相机(120)捕获包括步骤b)的场景(126)的至少一个图像,c) Capture at least one image of the scene (126) including step b) using a camera (120).
·其中使用步骤b)的经确定的自动曝光设置。• The determined automatic exposure settings from step b) are used.
实施例2:根据前述实施例所述的方法,其中在步骤b)中以静态或动态方式设置曝光计量区。Example 2: According to the method described in the foregoing examples, the exposure metering area is set in a static or dynamic manner in step b).
实施例3:根据前述实施例任一项所述的方法,其中移动装置(128)包括显示器(134),并且该方法进一步包括以下步骤:Example 3: The method according to any of the foregoing embodiments, wherein the mobile device (128) includes a display (134), and the method further includes the following steps:
·在显示器(134)上提供视觉引导,以将相机(130)相对于物体定位,该物体包括光学测试条(118)的至少一部分和/或颜色参考卡(110)的至少一部分,以供确定自动曝光设置和/或以供捕获至少一个图像。• Provide visual guidance on the display (134) to position the camera (130) relative to an object including at least a portion of an optical test strip (118) and/or at least a portion of a color reference card (110) for determining automatic exposure settings and/or for capturing at least one image.
实施例4:根据前述实施例所述的方法,其中视觉引导包括与叠加在移动装置(128)的显示器(134)上的物体的形状相对应的轮廓(136)。Example 4: The method according to the foregoing embodiments, wherein visual guidance includes an outline (136) corresponding to the shape of an object superimposed on a display (134) of the mobile device (128).
实施例5:根据前述实施例所述的方法,其中确定自动曝光设置自动启动,前提是已确定叠加在显示器(134)上的物体的轮廓(136)覆盖物体。Example 5: According to the method described in the foregoing examples, the automatic exposure setting is automatically activated, provided that the outline (136) of the object superimposed on the display (134) has been determined to cover the object.
实施例6:根据前述实施例任一项所述的方法,其中颜色参考卡和/或测试条包括至少一个位置标记(122)。Example 6: The method according to any of the preceding examples, wherein the color reference card and/or test strip includes at least one position mark (122).
实施例7:根据前述实施例所述的方法,其中确定自动曝光设置自动启动,前提是已确定相机(130)基于至少一个位置标记(122)相对于颜色参考卡(110)在限定的位置。Example 7: According to the method described in the foregoing embodiments, the automatic exposure setting is automatically activated, provided that the camera (130) is determined to be in a defined position relative to the color reference card (110) based on at least one position mark (122).
实施例8:根据前述两项实施例中任一项所述的方法,其中相机(130)基于至少一个位置标记(122)而相对于颜色参考卡(122)的位置经确定,并且曝光计量区依经确定的位置而设置。Example 8: The method according to any one of the preceding two embodiments, wherein the position of the camera (130) relative to the color reference card (122) is determined based on at least one position mark (122), and the exposure metering area is set according to the determined position.
实施例9:根据前述实施例任一项所述的方法,其中在确定针对相机(130)自动曝光设置和捕获至少一个图像中的一者或两者期间,试剂测试场(120)相对于颜色参考卡(110)在限定的位置。Example 9: The method according to any of the preceding examples, wherein during determining one or both of automatic exposure settings for the camera (130) and capturing at least one image, the reagent test field (120) is in a defined position relative to the color reference card (110).
实施例10:根据前述实施例任一项所述的方法,其中在针对相机(130)确定自动曝光设置及捕获至少一个图像中的一者或两者的期间,相机(130)相对于颜色参考卡(110)在限定的位置。Example 10: The method according to any of the foregoing embodiments, wherein during the determination of automatic exposure settings for the camera (130) and the capture of one or both of at least one image, the camera (130) is in a defined position relative to the color reference card (110).
实施例11:根据前述实施例任一项所述的方法,其中确定自动曝光设置自动启动,特别是一旦自动检测到至少一个物体存在于相机的视场内和/或相机的视场的预定区域内,该物体包括光学测试条(118)的至少一部分和/或颜色参考卡(110)的至少一部分。Example 11: The method according to any of the foregoing embodiments, wherein the automatic exposure setting is automatically activated, in particular once at least one object is automatically detected to be present in the camera's field of view and/or a predetermined area of the camera's field of view, the object comprising at least a portion of an optical test strip (118) and/or at least a portion of a color reference card (110).
实施例12:根据前述实施例任一项所述的方法,其中捕获至少一个图像自动启动,特别是一旦自动检测到至少一个物体存在于相机的视场内和/或相机的视场的预定区域内,该物体包括光学测试条(118)的至少一部分和/或颜色参考卡(110)的至少一部分。Example 12: The method according to any of the foregoing embodiments, wherein capturing at least one image is automatically initiated, in particular once at least one object is automatically detected to be present in the camera's field of view and/or a predetermined area of the camera's field of view, the object comprising at least a portion of an optical test strip (118) and/or at least a portion of a color reference card (110).
实施例13:根据前述实施例任一项所述的方法,其中在针对相机(130)确定自动曝光设置及捕获至少一个图像期间,照明基本上不变。Example 13: The method according to any of the foregoing embodiments, wherein the illumination remains substantially constant during the determination of automatic exposure settings for the camera (130) and the capture of at least one image.
实施例14:根据前述实施例任一项所述的方法,其中针对相机(130)确定自动曝光设置捕获图像期间的照明条件和由移动装置的照明源为主。Example 14: The method according to any of the foregoing embodiments, wherein the automatic exposure settings for the camera (130) are determined to include the lighting conditions during image capture and the lighting source primarily composed of the mobile device.
实施例15:根据前述实施例任一项所述的方法,其中一个或多个灰色背景场具有介于0%与30%灰阶之间或介于70%与100%灰阶之间的定义的灰度值。Example 15: The method according to any of the foregoing embodiments, wherein one or more gray background fields have defined gray values between 0% and 30% gray levels or between 70% and 100% gray levels.
实施例16:根据前述实施例任一项所述的方法,其中具有定义的灰度值的一个或多个灰色背景场(114)覆盖面对相机的颜色参考卡的表面的至少10%。Example 16: The method according to any of the preceding embodiments, wherein one or more gray background fields (114) having defined gray values cover at least 10% of the surface of the color reference card facing the camera.
实施例17:根据前述实施例任一项所述的方法,其中设置的曝光计量区中的场景的至少5%,特别是至少10%或至少15%包括一个或多个灰色背景场(114)的至少一部分。Example 17: The method according to any of the preceding embodiments, wherein at least 5%, particularly at least 10% or at least 15%, of the scene in the set exposure metering area includes at least a portion of one or more gray background fields (114).
实施例18:根据前述实施例任一项所述的方法,其中设置的曝光计量区中的场景(126)包括整个颜色参考卡(110)。Example 18: The method according to any of the preceding examples, wherein the scene (126) in the set exposure metering area includes the entire color reference card (110).
实施例19:根据前述实施例任一项所述的方法,其中在步骤c)中捕获的至少一个图像基本上包括步骤b)的设置的曝光计量中的场景(126)。Example 19: The method according to any of the preceding embodiments, wherein at least one image captured in step c) substantially comprises the scene (126) in the exposure metering set in step b).
实施例20:根据前述实施例任一项所述的方法,其中该方法进一步包括:Example 20: The method according to any of the foregoing embodiments, wherein the method further includes:
d)确定至少一个可采纳性信息项目,其中如果对应于至少一个图像中的颜色参考场(112)的每个像素或至少一预定像素组展现出在可接受限值内的亮度值,例如介于50与240之间,或介于80与220之间,该可采纳性信息项目指示可采纳性。d) Determine at least one acceptability information item, wherein the acceptability information item indicates acceptability if each pixel or at least a predetermined group of pixels corresponding to a color reference field (112) in at least one image exhibits a luminance value within an acceptable limit, such as between 50 and 240, or between 80 and 220.
实施例21:根据前述实施例任一项所述的方法,其中该方法进一步包括:Example 21: The method according to any one of the foregoing embodiments, wherein the method further includes:
e)通过使用施加有样品的光学测试条(118)的试剂测试场(120)的至少一部分的至少一个图像和多个不同的颜色参考场(112)的至少一部分的至少一个图像来确定样品中分析物的浓度。e) The concentration of the analyte in the sample is determined by using at least one image of at least a portion of a reagent test field (120) on which the optical test strip (118) of the sample is applied and at least one image of at least a portion of a plurality of different color reference fields (112).
实施例22:一种通过使用具有至少一个相机(130)的移动装置(128)来确定样品中分析物浓度的方法,Example 22: A method for determining the concentration of an analyte in a sample using a moving device (128) having at least one camera (130).
该方法包括以下步骤:The method includes the following steps:
i)当通过使用相机(130)捕获颜色参考卡(110)的至少一部分的至少一个图像和施加有样品的光学测试条(118)的试剂测试场(120)的至少一部分的至少一个图像时,控制根据前述实施例任一项所述的移动装置(128)的自动曝光设置,i) When capturing at least one image of at least a portion of a color reference card (110) and at least one image of at least a portion of a reagent test field (120) to which the optical test strip (118) of the sample is applied using a camera (130), the automatic exposure settings of the moving device (128) according to any of the foregoing embodiments are controlled.
ii)通过使用施加有样品的光学测试条(118)的试剂测试场(120)的至少一部分的至少一个图像和多个不同的颜色参考场(112)的至少一部分的至少一个图像来确定样品中分析物的浓度。ii) The concentration of the analyte in the sample is determined by using at least one image of at least a portion of a reagent test field (120) on which the optical test strip (118) of the sample is applied and at least one image of at least a portion of a plurality of different color reference fields (112).
实施例23:根据前述两项实施例中任一项所述的方法,其中该分析物为葡萄糖并且该体液为血液。Example 23: The method according to any one of the preceding two examples, wherein the analyte is glucose and the body fluid is blood.
实施例24:一种移动装置(128),其具有至少一个相机(130)和至少一个显示器(134),该移动装置(128)配置为用于进行根据前述实施例1至21中任一项所述的控制自动曝光设置的方法的至少步骤b)和c)以及任选地步骤d)。Example 24: A mobile device (128) having at least one camera (130) and at least one display (134), the mobile device (128) being configured to perform at least steps b) and c) and optionally step d) of the method for controlling automatic exposure settings according to any one of Examples 1 to 21 above.
实施例25:根据前述实施例所述的移动装置,其配置为用于执行如实施例21或23的控制自动曝光设置的方法的步骤e)或执行根据实施例22或23所述的确定样品中分析物的浓度的方法的步骤ii)。Example 25: A mobile device according to the foregoing embodiments, configured to perform step e) of the method for controlling automatic exposure settings as described in Example 21 or 23, or step ii) of the method for determining the concentration of an analyte in a sample as described in Example 22 or 23.
实施例26:一种确定体液中分析物的浓度的试剂盒,该试剂盒包括:Example 26: A kit for determining the concentration of an analyte in body fluids, the kit comprising:
-根据实施例24或25所述的移动装置,-The mobile device according to embodiment 24 or 25
-至少一个光学测试条(118),其具有至少一个试剂测试场(120),- At least one optical test strip (118) having at least one reagent test field (120),
-至少一个颜色参考卡(110),其中该颜色参考卡(110)包括具有已知参考颜色值的多个不同的颜色参考场(112)和具有定义的灰度值的一个或多个灰色背景场(114)。- At least one color reference card (110), wherein the color reference card (110) includes a plurality of different color reference fields (112) having known reference color values and one or more gray background fields (114) having defined gray values.
实施例27:一种包括指令的计算机程序,当该程序由具有相机(130)的移动装置(128)执行时,这些指令使该移动装置(128)执行根据前述方法实施例中任一项所述的方法的至少步骤b)和c)以及任选地步骤d)、和/或步骤e)和ii)中的一者。Example 27: A computer program including instructions that, when executed by a mobile device (128) having a camera (130), cause the mobile device (128) to perform at least steps b) and c) and optionally steps d) and/or e) and ii) of the method according to any of the foregoing method embodiments.
实施例28:一种包括指令的计算机可读存储介质,特别是非暂时性存储介质,这些指令当由具有相机(130)的移动装置(128)执行时,使该移动装置(128)执行根据前述方法实施例中任一项所述的方法的至少步骤b)和c)以及任选地步骤d)和/或步骤e)和ii)中的一者。Example 28: A computer-readable storage medium, particularly a non-transitory storage medium, comprising instructions which, when executed by a mobile device (128) having a camera (130), cause the mobile device (128) to perform at least steps b) and c) and optionally steps d) and/or e) and ii) of the method according to any of the foregoing method embodiments.
附图说明Attached Figure Description
进一步的可选特征和实施例将在后续实施例的详细信息中公开,优选地是结合从属权利要求。其中,个别的可选特征可单独实现,也可以在任意可行的组合中实现,如本领域技术人员将实现的。本发明的范围不限于优选实施例。实施例以图式进行图表式的描绘。其中,这些图式中的参考编号相同者,用于指代相同或功能类似的元件。Further optional features and embodiments will be disclosed in the details of the following embodiments, preferably in conjunction with the dependent claims. Individual optional features may be implemented individually or in any feasible combination, as would be apparent to those skilled in the art. The scope of the invention is not limited to the preferred embodiments. Embodiments are depicted graphically. In these figures, reference numerals that are the same are used to refer to elements that are the same or functionally similar.
在这些附图中:In these attached figures:
图1示出颜色参考卡的平面图;Figure 1 shows a plan view of the color reference card;
图2示出包括移动装置、颜色参考卡和光学测试条的试剂盒的实施例;Figure 2 illustrates an embodiment of the kit, which includes a mobile device, a color reference card, and optical test strips.
图3示出基于设置的曝光计量区内的场景确定自动曝光设置并捕获图像时的情形;Figure 3 illustrates the scenario where automatic exposure settings are determined and an image is captured based on the scene within the set exposure metering zone.
图4示出控制自动曝光设置的方法的实施例的流程图;以及Figure 4 shows a flowchart of an embodiment of the method for controlling automatic exposure settings; and
图5示出确定体液中至少一个分析物浓度的方法的实施例的流程图。Figure 5 shows a flowchart of an embodiment of a method for determining the concentration of at least one analyte in body fluids.
具体实施方式Detailed Implementation
在图1中,显示颜色参考卡110的示例性实施例的平面图。颜色参考卡110包括具有已知参考颜色值的多个颜色参考场112。颜色参考场112可配置在颜色参考卡110的表面上,如在颜色参考卡110的基底的表面上。特别地,颜色参考卡112可均等地分布在颜色参考卡110的表面上,具体地,以使多个颜色参考场112可分布在颜色参考卡110的整个表面上的方式。作为示例,颜色参考场112可配置为矩阵模式,如矩形矩阵模式。然而,颜色参考场112也可配置为其他方式,如配置为相互分离。颜色参考卡110进一步包括一个或多个围绕颜色参考场112和/或成帧颜色参考卡的灰色背景场114。颜色参考场112和灰色背景场114可相互不重叠。Figure 1 shows a plan view of an exemplary embodiment of the color reference card 110. The color reference card 110 includes a plurality of color reference fields 112 having known reference color values. The color reference fields 112 may be configured on the surface of the color reference card 110, such as on the surface of a substrate of the color reference card 110. In particular, the color reference fields 112 may be evenly distributed on the surface of the color reference card 110, specifically, in such a way that the plurality of color reference fields 112 may be distributed across the entire surface of the color reference card 110. As an example, the color reference fields 112 may be configured in a matrix pattern, such as a rectangular matrix pattern. However, the color reference fields 112 may also be configured in other ways, such as being configured to be separated from each other. The color reference card 110 further includes one or more gray background fields 114 surrounding the color reference fields 112 and/or framing the color reference card. The color reference fields 112 and the gray background fields 114 may not overlap each other.
颜色参考卡110可进一步包括至少一个窗口116。因此当将颜色参考卡110放置在光学测试条118的顶部上时,可通过窗口116见到至少一个光学测试条118或其一部分。具体地,可通过颜色参考卡110的窗口116见到光学测试条118包括的至少一个试剂测试场120。作为另一个示例,颜色参考卡110可包括具有至少一个试剂测试场120的光学测试条118,具体地,以使得至少一个试剂测试场120可访问且可视的方式。The color reference card 110 may further include at least one window 116. Thus, when the color reference card 110 is placed on top of the optical test strip 118, at least one optical test strip 118 or a portion thereof can be seen through the window 116. Specifically, at least one reagent test field 120 included in the optical test strip 118 can be seen through the window 116 of the color reference card 110. As another example, the color reference card 110 may include an optical test strip 118 having at least one reagent test field 120, specifically in a manner that makes at least one reagent test field 120 accessible and visible.
此外,颜色参考卡110可包括至少一个位置标记122。该位置标记122可以特定地为ArUco码。在图1中,位置标记122具体地可包括一个或多个ArUco码,诸如在包括颜色参考场112的矩形矩阵的角。因此,通常位置标记122可布置在颜色参考卡110的至少一个角124。例如,至少一个位置标记122可布置在颜色参考卡110的每个角124,具体地以使得位置标记122可与多个颜色参考场112同时可见的方式。此外,位置标记122可包括关于颜色参考卡110方向的信息。Furthermore, the color reference card 110 may include at least one position mark 122. This position mark 122 may specifically be an ArUco code. In FIG. 1, the position mark 122 may specifically include one or more ArUco codes, such as at the corners of a rectangular matrix including the color reference fields 112. Therefore, the position mark 122 may typically be arranged at at least one corner 124 of the color reference card 110. For example, at least one position mark 122 may be arranged at each corner 124 of the color reference card 110, specifically in such a way that the position mark 122 is visible simultaneously with multiple color reference fields 112. Furthermore, the position mark 122 may include information regarding the orientation of the color reference card 110.
在图2中,显示试剂盒的示例性实施例的透视图。该试剂盒包括至少一个移动装置128和至少一个颜色参考卡110。此外,该试剂盒包括至少一个光学测试条118。Figure 2 shows a perspective view of an exemplary embodiment of the kit. The kit includes at least one moving device 128 and at least one color reference card 110. Furthermore, the kit includes at least one optical test strip 118.
移动装置128可为或可包括移动电话、智能手机、平板电脑等的至少一种。此外,移动装置128具有至少一个相机130。移动装置128的相机130配置为用于纪录图像,具体地是颜色图像。因此,相机130可为彩色相机,且可包括至少三种颜色的传感器,如用于R、G、B颜色的至少一个颜色传感器等。Mobile device 128 may be or may include at least one of a mobile phone, smartphone, tablet computer, etc. Furthermore, mobile device 128 has at least one camera 130. The camera 130 of mobile device 128 is configured to record images, specifically color images. Therefore, camera 130 may be a color camera and may include sensors for at least three colors, such as at least one color sensor for R, G, and B colors.
此外,移动装置128可包括至少一个处理器132。处理器132可以配置为用于具体地通过软件编程执行控制自动曝光设置的方法步骤b)、c)和d)中的一者或多者。此外,处理器132配置为用于支持确定分析物的浓度的方法的步骤ii)。图4和5分别呈现上述方法的示例性实施例,且将于以下详细描述。因此,可参考图4和图5的描述。Furthermore, the mobile device 128 may include at least one processor 132. The processor 132 may be configured to specifically execute one or more of the method steps b), c), and d) of controlling automatic exposure settings via software programming. Additionally, the processor 132 is configured to support step ii) of the method for determining the concentration of the analyte. Figures 4 and 5 respectively present exemplary embodiments of the above-described method, which will be described in detail below. Therefore, reference can be made to the description of Figures 4 and 5.
处理器132配置为用于具体地支持曝光计量区的设置,并基于设置的曝光计量区中的场景126确定自动曝光设置。在所示实施例中,设置的曝光计量区中的场景126包括颜色参考卡和试剂测试场。处理器132配置为用于具体地捕获包括场景126的至少一个图像。具体地,处理器132可提示移动装置128的用户捕获图像。附加地或可替代地,处理器132可以配置为用于自动地捕获颜色参考卡110的图像,具体地是当颜色参考卡110可在视野中时。Processor 132 is configured to specifically support the setting of an exposure metering zone and determine automatic exposure settings based on scene 126 within the set exposure metering zone. In the illustrated embodiment, scene 126 within the set exposure metering zone includes a color reference card and a reagent test field. Processor 132 is configured to specifically capture at least one image including scene 126. Specifically, processor 132 may prompt a user of mobile device 128 to capture an image. Additionally or alternatively, processor 132 may be configured to automatically capture an image of color reference card 110, specifically when color reference card 110 is within the field of view.
颜色参考卡110已在上面进行了描述(见图1)。颜色参考卡110包括具有已知参考颜色值的多个颜色参考场112。此外,颜色参考卡110可包括至少一个窗口116。因此,可通过颜色参考卡110的窗口116看见光学测试条118,具体地是当颜色参考卡110可被放置在光学测试条118的顶部时,使颜色参考卡110和光学测试条118两者可见于通过移动装置128的相机130捕获的图像。具体地,可通过颜色参考卡110的窗口116见到光学测试条118的至少一个试剂测试区域120。Color reference card 110 has been described above (see Figure 1). Color reference card 110 includes a plurality of color reference fields 112 having known reference color values. Furthermore, color reference card 110 may include at least one window 116. Thus, optical test strip 118 can be seen through window 116 of color reference card 110, specifically when color reference card 110 can be placed on top of optical test strip 118, making both color reference card 110 and optical test strip 118 visible in an image captured by camera 130 of moving device 128. Specifically, at least one reagent test area 120 of optical test strip 118 can be seen through window 116 of color reference card 110.
颜色参考卡110可进一步包括至少一个位置标记122。位置标记122可布置在颜色参考卡110的至少一个表面上,使得移动装置128的相机130可检测到标记122。至少一个标记122可被用于识别颜色参考卡110。具体地,移动装置128的处理器132配置为用于在相机130的视场中检测位置标记122。The color reference card 110 may further include at least one position mark 122. The position mark 122 may be disposed on at least one surface of the color reference card 110 such that the camera 130 of the mobile device 128 can detect the mark 122. At least one mark 122 may be used to identify the color reference card 110. Specifically, the processor 132 of the mobile device 128 is configured to detect the position mark 122 within the field of view of the camera 130.
图3显示确定自动曝光设置和捕获图像时的情形。在该实施例中,以叠加在移动装置128的显示器134上的颜色参考卡的轮廓136的形式在显示器上提供视觉引导,以引导用户定位相机,使得设置的曝光计量区中对应于轮廓136的场景包括施加有样品的光学测试条的试剂测试场的至少一部分,以及多个不同的颜色参考场的至少一部分和一个或多个灰色背景场的至少一部分。在所示实例中,设置的曝光计量区中的场景包括整个颜色参考卡。Figure 3 illustrates the process of determining automatic exposure settings and capturing an image. In this embodiment, visual guidance is provided on the display in the form of an outline 136 of a color reference card superimposed on the display 134 of the mobile device 128 to guide the user in positioning the camera such that the scene corresponding to outline 136 in the set exposure metering area includes at least a portion of a reagent test field on which an optical test strip of the sample is applied, at least a portion of a plurality of different color reference fields, and at least a portion of one or more gray background fields. In the illustrated example, the scene in the set exposure metering area includes the entire color reference card.
确定自动曝光设置和捕获图像可以自动启动。自动曝光设置的自动确定可以例如自动启动,前提是基于位置标记122检测到颜色参考卡在设置的曝光计量区内。类似地,然后可以自动捕获图像,其中使用经确定的自动曝光设置。Determining the automatic exposure settings and capturing an image can be initiated automatically. Automatic determination of the automatic exposure settings can, for example, be initiated automatically based on the detection that the color reference card is within the set exposure metering area using position marker 122. Similarly, an image can then be captured automatically using the determined automatic exposure settings.
图4显示控制移动装置的自动曝光设置138的方法的示例性实施例的流程图。Figure 4 shows a flowchart of an exemplary embodiment of the method for controlling the automatic exposure setting 138 of the mobile device.
所述方法包括:The method includes:
a)(用附图标记142表示)提供颜色参考卡和具有施加有样品的测试场的光学测试条,a) (indicated by reference numeral 142) provides a color reference card and an optical test strip with a test field on which the sample is applied.
-其中颜色参考卡包括具有已知参考颜色值的多个不同的颜色参考场以及具有定义的灰度值的一个或多个灰色背景场,-The color reference card includes multiple different color reference fields with known reference color values and one or more gray background fields with defined grayscale values.
b)(用附图标记144表示)设置曝光计量区,并且基于设置的曝光计量区中的场景确定自动曝光设置;b) (indicated by reference numeral 144) Set the exposure metering area and determine the automatic exposure settings based on the scene within the set exposure metering area;
-其中设置的曝光计量中的场景包括施加有样品的光学测试条的试剂测试场的至少一部分,以及颜色参考卡的该多个不同的颜色参考场的至少一部分和该一个或多个灰色背景场的至少一部分,以及-The scene set in the exposure metering includes at least a portion of the reagent test field on which the optical test strip of the sample is applied, at least a portion of the plurality of different color reference fields of the color reference card, and at least a portion of the one or more gray background fields, and
c)(用附图标记146表示)通过使用相机捕获包括步骤b)的场景的图像,c) (indicated by reference numeral 146) capturing images of the scene including step b) using a camera.
-其中使用步骤b)的经确定的自动曝光设置。-The determined automatic exposure settings from step b) are used.
该方法可包括未列出的另外的步骤。This method may include additional steps not listed.
在步骤a)中,提供颜色参考卡110和具有施加有样品的测试场的光学测试条118。处理器132配置为用于通过提供使用者指引在提供颜色参考卡和光学测试条方面引导用户,例如以视觉形式或听觉形式。In step a), a color reference card 110 and an optical test strip 118 having a test field on which a sample is applied are provided. The processor 132 is configured to guide the user in providing the color reference card and optical test strip by providing user guidance, for example, in a visual or auditory form.
在步骤b)中,设置曝光计量区,并且基于设置的曝光计量区中的场景126确定自动曝光设置。例如,处理器132配置为用于提示使用者将颜色参考卡放置在相机的视场中,或者颜色参考卡110的位置可以由移动装置经由位置标记122来跟踪。作为示例,处理器132配置为用于检测视场中的颜色参考卡110,并且进一步当在设置的曝光计量区中检测到具有位置标记122的颜色参考卡时确定自动曝光设置。In step b), an exposure metering zone is set, and an automatic exposure setting is determined based on scene 126 within the set exposure metering zone. For example, processor 132 is configured to prompt the user to place a color reference card in the camera's field of view, or the position of the color reference card 110 can be tracked by a moving device via position marker 122. As an example, processor 132 is configured to detect the color reference card 110 in the field of view, and further determine the automatic exposure setting when a color reference card with position marker 122 is detected in the set exposure metering zone.
在步骤c)中,捕获图像。至少一个图像的捕获可由用户动作启动或可自动启动,例如一旦基于位置标记122在相机130的视场中检测到颜色参考卡。图像捕获可由移动装置128的处理器132支持,并且图像储存可在移动装置的数据存储装置中进行。该至少一个图像包括步骤b)的场景。为了捕获图像,使用步骤b)的经确定的自动曝光设置。In step c), an image is captured. The capture of at least one image may be initiated by a user action or may be initiated automatically, for example, once a color reference card is detected in the field of view of camera 130 based on location marker 122. Image capture may be supported by processor 132 of mobile device 128, and image storage may be performed in the data storage device of mobile device. The at least one image includes the scene from step b). To capture the image, the determined automatic exposure settings from step b) are used.
在一项实验中,比较了与图1中所示颜色参考卡相似的两个颜色参考卡,该两个颜色参考卡具有不同灰度值的灰色背景场。基于放置在曝光计量区中的每个颜色参考卡来确定自动曝光设置,然后使用经确定的自动曝光设置分别捕获每个颜色参考卡的图像。In one experiment, two color reference cards similar to the color reference card shown in Figure 1 were compared, but with different grayscale values against a gray background. Automatic exposure settings were determined based on each color reference card placed in the exposure metering area, and then images of each color reference card were captured separately using the determined automatic exposure settings.
下表显示灰色背景场的亮度阶如何通过影响自动曝光设置来影响颜色参考卡上示例性颜色参考场的检测亮度。The table below shows how the brightness levels of the gray background field affect the detection brightness of an exemplary color reference field on a color reference card by influencing the automatic exposure settings.
与具有较深灰色背景场的颜色参考卡相比,当使用具有亮灰色背景场的颜色参考卡时,示例性颜色参考场的亮度较低。甚至可以使用更亮或更暗的灰色背景场来将曝光水平更强烈地控制到期望的曝光水平。当与颜色参考卡一起成像时,这可以帮助获得适合用于确定施加到测试条的测试场的样品中分析物的浓度的图像(例如通过避免确定分析物浓度时进行图像校正所需的颜色参考卡的测试场或相关场的过度曝光或曝光不足)。Compared to a color reference card with a darker gray background field, the exemplary color reference field has lower brightness when using a color reference card with a light gray background field. Even brighter or darker gray background fields can be used to more strongly control the exposure level to the desired level. When imaged with a color reference card, this can help obtain an image suitable for determining the concentration of the analyte in the sample for the test field applied to the test strip (e.g., by avoiding overexposure or underexposure of the test field or related field of the color reference card required for image correction when determining analyte concentration).
图5显示一种通过使用具有至少一个相机130的移动装置128来确定样品中分析物浓度的方法的示例性实施例的流程图。Figure 5 shows a flowchart of an exemplary embodiment of a method for determining the concentration of an analyte in a sample using a moving device 128 having at least one camera 130.
所述方法包括:The method includes:
i)(用附图标记138表示)当通过使用相机(130)捕获颜色参考卡(110)的至少一部分的至少一个图像和施加有样品的光学测试条(118)的试剂测试场(120)的至少一部分的至少一个图像时,控制如上所述的移动装置的自动曝光设置,i) (denoted by reference numeral 138) When at least one image of at least a portion of a color reference card (110) and at least one image of at least a portion of a reagent test field (120) on which the optical test strip (118) of the sample is applied are captured by a camera (130), the automatic exposure settings of the moving device as described above are controlled.
ii)(用附图标记148表示)通过使用施加有样品的光学测试条(118)的试剂测试场(120)的至少一部分的至少一个图像和多个不同的颜色参考场(112)的至少一部分的至少一个图像来确定样品中分析物的浓度。(ii) (denoted by reference numeral 148) The concentration of the analyte in the sample is determined by using at least one image of at least a portion of a reagent test field (120) on which an optical test strip (118) to which the sample is applied and at least one image of at least a portion of a plurality of different color reference fields (112).
关于步骤i),参考如上所述的控制自动曝光设置138的方法。在步骤ii)中,例如,可以使用所捕获的至少一个图像从试剂测试场的颜色形成来确定施加到测试条的测试场的血液样品中的葡萄糖浓度。通过使用从一个或多个具有已知光学性质的颜色参考场卡而确定的强度值,可将移动装置设置为用于校正和/或校准图像,因此在确定至少一个分析物浓度值时或之前,需考虑相机和/或移动装置的内部程序。Regarding step i), refer to the method for controlling the automatic exposure setting 138 as described above. In step ii), for example, the glucose concentration in the blood sample applied to the test strip can be determined from the color formation of the reagent test field using at least one captured image. The moving device can be configured for image correction and/or calibration using intensity values determined from one or more color reference field cards with known optical properties; therefore, the internal procedures of the camera and/or moving device must be considered when or before determining at least one analyte concentration value.
符号说明Symbol Explanation
110 颜色参考卡110 Color Reference Card
112 颜色参考场112 Color Reference Field
114 灰色背景场114 Gray background field
116 窗口116 Window
118 光学测试条118 Optical Test Strips
120 试剂测试场120 Reagent Testing Field
122 位置标记122 Location Marker
124 角124 angles
126 场景126 Scene
128 移动装置128 Mobile devices
130 相机130 Camera
132 处理器132 Processor
134 显示器134 Monitor
136 轮廓136 Outline
138 控制移动装置的自动曝光设置138 Automatic exposure settings for controlling the moving device
140 提供颜色参考卡(110)和光学测试条140 Provides a color reference card (110) and optical test strips.
142 设置曝光计量区并确定自动曝光设置142 Set the exposure metering area and confirm the automatic exposure settings.
144 捕获图像144 Capture Image
148 确定分析物的浓度。148. Determine the concentration of the analyte.
Claims (15)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP20201896.6 | 2020-10-14 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| HK40096910A true HK40096910A (en) | 2024-03-01 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11189056B2 (en) | Methods and devices for performing an analytical measurement based on a color formation reaction | |
| TWI865453B (en) | A calibration method for calibrating a camera of a mobile device for detecting an analyte in a sample | |
| CN111247422B (en) | Method and apparatus for performing analytical measurements | |
| US20230262339A1 (en) | Method of controlling auto-exposure settings of a mobile device having a camera | |
| TWI902818B (en) | Method of determining the concentration of an analyte in a sample of a bodily fluid | |
| ES2973824T3 (en) | Procedure for evaluating the quality of a color reference card | |
| US20230236174A1 (en) | Method of determining the concentration of at least one analyte in a body fluid | |
| TW202322049A (en) | Methods and devices for controlling auto white balance settings of a mobile device for a color based measurement using a color reference card | |
| HK40096910A (en) | A method of controlling auto-exposure settings of a mobile device having a camera | |
| TW202536801A (en) | A method for evaluating the suitability of auto-exposure settings of a mobile device for performing a color based measurement | |
| RU2832006C1 (en) | Method of assessing quality of reference colour map | |
| RU2809608C2 (en) | Calibration method for calibrating camera of mobile device for determining analyte in a sample | |
| HK40087795A (en) | Method of determining the concentration of an analyte in a sample of a bodily fluid, mobile device, kit, computer program and computer-readable storage medium | |
| HK40110060A (en) | Methods and devices for controlling auto white balance settings of a mobile device for a color based measurement using a color reference card | |
| HK40044459A (en) | A calibration method for calibrating a camera of a mobile device for detecting an analyte in a sample | |
| HK40096033A (en) | Method of determining the concentration of at least one analyte in a bodily fluid | |
| CN118679370A (en) | Method and device for determining the concentration of at least one analyte in a body fluid | |
| BR112020007491B1 (en) | METHOD FOR ASSESSING THE SUITABILITY OF A MOBILE DEVICE, METHOD FOR PERFORMING AN ANALYTICAL MEASUREMENT, COMPUTER-READABLE STORAGE MEDIUM, MOBILE DEVICE AND KIT FOR PERFORMING AN ANALYTICAL MEASUREMENT | |
| HK40031609A (en) | Methods and devices for performing an analytical measurement based on a color formation reaction | |
| HK40031609B (en) | Methods and devices for performing an analytical measurement based on a color formation reaction |