| CPC G01N 21/80 (2013.01) [G01N 21/31 (2013.01); G06T 7/80 (2017.01); G06T 7/90 (2017.01); H04N 9/67 (2013.01); H04N 23/56 (2023.01); G06T 2207/10024 (2013.01); G06T 2207/10144 (2013.01)] | 9 Claims |

|
1. A method for calibrating a digital camera for use in a dialysis system, comprising the steps of:
providing:
the dialysis system including a fluid sensor apparatus; and
the digital camera to be calibrated for use in the dialysis system, wherein the digital camera is configured to receive light projected through the fluid sensor apparatus, when installed to the fluid sensor apparatus;
determining fit parameters for a characteristic equation that inputs a set of two or more image color values associated with a captured image element and outputs a spectral color value, wherein the fit parameters are based on:
images taken at a plurality of different exposure times by the digital camera of each of a plurality of light sources, a set of image color values for each of two or more colors associated with elements in each captured image, and one or more spectral color values associated with each of the plurality of light sources obtained from spectrometer measurements; and
calibrating the digital camera when used in the dialysis system, wherein the calibration is based on at least the determined fit parameters and the characteristic equation.
|