Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberCN104316527 A
Publication typeApplication
Application numberCN 201410621209
Publication date28 Jan 2015
Filing date7 Nov 2014
Priority date7 Nov 2014
Publication number201410621209.X, CN 104316527 A, CN 104316527A, CN 201410621209, CN-A-104316527, CN104316527 A, CN104316527A, CN201410621209, CN201410621209.X
Inventors潘力
Applicant昆山韦睿医疗科技有限公司
Export CitationBiBTeX, EndNote, RefMan
External Links: SIPO, Espacenet
Automatic detection method for discharged dialyzate, and automatic detection device for discharged dialyzate
CN 104316527 A
Abstract
The embodiment of the invention provides an automatic detection method for a discharged dialyzate, which is used for detecting the color of the dialyzate discharged in a dialyzate bag of a peritoneal dialysis device. The method comprises the following steps: sample images of the dialyzate in the dialyzate bag are periodically obtained through a camera device; the sample images are analyzed, and matching of the sample images and a plurality of preset dialyzate parameters is conducted to obtain the most approximate preset dialyzate color parameter; whether the status of the discharged dialyzate is abnormal or not is determined according to the most approximate preset dialyzate color parameter, and alarm processing is carried out if an abnormal state is determined. The embodiment of the invention further correspondingly provides an automatic detection device for the discharged dialyzate. Through the embodiment of the invention, the dialyzate color can be automatically distinguished at any time, and an alarm can be sent in case of abnormality.
Claims(12)  translated from Chinese
1.一种对排出的透析液进行自动检测的方法,用于对腹膜透析仪的透析液袋中排出的透析液的颜色进行检测,其特征在于,包括如下步骤: 周期性通过摄像装置获取透析液袋中透析液的样本图像; 分析所述样本图像,与预设的多个透析液参数进行匹配,获得最接近的预设的透析液颜色参数; 根据所述最接近的预设的透析颜色参数,判断所述排出的透析液的状态是否异常,如果判断结果为异常状态,则进行报警处理。 A pair of discharge of dialysate automatic detection method, for the color of the peritoneal dialysate dialyzer dialysate bag discharging is detected, characterized by comprising the steps of: periodically acquired by the imaging means dialysis sample image dialysate fluid bag; analyzing said sample image, and a plurality of preset parameters match dialysate, obtained dialysate closest preset color parameters; according to the closest color preset dialysis whether state parameters, determine the discharge of dialysate exception, if the result is an abnormal state, the alarm processing.
2.如权利要求1所述的一种对排出的透析液进行自动检测的方法,其特征在于,所述分析所述样本图像,与预设的多个透析液参数进行匹配,获得最接近的预设的透析液颜色参数的步骤具体包括: 将所述样本图像与预设的多个参考图像进行比对,确定与所述样本图像最接近的参考图像,其中,每一参考图像对应一透析液参数; 获得所述最接近的参考图像所对应的透析液参数。 2. A according to claim 1 to be discharged dialysate automatic detection method, wherein said analyzing said sample image, and a plurality of dialysate preset parameters match, get closest Step dialysate preset color parameters specifically include: the sample image with a plurality of preset reference images for comparison, determining the sample image with the closest reference picture, wherein each of the reference image corresponding to a dialysis fluid parameters; get closest to the dialysate parameter corresponding to the reference image.
3.如权利要求2所述的一种对排出的透析液进行自动检测的方法,其特征在于,所述将所述样本图像与预设的多个参考图像进行比对,确定与所述样本图像最接近的参考图像的步骤具体包括: 获取样本图像不同位置处预定数量的像素的RGB值以及预设的多个参考图像的相应位置的像素的RGB值; 将所述样本图像预定数据的像素的RGB值与所述预设的多个参考图像的相应位置的像素的RGB值进行比较,选取最接近的参考图像。 3. A pair of claim 2, wherein the dialysis liquid discharging method for automatic detection, characterized in that said sample image with the preset plurality of reference images for comparison, determining the sample Step closest reference picture images include: obtaining RGB values corresponding positions different RGB values of a predetermined number of pixels and the sample image at a position a preset plurality of reference image pixels; the pixel data of the predetermined sample image RGB values of the RGB values of the corresponding position of the preset plurality of reference pixels of the image are compared, to select the closest reference picture.
4.如权利要求2所述的一种对排出的透析液进行自动检测的方法,其特征在于,所述将所述样本图像与预设的多个参考图像进行比对,确定与所述样本图像最接近的参考图像的步骤具体包括: 选取所述样本图像的一块分析区域内的至少部份像素点进行RGB值分析; 分析所述区域的颜色RGB值的分布,并确定所述样本图像整体所呈现的颜色以及透明度; 根据所述颜色以及透明度与所述多个参考图像进行比较,选取最接近的参考图像。 4. A pair of claim 2, wherein the dialysis liquid discharging method for automatic detection, characterized in that said sample image with the preset plurality of reference images for comparison, determining the sample Step image closest reference image include: selecting the image of a sample analysis region at least partially within the pixel RGB values were analyzed; RGB values of the color distribution analysis of the region, and the entire image to determine the sample The transparency and color rendering; comparing said color and opacity according to said plurality of reference images, select the nearest reference image.
5.如权利要求1至4任一项所述的一种对排出的透析液进行自动检测的方法,其特征在于,所述根据所述最接近的预设的透析颜色参数,判断所述排出的透析液的状态是否异常,如果判断结果为异常状态,则进行报警处理的步骤包括: 以联网的方式向相关人员发送相应的报警信息,所述报警信息中携带所述匹配结果和/或样本图像。 5. A one of claims 1 to 4, according to any of the discharged dialysate automatic detection method as claimed in claim wherein said discharge according to the pre-dialysis closest color parameter is determined whether state dialysate exception if the determination result in an abnormal state, the alarm processing steps include: the networked corresponding alarm information sent to the relevant personnel, the alarm information carried in the matching results and / or sample images.
6.如权利要求5所述的一种对排出的透析液进行自动检测的方法,其特征在于,在分析所述样本图像之前进一步包括: 根据当前光照环境,通过图像处理算法对所样本图像进行计算并调整,获得符合当前光照环境的样本图像。 A method as claimed in claim 5, wherein a pair of discharge of dialysate automatic detection, characterized in that, prior to analyzing the sample image further comprises: according to the current lighting conditions, by image processing algorithms that sample images calculated and adjusted to obtain a sample image with the current lighting environment.
7.一种对排出的透析液进行自动检测的装置,用于对腹膜透析仪的透析液袋中排出的透析液的颜色进行检测,其特征在于,包括: 样本图像获取单元,用于周期性通过摄像装置获取透析液袋中透析液的样本图像; 匹配单元,用于分析所述样本图像,与预设的多个透析液参数进行匹配,获得最接近的预设的透析液颜色参数; 匹配处理单元,用于根据所述最接近的预设的透析颜色参数,判断所述排出的透析液的状态是否异常,如果判断结果为异常状态,则进行报警处理。 7. A dialysis fluid discharged automatically detecting means, for color dialyzer dialysate bag peritoneal dialysis fluid discharged is detected, characterized by comprising: a sample image obtaining means for periodically acquired by the imaging means dialysate bag dialysate sample image; matching unit for analyzing the sample image with a plurality of preset parameters match dialysate, obtained dialysate closest preset color parameter; Match processing unit for the dialysis closest preset color parameters, to judge the state of the discharged dialysate is abnormal, if the judgment result is the abnormal state, the alarm processing.
8.如权利要求7所述的一种对排出的透析液进行自动检测的装置,其特征在于,所述匹配单元包括: 比对单元,用于将所述样本图像与预设的多个参考图像进行比对,并确认与所述样本图像最接近的参考图像,其中,每一参考图像对应一透析液参数; 透析液参数确定单元,用于获得所述比对单元所确定的最接近的参考图像所对应的透析液参数。 8. A according to claim 7 for discharging the dialysate automatically detecting means, wherein the matching unit comprises: comparison means for said plurality of sample image with a preset reference image for comparison, and confirm the sample image with the closest reference picture, wherein each of the reference image corresponding to a dialysate parameters; dialysate parameter determination unit, the alignment means for obtaining the determined closest reference image corresponding dialysate parameters.
9.如权利要求8所述的一种对排出的透析液进行自动检测的装置,其特征在于,所述比对单元具体包括: RGB值获取单元,用于获取样本图像不同位置处预定数量的像素的RGB值以及预设的多个参考图像的相应位置的像素的RGB值; 参考图像选取单元,用于将所述样本图像预定数据的像素的RGB值与所述预设的多个参考图像的相应位置的像素的RGB值进行比较,选取最接近的参考图像。 9. A pair of claim 8, wherein the dialysate discharge means for automatic detection, characterized in that said alignment means comprises specific: RGB value acquisition unit for acquiring the sample image at different positions of a predetermined number RGB values of the RGB value of a pixel corresponding to the position of the reference image and a predetermined plurality of pixels; a reference image selecting unit, the RGB values for the sample image data of the predetermined pixel and the plurality of preset reference images RGB values of pixels corresponding to the position of comparing, selecting the closest reference picture.
10.如权利要求8所述的一种对排出的透析液进行自动检测的装置,其特征在于,所述比对单元具体包括: 区域RGB分析单元,用于选取所述样本图像的一块分析区域内的至少部份像素点进行RGB值分析; 样本图像颜色确定单元,用于所述区域RGB分析单元分析出的所述区域的颜色RGB值的分布,确定所述样本图像整体所呈现的颜色以及透明度, 最接近的参考图像确定单元,用于根据所述颜色以及透明度与所述多个参考图像进行比较,选取最接近的参考图像。 10. A according to claim 8 for discharging the dialysate automatically detecting means, wherein said alignment means including: RGB region analysis unit for analyzing a selected region of the sample images At least part of the pixels within the RGB values were analyzed; sample image color determining means for the distribution of RGB color values RGB analysis unit analyzes the region out of the region, the entire image to determine the sample color presented and transparency, the closest reference image determination means for comparing said color and transparency in accordance with the plurality of reference images, select the nearest reference image.
11.如权利要求7-10任一项所述的一种对排出的透析液进行自动检测的装置,其特征在于,所述匹配处理单元包括: 报警单元,用于以联网的方式向相关人员发送相应的报警信息,所述报警信息中携带所述匹配结果和/或样本图像。 11. A according to any one of claims 7-10 for discharging the dialysate automatically detecting means, wherein, said matching processing unit comprises: an alarm unit for networking manner to the relevant personnel send the appropriate alarm information, the alarm information carried in the matching results and / or sample images.
12.如权利要11所述的一种对排出的透析液进行自动检测的装置,其特征在于,进一步包括: 样本图像预处理单元,用于根据当前光照环境,通过图像处理算法对所述样本图像获取单元所获取的样本图像进行计算并调整,获得符合当前光照环境的样本图像。 12. An claims 11 to discharge the dialysate automatically detecting means, characterized by further comprising: a sample image pre-processing unit, for the current lighting conditions, by the image processing algorithm for the sample image acquiring the sample image acquisition unit are calculated and adjusted in line with the current sample image obtained light environments.
Description  translated from Chinese
一种对排出的透析液的自动检测方法、装置 An automatic detection method of discharge of dialysate, means

技术领域 Technical Field

[0001] 本发明涉及医疗设备领域,尤其涉及一种对排出的透析液的自动检测方法、装置。 [0001] The present invention relates to medical devices, and more particularly to a pair of discharge of dialysate automatic detection method, apparatus.

背景技术 Background technique

[0002] 腹膜透析技术是类似于人工血液净化的变型方式。 [0002] The peritoneal dialysis is similar to artificial blood purification variant way. 其是通过利用患者的供血良好的腹膜作为身体自身的过滤膜。 Which is a good blood supply through the use of the patient's body's own peritoneum as a filter membrane. 将透析液通过导管输入至患者的腹腔,根据渗透原理,尿液成分被从血液中排除并进入腹腔。 The dialysate through the catheter to the patient's abdominal cavity input, according to the principle of penetration, the urine components are excluded from the blood and into the abdominal cavity. 数小时之后,然后将该携带该尿液成分的透析液从腹腔排出,从而实现透析的效果。 After a few hours, and then carry the dialysate composition of urine is discharged from the abdominal cavity in order to achieve the effect of dialysis.

[0003] 在现有的技术中,一般可以采用几种不同的方法来进行腹膜透析。 [0003] In the prior art, generally use several different methods to perform peritoneal dialysis. 例如,对于持续性非卧床腹膜透析(CAPD),患者自己可以手动更换透析液,例如,每天可以更换4至5次透析液即可;而对于自动化腹膜透析(APD),一种被称作循环仪(Cycler)的设备可在夜间实现自动更换透析袋,从而使患者在白天不会受到限制。 For example, for continuous ambulatory peritoneal dialysis (CAPD), a patient himself can replace a manual dialysis fluid, for example, can be replaced daily 4-5 times a dialysate can; for automated peritoneal dialysis (APD), what is known as loop meter (Cycler) equipment can automatically replace the dialysis bag at night, so that patients will not be restricted during the day.

[0004] 在这种自动化腹膜透析中,腹腔通过循环仪被填充透析液,填充容量需要控制,给患者提供最大填充量对于普通成人而言例如是3500ml左右。 [0004] In this automated peritoneal dialysis, the peritoneal cavity is filled by the cycler dialysis fluid, filling capacity needs to be controlled to provide maximum loading of the patient, for example, for the average adult is concerned about 3500ml. 通常,会采用一个标准值用作填充量,可以避免通过试验来确定每一患者所特有的填充量所带来的复杂工作。 Typically, a standard value will be used as a fill amount is determined for each patient to avoid filling specific amount of work caused by the complexity of the test.

[0005] 通常,在腹膜透析仪中,通过一个插入患者腹腔的导管来输入透析液,即,所谓的患者导管,通过患者导管来实现液体交换。 [0005] Typically, in the peritoneal dialysis apparatus, by means of a catheter inserted into the patient's abdominal cavity to the dialysate input, i.e., the so-called patient conduit, the conduit is achieved through the patient fluid exchange. 导管的一端通入患者腹腔,另一端(在患者体外)设有患者用连接器,其提供连接到软管系统的可能性。 One end of the catheter into the abdominal cavity through the other end of the patient (in the patient's body) with the patient connector, which offers the possibility to connect to a hose system.

[0006] 在腹膜透析中,透析溶液被填充入患者腹腔中,通过患者腹膜在透析液和血液之间发生物质交换。 [0006] In peritoneal dialysis, a dialysis solution is filled into the patient's abdominal cavity through peritoneal dialysis occurs between the fluid and blood substance exchange. 在一定停留时间后,已经使用过的透析液被后续提供的新鲜透析液替代。 After a certain residence time, fresh dialysis fluid has been used dialysis fluid is provided subsequent replacement. 用过的透析液被排出至回收袋中。 Spent dialysate is drained to the collection bag. 由于在体内经过腹膜透析作用,排出的透析液颜色会发生改变。 Because after peritoneal dialysis in vivo, dialysate will change the color of the discharge. 除了透析液变色外,还常常发生透明度上的变化,即排出的透析液可能变得混浊。 In addition to color outside the dialysis fluid, changes often occur on transparency, namely dialysis fluid discharge may become cloudy. 在使用前,透析液的颜色一般为类似苹果汁的颜色;而使用后,透析液会发生相应的变色或者浑浊。 Before use, the dialysate is generally similar to the color of the color of apple juice; and after use, the dialysate occurs corresponding color or turbidity. 医生、负责透析的人员或者患者本人可以通过目测检查使用后的透析液是否具有常见的正常变色。 The doctor, who is responsible for dialysis or dialysis patients themselves through visual inspection whether after use common normal color. 如果出现的颜色异常,则患者可能会有一定的健康风险,例如蛋白质分泌增加、血分泌增加,很可能是早期腹膜炎的表征。 If the color appears abnormal, the patient may be some health risks, such as protein secretion, blood secretion, it may be an early characterization of peritonitis. 因此,当出现颜色异常时,需要进一步的检查找出原因,以免给患者带来健康风险。 Therefore, when there is abnormal color, you need to find out the reasons for further examination, in order to avoid health risks to patients.

[0007] 在图1中示意地示出了现有技术中通过人工对比确定当前排出的透析液的颜色以及透明度/混沌。 [0007] In FIG. 1 schematically shows a prior art discharge current is determined by comparing the dialysate artificial color and transparency / chaotic. 具体的,其技术方案为设置一段用于放置排除透析液的试样的透明透析管22',用于观察混浊颜色的部位设置有背光照亮区20',以降低由环境造成的误差。 Specifically, the technical solution is to set a period for placing exclude transparent dialysate sample tube 22 ', for viewing the site provided turbid color backlit illuminated region 20', in order to reduce errors caused by the environment. 同时在右侧设置有可以选择的预设参考样本及其对应显示面板12',对应的,设置有可以选择参考样本的调节按钮14'。 While the right side is provided with a preset reference sample can be selected and the corresponding display panel 12 ', corresponding to the reference sample is provided with the option of adjusting knob 14'. 在实际使用的时候,通过手动调节调节按钮14',并通过观察来调用和试样最接近的参考样本。 In actual use, by manually adjusting the adjustment button 14 ', and to call the closest reference sample and the sample through observation. 当确定了和试样最接近的参考样本后,参见图2,将当前确定的颜色存储在设备的存储芯片内,供治疗使用。 When determining the closest reference sample and the sample after 2, to determine the color of the current stored in the memory chip device for treatment use.

[0008] 但是,现有技术也存在不足之处:因为参考样本的选择是人工进行操作的,而且试样颜色的识别也是通过人工观察实现的。 [0008] However, the prior art there are also disadvantages: because the choice of the reference sample is manually operated, and to identify the sample color is achieved through human observation. 故这种方式自动化程度低,在没有操作人员以及患者休息的情况下,就无法获得透析液相关的信息。 In this way it is a low degree of automation, in the absence of the operator as well as the rest of the patient is unable to obtain information related to the dialysate. 并且,实际治疗过程是长时间的持续治疗以及大量的夜间治疗,因此很多情况下,无法对透析液的混浊颜色进行检测。 Further, the actual treatment is prolonged and a large number of continuous treatment nighttime treatment, and therefore in many cases, can not turbid color dialysate detected. 而且,不同时间排出的透析液的混浊颜色也可能有很大的差别,例如开始阶段排出的颜色较深,而后面排出的颜色较浅,那么人工测量的频率不够时则无法获得全面的关于排出的透析液的状态息。 Moreover, the discharge of turbid color at different times of the dialysate may vary considerably, such as the beginning of the discharge of the darker, lighter in color and later discharged, when the frequency of manual measurement is not enough then you can not get full on exhaust dialysate state interest.

发明内容 DISCLOSURE

[0009] 本发明实施例所要解决的技术问题在于,提供一种对排出的透析液的自动检测方法,可以随时自动识别透析液的颜色,并在出现异常时进行报警。 [0009] The technical problem to be solved embodiment of the invention is to provide a method for automatic detection of dialysate discharged, you can always automatically identify the color of the dialysate, and in the event of abnormal alarm.

[0010] 为了解决上述技术问题,本发明实施例提供一种对排出的透析液进行自动检测的方法,用于对腹膜透析仪的透析液袋中排出的透析液的颜色进行检测,包括如下步骤: [0010] In order to solve the above problems, the present embodiment of the invention to provide a dialysis fluid discharge automatic detection method for the color of the peritoneal dialysis fluid bag dialyzer dialysate discharge detection, comprising the steps of :

周期性通过摄像装置获取透析液袋中透析液的样本图像; Get periodic dialysate bag a dialysate sample image by the imaging means;

分析所述样本图像,与预设的多个透析液参数进行匹配,获得最接近的预设的透析液颜色参数; Analysis of the sample image with a plurality of preset parameters match dialysate, obtained dialysate closest preset color parameters;

根据所述最接近的预设的透析颜色参数,判断所述排出的透析液的状态是否异常,如果判断结果为异常状态,则进行报警处理。 According to the closest preset color parameters of the dialysis, the discharge state judgment dialysate is abnormal, if the result is an abnormal state, the alarm processing.

[0011] 其中,所述分析所述样本图像,与预设的多个透析液参数进行匹配,获得最接近的预设的透析液颜色参数的步骤具体包括: Step [0011] wherein said analyzing said sample image, and a plurality of preset parameters match dialysate, obtained dialysate closest color preset parameters include:

将所述样本图像与预设的多个参考图像进行比对,确定与所述样本图像最接近的参考图像,其中,每一参考图像对应一透析液参数; The sample image with a plurality of preset reference images for comparison, determining the sample image with the closest reference picture, wherein each of the reference image corresponding to a dialysate parameters;

获得所述最接近的参考图像所对应的透析液参数。 Obtaining parameters of the dialysate closest corresponding reference image.

[0012] 其中,所述将所述样本图像与预设的多个参考图像进行比对,确定与所述样本图像最接近的参考图像的步骤具体包括: Step [0012] wherein the sample image with the preset plurality of reference images for comparison, determining the sample image with the closest reference image including:

获取样本图像不同位置处预定数量的像素的RGB值以及预设的多个参考图像的相应位置的像素的RGB值; RGB values of the corresponding RGB values in different positions to obtain a predetermined number of pixels and the sample image at a position a preset plurality of reference image pixels;

将所述样本图像预定数据的像素的RGB值与所述预设的多个参考图像的相应位置的像素的RGB值进行比较,选取最接近的参考图像。 The RGB values of the RGB value of the corresponding position of the sample image data of the predetermined pixels with the preset plurality of reference pixels of the image are compared, to select the closest reference picture.

[0013] 其中,所述将所述样本图像与预设的多个参考图像进行比对,确定与所述样本图像最接近的参考图像的步骤具体包括: Step [0013] wherein the sample image with the preset plurality of reference images for comparison, determining the sample image with the closest reference image including:

选取所述样本图像的一块分析区域内的至少部份像素点进行RGB值分析; The selected sample image analysis of at least part of a pixel region of RGB values point analysis;

分析所述区域的颜色RGB值的分布,并确定所述样本图像整体所呈现的颜色以及透明度; RGB values of the color distribution analysis of the region, and determining the sample color presented by the entire image, and transparency;

根据所述颜色以及透明度与所述多个参考图像进行比较,选取最接近的参考图像。 Comparing said color and opacity accordance with the plurality of reference images, select the nearest reference image.

[0014] 其中,所述根据所述最接近的预设的透析颜色参数,判断所述排出的透析液的状态是否异常,如果判断结果为异常状态,则进行报警处理的步骤包括: [0014] wherein, according to the closest color parameters preset the dialysis, the state judgment discharged dialysate is abnormal, if the judgment result is the abnormal state, the alarm processing step includes:

以联网的方式向相关人员发送相应的报警信息,所述报警信息中携带所述匹配结果和/或样本图像。 In networked corresponding alarm information sent to the relevant personnel, the alarm information carried in the matching results and / or the sample image.

[0015] 其中,在分析所述样本图像之前进一步包括: [0015] wherein, prior to analyzing the sample image further comprises:

根据当前光照环境,通过图像处理算法对所样本图像进行计算并调整,获得符合当前光照环境的样本图像。 According to the current lighting conditions, through image processing algorithm image of the sample is calculated and adjusted to obtain a sample image with the current lighting environment.

[0016] 相应地,本发明实施例的另一个方面,还提供了一种对排出的透析液进行自动检测的装置,用于对腹膜透析仪的透析液袋中排出的透析液的颜色进行检测,包括: [0016] Accordingly, another aspect of an embodiment of the present invention, there is provided a pair of discharge of dialysate automatically detecting means for color dialysate bag of peritoneal dialysis equipment discharged dialysate is detected , comprising:

样本图像获取单元,用于周期性通过摄像装置获取透析液袋中透析液的样本图像; Sample image acquisition unit for periodically obtaining samples dialysate bag dialysate image by the imaging means;

匹配单元,用于分析所述样本图像,与预设的多个透析液参数进行匹配,获得最接近的预设的透析液颜色参数; Matching means for analyzing the sample image with a plurality of preset parameters match dialysate, obtained dialysate closest preset color parameters;

匹配处理单元,用于根据所述最接近的预设的透析颜色参数,判断所述排出的透析液的状态是否异常,如果判断结果为异常状态,则进行报警处理。 Matching processing unit for the dialysis closest preset color parameters, to judge the state of the discharged dialysate is abnormal, if the judgment result is the abnormal state, the alarm processing.

[0017] 其中,所述匹配单元包括: Wherein, said matching [0017] The unit comprises:

比对单元,用于将所述样本图像与预设的多个参考图像进行比对,并确认与所述样本图像最接近的参考图像,其中,每一参考图像对应一透析液参数; Alignment means for the sample image with a plurality of preset reference images for comparison and confirmation of the sample image with the closest reference picture, wherein each of the reference image corresponding to a dialysate parameters;

透析液参数确定单元,用于获得所述比对单元所确定的最接近的参考图像所对应的透析液参数。 Parameter determination unit dialysate, dialysate parameters for obtaining the reference picture closest to the comparison unit corresponding to the determined.

[0018] 其中,所述比对单元具体包括: [0018] wherein the ratio of the unit include:

RGB值获取单元,用于获取样本图像不同位置处预定数量的像素的RGB值以及预设的多个参考图像的相应位置的像素的RGB值; RGB value acquiring unit, the RGB values for the respective RGB values of the different positions of a predetermined number of pixels of the sample image obtaining position and a preset plurality of reference image pixels;

参考图像选取单元,用于将所述样本图像预定数据的像素的RGB值与所述预设的多个参考图像的相应位置的像素的RGB值进行比较,选取最接近的参考图像。 Reference image selecting unit for converting the RGB values of the RGB value of the corresponding position of the sample image data of the predetermined pixels with the preset plurality of reference pixels of the image are compared, to select the closest reference picture.

[0019] 其中,所述比对单元具体包括: [0019] wherein the ratio of the unit include:

区域RGB分析单元,用于选取所述样本图像的一块分析区域内的至少部份像素点进行RGB值分析; RGB analysis unit area, for selecting the sample image analysis of at least part of a pixel region of RGB values point analysis;

样本图像颜色确定单元,用于所述区域RGB分析单元分析出的所述区域的颜色RGB值的分布,确定所述样本图像整体所呈现的颜色以及透明度, Sample image color determining means for the distribution of RGB color values RGB analysis unit analyzes the region out of the region, the entire image to determine the sample color presented and transparency,

最接近的参考图像确定单元,用于根据所述颜色以及透明度与所述多个参考图像进行比较,选取最接近的参考图像。 The closest reference picture determination unit for comparing said color and transparency in accordance with the plurality of reference images, select the nearest reference image.

[0020] 其中,所述匹配处理单元包括: [0020] wherein, the matching processing unit comprising:

报警单元,用于以联网的方式向相关人员发送相应的报警信息,所述报警信息中携带所述匹配结果和/或样本图像。 Alarm unit for networked corresponding alarm information sent to the relevant personnel, the alarm information carried in the matching results and / or the sample image.

[0021] 其中,进一步包括: [0021], further comprising:

样本图像预处理单元,用于根据当前光照环境,通过图像处理算法对所述样本图像获取单元所获取的样本图像进行计算并调整,获得符合当前光照环境的样本图像。 Sample image pre-processing unit, for the current light conditions, obtained through image processing algorithm for the sample image sample image acquisition unit are calculated and adjusted to obtain a sample image with the current lighting environment.

[0022] 实施本发明实施例,具有如下有益效果: [0022] Example embodiments of the present invention has the following advantageous effects:

在本发明的实施例中,通过周期性通过摄像装置获取透析液袋中透析液的样本图像,并对该样本图像进行自动识别,在识别出透析液的状态出现异常时,则进行报警处理。 In an embodiment of the present invention, by obtaining periodic samples of the image by the imaging device dialysate dialysate bag, and automatic identification of the sample image when identifying the abnormal state of the dialysate, then the alarm processing. 该自动识别过程无需人工操作,可以自动进行,可以节省人力; This automatic identification process without manual operation can be automatically performed, you can save manpower;

在本发明的实施例中,不可以在治疗过程的任意时间进行检测,可以在治疗期间按照一定的时间间隔或定时检测不同时段的排出的透析液,能够提供更精确的排出的透析液的参数状态,受人工作息时间影响,更能够表征患者的治疗状况,可以避免现有技术中可能出现的人为失误,准确性高。 In an embodiment of the present invention, at any time during the treatment can not be detected, or may be spaced dialysate discharge timing detection according to certain different time during the treatment time, to provide more accurate dialysate discharge parameters state, people working interest affected by time, but also be able to characterize the condition of the patient treatment, artificial avoid prior art errors that may occur, high accuracy.

附图说明 Brief Description

[0023] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,根据这些附图获得其他的附图仍属于本发明的范畴。 [0023] In order to more clearly illustrate the embodiments or the prior art technical solutions embodiment of the present invention, it will implement the following figures for the cases described in the prior art or require the use of a simple introduction, Obviously, in the following description The drawings are only some embodiments of the present invention, those of ordinary skill in speaking, without creative efforts of the premise, according to these figures still fall within the scope of the present invention obtained in other drawings.

[0024] 图1是现有一种通过人工确定当前排出的透析液的颜色以及透明度的装置示意图; [0024] FIG. 1 is a prior manually determined by a discharge current of the dialysate and means schematic transparent color;

图2是图1中存储颜色信息的界面不意图; Figure 2 is a color information stored in the interface map does not intent;

图3是本发明提供的一种对排出的透析液的自动检测方法一个实施例的主流程示意图; Figure 3 is a main flow of the present invention provides a method for automatic detection of dialysate discharged schematic diagram of one embodiment;

图4是本发明提供的一种对排出的透析液的自动检测装置的一个实施例的结构示意图; Figure 4 is a block diagram of a present invention provides a dialysis fluid discharge automatic detection device embodiment;

图5是图4中匹配单元的一个实施例的结构示意图; Figure 5 is a block diagram of one embodiment of a matching unit in Fig. 4;

图6是图5中比对单元的一个实施例的结构示意图; FIG 6 is a structural unit schematic view of an embodiment of FIG. 5 ratio;

图7是图5中比对单元的一个实施例的结构示意图。 FIG. 7 is a block schematic diagram of a cell than 5 embodiment.

具体实施方式 DETAILED DESCRIPTION

[0025] 以下各实施例的说明是参考附图,用以式例本发明可以用以实施的特定实施例。 [0025] The following description of the embodiments with reference to the drawings, embodiments of the present invention may be used for the type specific embodiment of embodiment. 本发明所提到的方向用语,例如「上」、「下」、「前」、「后」、「左」、「右」、「内」、「外」、「侦愐」等,仅是参考附加图式的方向。 Direction of the present invention mentioned term, such as "upper", "lower", "front", "rear", "left", "Right", "inner", "outer", "Investigation shy", etc., are merely with reference to the accompanying drawings, direction. 因此,使用的方向用语是用以说明及理解本发明,而非用以限制本发明。 Therefore, the direction of terms used is to describe and understand the present invention, and not to limit the invention.

[0026] 为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述。 [0026] For the purpose, technical solutions, and advantages of the present invention will become clear below with reference to the present invention will be further described in detail.

[0027] 如图3所示,示出了本发明提供的一种对排出的透析液进行自动检测的方法的一个实施例的主流程图。 [0027] Figure 3, shows a pair of discharge of the present invention provides a dialysate automatic detection method of an embodiment of a main flow chart. 在该实施例中,该对排出的透析液进行自动检测的方法用于对腹膜透析仪的透析液袋中排出的透析液的颜色进行检测,包括如下步骤: In this embodiment, for discharging the dialysate method for automatically detecting the color of the dialysate bag peritoneal dialyzer dialysate discharge is detected, comprising the steps of:

步骤S10,周期性通过摄像装置获取透析液袋中透析液的样本图像,具体地,可以有预先设置该获取的频率,例如在一个实施例中可以半个小时获取一次,而该摄像装置可以是设置于透析设备上的摄像头,或者独立的能够将图像导入透析设备的摄像设备,例如相机、移动终端等等;其中,如果透析液袋本身的透明度影响透析液本身的颜色,则可以将该排出的透析液放置于一专门容器中,该容器需具有较好的透明度,以及较低的反射及折射率,通常可以采用玻璃器皿或透明柔性材料容器。 Step S10, the periodic sample images acquired by the imaging means dialysate dialysate bags, in particular, can have access to the pre-set frequency, for example, in one embodiment, can be acquired once for half an hour, while the imaging device may be a Set on the dialysis device camera, or an independent dialysis equipment can import the image pickup devices, such as cameras, mobile terminals and the like; wherein, if the bag itself dialysate dialysate own transparency color, you can put that discharge The dialysate is placed in a dedicated container, the container needs to have good transparency and low reflective and refractive index, usually glass or a transparent flexible material container may be used. 通常,由于外界光线、摄像设备等自身原因,会对图像的清晰度、色彩等造成干扰,优选的,可以拍摄多张照片,并通过图像算法,选择其中最适合的照片作为样本图像。 Typically, due to the external light, camera equipment for their own reasons, have image clarity, color, etc., causing interference, it is preferable, you can shoot multiple pictures, and by image algorithm to select the most suitable photo as a sample image.

[0028] 步骤S12,对样本图像进行预处理,根据当前光照环境,通过图像处理算法对所样本图像进行计算并调整,获得符合当前光照环境的样本图像; [0028] step S12, the pretreatment of the sample image, according to the current lighting conditions, by the image processing algorithm to calculate and adjust the sample image, the sample image obtained with the current lighting environment;

通常,由于外界光线、摄像设备等自身原因会对获得图像造成干扰,从而造成图像色彩的误差,例如白平衡不准确、色彩失真等。 Typically, due to the external light, camera equipment, etc. have their own reasons to obtain an image caused by interference, resulting in image color error, such as white balance, inaccurate color distortion. 因此,在获得样本图像后,优选的,对其进行预处理以使其更能准确的反映透析液最真实的颜色。 Thus, after obtaining the sample image, preferably, it is pretreated to make it more accurately reflect the true color of the dialysate. 具体的可以设置专业图像处理算法计算符合当前光照环境的标准图像颜色; You can set specific professional image processing algorithm in line with the current standard image color illumination environment;

可以理解的是,本步骤是可选的步骤,如果拍摄的图像符合当前光照环境,则不需要进行该预处理的过程。 To be understood that the present step is an optional step, if taken in line with the current image lighting conditions, is not required in the pretreatment process.

[0029] 另外,也可以在获取样本图片前,通过预先拍摄标准灰度卡和/或色卡来矫正拍摄参数。 [0029] In addition, you can also get sample pictures before, previously captured by the standard gray card and / or color cards to correct the shooting parameters. 例如可以将该拍摄标准灰度卡,并将拍摄出来的图像与该标准灰度卡进行对比,通过不断的调整摄像装置的拍摄参数,使拍摄出来的图像与标准灰度卡的灰度不存在差异,则可以保证后续拍摄出来的图片与实物基本相同。 For example, the standard gray card shot, and taken out of the picture with the standard gray card compared to constantly adjust shooting parameters by the imaging device, so that shot out of the gray image with a standard gray card does not exist the differences, you can ensure follow-up is basically the same shot out of the picture and kind.

[0030] 步骤S14,分析所述样本图像,与预设的多个透析液参数进行匹配,获得最接近的预设的透析液颜色参数;具体地,包括: [0030] step S14, the analysis of the sample image with a plurality of preset parameters match dialysate, obtained dialysate closest preset color parameters; in particular, comprising:

将所述样本图像与预设的多个参考图像进行比对,确定与所述样本图像最接近的参考图像,其中,每一参考图像对应一透析液参数; The sample image with a plurality of preset reference images for comparison, determining the sample image with the closest reference picture, wherein each of the reference image corresponding to a dialysate parameters;

获得所述最接近的参考图像所对应的透析液参数。 Obtaining parameters of the dialysate closest corresponding reference image.

[0031] 在一个实施例中,所述将所述样本图像与预设的多个参考图像进行比对,确定与所述样本图像最接近的参考图像的步骤具体包括: Step [0031] In one embodiment, the sample image and the preset plurality of reference images for comparison, determining the sample image with the closest reference image including:

获取样本图像不同位置处预定数量的像素的RGB值以及预设的多个参考图像的相应位置的像素的RGB值,其中,获取像素的RGB值可以通过很多方法来实现,例如可以通过JAVA语言编程实现,或者通过诸如RGB信号采集卡采集获得,在此不进行详述; RGB values of the corresponding RGB values in different positions to obtain a predetermined number of pixels and the sample image at a position a preset plurality of reference image pixels, wherein RGB pixel values to obtain a number of ways can be achieved by, for example, by JAVA programming language , or by such as RGB signal acquisition card obtained in this not described in detail;

将所述样本图像预定数据的像素的RGB值与所述预设的多个参考图像的相应位置的像素的RGB值进行比较,选取最接近的参考图像。 The RGB values of the RGB value of the corresponding position of the sample image data of the predetermined pixels with the preset plurality of reference pixels of the image are compared, to select the closest reference picture.

[0032] 在另一个实施例中,所述将所述样本图像与预设的多个参考图像进行比对,确定与所述样本图像最接近的参考图像的步骤具体包括: Step [0032] In another embodiment, the sample image and the preset plurality of reference images for comparison, determining the sample image with the closest reference image including:

选取所述样本图像的一块分析区域内的至少部份像素点进行RGB值分析; The selected sample image analysis of at least part of a pixel region of RGB values point analysis;

分析所述区域的颜色RGB值的分布,并确定所述样本图像整体所呈现的颜色以及透明度; RGB values of the color distribution analysis of the region, and determining the sample color presented by the entire image, and transparency;

根据所述颜色以及透明度与所述多个参考图像进行比较,选取最接近的参考图像。 Comparing said color and opacity accordance with the plurality of reference images, select the nearest reference image.

[0033] 步骤S16,根据所述最接近的预设的透析颜色参数,判断所述排出的透析液的状态是否异常,如果判断结果为异常状态,则进行报警处理,具体地包括: [0033] Step S16, according to the pre-dialysis closest color parameters, to judge the state of the discharged dialysate is abnormal, if the judgment result is the abnormal state, the alarm processing, including in particular:

以联网的方式向相关人员(如医护人员)发送相应的报警信息,所述报警信息中携带所述匹配结果和/或样本图像。 In networked corresponding alarm information sent to the relevant personnel (such as health care workers), the alarm information carried in the matching results and / or the sample image.

[0034] 如图4至图7所示,示出了本发明提供的一种对排出的透析液进行自动检测的装置的一个实施例的示意图。 [0034] FIG. 4 to FIG. 7, there is shown a schematic view of an embodiment of the present invention provides for the discharge of dialysate automatically detecting means. 在该实施例中,该对排出的透析液进行自动检测的装置I用于对腹膜透析仪的透析液袋中排出的透析液的颜色进行检测,包括: In this embodiment, for discharging the dialysate automatically detecting means I for color dialyzer dialysate bag peritoneal dialysis fluid discharged is detected, comprising:

样本图像获取单元10,用于周期性通过摄像装置获取透析液袋中透析液的样本图像;样本图像预处理单元12,用于根据当前光照环境,通过图像处理算法对所述样本图像获取单元所获取的样本图像进行计算并调整,获得符合当前光照环境的样本图像; Sample image acquisition unit 10, an image for periodically obtaining samples dialysate dialysate bag by the imaging means; sample image preprocessing unit 12, based on the current lighting conditions, the acquisition unit of the sample image by the image processing algorithm sample image acquisition is calculated and adjusted to obtain a sample image with the current lighting environment;

匹配单元14,用于分析所述样本图像,与预设的多个透析液参数进行匹配,获得最接近的预设的透析液颜色参数; Matching unit 14 for analyzing the sample image with a plurality of preset parameters match dialysate, obtained dialysate closest preset color parameters;

匹配处理单元16,用于根据所述最接近的预设的透析颜色参数,判断所述排出的透析液的状态是否异常,如果判断结果为异常状态,则进行报警处理; Matching processing unit 16, according to the closest state for the dialysis preset color parameters, determines the discharged dialysate is abnormal, if the judgment result is the abnormal state, the alarm processing;

存储单元18,用于存储所述样本图像以及匹配结果。 A storage unit 18 for storing the sample image and the matching results.

[0035] 其中,所述匹配单元14包括: Wherein, said matching [0035] The unit 14 comprises:

比对单元140,用于将所述样本图像与预设的多个参考图像进行比对,并确认与所述样本图像最接近的参考图像,其中,每一参考图像对应一透析液参数; Comparison means 140, for the sample image and a preset plurality of reference images for comparison and confirmation of the sample image with the closest reference picture, wherein each of the reference image corresponding to a dialysate parameters;

透析液参数确定单元142,用于获得所述比对单元所确定的最接近的参考图像所对应的透析液参数。 Dialysate parameter determination unit 142, the parameters for obtaining the ratio of dialysate closest reference picture unit corresponding to the determined.

[0036] 其中,所述比对单元140具体包括: [0036] wherein the ratio of unit 140, including:

RGB值获取单元146,用于获取样本图像不同位置处预定数量的像素的RGB值以及预设的多个参考图像的相应位置的像素的RGB值; RGB value obtaining unit 146, the RGB values for the respective RGB values of the different positions of a predetermined number of pixels of the sample image obtaining position and a preset plurality of reference image pixels;

参考图像选取单元147,用于将所述样本图像预定数据的像素的RGB值与所述预设的多个参考图像的相应位置的像素的RGB值进行比较,选取最接近的参考图像。 Reference image selecting unit 147, the RGB values for the RGB values of the corresponding position of the sample image data of the predetermined pixels with the preset plurality of reference pixels of the image are compared, to select the closest reference picture.

[0037] 其中,所述比对单元140具体包括: [0037] wherein the ratio of unit 140, including:

区域RGB分析单元143,用于选取所述样本图像的一块分析区域内的至少部份像素点进行RGB值分析; RGB region analysis unit 143, for selecting the sample image analysis of at least part of a pixel region of RGB values point analysis;

样本图像颜色确定单元144,用于所述区域RGB分析单元分析出的所述区域的颜色RGB值的分布,确定所述样本图像整体所呈现的颜色以及透明度, Sample image color determining unit 144, for the distribution of RGB color values RGB analysis unit analyzes the region out of the region, the entire image to determine the sample color presented and transparency,

最接近的参考图像确定单元145,用于根据所述颜色以及透明度与所述多个参考图像进行比较,选取最接近的参考图像。 Closest to the reference image determining unit 145, for comparison according to the color and transparency of the plurality of reference images, select the nearest reference image.

[0038] 其中,所述匹配处理单元16包括: [0038] wherein, the matching processing unit 16 comprises:

报警单元160,用于以联网的方式向相关人员发送相应的报警信息,所述报警信息中携带所述匹配结果和/或样本图像。 An alarm unit 160, for interconnection to the alarm information sent to the appropriate personnel, the alarm information carried in the matching result and / or the sample image.

[0039] 对于该对排出的透析液进行自动检测的装置I各部件的更多的细节,可以参照前述对图3中的描述。 [0039] For further details on the dialysate discharge means for automatic detection of the components I, can refer to the foregoing description of FIG. 3.

[0040] 可以理解的是,该对排出的透析液进行自动检测的装置可以为一个单独的检测设备,也可以集成在现有的设备(如个人移动终端)中,可以通过有线或无线的方式与透析设备连接,例如可以通过验证的方式与透析设备连接。 [0040] will be appreciated that the dialysate to discharge automatically detect the device can detect a single device can also be integrated into the existing equipment (such as a personal mobile terminal) can be wired or wireless means connection with dialysis equipment, for example, can be connected by way of verification and dialysis equipment.

[0041] 实施本发明实施例,具有如下有益效果: [0041] Example embodiments of the present invention has the following advantageous effects:

在本发明的实施例中,通过周期性通过摄像装置获取透析液袋中透析液的样本图像,并对该样本图像进行自动识别,在识别出透析液的状态出现异常时,则进行报警处理。 In an embodiment of the present invention, by obtaining periodic samples of the image by the imaging device dialysate dialysate bag, and automatic identification of the sample image when identifying the abnormal state of the dialysate, then the alarm processing. 该自动识别过程无需人工操作,可以自动进行,可以节省人力; This automatic identification process without manual operation can be automatically performed, you can save manpower;

在本发明的实施例中,不可以在治疗过程的任意时间进行检测,可以在治疗期间按照一定的时间间隔或定时检测不同时段的排出的透析液,能够提供更精确的排出的透析液的参数状态,受人工作息时间影响,更能够表征患者的治疗状况,可以避免现有技术中可能出现的人为失误,准确性高。 In an embodiment of the present invention, at any time during the treatment can not be detected, or may be spaced dialysate discharge timing detection according to certain different time during the treatment time, to provide more accurate dialysate discharge parameters state, people working interest affected by time, but also be able to characterize the condition of the patient treatment, artificial avoid prior art errors that may occur, high accuracy.

[0042] 以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。 [0042] The above disclosed only a preferred embodiment of the present invention only, of course, can not be used to limit the scope of the claimed invention, therefore equivalent claim under this claimed invention changes made, the scope of the present invention is still covered .

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
CN101505813A *31 Jul 200712 Aug 2009B布劳恩阿维图姆公司Medical device for extracorporeal blood treatment
CN102099065A *30 Jun 200915 Jun 2011弗雷森纽斯医疗护理德国有限责任公司Peritoneal dialysis device
CN103830791A *27 Nov 20124 Jun 2014深圳先进技术研究院Automatic peritoneal dialysis machine
CN103920201A *25 Apr 201416 Jul 2014昆山韦睿医疗科技有限公司Peritoneal dialysis system and control method thereof
US20080200865 *15 Feb 200721 Aug 2008Baxter International Inc.Dialysis system having optical flowrate detection
US20140298171 *26 Feb 20142 Oct 2014Fresenius Medical Care Holdings, Inc.Methods and apparatus for medical device cursor control and touchpad-based navigation
Non-Patent Citations
Reference
1 *姚海根等: "《数字印前技术》", 31 January 2012
Classifications
International ClassificationG01N21/84
Legal Events
DateCodeEventDescription
28 Jan 2015C06Publication
25 Feb 2015C10Entry into substantive examination