WO2019218118A1 - Fundus oculi lesion area calculation method, apparatus, medical device, and storage medium - Google Patents

Fundus oculi lesion area calculation method, apparatus, medical device, and storage medium Download PDF

Info

Publication number
WO2019218118A1
WO2019218118A1 PCT/CN2018/086734 CN2018086734W WO2019218118A1 WO 2019218118 A1 WO2019218118 A1 WO 2019218118A1 CN 2018086734 W CN2018086734 W CN 2018086734W WO 2019218118 A1 WO2019218118 A1 WO 2019218118A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
fundus
area
region
sub
Prior art date
Application number
PCT/CN2018/086734
Other languages
French (fr)
Chinese (zh)
Inventor
高飞
黄宏泰
Original Assignee
深圳明眸科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳明眸科技有限公司 filed Critical 深圳明眸科技有限公司
Priority to PCT/CN2018/086734 priority Critical patent/WO2019218118A1/en
Publication of WO2019218118A1 publication Critical patent/WO2019218118A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation

Definitions

  • the present application relates to the field of fundus imaging technology, and in particular, to a method, a device, a medical device and a storage medium for calculating a region of a fundus lesion area.
  • Recurrent disease of prematurity a common disease in premature infants, is prone to blindness due to early neglect and untimely treatment. According to statistics, in China, at least 30,000 to 30,000 children are blind each other because of this disease. There are many factors that lead to this result. For example, there is currently no effective examination and diagnosis device for the disease, mainly because the device currently inspecting the disease has a single function and can only be easily imaged, and the lesion area cannot be calculated. When doctors get pictures of fundus imaging, they can only judge the size of the lesion area by experience, and can not give a quantitative value, which greatly hinders the doctor's diagnosis and also greatly affects the patient. Seeking medical treatment, eventually leading to missed diagnosis, misdiagnosis and loss of treatment opportunities.
  • a method, apparatus, medical device, and storage medium for calculating a region of a fundus lesion area are provided.
  • a method for calculating the area of a fundus lesion comprising:
  • a computing device for the area of a fundus lesion comprising:
  • a display module configured to display a fundus image on the screen, receive an identification operation on the fundus lesion on the screen according to the fundus image, and obtain a corresponding identification track;
  • a drawing module configured to draw a target image corresponding to the identifier track according to a preset image feature
  • An area obtaining module configured to acquire an actual area of a fundus region corresponding to a pixel point of the fundus image, and obtain a number of pixels of the target image;
  • a calculating module configured to calculate an area of the fundus lesion area according to the actual area and the number of the pixel points.
  • a medical device comprising a memory and a processor, the memory storing computer readable instructions, the computer readable instructions being executed by the processor such that the processor performs the following steps:
  • One or more non-volatile storage media storing computer readable instructions, when executed by one or more processors, cause one or more processors to perform the following steps:
  • FIG. 1 is a schematic flow chart showing a method for calculating a region of a fundus lesion area according to an embodiment
  • FIG. 2 is a sub-flow diagram of a method for calculating a region of a fundus lesion area of another embodiment
  • FIG. 3 is a sub-flow diagram showing a method for calculating a region of a fundus lesion area in another embodiment
  • FIG. 4 is a sub-flow diagram showing a method for calculating a region of a fundus lesion area in another embodiment
  • FIG. 5 is a schematic diagram of sub-area division according to an embodiment
  • FIG. 6 is a sub-flow diagram showing a method for calculating a region of a fundus lesion area of another embodiment
  • Figure 7 is a block diagram showing a computing device for the area of the fundus lesion area of one embodiment
  • FIG. 8 is a schematic diagram of a sub-module of a computing device for a region of a fundus lesion area according to another embodiment
  • FIG. 9 is a schematic diagram of a sub-module of a computing device for the area of a fundus lesion area of another embodiment
  • FIG. 10 is a schematic diagram of a sub-module of a computing device for a region of a fundus lesion area according to another embodiment
  • FIG. 11 is a schematic diagram of a sub-module of a device for calculating a region of a fundus lesion area according to another embodiment.
  • Figure 12 is a block diagram showing the internal structure of a medical device of an embodiment.
  • a method for calculating the area of a fundus lesion area is proposed.
  • the method provided by the embodiment of the present invention can be applied to a medical device, and specifically includes the following steps:
  • Step S102 displaying a fundus image on the screen, and receiving an identification operation on the fundus lesion on the screen according to the fundus image, to obtain a corresponding identification track.
  • the fundus image may be an image displayed on the screen after being photographed in real time by the medical imaging device when the fundus is diagnosed, or may be an image displayed on the screen after the image obtained by photographing the fundus is saved.
  • the doctor can observe the fundus lesion from the screen, thereby identifying the fundus lesion by sliding or clicking, and the medical device obtains the corresponding marker track.
  • the contour of the fundus lesion is moved on the fundus image displayed on the screen by the mouse, thereby identifying the fundus lesion and using the movement trajectory of the mouse as the marker trajectory.
  • Step S104 the target image corresponding to the identification track is drawn according to the preset image feature.
  • the preset image feature may refer to a color feature, for example, may be a color channel value corresponding to each color channel, such as an RGB color channel value, and at the same time, because the identification track is an identifier of a fundus lesion on the screen according to the fundus image.
  • the obtained identification track thus obtained corresponds to the edge position of the fundus lesion portion. Therefore, drawing the target image corresponding to the identification track by using the preset image feature can outline the contour of the fundus lesion.
  • a layer of the same size as the target image may be newly created, and the movement track of the mouse is drawn in the layer as The outline of the target image to obtain the target image. It may be that all of the target images are drawn using the preset image features. It is also possible that the contour of the target image is drawn using the preset image feature, and the portion of the target image other than the contour of the image is the same as the image feature of the layer, for example, when the layer is white, the outline of the target image is Part is white.
  • Step S106 acquiring the actual area of the fundus region corresponding to the pixel point of the fundus image, and acquiring the number of pixel points of the target image.
  • the actual area of the fundus region corresponding to the pixel point of the fundus image refers to the actual area of the fundus corresponding to the pixel point.
  • the area of the bottom of the eye corresponding to one pixel is 0.2 square millimeters in the human body, and the actual area of the fundus area corresponding to the pixel is 0.2 square millimeter.
  • the actual area of the fundus area corresponding to the pixel of the fundus image may be preset. For example, you can set the actual area in the medical device under the default shooting parameters.
  • the actual area of the fundus region corresponding to the pixel point of the fundus image may also be calculated. For example, the actual area of the fundus region corresponding to the pixel point of the fundus image obtained from the magnification at the time of imaging the fundus image.
  • the number of pixels of the target image can be obtained by statistical means, for example, when the target image is drawn in the layer, and the outline of the target image is drawn by using the preset image feature, and the portion other than the outline of the target image
  • the recognition start point can be selected within the outline of the target image, and the pixel points of the target image are traversed from the recognition start point.
  • the image feature of the identified point is the same as the image feature of the layer, it indicates that the identified point is within the contour of the target image, and when the image feature of the recognized point is the same as the image feature of the contour of the target image, It indicates that the contour of the target image has been recognized.
  • the number of recognition points in the contour of the target image can be obtained, and the number of recognition points is taken as the target image.
  • the number of pixels is obtained by statistical means, for example, when the target image is drawn in the layer, and the outline of the target image is drawn by using the preset image feature, and the portion other than the outline of the target image
  • the recognition start point
  • the repeated recognition may be avoided by changing the image features of the recognized point. For example, when the portion of the image of the target image and the RGB value of the image feature of the layer correspond to white, after the pixel in the outline of the target image is recognized, the pixel may be blacked out (ie, the image feature) The RGB value corresponds to black), so that the blackened pixel points are no longer recognized during the traversal process, thereby avoiding repeated recognition and affecting the pixel point statistical accuracy of the target image.
  • step S108 the area of the fundus lesion area is calculated according to the actual area and the number of pixel points.
  • the fundus image may be obtained when the fundus region is imaged in real time during the operation, or may be obtained by photographing the fundus region. Whether the imaging of the fundus region is performed or the photographing is obtained, the size of the fundus region displayed in the fundus image has a corresponding relationship with the actual size of the fundus region.
  • the portion of the fundus image corresponding to the fundus region is an image effect obtained by enlarging the fundus region, in other words, the pixel point in the fundus image corresponds to the fundus region, thereby
  • the area of the fundus lesion area can be calculated by obtaining the actual area of the fundus region corresponding to the pixel point of the fundus image and the number of pixels of the fundus lesion area imaged to the fundus image, wherein since the target image outlines the contour of the fundus lesion area, The number of pixels in the fundus lesion area imaged to the fundus image is equal to the number of pixel points of the target image, so the area of the fundus lesion area can be calculated according to the actual area and the number of pixel points.
  • the pixel area of the fundus image corresponding to the actual area of the fundus area can be calculated from the magnification at the time of imaging of the fundus image and the side length of the pixel.
  • the magnification of the fundus image is optically magnified when the fundus imaging system images the fundus region
  • the magnification of the pixel side and the fundus image on the fundus image can be calculated, and the magnification can be calculated.
  • the pixel of the fundus image corresponds to the actual area of the fundus area.
  • the length of the pixel on the fundus image is i
  • the magnification of the fundus image when imaging is ⁇ (ie, the fundus region is magnified by ⁇ times when imaging the fundus image), so that the actual side length of the pixel corresponding to the fundus region can be obtained.
  • the image acquisition sensor may be a CCD or CMOS image sensor.
  • the image quality (ie, resolution) of the fundus image obtained depends on the CMOS image sensor, specifically, when high resolution is used.
  • the obtained fundus image is clearer, that is, the resolution is higher.
  • the magnification at the time of imaging the fundus image can be obtained by means of optical path analysis or the like.
  • the actual area of the fundus region corresponding to the pixel point of the fundus image can also be obtained by the following steps:
  • the S- area- f object focal length function or the S- area- x lens group displacement function is obtained by fitting the optical path simulation data.
  • a large amount of simulation data is used to fit a functional mapping relationship between the actual area of the fundus region corresponding to the pixel point of the fundus image and the object focal length or the wafer group displacement when the fundus image is imaged. For example, when the fundus image is imaged, by adjusting the lens group displacement x of the fundus imaging system, the same region of the fundus is displayed on the fundus image in different sizes.
  • the relationship between the area of the fundus area and the lens group displacement x that is, the S area- x lens group displacement function, can be obtained according to the change of the area of the fundus area corresponding to the pixel area of the same area of the fundus image.
  • the pixel area of the fundus image corresponds to the actual area of the fundus area according to the S area- f object focal length function or the S area- x lens group displacement function and the object focal length f or the lens group displacement x when the fundus image is imaged.
  • the object focal length f or the lens group displacement x when the fundus image is imaged can be obtained by the optical path analysis of the fundus imaging system
  • the pixels of the fundus image can be obtained by the S area- f object focal length function or the S area- x lens group displacement function.
  • the point corresponds to the actual area of the fundus area.
  • the focus position of the object focal length f is achieved by adjusting the lens group displacement x, that is, by adjusting the lens group displacement x when imaging the fundus, the object focus is focused on the fundus region. Therefore, there is a correlation between the object focal length f and the lens group displacement x.
  • each position of the fundus lesion area is imaged to a pixel point corresponding to the target image on the fundus image, so that the pixel area of the fundus image corresponds to the actual area of the fundus area and the target image.
  • the area of the fundus lesion area can be obtained by the number of pixels.
  • step S104 is to draw a target image corresponding to the identifier track according to the preset image feature, including:
  • Step S202 Generate a target layer according to the size of the fundus image, and obtain a preset image feature, where the preset image feature is different from the background image feature corresponding to the background of the target layer.
  • the size of the target layer is obtained according to the size of the fundus image.
  • the size of the target layer may be the same as the size of the fundus image, or the size of the fundus image may be multiplied by the corresponding zoom factor to obtain the size of the target layer.
  • the preset image feature is different from the background image feature corresponding to the background of the target layer. For example, when the target layer is white, the color channel value of the preset image feature is different from white to match the target layer with The target image is distinguished.
  • Step S204 Draw a target image corresponding to the identification track on the target layer according to the preset image feature.
  • the size of the target layer may be the same as the size of the fundus image
  • the preset image feature may refer to a color feature or an attribute feature. Since the preset image feature is different from the background image feature corresponding to the background of the target layer, the image of the preset image feature on the target layer can be obtained by the recognition of the image feature, and in this embodiment, The target image drawn corresponds to the identification track. Therefore, the preset image feature will be drawn on the target layer along the identified track, and correspondingly, according to the difference between the preset image feature and the background image feature of the target layer
  • the identification track can be stored with preset image features and the target image can be obtained.
  • the preset image feature is black and the background of the target layer is white
  • the identification track is an operation of marking the fundus lesion on the screen according to the fundus image
  • the preset image feature in the target image is formed along the identification track.
  • the target image corresponds to the contour of the fundus lesion corresponding to the fundus lesion area.
  • the calculation method of the area of the fundus lesion area may further include the following steps:
  • Step S302 extracting an outline of the target image according to the image feature of the target image and the background image feature.
  • the outline of the target image can be obtained by determining the image feature. For example, when the layer is a white background, since the target image is drawn with a preset image feature different from the background image feature, the image feature of the target image is a color other than white, so that the target image can be traversed through Judging the color of the pixel to obtain the outline of the target image.
  • Step S304 obtaining an image region corresponding to the contour on the fundus image according to the size of the target layer and the size of the fundus image.
  • the size of the target layer is obtained according to the size of the fundus image.
  • the size of the target layer may be the same as the size of the fundus image, or the size of the fundus image may be multiplied by the corresponding zoom factor to obtain the size of the target layer. Since the contour of the target image is drawn on the target layer, and the contour of the target image corresponds to the identification trajectory when the fundus lesion is marked in the fundus image, the relationship between the target layer and the fundus image size and the target are determined.
  • the contour of the image is such that an image region corresponding to the contour on the fundus image is obtained, which is the fundus avoidance portion presented on the fundus image.
  • Step S306 the image area is identified on the fundus image.
  • an image region corresponding to the contour of the target image on the fundus image when an image region corresponding to the contour of the target image on the fundus image is obtained, it can be presented on the fundus image by identifying the image region.
  • the contour of the fundus lesion image presented on the fundus image is also circular.
  • the target image is obtained by identifying the fundus lesion portion of the fundus image, the target image is The contour is the same as the contour of the fundus lesion on the fundus image, so that after the image region is identified on the fundus image, the image corresponding to the fundus lesion region can be identified on the fundus image.
  • the calculation method of the area of the fundus lesion area may further include the following steps:
  • Step S402 acquiring a trajectory image area corresponding to the identified trajectory on the fundus image.
  • the trajectory image area corresponding to the identification trajectory refers to an image area included in the identification trajectory.
  • the identification track is a sliding track
  • the image area within the sliding track is taken as the track image area. Since the identification trajectory is obtained according to the identification operation of the fundus image on the screen for the fundus lesion, the trajectory image region corresponding to the trajectory on the fundus image identifies the image of the fundus lesion in the fundus image, specifically, the marker trajectory
  • the corresponding trajectory image area is an image area corresponding to the fundus lesion part in the fundus image.
  • Step S404 acquiring a focus center when the fundus image is imaged, and dividing the track image area into a plurality of sub-areas according to the distance from the focus center.
  • the focus center refers to the position where the focus point is located when the fundus image is imaged. Since the fundus image is imaged, the field of view of the image is centered on the focus point, and the different distances from the focus point have different magnifications due to imaging. That is to say, when the fundus image is imaged, the actual area of the fundus region corresponding to the pixel point at different distances from the focus point will change, and this change will affect the accuracy of the area of the fundus lesion area. Therefore, the trajectory image area is divided into a plurality of sub-areas according to the distance from the focus center.
  • the sub-area where the focus point is located is a circular area centered on the focus point, and the other sub-areas are annular areas surrounding the sub-area where the focus point is located. .
  • the pixels with the same distance from the focus point have the same magnification when imaging the fundus region, so that the magnification of each pixel in each sub-area is relatively close, and this method is effectively avoided.
  • the pixel point farther from the focus point and the closer pixel point have a larger difference in magnification during imaging, which causes a larger error, thereby increasing the area of the fundus lesion area. calculation accuracy.
  • Step S406 obtaining the actual area of the fundus region corresponding to the pixel points of the respective sub-regions according to the magnification ratio corresponding to each sub-region and the side length of the pixel.
  • the pixel points of the same sub-area are substantially equal when the image is viewed on the fundus area.
  • the radius of the sub-area can be planned such that when the pixel of the sub-area is imaged to the fundus area, the change of the magnification is likely to be small, thereby effectively improving the actual pixel area of the sub-area corresponding to the fundus area. The accuracy of the area.
  • the radius of a circle in which the trajectory image area can be included around the focus point is R
  • the sum of the areas of the plurality of sub-areas formed by dividing the trajectory image area in the above-described manner is Is the area of the circle of radius R.
  • the trajectory image area is divided into a first sub-region, a second sub-region, and a third sub-region, the first sub-region being a circular region having a center of the focus center and a radius of R/3;
  • the area is an annular area centered on the focus center, having an inner diameter of R/3 and an outer diameter of 5R/6;
  • the third sub-area is an annular area centered on the focus center, having an inner diameter of 5R/6 and an outer diameter R.
  • the number of pixels of the target image acquired in step S106 includes the number of pixels of the target image in each sub-region.
  • the number of pixels of the target image is also the number of pixels corresponding to the fundus lesion region when the fundus image is imaged, and the sub-region is divided according to the distance from the focus center to the trajectory image region corresponding to the marker track on the fundus image.
  • the sum of the pixel points of each sub-area is equal to the number of pixels of the target image.
  • the number of pixels of the target image can be obtained by statistical means, for example, when the target image is drawn in the layer, and the outline of the target image is drawn by using the preset image feature, and the portion other than the outline of the target image
  • the recognition start point can be selected within the outline of the target image, and the pixel points of the target image are traversed from the recognition start point.
  • the image feature of the identified point is the same as the image feature of the layer, it indicates that the identified point is within the contour of the target image, and when the image feature of the recognized point is the same as the image feature of the contour of the target image, It indicates that the contour of the target image has been recognized.
  • the number of recognition points in the contour of the target image can be obtained, and the number of recognition points is taken as the target image.
  • the number of pixels is obtained by statistical means, for example, when the target image is drawn in the layer, and the outline of the target image is drawn by using the preset image feature, and the portion other than the outline of the target image
  • the recognition start point
  • the number of pixel points of the target image in each sub-region can be obtained according to the ratio of each sub-region to the trajectory image region corresponding to the trajectory on the fundus image, and specifically, the size determination according to each sub-region when dividing the trajectory image region The number of pixels of the target image in each sub-area.
  • the trajectory image area is divided into a first sub-area, a second sub-area, and a third sub-area, the first sub-area being a circular area having a center of the focus center and a radius of R/3;
  • the two sub-regions are annular regions with a center of focus, an inner diameter of R/3, and an outer diameter of 5R/6;
  • the third sub-region is an annular region with a center of focus, an inner diameter of 5R/6, and an outer diameter of R. . Therefore, the number of pixels of the target image falling into the circular area with the center of the focus and the radius of R/3 is the number of pixels of the target image in the first sub-area, and correspondingly, the target image falls into the focus center.
  • the number of pixels in the annular region with the center of the circle, the inner diameter of R/3, and the outer diameter of 5R/6 is the number of pixels of the target image in the second sub-region, and the target image falls into the center of the focus center, and the inner diameter is The number of pixel points of the ring region of 5R/6 and outer diameter R is the number of pixel points of the target image in the third sub-region.
  • step S108 calculates the area of the fundus lesion area according to the actual area and the number of pixel points, including:
  • Step S602 calculating the area of the fundus lesion region corresponding to each sub-region according to the actual area of the fundus region corresponding to the pixel point of each sub-region and the corresponding number of pixel points.
  • the pixel points of the target image all correspond to the corresponding fundus lesion area
  • the number of pixels in each sub-area according to the target image and the fundus corresponding to the pixel points of each sub-area With the actual area of the area, it is possible to obtain the area of each sub-area corresponding to the fundus lesion area.
  • step S604 the area of the fundus lesion area is obtained according to the area of the fundus lesion area corresponding to each sub-area.
  • the trajectory image area corresponding to the trajectory on the fundus image is divided into a plurality of sub-areas, the number of the pixel points and the area of the pixel point corresponding to the fundus lesion area are not affected by the area segmentation, and the pixel points of each sub-area
  • the sum of the pixel points of the trajectory image area corresponding to the fundus image identification trajectory is equal, so that after obtaining the area corresponding to the fundus lesion area of each sub-area, summation can be performed to obtain the area of the fundus lesion area.
  • the present invention further provides a computing device for a region of a fundus lesion area, which can be applied to a medical device, and the computing device includes:
  • the display module 702 is configured to display a fundus image on the screen, and receive an identification operation on the screen of the fundus lesion according to the fundus image to obtain a corresponding identification track;
  • a drawing module 704 configured to draw a target image corresponding to the identifier track according to the preset image feature
  • the area obtaining module 706 is configured to acquire an actual area of a fundus area corresponding to a pixel point of the fundus image, and obtain a number of pixel points of the target image;
  • the calculating module 708 is configured to calculate the area of the fundus lesion area according to the actual area and the number of pixel points.
  • the area obtaining module 706 is further configured to calculate the actual area of the fundus region of the fundus image corresponding to the magnification of the fundus image and the side length of the pixel.
  • the rendering module 704 includes:
  • the image feature acquiring unit 704A is configured to generate a target layer according to the size of the fundus image, and acquire a preset image feature, where the preset image feature is different from the background image feature corresponding to the background of the target layer;
  • the drawing unit 704B is configured to draw a target image corresponding to the identification track on the target layer according to the preset image feature.
  • the calculation device for the area of the fundus lesion area further includes:
  • An extraction module 802 configured to extract an outline of the target image according to the image feature of the target image and the background image feature;
  • the image area obtaining module 804 is configured to obtain an image area corresponding to the contour on the fundus image according to the size of the target layer and the size of the fundus image;
  • the identification module 806 identifies the image area on the fundus image.
  • the device for calculating the area of the fundus lesion area further includes:
  • the trajectory image region obtaining module 902 is configured to acquire a trajectory image region corresponding to the identified trajectory on the fundus image
  • the sub-area dividing module 904 is configured to acquire a focus center when the fundus image is imaged, and divide the track image area into a plurality of sub-areas according to the distance from the focus center;
  • the sub-area calculation module 906 is configured to obtain, according to the magnification ratio corresponding to each sub-area and the side length of the pixel point, the actual area of the fundus area corresponding to the pixel point of each sub-area;
  • the area obtaining module 706 is further configured to acquire the number of pixels of the target image in each sub-area;
  • the calculation module 708 includes:
  • the sub-region calculating unit 708A is configured to calculate, according to the actual area of the fundus region corresponding to the pixel point of each sub-region and the corresponding number of pixel points, the area of the fundus lesion region corresponding to each sub-region;
  • the obtaining unit 708B is configured to obtain the area of the fundus lesion area according to the area of the fundus lesion area corresponding to each sub-area.
  • the various modules in the computing device for the area of the fundus lesion area described above may be implemented in whole or in part by software, hardware, and combinations thereof. Each of the above modules may be embedded in or independent of the processor in the computer device in hardware, or may be stored in a memory in the computer device in software form, so that the processor calls to perform operations corresponding to the above modules.
  • Figure 12 is a diagram showing the internal structure of a medical device in one embodiment.
  • the medical device includes a processor, a memory, a network interface, an input device, and a display screen connected by a system bus.
  • the memory comprises a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium of the medical device stores an operating system, and can also store computer readable instructions that, when executed by the processor, enable the processor to implement a method of calculating the area of the fundus lesion area.
  • the internal memory can also store computer readable instructions that, when executed by the processor, cause the processor to perform a method of calculating the area of the fundus lesion area.
  • the display of the medical device may be a liquid crystal display or an electronic ink display.
  • the input device of the medical device may be a touch layer covered on the display, or a button, a trackball or a touchpad provided on the casing of the medical device. It can be an external keyboard, trackpad or mouse.
  • Non-volatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM is available in a variety of formats, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization chain.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • Synchlink DRAM SLDRAM
  • Memory Bus Radbus
  • RDRAM Direct RAM
  • DRAM Direct Memory Bus Dynamic RAM
  • RDRAM Memory Bus Dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Eye Examination Apparatus (AREA)

Abstract

Provided are a fundus oculi lesion area calculation method, apparatus, medical device, and storage medium, said calculation method comprising the steps: displaying a fundus oculi image on a screen, and receiving an identification operation on the fundus oculi lesion location on the screen according to the fundus oculi image to obtain a corresponding identification path; according to a preset image feature, drawing a target image corresponding to the identification path; obtaining the actual area of the fundus oculi region corresponding to a pixel of the fundus oculi image and obtaining the quantity of pixels corresponding to the target image; according to the actual area and the quantity of pixels, calculating the area of the fundus oculi lesion region.

Description

眼底病变区域面积的计算方法、装置、医疗设备和存储介质Method, device, medical device and storage medium for calculating area of fundus lesion area 技术领域Technical field
本申请涉及眼底成像技术领域,特别是涉及一种眼底病变区域面积的计算方法、装置、医疗设备和存储介质。The present application relates to the field of fundus imaging technology, and in particular, to a method, a device, a medical device and a storage medium for calculating a region of a fundus lesion area.
背景技术Background technique
早产儿视网膜病变这种常在早产儿中的常发疾病,容易因早期忽视未及时治疗而致盲。据统计,在我国,每年至少有3-4万儿童因这种疾病而失明。导致这种结果的因素有多种,例如,目前没有针对该疾病实施有效的检查诊断设备,主要是因为目前检查该疾病的设备功能单一,仅能简单的成像,而无法计算病变面积,这样,医生拿到眼底成像的图片时,只能凭经验判断病变区域的大小,并不能给出一个量化的数值,这就在很大程度上妨碍了医生的诊断,也在很大程度上影响了患者的就医,最终导致患者漏诊、误诊而失去治疗的良机。Recurrent disease of prematurity, a common disease in premature infants, is prone to blindness due to early neglect and untimely treatment. According to statistics, in China, at least 30,000 to 30,000 children are blind each other because of this disease. There are many factors that lead to this result. For example, there is currently no effective examination and diagnosis device for the disease, mainly because the device currently inspecting the disease has a single function and can only be easily imaged, and the lesion area cannot be calculated. When doctors get pictures of fundus imaging, they can only judge the size of the lesion area by experience, and can not give a quantitative value, which greatly hinders the doctor's diagnosis and also greatly affects the patient. Seeking medical treatment, eventually leading to missed diagnosis, misdiagnosis and loss of treatment opportunities.
发明内容Summary of the invention
根据本申请提供的各种实施例,提供一种眼底病变区域面积的计算方法、装置、医疗设备和存储介质。According to various embodiments provided herein, a method, apparatus, medical device, and storage medium for calculating a region of a fundus lesion area are provided.
一种眼底病变区域面积的计算方法,包括:A method for calculating the area of a fundus lesion, comprising:
在屏幕上显示眼底图像,接收根据所述眼底图像在所述屏幕上对眼底病变部位的标识操作,得到对应的标识轨迹;Displaying a fundus image on the screen, receiving an identification operation on the fundus lesion on the screen according to the fundus image, and obtaining a corresponding identification track;
根据预设的图像特征绘制所述标识轨迹对应的目标图像;Drawing a target image corresponding to the identified track according to a preset image feature;
获取所述眼底图像的像素点对应的眼底区域的实际面积,获取所述目标图像的像素点个数;Obtaining an actual area of a fundus region corresponding to a pixel point of the fundus image, and acquiring a pixel number of the target image;
根据所述实际面积以及所述像素点个数计算所述眼底病变区域面积。Calculating the area of the fundus lesion area according to the actual area and the number of the pixel points.
一种眼底病变区域面积的计算装置,包括:A computing device for the area of a fundus lesion, comprising:
显示模块,用于在屏幕上显示眼底图像,接收根据所述眼底图像在所述屏幕上对眼底病变部位的标识操作,得到对应的标识轨迹;a display module, configured to display a fundus image on the screen, receive an identification operation on the fundus lesion on the screen according to the fundus image, and obtain a corresponding identification track;
绘制模块,用于根据预设的图像特征绘制所述标识轨迹对应的目标图像;a drawing module, configured to draw a target image corresponding to the identifier track according to a preset image feature;
面积获取模块,用于获取所述眼底图像的像素点对应的眼底区域的实际面积,获取所述目标图像的像素点个数;An area obtaining module, configured to acquire an actual area of a fundus region corresponding to a pixel point of the fundus image, and obtain a number of pixels of the target image;
计算模块,用于根据所述实际面积以及所述像素点个数计算所述眼底病变区域面积。And a calculating module, configured to calculate an area of the fundus lesion area according to the actual area and the number of the pixel points.
一种医疗设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行如下步骤:A medical device comprising a memory and a processor, the memory storing computer readable instructions, the computer readable instructions being executed by the processor such that the processor performs the following steps:
在屏幕上显示眼底图像,接收根据所述眼底图像在所述屏幕上对眼底病变部位的标识操作,得到对应的标识轨迹;Displaying a fundus image on the screen, receiving an identification operation on the fundus lesion on the screen according to the fundus image, and obtaining a corresponding identification track;
根据预设的图像特征绘制所述标识轨迹对应的目标图像;Drawing a target image corresponding to the identified track according to a preset image feature;
获取所述眼底图像的像素点对应的眼底区域的实际面积,获取所述目标图像的像素点个数;Obtaining an actual area of a fundus region corresponding to a pixel point of the fundus image, and acquiring a pixel number of the target image;
根据所述实际面积以及所述像素点个数计算所述眼底病变区域面积。Calculating the area of the fundus lesion area according to the actual area and the number of the pixel points.
一个或多个存储有计算机可读指令的非易失性存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行如下步骤:One or more non-volatile storage media storing computer readable instructions, when executed by one or more processors, cause one or more processors to perform the following steps:
在屏幕上显示眼底图像,接收根据所述眼底图像在所述屏幕上对眼底病变部位的标识操作,得到对应的标识轨迹;Displaying a fundus image on the screen, receiving an identification operation on the fundus lesion on the screen according to the fundus image, and obtaining a corresponding identification track;
根据预设的图像特征绘制所述标识轨迹对应的目标图像;Drawing a target image corresponding to the identified track according to a preset image feature;
获取所述眼底图像的像素点对应的眼底区域的实际面积,获取所述目标图像的像素点个数;Obtaining an actual area of a fundus region corresponding to a pixel point of the fundus image, and acquiring a pixel number of the target image;
根据所述实际面积以及所述像素点个数计算所述眼底病变区域面积。Calculating the area of the fundus lesion area according to the actual area and the number of the pixel points.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请 的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。Details of one or more embodiments of the present application are set forth in the accompanying drawings and description below. Other features, objects, and advantages of the invention will be apparent from the description and appended claims.
附图说明DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1为一个实施例的眼底病变区域面积的计算方法的流程示意图;1 is a schematic flow chart showing a method for calculating a region of a fundus lesion area according to an embodiment;
图2为另一个实施例的眼底病变区域面积的计算方法的子流程示意图;2 is a sub-flow diagram of a method for calculating a region of a fundus lesion area of another embodiment;
图3为另一个实施例的眼底病变区域面积的计算方法的子流程示意图;3 is a sub-flow diagram showing a method for calculating a region of a fundus lesion area in another embodiment;
图4为另一个实施例的眼底病变区域面积的计算方法的子流程示意图;4 is a sub-flow diagram showing a method for calculating a region of a fundus lesion area in another embodiment;
图5为一实施例的子区域划分示意图;FIG. 5 is a schematic diagram of sub-area division according to an embodiment; FIG.
图6为另一个实施例的眼底病变区域面积的计算方法的子流程示意图;6 is a sub-flow diagram showing a method for calculating a region of a fundus lesion area of another embodiment;
图7为一个实施例的眼底病变区域面积的计算装置的模块示意图;Figure 7 is a block diagram showing a computing device for the area of the fundus lesion area of one embodiment;
图8为另一个实施例的眼底病变区域面积的计算装置的子模块示意图;8 is a schematic diagram of a sub-module of a computing device for a region of a fundus lesion area according to another embodiment;
图9为另一个实施例的眼底病变区域面积的计算装置的子模块示意图;9 is a schematic diagram of a sub-module of a computing device for the area of a fundus lesion area of another embodiment;
图10为另一个实施例的眼底病变区域面积的计算装置的子模块示意图;10 is a schematic diagram of a sub-module of a computing device for a region of a fundus lesion area according to another embodiment;
图11为另一个实施例的眼底病变区域面积的计算装置的子模块示意图;及11 is a schematic diagram of a sub-module of a device for calculating a region of a fundus lesion area according to another embodiment; and
图12为一实施例的医疗设备的内部结构框图。Figure 12 is a block diagram showing the internal structure of a medical device of an embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
如图1所示,在一个实施例中,提出了一种眼底病变区域面积的计算方法,本发明实施例提供的方法可以应用于医疗设备中,具体可以包括以下步 骤:As shown in FIG. 1 , in one embodiment, a method for calculating the area of a fundus lesion area is proposed. The method provided by the embodiment of the present invention can be applied to a medical device, and specifically includes the following steps:
步骤S102,在屏幕上显示眼底图像,接收根据眼底图像在屏幕上对眼底病变部位的标识操作,得到对应的标识轨迹。Step S102, displaying a fundus image on the screen, and receiving an identification operation on the fundus lesion on the screen according to the fundus image, to obtain a corresponding identification track.
具体的,眼底图像可以是在对眼底诊断时,通过医疗影像设备进行实时拍摄后显示在屏幕上的图像,也可以是对眼底进行拍照获得的图像进行保存后再显示在屏幕上的图像。在屏幕上显示眼底图像后,医生便可以从屏幕上观察到眼底病变部分,从而通过滑动或点击等标识操作对眼底病变部位进行标识,医疗设备获得对应的标识轨迹。例如,在利用眼底成像系统进行眼底成像时,利用鼠标在屏幕上显示的眼底图像上沿眼底病变部位的轮廓移动,从而对眼底病变部位进行标识,将鼠标的移动轨迹作为标识轨迹。Specifically, the fundus image may be an image displayed on the screen after being photographed in real time by the medical imaging device when the fundus is diagnosed, or may be an image displayed on the screen after the image obtained by photographing the fundus is saved. After the fundus image is displayed on the screen, the doctor can observe the fundus lesion from the screen, thereby identifying the fundus lesion by sliding or clicking, and the medical device obtains the corresponding marker track. For example, when performing fundus imaging using the fundus imaging system, the contour of the fundus lesion is moved on the fundus image displayed on the screen by the mouse, thereby identifying the fundus lesion and using the movement trajectory of the mouse as the marker trajectory.
步骤S104,根据预设的图像特征绘制标识轨迹对应的目标图像。Step S104, the target image corresponding to the identification track is drawn according to the preset image feature.
具体的,预设的图像特征可以是指颜色特征,例如可以是各个颜色通道对应的颜色通道值,例如RGB颜色通道值,同时,由于标识轨迹是根据眼底图像在屏幕上对眼底病变部分的标识操作得到的,从而获得的标识轨迹与眼底病变部位的边缘位置相对应,因此,利用预设的图像特征绘制标识轨迹对应的目标图像能够勾画出眼底病变部位的轮廓。Specifically, the preset image feature may refer to a color feature, for example, may be a color channel value corresponding to each color channel, such as an RGB color channel value, and at the same time, because the identification track is an identifier of a fundus lesion on the screen according to the fundus image. The obtained identification track thus obtained corresponds to the edge position of the fundus lesion portion. Therefore, drawing the target image corresponding to the identification track by using the preset image feature can outline the contour of the fundus lesion.
在一个实施例中,当标识轨迹为鼠标的移动轨迹,且标识轨迹为封闭的圆形时,可以新建一个与目标图像同样大小的图层,将鼠标的移动轨迹画在该图层中,作为目标图像的轮廓,得到目标图像。可以是目标图像的全部均采用该预设的图像特征进行绘制。也可以是目标图像的轮廓采用该预设的图像特征进行绘制,目标图像的轮廓之外的部分与图层的图像特征相同,例如,当图层为白色时,则目标图像的轮廓之外的部分为白色。In one embodiment, when the identification track is a moving track of the mouse, and the identification track is a closed circle, a layer of the same size as the target image may be newly created, and the movement track of the mouse is drawn in the layer as The outline of the target image to obtain the target image. It may be that all of the target images are drawn using the preset image features. It is also possible that the contour of the target image is drawn using the preset image feature, and the portion of the target image other than the contour of the image is the same as the image feature of the layer, for example, when the layer is white, the outline of the target image is Part is white.
步骤S106,获取眼底图像的像素点对应的眼底区域的实际面积,获取目标图像的像素点个数。Step S106, acquiring the actual area of the fundus region corresponding to the pixel point of the fundus image, and acquiring the number of pixel points of the target image.
具体地,眼底图像的像素点对应的眼底区域的实际面积是指像素点所对应的眼底的实际的面积。例如,一个像素点对应的眼底部位在人体中的面积为0.2平方毫米,则像素点对应的眼底区域的实际面积为0.2平方毫米。眼底 图像的像素点对应的眼底区域的实际面积可以是预先设置的。例如,可以设置医疗设备中在默认的拍摄参数下的实际面积。眼底图像的像素点对应的眼底区域的实际面积也可以是通过计算得到的。例如,可以根据眼底图像成像时的放大倍数得到的眼底图像的像素点对应的眼底区域的实际面积。Specifically, the actual area of the fundus region corresponding to the pixel point of the fundus image refers to the actual area of the fundus corresponding to the pixel point. For example, the area of the bottom of the eye corresponding to one pixel is 0.2 square millimeters in the human body, and the actual area of the fundus area corresponding to the pixel is 0.2 square millimeter. The actual area of the fundus area corresponding to the pixel of the fundus image may be preset. For example, you can set the actual area in the medical device under the default shooting parameters. The actual area of the fundus region corresponding to the pixel point of the fundus image may also be calculated. For example, the actual area of the fundus region corresponding to the pixel point of the fundus image obtained from the magnification at the time of imaging the fundus image.
目标图像的像素点个数可以通过统计的方式获得,例如:当目标图像是绘制在图层中时,且目标图像的轮廓采用该预设的图像特征进行绘制,目标图像的轮廓之外的部分与图层的图像特征相同时,可以在目标图像的轮廓内选择识别起点,从该识别起点开始遍历目标图像的像素点。遍历过程中,当所识别的点的图像特征与图层的图像特征相同时,表明该识别的点在目标图像的轮廓内,当识别的点的图像特征与目标图像的轮廓的图像特征相同时,表明已识别到目标图像的轮廓,通过这种方式,在遍历完目标图像的轮廓内的所有辨识点后,就能获得目标图像的轮廓内的辨识点个数,将辨识点个数作为目标图像的像素点个数。The number of pixels of the target image can be obtained by statistical means, for example, when the target image is drawn in the layer, and the outline of the target image is drawn by using the preset image feature, and the portion other than the outline of the target image When the image features of the layer are the same, the recognition start point can be selected within the outline of the target image, and the pixel points of the target image are traversed from the recognition start point. During the traversal process, when the image feature of the identified point is the same as the image feature of the layer, it indicates that the identified point is within the contour of the target image, and when the image feature of the recognized point is the same as the image feature of the contour of the target image, It indicates that the contour of the target image has been recognized. In this way, after traversing all the recognition points in the contour of the target image, the number of recognition points in the contour of the target image can be obtained, and the number of recognition points is taken as the target image. The number of pixels.
在一个实施例中,上述对目标图像的遍历过程中,在辨识目标图像的像素点后,可以通过改变该辨识点的图像特征避免重复辨识。例如,在目标图像的轮廓之外的部分和图层的图像特征的RGB值对应白色时,在对目标图像的轮廓内的像素点进行辨识后,可以通过将该像素点置黑(即图像特征的RGB值对应黑色)的方式进行标识,从而在遍历过程中,不再对该置黑的像素点进行辨识,从而避免重复辨识而影响目标图像的像素点统计准确性。In one embodiment, during the traversal of the target image, after the pixel points of the target image are recognized, the repeated recognition may be avoided by changing the image features of the recognized point. For example, when the portion of the image of the target image and the RGB value of the image feature of the layer correspond to white, after the pixel in the outline of the target image is recognized, the pixel may be blacked out (ie, the image feature) The RGB value corresponds to black), so that the blackened pixel points are no longer recognized during the traversal process, thereby avoiding repeated recognition and affecting the pixel point statistical accuracy of the target image.
步骤S108,根据实际面积以及像素点个数计算眼底病变区域面积。In step S108, the area of the fundus lesion area is calculated according to the actual area and the number of pixel points.
具体地,眼底图像可以是在手术过程中对眼底区域进行实时成像时获得,也可以是对眼底区域进行拍照获得。无论是对眼底区域实施成像还是进行拍照的方式获得,该眼底图像中显示的眼底区域的大小与眼底区域的实际大小具有对应的关系。由于进行眼底图像成像时,采用的成像系统具有一定的放大率,因而眼底图像对应眼底区域的部分是将眼底区域放大后的图像效果,换言之,眼底图像中的像素点与眼底区域相对应,从而在获得眼底图像的像素点对应的眼底区域的实际面积以及眼底病变区域成像到眼底图像的像素点 个数便能够计算出眼底病变区域面积,其中,由于目标图像勾画出眼底病变区域的轮廓,因此,眼底病变区域成像到眼底图像的像素点个数与目标图像的像素点个数相等,故可以根据实际面积以及像素点个数计算眼底病变区域面积。Specifically, the fundus image may be obtained when the fundus region is imaged in real time during the operation, or may be obtained by photographing the fundus region. Whether the imaging of the fundus region is performed or the photographing is obtained, the size of the fundus region displayed in the fundus image has a corresponding relationship with the actual size of the fundus region. Since the imaging system used has a certain magnification when imaging the fundus image, the portion of the fundus image corresponding to the fundus region is an image effect obtained by enlarging the fundus region, in other words, the pixel point in the fundus image corresponds to the fundus region, thereby The area of the fundus lesion area can be calculated by obtaining the actual area of the fundus region corresponding to the pixel point of the fundus image and the number of pixels of the fundus lesion area imaged to the fundus image, wherein since the target image outlines the contour of the fundus lesion area, The number of pixels in the fundus lesion area imaged to the fundus image is equal to the number of pixel points of the target image, so the area of the fundus lesion area can be calculated according to the actual area and the number of pixel points.
在一个实施例中,可以根据眼底图像成像时的放大率以及像素点的边长计算眼底图像的像素点对应眼底区域的实际面积。In one embodiment, the pixel area of the fundus image corresponding to the actual area of the fundus area can be calculated from the magnification at the time of imaging of the fundus image and the side length of the pixel.
具体的,由于眼底图像成像时的放大率是眼底成像系统在对眼底区域进行成像时的光学放大,从而可以根据眼底图像上的像素点边长及眼底图像成像时的放大率,并能够计算出眼底图像的像素点对应眼底区域的实际面积。例如,眼底图像上的像素点边长为i,眼底图像成像时的放大率为α(即眼底区域成像到眼底图像时放大了α倍),从而能够得到像素点对应到眼底区域的实际边长为L=i/α,进而能够获得像素点对应眼底区域的实际面积S=L*L=i 22,其中,眼底图像的像素点尺寸由图像采集传感器本身决定,也就是说,在进行眼底成像时,采用不同的图像采集传感器所获得的眼底图像具有不同的像素点尺寸。图像采集传感器可以是CCD或CMOS图像传感器,例如采用CMOS图像传感器对眼底进行成像时,所获得的眼底图像的成像品质(即分辨率)取决于该CMOS图像传感器,具体的,当采用高分辨率的CMOS图像传感器时,所获得的眼底图像较清晰,即分辨率较高。眼底图像成像时的放大率可以通过光路分析等手段获得。 Specifically, since the magnification of the fundus image is optically magnified when the fundus imaging system images the fundus region, the magnification of the pixel side and the fundus image on the fundus image can be calculated, and the magnification can be calculated. The pixel of the fundus image corresponds to the actual area of the fundus area. For example, the length of the pixel on the fundus image is i, and the magnification of the fundus image when imaging is α (ie, the fundus region is magnified by α times when imaging the fundus image), so that the actual side length of the pixel corresponding to the fundus region can be obtained. L=i/α, and thus the actual area of the fundus corresponding to the fundus region S=L*L=i 22 can be obtained, wherein the pixel size of the fundus image is determined by the image acquisition sensor itself, that is, When performing fundus imaging, the fundus images obtained with different image acquisition sensors have different pixel spot sizes. The image acquisition sensor may be a CCD or CMOS image sensor. For example, when a fundus image is imaged by using a CMOS image sensor, the image quality (ie, resolution) of the fundus image obtained depends on the CMOS image sensor, specifically, when high resolution is used. When the CMOS image sensor is used, the obtained fundus image is clearer, that is, the resolution is higher. The magnification at the time of imaging the fundus image can be obtained by means of optical path analysis or the like.
在另一个实施例中,眼底图像的像素点对应的眼底区域的实际面积还可以通过以下步骤获得:In another embodiment, the actual area of the fundus region corresponding to the pixel point of the fundus image can also be obtained by the following steps:
通过光路模拟数据拟合得到S 面积-f 物方焦距函数或S 面积-x 镜片组位移函数。 The S- area- f object focal length function or the S- area- x lens group displacement function is obtained by fitting the optical path simulation data.
具体的,通过光路模拟的方式,利用大量的模拟数据拟合眼底图像的像素点对应的眼底区域的实际面积和眼底图像成像时的物方焦距或晶片组位移之间的函数映射关系。例如,在眼底图像进行成像时,通过调节眼底成像系统的镜片组位移x使得眼底相同区域以不同大小显现在眼底图像上,由于眼底图像的像素点个数及面积可以根据图像识别等手段获得,在镜片组位移x 变化的过程中,可以根据眼底图像相同区域的像素点对应眼底区域面积的变化获得眼底区域面积与镜片组位移x的函数关系,即S 面积-x 镜片组位移函数。 Specifically, by means of optical path simulation, a large amount of simulation data is used to fit a functional mapping relationship between the actual area of the fundus region corresponding to the pixel point of the fundus image and the object focal length or the wafer group displacement when the fundus image is imaged. For example, when the fundus image is imaged, by adjusting the lens group displacement x of the fundus imaging system, the same region of the fundus is displayed on the fundus image in different sizes. Since the number and area of the pixel points of the fundus image can be obtained according to image recognition and the like, In the process of the lens group displacement x change, the relationship between the area of the fundus area and the lens group displacement x, that is, the S area- x lens group displacement function, can be obtained according to the change of the area of the fundus area corresponding to the pixel area of the same area of the fundus image.
根据S 面积-f 物方焦距函数或S 面积-x 镜片组位移函数以及眼底图像成像时的物方焦距f或镜片组位移x获得眼底图像的像素点对应眼底区域的实际面积。 The pixel area of the fundus image corresponds to the actual area of the fundus area according to the S area- f object focal length function or the S area- x lens group displacement function and the object focal length f or the lens group displacement x when the fundus image is imaged.
由于眼底图像成像时的物方焦距f或镜片组位移x可以通过眼底成像系统的光路分析获得,继而能够通过S 面积-f 物方焦距函数或S 面积-x 镜片组位移函数得到眼底图像的像素点对应眼底区域的实际面积。此外,对于眼底成像系统而言,物方焦距f的聚焦位置是通过调节镜片组位移x实现的,即,在对眼底进行成像时,通过调节镜片组位移x,使得物方焦点聚焦在眼底区域,从而物方焦距f和镜片组位移x之间存在关联性,因此,仅需要获得眼底图像成像时物方焦距f和镜片组位移x两者其中之一,便能够通过S 面积-f 物方焦距函数或S -x 镜片组位移函数得到眼底图像的像素点对应眼底区域的实际面积。 Since the object focal length f or the lens group displacement x when the fundus image is imaged can be obtained by the optical path analysis of the fundus imaging system, the pixels of the fundus image can be obtained by the S area- f object focal length function or the S area- x lens group displacement function. The point corresponds to the actual area of the fundus area. In addition, for the fundus imaging system, the focus position of the object focal length f is achieved by adjusting the lens group displacement x, that is, by adjusting the lens group displacement x when imaging the fundus, the object focus is focused on the fundus region. Therefore, there is a correlation between the object focal length f and the lens group displacement x. Therefore, it is only necessary to obtain one of the object focal length f and the lens group displacement x when the fundus image is imaged, and the S- area- f object can be passed . S or a function of focus lens group -x area displacement function to obtain the fundus image corresponding to the actual area of the pixel area of the fundus.
具体的,由于眼底图像成像时,眼底病变区域的每个位置均会成像到眼底图像上与目标图像相对应的像素点,从而可以根据眼底图像的像素点对应眼底区域的实际面积以及目标图像的像素点个数便可以得到眼底病变区域面积。Specifically, when the fundus image is imaged, each position of the fundus lesion area is imaged to a pixel point corresponding to the target image on the fundus image, so that the pixel area of the fundus image corresponds to the actual area of the fundus area and the target image. The area of the fundus lesion area can be obtained by the number of pixels.
在一个实施例中,如图2所示,步骤S104即根据预设的图像特征绘制标识轨迹对应的目标图像包括:In an embodiment, as shown in FIG. 2, step S104 is to draw a target image corresponding to the identifier track according to the preset image feature, including:
步骤S202,根据眼底图像的尺寸生成目标图层,获取预设的图像特征,预设的图像特征与目标图层的背景对应的背景图像特征不同。Step S202: Generate a target layer according to the size of the fundus image, and obtain a preset image feature, where the preset image feature is different from the background image feature corresponding to the background of the target layer.
具体地,目标图层的尺寸是根据眼底图像的尺寸得到的。目标图层的尺寸可以与眼底图像的尺寸相同,也可以是将眼底图像的尺寸乘以相应的缩放倍数得到目标图层的尺寸。预设的图像特征与目标图层的背景对应的背景图像特征是不同的,例如,当目标图层为白色时,则预设的图像特征的颜色通道值与白色不同,以将目标图层与目标图像进行区别。Specifically, the size of the target layer is obtained according to the size of the fundus image. The size of the target layer may be the same as the size of the fundus image, or the size of the fundus image may be multiplied by the corresponding zoom factor to obtain the size of the target layer. The preset image feature is different from the background image feature corresponding to the background of the target layer. For example, when the target layer is white, the color channel value of the preset image feature is different from white to match the target layer with The target image is distinguished.
步骤S204,根据预设的图像特征在目标图层上绘制标识轨迹对应的目标图像。Step S204: Draw a target image corresponding to the identification track on the target layer according to the preset image feature.
具体的,目标图层的尺寸可以与眼底图像的尺寸相同,预设的图像特征可以是指颜色特征或属性特征。由于预设的图像特征与目标图层的背景对应的背景图像特征不同,从而能够通过图像特征的识别,便能获得预设的图像特征在目标图层上绘制的图像,而在本实施例中,所绘制的目标图像与标识轨迹对应,因而,预设的图像特征将沿标识轨迹在目标图层上进行绘制,相应的,根据预设的图像特征和目标图层的背景图像特征的差异便能将标识轨迹以预设的图像特征加以存储,并得到目标图像。例如,预设的图像特征为黑色,目标图层的背景为白色时,由于标识轨迹是根据眼底图像在屏幕上对眼底病变部位的标识操作,因而目标图像中预设的图像特征沿标识轨迹形成的目标图像与眼底图像上对应眼底病变区域的轮廓相对应。Specifically, the size of the target layer may be the same as the size of the fundus image, and the preset image feature may refer to a color feature or an attribute feature. Since the preset image feature is different from the background image feature corresponding to the background of the target layer, the image of the preset image feature on the target layer can be obtained by the recognition of the image feature, and in this embodiment, The target image drawn corresponds to the identification track. Therefore, the preset image feature will be drawn on the target layer along the identified track, and correspondingly, according to the difference between the preset image feature and the background image feature of the target layer The identification track can be stored with preset image features and the target image can be obtained. For example, if the preset image feature is black and the background of the target layer is white, since the identification track is an operation of marking the fundus lesion on the screen according to the fundus image, the preset image feature in the target image is formed along the identification track. The target image corresponds to the contour of the fundus lesion corresponding to the fundus lesion area.
结合图3所示,眼底病变区域面积的计算方法还可以包括以下步骤:As shown in FIG. 3, the calculation method of the area of the fundus lesion area may further include the following steps:
步骤S302,根据目标图像的图像特征以及背景图像特征提取出目标图像的轮廓。Step S302, extracting an outline of the target image according to the image feature of the target image and the background image feature.
具体地,由于目标图像的图像特征与背景图像特征不同,且目标图像的轮廓是通过预设的图像特征在目标图层在进行绘制的,从而可以通过对图像特征进行判断获得目标图像的轮廓。例如,图层为白色背景时,由于目标图像是采用与背景图像特征不同的预设的图像特征进行绘制的,那么目标图像的图像特征为白色以外的颜色,从而可以对目标图像进行遍历,通过对像素点颜色的判断获得目标图像的轮廓。Specifically, since the image feature of the target image is different from the background image feature, and the contour of the target image is drawn on the target layer by the preset image feature, the outline of the target image can be obtained by determining the image feature. For example, when the layer is a white background, since the target image is drawn with a preset image feature different from the background image feature, the image feature of the target image is a color other than white, so that the target image can be traversed through Judging the color of the pixel to obtain the outline of the target image.
步骤S304,根据目标图层的尺寸以及眼底图像的尺寸得到眼底图像上轮廓对应的图像区域。Step S304, obtaining an image region corresponding to the contour on the fundus image according to the size of the target layer and the size of the fundus image.
具体的,目标图层的尺寸是根据眼底图像的尺寸得到的。目标图层的尺寸可以与眼底图像的尺寸相同,也可以是将眼底图像的尺寸乘以相应的缩放倍数得到目标图层的尺寸。由于目标图像的轮廓是绘制于目标图层上的,且目标图像的轮廓与对眼底图像中眼底病变部位进行标识操作时的标识轨迹相对应,从而根据目标图层与眼底图像尺寸的关系以及目标图像的轮廓便能获得该眼底图像上与该轮廓相对应的图像区域,该图像区域即为呈现在眼底图 像上的眼底避免部位。Specifically, the size of the target layer is obtained according to the size of the fundus image. The size of the target layer may be the same as the size of the fundus image, or the size of the fundus image may be multiplied by the corresponding zoom factor to obtain the size of the target layer. Since the contour of the target image is drawn on the target layer, and the contour of the target image corresponds to the identification trajectory when the fundus lesion is marked in the fundus image, the relationship between the target layer and the fundus image size and the target are determined. The contour of the image is such that an image region corresponding to the contour on the fundus image is obtained, which is the fundus avoidance portion presented on the fundus image.
步骤S306,在眼底图像上对图像区域进行标识。Step S306, the image area is identified on the fundus image.
具体的,在得到眼底图像上与目标图像的轮廓相对应的图像区域时,便能够通过对该图像区域进行标识的方式呈现在眼底图像上。例如,眼底病变区域是圆形时,那么眼底图像上呈现的眼底病变部位图像的轮廓也是圆形,相应的,由于目标图像是对眼底图像呈现的眼底病变部位进行标识得到的,因而目标图像的轮廓是与眼底图像上呈现眼底病变部位的轮廓相同,从而在对眼底图像上对图像区域进行标识后,就能在眼底图像上标识出眼底病变区域对应的图像。Specifically, when an image region corresponding to the contour of the target image on the fundus image is obtained, it can be presented on the fundus image by identifying the image region. For example, when the fundus lesion area is circular, the contour of the fundus lesion image presented on the fundus image is also circular. Correspondingly, since the target image is obtained by identifying the fundus lesion portion of the fundus image, the target image is The contour is the same as the contour of the fundus lesion on the fundus image, so that after the image region is identified on the fundus image, the image corresponding to the fundus lesion region can be identified on the fundus image.
结合图4所示,眼底病变区域面积的计算方法还可以包括以下步骤:As shown in FIG. 4, the calculation method of the area of the fundus lesion area may further include the following steps:
步骤S402,获取眼底图像上标识轨迹对应的轨迹图像区域。Step S402, acquiring a trajectory image area corresponding to the identified trajectory on the fundus image.
具体地,标识轨迹对应的轨迹图像区域是指标识轨迹所包含的图像区域。例如,当标识轨迹为滑动轨迹时,将滑动轨迹内的图像区域作为轨迹图像区域。由于标识轨迹是根据眼底图像在屏幕上对眼底病变部位的标识操作得到,从而眼底图像上标示轨迹对应的轨迹图像区域将眼底图像中呈现眼底病变部位的图像标识出来,确切的说,该标识轨迹对应的轨迹图像区域即是把眼底图像中与眼底病变部位对应的图像区域。Specifically, the trajectory image area corresponding to the identification trajectory refers to an image area included in the identification trajectory. For example, when the identification track is a sliding track, the image area within the sliding track is taken as the track image area. Since the identification trajectory is obtained according to the identification operation of the fundus image on the screen for the fundus lesion, the trajectory image region corresponding to the trajectory on the fundus image identifies the image of the fundus lesion in the fundus image, specifically, the marker trajectory The corresponding trajectory image area is an image area corresponding to the fundus lesion part in the fundus image.
步骤S404,获取眼底图像成像时的聚焦中心,根据与聚焦中心的距离将轨迹图像区域分成多个子区域。Step S404, acquiring a focus center when the fundus image is imaged, and dividing the track image area into a plurality of sub-areas according to the distance from the focus center.
具体地,聚焦中心是指对眼底图像进行成像时聚焦点所在的位置,由于进行眼底成像时,成像的视野均是以聚焦点为中心,由于成像时,离聚焦点不同距离具有不同的放大率,也就是说,在眼底图像进行成像时,离聚焦点不同距离的像素点所对应的眼底区域的实际面积会有变化,这种变化将影响眼底病变区域面积的精度。从而根据与聚焦中心的距离将轨迹图像区域分成多个子区域,可以理解的,聚焦点所在的子区域是以聚焦点为圆心的圆形区域,其它子区域是环绕聚焦点所在子区域的环形区域。由于眼底图像成像时,到聚焦点距离相同的像素点在对眼底区域进行成像时具有同样的放大率,从 而每个子区域范围内的各像素点的放大率较为接近,利用这种方式有效避免在计算眼底图像的像素点对应眼底区域的实际面积时距离聚焦点较远的像素点和较近的像素点在成像时的放大率差异较大而引起较大的误差,进而提高眼底病变区域面积的计算精度。Specifically, the focus center refers to the position where the focus point is located when the fundus image is imaged. Since the fundus image is imaged, the field of view of the image is centered on the focus point, and the different distances from the focus point have different magnifications due to imaging. That is to say, when the fundus image is imaged, the actual area of the fundus region corresponding to the pixel point at different distances from the focus point will change, and this change will affect the accuracy of the area of the fundus lesion area. Therefore, the trajectory image area is divided into a plurality of sub-areas according to the distance from the focus center. It can be understood that the sub-area where the focus point is located is a circular area centered on the focus point, and the other sub-areas are annular areas surrounding the sub-area where the focus point is located. . When the fundus image is imaged, the pixels with the same distance from the focus point have the same magnification when imaging the fundus region, so that the magnification of each pixel in each sub-area is relatively close, and this method is effectively avoided. When calculating the actual area of the fundus image corresponding to the actual area of the fundus region, the pixel point farther from the focus point and the closer pixel point have a larger difference in magnification during imaging, which causes a larger error, thereby increasing the area of the fundus lesion area. calculation accuracy.
步骤S406,根据各个子区域对应的放大率以及像素点的边长得到各个子区域的像素点对应的眼底区域的实际面积。Step S406, obtaining the actual area of the fundus region corresponding to the pixel points of the respective sub-regions according to the magnification ratio corresponding to each sub-region and the side length of the pixel.
具体的,对于同一个子区域而言,由于各像素点与聚焦点距离相差不大,从而同一子区域的像素点在对眼底区域进行成像时,放大率大致相等。需要说明的是,可以通过对子区域的半径进行规划,使得子区域的像素点在对眼底区域成像时,放大率的变化经可能的小,从而有效提高子区域的像素点对应眼底区域的实际面积的精度。Specifically, for the same sub-area, since the distance between each pixel point and the focus point is not large, the pixel points of the same sub-area are substantially equal when the image is viewed on the fundus area. It should be noted that the radius of the sub-area can be planned such that when the pixel of the sub-area is imaged to the fundus area, the change of the magnification is likely to be small, thereby effectively improving the actual pixel area of the sub-area corresponding to the fundus area. The accuracy of the area.
例如,结合图5所示,以聚焦点为中心能够将轨迹图像区域包含在内的圆的半径为R,从而在将轨迹图像区域按照上述的方式进行划分所形成的多个子区域面积的总和即为该半径为R的圆的面积。在一些实施例中,将轨迹图像区域分成第一子区域、第二子区域和第三子区域,第一子区域为以聚焦中心为圆心、半径为R/3的圆形区域;第二子区域为以聚焦中心为圆心、内径为R/3、外径为5R/6的环形区域;第三子区域为以聚焦中心为圆心、内径为5R/6、外径为R的环形区域。通过光路分析,可以分别获得第一子区域、第二子区域和第三子区域像素点在对病变区域进行成像时的放大率,从而利用各子区域的放大率以及像素点的边长,便能得到各个子区域的像素点对应的眼底区域的实际面积。For example, as shown in FIG. 5, the radius of a circle in which the trajectory image area can be included around the focus point is R, and the sum of the areas of the plurality of sub-areas formed by dividing the trajectory image area in the above-described manner is Is the area of the circle of radius R. In some embodiments, the trajectory image area is divided into a first sub-region, a second sub-region, and a third sub-region, the first sub-region being a circular region having a center of the focus center and a radius of R/3; The area is an annular area centered on the focus center, having an inner diameter of R/3 and an outer diameter of 5R/6; the third sub-area is an annular area centered on the focus center, having an inner diameter of 5R/6 and an outer diameter R. Through the optical path analysis, the magnifications of the first sub-region, the second sub-region, and the third sub-region pixel point when imaging the lesion region can be respectively obtained, thereby utilizing the magnification of each sub-region and the side length of the pixel. The actual area of the fundus region corresponding to the pixel points of each sub-region can be obtained.
相应的,该实施例中,步骤S106中获取目标图像的像素点个数包括获取目标图像在各个子区域的像素点个数。Correspondingly, in this embodiment, the number of pixels of the target image acquired in step S106 includes the number of pixels of the target image in each sub-region.
具体的,由于目标图像的像素点个数也是眼底图像成像时对应眼底病变区域的像素点个数,且子区域是根据与聚焦中心的距离将眼底图像上标识轨迹对应的轨迹图像区域进行划分得到,从而,各子区域的像素点总和与目标图像的像素点个数相等。Specifically, the number of pixels of the target image is also the number of pixels corresponding to the fundus lesion region when the fundus image is imaged, and the sub-region is divided according to the distance from the focus center to the trajectory image region corresponding to the marker track on the fundus image. Thus, the sum of the pixel points of each sub-area is equal to the number of pixels of the target image.
目标图像的像素点个数可以通过统计的方式获得,例如:当目标图像是绘制在图层中时,且目标图像的轮廓采用该预设的图像特征进行绘制,目标图像的轮廓之外的部分与图层的图像特征相同时,可以在目标图像的轮廓内选择识别起点,从该识别起点开始遍历目标图像的像素点。遍历过程中,当所识别的点的图像特征与图层的图像特征相同时,表明该识别的点在目标图像的轮廓内,当识别的点的图像特征与目标图像的轮廓的图像特征相同时,表明已识别到目标图像的轮廓,通过这种方式,在遍历完目标图像的轮廓内的所有辨识点后,就能获得目标图像的轮廓内的辨识点个数,将辨识点个数作为目标图像的像素点个数。The number of pixels of the target image can be obtained by statistical means, for example, when the target image is drawn in the layer, and the outline of the target image is drawn by using the preset image feature, and the portion other than the outline of the target image When the image features of the layer are the same, the recognition start point can be selected within the outline of the target image, and the pixel points of the target image are traversed from the recognition start point. During the traversal process, when the image feature of the identified point is the same as the image feature of the layer, it indicates that the identified point is within the contour of the target image, and when the image feature of the recognized point is the same as the image feature of the contour of the target image, It indicates that the contour of the target image has been recognized. In this way, after traversing all the recognition points in the contour of the target image, the number of recognition points in the contour of the target image can be obtained, and the number of recognition points is taken as the target image. The number of pixels.
从而目标图像在各子区域的像素点个数可以根据各子区域与眼底图像上标识轨迹对应的轨迹图像区域的比例获得,确切的说,根据各子区域对轨迹图像区域进行划分时的尺寸确定目标图像在各子区域的像素点个数。例如,在一些实施例中,将轨迹图像区域分成第一子区域、第二子区域和第三子区域,第一子区域为以聚焦中心为圆心、半径为R/3的圆形区域;第二子区域为以聚焦中心为圆心、内径为R/3、外径为5R/6的环形区域;第三子区域为以聚焦中心为圆心、内径为5R/6、外径为R的环形区域。从而目标图像落入以聚焦中心为圆心、半径为R/3的圆形区域的像素点个数便为目标图像在第一子区域的像素点个数,相应的,目标图像落入以聚焦中心为圆心、内径为R/3、外径为5R/6的环形区域的像素点个数便为目标图像在第二子区域的像素点个数,目标图像落入以聚焦中心为圆心、内径为5R/6、外径为R的环形区域的像素点个数便为目标图像在第三子区域的像素点个数。当然,可以通过遍历的方式获得各子区域内对应眼底图像中眼底病变部位图像的像素点个数,从而对各子区域对应眼底图像中眼底病变部位图像的像素点个数进行求和,也能够获得目标图像的像素点个数,在此不再赘述。Therefore, the number of pixel points of the target image in each sub-region can be obtained according to the ratio of each sub-region to the trajectory image region corresponding to the trajectory on the fundus image, and specifically, the size determination according to each sub-region when dividing the trajectory image region The number of pixels of the target image in each sub-area. For example, in some embodiments, the trajectory image area is divided into a first sub-area, a second sub-area, and a third sub-area, the first sub-area being a circular area having a center of the focus center and a radius of R/3; The two sub-regions are annular regions with a center of focus, an inner diameter of R/3, and an outer diameter of 5R/6; the third sub-region is an annular region with a center of focus, an inner diameter of 5R/6, and an outer diameter of R. . Therefore, the number of pixels of the target image falling into the circular area with the center of the focus and the radius of R/3 is the number of pixels of the target image in the first sub-area, and correspondingly, the target image falls into the focus center. The number of pixels in the annular region with the center of the circle, the inner diameter of R/3, and the outer diameter of 5R/6 is the number of pixels of the target image in the second sub-region, and the target image falls into the center of the focus center, and the inner diameter is The number of pixel points of the ring region of 5R/6 and outer diameter R is the number of pixel points of the target image in the third sub-region. Certainly, the number of pixels of the fundus lesion image in the corresponding fundus image in each sub-region can be obtained by traversing, so that the number of pixels of the fundus lesion image in the fundus image corresponding to each sub-region can be summed, and The number of pixels of the target image is obtained, and details are not described herein again.
如图6所示,在一个实施例中,步骤S108即根据实际面积以及像素点个数计算眼底病变区域面积包括:As shown in FIG. 6, in one embodiment, step S108 calculates the area of the fundus lesion area according to the actual area and the number of pixel points, including:
步骤S602,根据各个子区域的像素点对应的眼底区域的实际面积以及对 应的像素点个数计算各个子区域对应眼底病变区域的面积。Step S602, calculating the area of the fundus lesion region corresponding to each sub-region according to the actual area of the fundus region corresponding to the pixel point of each sub-region and the corresponding number of pixel points.
具体的,由于目标图像的像素点均对应到相应的眼底病变区域,从而在划分成多个子区域后,根据目标图像在各子区域的像素点的个数以及各子区域的像素点对应的眼底区域的实际面积,就能够得到各个子区域对应眼底病变区域的面积。Specifically, since the pixel points of the target image all correspond to the corresponding fundus lesion area, after dividing into a plurality of sub-areas, the number of pixels in each sub-area according to the target image and the fundus corresponding to the pixel points of each sub-area With the actual area of the area, it is possible to obtain the area of each sub-area corresponding to the fundus lesion area.
步骤S604,根据各个子区域对应眼底病变区域的面积得到眼底病变区域面积。In step S604, the area of the fundus lesion area is obtained according to the area of the fundus lesion area corresponding to each sub-area.
具体的,由于眼底图像上标识轨迹对应的轨迹图像区域分成多个子区域后,像素点的个数以及像素点对应眼底病变区域的面积不会受这种区域分割影响,同时各子区域的像素点的总和与眼底图像标识轨迹对应的轨迹图像区域的像素点总和是相等的,从而在获得各子区域对应眼底病变区域的面积后,进行求和便能得到眼底病变区域面积。Specifically, since the trajectory image area corresponding to the trajectory on the fundus image is divided into a plurality of sub-areas, the number of the pixel points and the area of the pixel point corresponding to the fundus lesion area are not affected by the area segmentation, and the pixel points of each sub-area The sum of the pixel points of the trajectory image area corresponding to the fundus image identification trajectory is equal, so that after obtaining the area corresponding to the fundus lesion area of each sub-area, summation can be performed to obtain the area of the fundus lesion area.
如图7所示,本发明还提供了一种眼底病变区域面积的计算装置,可以应用于医疗设备,该计算装置包括:As shown in FIG. 7 , the present invention further provides a computing device for a region of a fundus lesion area, which can be applied to a medical device, and the computing device includes:
显示模块702,用于在屏幕上显示眼底图像,接收根据眼底图像在屏幕上对眼底病变部位的标识操作,得到对应的标识轨迹;The display module 702 is configured to display a fundus image on the screen, and receive an identification operation on the screen of the fundus lesion according to the fundus image to obtain a corresponding identification track;
绘制模块704,用于根据预设的图像特征绘制标识轨迹对应的目标图像;a drawing module 704, configured to draw a target image corresponding to the identifier track according to the preset image feature;
面积获取模块706,用于获取眼底图像的像素点对应的眼底区域的实际面积,获取目标图像的像素点个数;The area obtaining module 706 is configured to acquire an actual area of a fundus area corresponding to a pixel point of the fundus image, and obtain a number of pixel points of the target image;
计算模块708,用于根据实际面积以及像素点个数计算眼底病变区域面积。The calculating module 708 is configured to calculate the area of the fundus lesion area according to the actual area and the number of pixel points.
在一个实施例中,面积获取模块706还用于根据眼底图像成像时的放大率以及像素点的边长计算眼底图像的像素点对应眼底区域的实际面积。In one embodiment, the area obtaining module 706 is further configured to calculate the actual area of the fundus region of the fundus image corresponding to the magnification of the fundus image and the side length of the pixel.
如图8所示,绘制模块704包括:As shown in FIG. 8, the rendering module 704 includes:
图像特征获取单元704A,用于根据眼底图像的尺寸生成目标图层,获取预设的图像特征,预设的图像特征与目标图层的背景对应的背景图像特征不同;The image feature acquiring unit 704A is configured to generate a target layer according to the size of the fundus image, and acquire a preset image feature, where the preset image feature is different from the background image feature corresponding to the background of the target layer;
绘制单元704B,用于根据预设的图像特征在目标图层上绘制标识轨迹对应的目标图像。The drawing unit 704B is configured to draw a target image corresponding to the identification track on the target layer according to the preset image feature.
结合图9所示,眼底病变区域面积的计算装置还包括:As shown in FIG. 9, the calculation device for the area of the fundus lesion area further includes:
提取模块802,用于根据目标图像的图像特征以及背景图像特征提取出目标图像的轮廓;An extraction module 802, configured to extract an outline of the target image according to the image feature of the target image and the background image feature;
图像区域获取模块804,用于根据目标图层的尺寸以及眼底图像的尺寸得到眼底图像上轮廓对应的图像区域;The image area obtaining module 804 is configured to obtain an image area corresponding to the contour on the fundus image according to the size of the target layer and the size of the fundus image;
标识模块806,在眼底图像上对图像区域进行标识。The identification module 806 identifies the image area on the fundus image.
结合图10所示,在一个实施例中,眼底病变区域面积的计算装置还包括:As shown in FIG. 10, in one embodiment, the device for calculating the area of the fundus lesion area further includes:
轨迹图像区域获取模块902,用于获取眼底图像上标识轨迹对应的轨迹图像区域;The trajectory image region obtaining module 902 is configured to acquire a trajectory image region corresponding to the identified trajectory on the fundus image;
子区域划分模块904,用于获取眼底图像成像时的聚焦中心,根据与聚焦中心的距离将轨迹图像区域分成多个子区域;The sub-area dividing module 904 is configured to acquire a focus center when the fundus image is imaged, and divide the track image area into a plurality of sub-areas according to the distance from the focus center;
子区域计算模块906,用于根据各个子区域对应的放大率以及像素点的边长得到各个子区域的像素点对应的眼底区域的实际面积;The sub-area calculation module 906 is configured to obtain, according to the magnification ratio corresponding to each sub-area and the side length of the pixel point, the actual area of the fundus area corresponding to the pixel point of each sub-area;
该实施例中,面积获取模块706还用于获取目标图像在各个子区域的像素点个数;In this embodiment, the area obtaining module 706 is further configured to acquire the number of pixels of the target image in each sub-area;
结合图11所示,计算模块708包括:As shown in FIG. 11, the calculation module 708 includes:
子区域计算单元708A,用于根据各个子区域的像素点对应的眼底区域的实际面积以及对应的像素点个数计算各个子区域对应眼底病变区域的面积;The sub-region calculating unit 708A is configured to calculate, according to the actual area of the fundus region corresponding to the pixel point of each sub-region and the corresponding number of pixel points, the area of the fundus lesion region corresponding to each sub-region;
得到单元708B,用于根据各个子区域对应眼底病变区域的面积得到眼底病变区域面积。The obtaining unit 708B is configured to obtain the area of the fundus lesion area according to the area of the fundus lesion area corresponding to each sub-area.
关于眼底病变区域面积的计算装置的具体限定可以参见上文中对于眼底病变区域面积的计算方法的限定,在此不再赘述。上述眼底病变区域面积的计算装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模 块对应的操作。For the specific definition of the calculation device for the area of the fundus lesion area, reference may be made to the above definition of the calculation method of the area of the fundus lesion area, and details are not described herein again. The various modules in the computing device for the area of the fundus lesion area described above may be implemented in whole or in part by software, hardware, and combinations thereof. Each of the above modules may be embedded in or independent of the processor in the computer device in hardware, or may be stored in a memory in the computer device in software form, so that the processor calls to perform operations corresponding to the above modules.
图12示出了一个实施例中医疗设备的内部结构图。如图12所示,该医疗设备包括通过系统总线连接的处理器、存储器、网络接口、输入装置和显示屏。其中,存储器包括非易失性存储介质和内存储器。该医疗设备的非易失性存储介质存储有操作系统,还可存储有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器实现眼底病变区域面积的计算方法。该内存储器中也可储存有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行眼底病变区域面积的计算方法。医疗设备的显示屏可以是液晶显示屏或者电子墨水显示屏,医疗设备的输入装置可以是显示屏上覆盖的触摸层,也可以是医疗设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。Figure 12 is a diagram showing the internal structure of a medical device in one embodiment. As shown in FIG. 12, the medical device includes a processor, a memory, a network interface, an input device, and a display screen connected by a system bus. Wherein, the memory comprises a non-volatile storage medium and an internal memory. The non-volatile storage medium of the medical device stores an operating system, and can also store computer readable instructions that, when executed by the processor, enable the processor to implement a method of calculating the area of the fundus lesion area. The internal memory can also store computer readable instructions that, when executed by the processor, cause the processor to perform a method of calculating the area of the fundus lesion area. The display of the medical device may be a liquid crystal display or an electronic ink display. The input device of the medical device may be a touch layer covered on the display, or a button, a trackball or a touchpad provided on the casing of the medical device. It can be an external keyboard, trackpad or mouse.
应该理解的是,虽然本发明各实施例的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,各实施例中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowcharts of the various embodiments of the present invention are sequentially displayed as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Except as explicitly stated herein, the execution of these steps is not strictly limited, and the steps may be performed in other orders. Moreover, at least some of the steps in the various embodiments may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and these sub-steps or stages The order of execution is not necessarily performed sequentially, but may be performed alternately or alternately with at least a portion of other steps or sub-steps or stages of other steps.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而 非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a non-volatile computer readable storage medium. Wherein, the program, when executed, may include the flow of an embodiment of the methods as described above. Any reference to a memory, storage, database or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of formats, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization chain. Synchlink DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, It is considered to be the range described in this specification.
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above embodiments are merely illustrative of several embodiments of the present application, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the present application. Therefore, the scope of the invention should be determined by the appended claims.

Claims (20)

  1. 一种眼底病变区域面积的计算方法,包括:A method for calculating the area of a fundus lesion, comprising:
    在屏幕上显示眼底图像,接收根据所述眼底图像在所述屏幕上对眼底病变部位的标识操作,得到对应的标识轨迹;Displaying a fundus image on the screen, receiving an identification operation on the fundus lesion on the screen according to the fundus image, and obtaining a corresponding identification track;
    根据预设的图像特征绘制所述标识轨迹对应的目标图像;Drawing a target image corresponding to the identified track according to a preset image feature;
    获取所述眼底图像的像素点对应的眼底区域的实际面积,获取所述目标图像的像素点个数;Obtaining an actual area of a fundus region corresponding to a pixel point of the fundus image, and acquiring a pixel number of the target image;
    根据所述实际面积以及所述像素点个数计算所述眼底病变区域面积。Calculating the area of the fundus lesion area according to the actual area and the number of the pixel points.
  2. 根据权利要求1所述的眼底病变区域面积的计算方法,其特征在于,所述根据预设的图像特征绘制所述标识轨迹对应的目标图像包括:The method for calculating the area of the fundus lesion area according to claim 1, wherein the drawing the target image corresponding to the identification track according to the preset image feature comprises:
    根据所述眼底图像的尺寸生成目标图层,获取所述预设的图像特征,所述预设的图像特征与所述目标图层的背景对应的背景图像特征不同;Generating a target layer according to a size of the fundus image, and acquiring the preset image feature, where the preset image feature is different from a background image feature corresponding to a background of the target layer;
    根据所述预设的图像特征在所述目标图层上绘制所述标识轨迹对应的目标图像。And mapping a target image corresponding to the identified track on the target layer according to the preset image feature.
  3. 根据权利要求2所述的眼底病变区域面积的计算方法,其特征在于,所述计算方法还包括:The method of calculating the area of the fundus lesion area according to claim 2, wherein the calculating method further comprises:
    根据所述目标图像的图像特征以及所述背景图像特征提取出所述目标图像的轮廓;Extracting an outline of the target image according to image features of the target image and the background image feature;
    根据所述目标图层的尺寸以及所述眼底图像的尺寸得到所述眼底图像上所述轮廓对应的图像区域;Obtaining an image region corresponding to the contour on the fundus image according to a size of the target layer and a size of the fundus image;
    在所述眼底图像上对所述图像区域进行标识。The image area is identified on the fundus image.
  4. 根据权利要求1所述的眼底病变区域面积的计算方法,其特征在于,所述获取所述眼底图像的像素点对应的眼底区域的实际面积包括:The method for calculating a region of a fundus lesion area according to claim 1, wherein the actual area of the fundus region corresponding to the pixel point at which the fundus image is acquired comprises:
    根据所述眼底图像成像时的放大率以及像素点的边长计算所述眼底图像的像素点对应眼底区域的实际面积。The pixel area of the fundus image corresponds to the actual area of the fundus area according to the magnification at the time of imaging the fundus image and the side length of the pixel.
  5. 根据权利要求1所述的眼底病变区域面积的计算方法,其特征在于,所述计算方法还包括:The method of calculating the area of the fundus lesion area according to claim 1, wherein the calculating method further comprises:
    获取所述眼底图像上所述标识轨迹对应的轨迹图像区域;Obtaining a trajectory image area corresponding to the identified trajectory on the fundus image;
    获取所述眼底图像成像时的聚焦中心,根据与所述聚焦中心的距离将所述轨迹图像区域分成多个子区域;Obtaining a focus center when the fundus image is imaged, and dividing the track image region into a plurality of sub-regions according to a distance from the focus center;
    根据所述各个子区域对应的放大率以及像素点的边长得到各个子区域的像素点对应的眼底区域的实际面积;Obtaining, according to the magnification ratio corresponding to each sub-region and the side length of the pixel point, the actual area of the fundus region corresponding to the pixel point of each sub-region;
    所述获取所述目标图像的像素点个数包括:The obtaining the number of pixels of the target image includes:
    获取所述目标图像在所述各个子区域的像素点个数;Obtaining a number of pixel points of the target image in each of the sub-regions;
    所述根据所述实际面积以及所述像素点个数计算所述眼底病变区域面积包括:Calculating the area of the fundus lesion area according to the actual area and the number of pixel points includes:
    根据所述各个子区域的像素点对应的眼底区域的实际面积以及对应的像素点个数计算所述各个子区域对应所述眼底病变区域的面积;Calculating, according to the actual area of the fundus region corresponding to the pixel points of the respective sub-regions and the corresponding number of pixel points, the area of the respective sub-region corresponding to the fundus lesion region;
    根据所述各个子区域对应所述眼底病变区域的面积得到所述眼底病变区域面积。The area of the fundus lesion area is obtained according to the area of each of the sub-regions corresponding to the fundus lesion area.
  6. 一种眼底病变区域面积的计算装置,包括:A computing device for the area of a fundus lesion, comprising:
    显示模块,用于在屏幕上显示眼底图像,接收根据所述眼底图像在所述屏幕上对眼底病变部位的标识操作,得到对应的标识轨迹;a display module, configured to display a fundus image on the screen, receive an identification operation on the fundus lesion on the screen according to the fundus image, and obtain a corresponding identification track;
    绘制模块,用于根据预设的图像特征绘制所述标识轨迹对应的目标图像;a drawing module, configured to draw a target image corresponding to the identifier track according to a preset image feature;
    面积获取模块,用于获取所述眼底图像的像素点对应的眼底区域的实际面积,获取所述目标图像的像素点个数;An area obtaining module, configured to acquire an actual area of a fundus region corresponding to a pixel point of the fundus image, and obtain a number of pixels of the target image;
    计算模块,用于根据所述实际面积以及所述像素点个数计算所述眼底病变区域面积。And a calculating module, configured to calculate an area of the fundus lesion area according to the actual area and the number of the pixel points.
  7. 根据权利要求6所述的眼底病变区域面积的计算装置,其特征在于,所述绘制模块包括:The apparatus for calculating the area of the fundus lesion area according to claim 6, wherein the drawing module comprises:
    图像特征获取单元,用于根据所述眼底图像的尺寸生成目标图层,获取所述预设的图像特征,所述预设的图像特征与所述目标图层的背景对应的背景图像特征不同;An image feature acquiring unit, configured to generate a target layer according to a size of the fundus image, and acquire the preset image feature, where the preset image feature is different from a background image feature corresponding to a background of the target layer;
    绘制单元,用于根据所述预设的图像特征在所述目标图层上绘制所述标 识轨迹对应的目标图像。And a drawing unit, configured to draw a target image corresponding to the identification track on the target layer according to the preset image feature.
  8. 根据权利要求7所述的眼底病变区域面积的计算装置,其特征在于,所述计算装置还包括:The device for calculating the area of the fundus lesion area according to claim 7, wherein the computing device further comprises:
    提取模块,用于根据所述目标图像的图像特征以及所述背景图像特征提取出所述目标图像的轮廓;An extracting module, configured to extract an outline of the target image according to the image feature of the target image and the background image feature;
    图像区域获取模块,用于根据所述目标图层的尺寸以及所述眼底图像的尺寸得到所述眼底图像上所述轮廓对应的图像区域;An image area obtaining module, configured to obtain an image area corresponding to the contour on the fundus image according to a size of the target layer and a size of the fundus image;
    标识模块,在所述眼底图像上对所述图像区域进行标识。An identification module that identifies the image area on the fundus image.
  9. 根据权利要求6所述的眼底病变区域面积的计算装置,其特征在于,所述面积获取模块还用于根据所述眼底图像成像时的放大率以及像素点的边长计算所述眼底图像的像素点对应眼底区域的实际面积。The device for calculating the area of the fundus lesion area according to claim 6, wherein the area obtaining module is further configured to calculate the pixel of the fundus image according to the magnification of the fundus image and the side length of the pixel The point corresponds to the actual area of the fundus area.
  10. 根据权利要求6所述的眼底病变区域面积的计算装置,其特征在于,所述计算装置还包括:The device for calculating the area of the fundus lesion area according to claim 6, wherein the computing device further comprises:
    轨迹图像区域获取模块,用于获取所述眼底图像上所述标识轨迹对应的轨迹图像区域;a trajectory image area acquiring module, configured to acquire a trajectory image area corresponding to the identification trajectory on the fundus image;
    子区域划分模块,用于获取所述眼底图像成像时的聚焦中心,根据与所述聚焦中心的距离将所述轨迹图像区域分成多个子区域;a sub-area dividing module, configured to acquire a focus center when the fundus image is imaged, and divide the track image area into a plurality of sub-areas according to a distance from the focus center;
    子区域计算模块,用于根据所述各个子区域对应的放大率以及像素点的边长得到各个子区域的像素点对应的眼底区域的实际面积;a sub-area calculation module, configured to obtain, according to the magnification ratio corresponding to each sub-region and the side length of the pixel, the actual area of the fundus region corresponding to the pixel point of each sub-region;
    所述面积获取模块还用于获取所述目标图像在所述各个子区域的像素点个数;The area obtaining module is further configured to acquire the number of pixels of the target image in each of the sub-regions;
    所述计算模块包括:The calculation module includes:
    子区域计算单元,用于根据所述各个子区域的像素点对应的眼底区域的实际面积以及对应的像素点个数计算所述各个子区域对应所述眼底病变区域的面积;a sub-region calculating unit, configured to calculate, according to an actual area of the fundus region corresponding to the pixel points of the respective sub-regions and a corresponding number of pixel points, an area of the respective sub-region corresponding to the fundus lesion region;
    得到单元,用于根据所述各个子区域对应所述眼底病变区域的面积得到所述眼底病变区域面积。And obtaining a unit for obtaining an area of the fundus lesion area according to an area of the respective sub-region corresponding to the fundus lesion area.
  11. 一种医疗设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行如下步骤:A medical device comprising a memory and a processor, the memory storing computer readable instructions, the computer readable instructions being executed by the processor such that the processor performs the following steps:
    在屏幕上显示眼底图像,接收根据所述眼底图像在所述屏幕上对眼底病变部位的标识操作,得到对应的标识轨迹;Displaying a fundus image on the screen, receiving an identification operation on the fundus lesion on the screen according to the fundus image, and obtaining a corresponding identification track;
    根据预设的图像特征绘制所述标识轨迹对应的目标图像;Drawing a target image corresponding to the identified track according to a preset image feature;
    获取所述眼底图像的像素点对应的眼底区域的实际面积,获取所述目标图像的像素点个数;Obtaining an actual area of a fundus region corresponding to a pixel point of the fundus image, and acquiring a pixel number of the target image;
    根据所述实际面积以及所述像素点个数计算所述眼底病变区域面积。Calculating the area of the fundus lesion area according to the actual area and the number of the pixel points.
  12. 根据权利要求11所述的医疗设备,其特征在于,所述处理器所执行的所述根据预设的图像特征绘制所述标识轨迹对应的目标图像包括:The medical device according to claim 11, wherein the mapping of the target image corresponding to the identification track according to the preset image feature performed by the processor comprises:
    根据所述眼底图像的尺寸生成目标图层,获取所述预设的图像特征,所述预设的图像特征与所述目标图层的背景对应的背景图像特征不同;Generating a target layer according to a size of the fundus image, and acquiring the preset image feature, where the preset image feature is different from a background image feature corresponding to a background of the target layer;
    根据所述预设的图像特征在所述目标图层上绘制所述标识轨迹对应的目标图像。And mapping a target image corresponding to the identified track on the target layer according to the preset image feature.
  13. 根据权利要求12所述的医疗设备,其特征在于,所述计算机可读指令还使得所述处理器执行如下步骤:The medical device of claim 12, wherein the computer readable instructions further cause the processor to perform the following steps:
    根据所述目标图像的图像特征以及所述背景图像特征提取出所述目标图像的轮廓;Extracting an outline of the target image according to image features of the target image and the background image feature;
    根据所述目标图层的尺寸以及所述眼底图像的尺寸得到所述眼底图像上所述轮廓对应的图像区域;Obtaining an image region corresponding to the contour on the fundus image according to a size of the target layer and a size of the fundus image;
    在所述眼底图像上对所述图像区域进行标识。The image area is identified on the fundus image.
  14. 根据权利要求11所述的医疗设备,其特征在于,所述处理器所执行的所述获取所述眼底图像的像素点对应的眼底区域的实际面积包括:The medical device according to claim 11, wherein the actual area of the fundus region corresponding to the pixel point at which the fundus image is acquired by the processor comprises:
    根据所述眼底图像成像时的放大率以及像素点的边长计算所述眼底图像的像素点对应眼底区域的实际面积。The pixel area of the fundus image corresponds to the actual area of the fundus area according to the magnification at the time of imaging the fundus image and the side length of the pixel.
  15. 根据权利要求11所述的医疗设备,其特征在于,所述计算机可读指 令还使得所述处理器执行如下步骤:The medical device of claim 11 wherein said computer readable instructions further cause said processor to perform the following steps:
    获取所述眼底图像上所述标识轨迹对应的轨迹图像区域;Obtaining a trajectory image area corresponding to the identified trajectory on the fundus image;
    获取所述眼底图像成像时的聚焦中心,根据与所述聚焦中心的距离将所述轨迹图像区域分成多个子区域;Obtaining a focus center when the fundus image is imaged, and dividing the track image region into a plurality of sub-regions according to a distance from the focus center;
    根据所述各个子区域对应的放大率以及像素点的边长得到各个子区域的像素点对应的眼底区域的实际面积;Obtaining, according to the magnification ratio corresponding to each sub-region and the side length of the pixel point, the actual area of the fundus region corresponding to the pixel point of each sub-region;
    所述获取所述目标图像的像素点个数包括:The obtaining the number of pixels of the target image includes:
    获取所述目标图像在所述各个子区域的像素点个数;Obtaining a number of pixel points of the target image in each of the sub-regions;
    所述根据所述实际面积以及所述像素点个数计算所述眼底病变区域面积包括:Calculating the area of the fundus lesion area according to the actual area and the number of pixel points includes:
    根据所述各个子区域的像素点对应的眼底区域的实际面积以及对应的像素点个数计算所述各个子区域对应所述眼底病变区域的面积;Calculating, according to the actual area of the fundus region corresponding to the pixel points of the respective sub-regions and the corresponding number of pixel points, the area of the respective sub-region corresponding to the fundus lesion region;
    根据所述各个子区域对应所述眼底病变区域的面积得到所述眼底病变区域面积。The area of the fundus lesion area is obtained according to the area of each of the sub-regions corresponding to the fundus lesion area.
  16. 一个或多个存储有计算机可读指令的非易失性存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行如下步骤:One or more non-volatile storage media storing computer readable instructions, when executed by one or more processors, cause one or more processors to perform the following steps:
    在屏幕上显示眼底图像,接收根据所述眼底图像在所述屏幕上对眼底病变部位的标识操作,得到对应的标识轨迹;Displaying a fundus image on the screen, receiving an identification operation on the fundus lesion on the screen according to the fundus image, and obtaining a corresponding identification track;
    根据预设的图像特征绘制所述标识轨迹对应的目标图像;Drawing a target image corresponding to the identified track according to a preset image feature;
    获取所述眼底图像的像素点对应的眼底区域的实际面积,获取所述目标图像的像素点个数;Obtaining an actual area of a fundus region corresponding to a pixel point of the fundus image, and acquiring a pixel number of the target image;
    根据所述实际面积以及所述像素点个数计算所述眼底病变区域面积。Calculating the area of the fundus lesion area according to the actual area and the number of the pixel points.
  17. 根据权利要求16所述的医疗设备,其特征在于,所述处理器所执行的所述根据预设的图像特征绘制所述标识轨迹对应的目标图像包括:The medical device according to claim 16, wherein the mapping, by the processor, the mapping of the target image corresponding to the identification track according to the preset image feature comprises:
    根据所述眼底图像的尺寸生成目标图层,获取所述预设的图像特征,所述预设的图像特征与所述目标图层的背景对应的背景图像特征不同;Generating a target layer according to a size of the fundus image, and acquiring the preset image feature, where the preset image feature is different from a background image feature corresponding to a background of the target layer;
    根据所述预设的图像特征在所述目标图层上绘制所述标识轨迹对应的目标图像。And mapping a target image corresponding to the identified track on the target layer according to the preset image feature.
  18. 根据权利要求17所述的医疗设备,其特征在于,所述计算机可读指令还使得所述处理器执行如下步骤:The medical device of claim 17, wherein the computer readable instructions further cause the processor to perform the following steps:
    根据所述目标图像的图像特征以及所述背景图像特征提取出所述目标图像的轮廓;Extracting an outline of the target image according to image features of the target image and the background image feature;
    根据所述目标图层的尺寸以及所述眼底图像的尺寸得到所述眼底图像上所述轮廓对应的图像区域;Obtaining an image region corresponding to the contour on the fundus image according to a size of the target layer and a size of the fundus image;
    在所述眼底图像上对所述图像区域进行标识。The image area is identified on the fundus image.
  19. 根据权利要求16所述的医疗设备,其特征在于,所述处理器所执行的所述获取所述眼底图像的像素点对应的眼底区域的实际面积包括:The medical device according to claim 16, wherein the actual area of the fundus region corresponding to the pixel point at which the fundus image is acquired by the processor comprises:
    根据所述眼底图像成像时的放大率以及像素点的边长计算所述眼底图像的像素点对应眼底区域的实际面积。The pixel area of the fundus image corresponds to the actual area of the fundus area according to the magnification at the time of imaging the fundus image and the side length of the pixel.
  20. 根据权利要求16所述的医疗设备,其特征在于,所述计算机可读指令还使得所述处理器执行如下步骤:The medical device of claim 16 wherein said computer readable instructions further cause said processor to perform the following steps:
    获取所述眼底图像上所述标识轨迹对应的轨迹图像区域;Obtaining a trajectory image area corresponding to the identified trajectory on the fundus image;
    获取所述眼底图像成像时的聚焦中心,根据与所述聚焦中心的距离将所述轨迹图像区域分成多个子区域;Obtaining a focus center when the fundus image is imaged, and dividing the track image region into a plurality of sub-regions according to a distance from the focus center;
    根据所述各个子区域对应的放大率以及像素点的边长得到各个子区域的像素点对应的眼底区域的实际面积;Obtaining, according to the magnification ratio corresponding to each sub-region and the side length of the pixel point, the actual area of the fundus region corresponding to the pixel point of each sub-region;
    所述获取所述目标图像的像素点个数包括:The obtaining the number of pixels of the target image includes:
    获取所述目标图像在所述各个子区域的像素点个数;Obtaining a number of pixel points of the target image in each of the sub-regions;
    所述根据所述实际面积以及所述像素点个数计算所述眼底病变区域面积包括:Calculating the area of the fundus lesion area according to the actual area and the number of pixel points includes:
    根据所述各个子区域的像素点对应的眼底区域的实际面积以及对应的像素点个数计算所述各个子区域对应所述眼底病变区域的面积;Calculating, according to the actual area of the fundus region corresponding to the pixel points of the respective sub-regions and the corresponding number of pixel points, the area of the respective sub-region corresponding to the fundus lesion region;
    根据所述各个子区域对应所述眼底病变区域的面积得到所述眼底病变区 域面积。The area of the fundus lesion area is obtained according to the area of the respective sub-region corresponding to the fundus lesion area.
PCT/CN2018/086734 2018-05-14 2018-05-14 Fundus oculi lesion area calculation method, apparatus, medical device, and storage medium WO2019218118A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/086734 WO2019218118A1 (en) 2018-05-14 2018-05-14 Fundus oculi lesion area calculation method, apparatus, medical device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/086734 WO2019218118A1 (en) 2018-05-14 2018-05-14 Fundus oculi lesion area calculation method, apparatus, medical device, and storage medium

Publications (1)

Publication Number Publication Date
WO2019218118A1 true WO2019218118A1 (en) 2019-11-21

Family

ID=68539193

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/086734 WO2019218118A1 (en) 2018-05-14 2018-05-14 Fundus oculi lesion area calculation method, apparatus, medical device, and storage medium

Country Status (1)

Country Link
WO (1) WO2019218118A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5975697A (en) * 1998-11-25 1999-11-02 Oti Ophthalmic Technologies, Inc. Optical mapping apparatus with adjustable depth resolution
CN101204318A (en) * 2006-12-22 2008-06-25 株式会社拓普康 Fundus oculi observation device and fundus oculi image display device
CN106157279A (en) * 2015-03-23 2016-11-23 上海交通大学 Eye fundus image lesion detection method based on morphological segment
CN106384343A (en) * 2016-08-24 2017-02-08 上海交通大学 Morphological processing based hard exudation area detecting method
CN107180421A (en) * 2016-03-09 2017-09-19 中兴通讯股份有限公司 A kind of eye fundus image lesion detection method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5975697A (en) * 1998-11-25 1999-11-02 Oti Ophthalmic Technologies, Inc. Optical mapping apparatus with adjustable depth resolution
CN101204318A (en) * 2006-12-22 2008-06-25 株式会社拓普康 Fundus oculi observation device and fundus oculi image display device
CN106157279A (en) * 2015-03-23 2016-11-23 上海交通大学 Eye fundus image lesion detection method based on morphological segment
CN107180421A (en) * 2016-03-09 2017-09-19 中兴通讯股份有限公司 A kind of eye fundus image lesion detection method and device
CN106384343A (en) * 2016-08-24 2017-02-08 上海交通大学 Morphological processing based hard exudation area detecting method

Similar Documents

Publication Publication Date Title
CA2901164C (en) Referencing in multi-acquisition slide imaging
CN111310841B (en) Medical image classification method, medical image classification device, medical image classification apparatus, medical image classification computer device, and medical image classification storage medium
JP6503221B2 (en) Three-dimensional information acquisition apparatus and three-dimensional information acquisition method
JP5996334B2 (en) Microscope system, specimen image generation method and program
CN109215063A (en) A kind of method for registering of event triggering camera and three-dimensional laser radar
CN105378538A (en) Auto-focus methods and systems for multi-spectral imaging
CN109171817B (en) Three-dimensional breast ultrasonic scanning method and ultrasonic scanning system
JP6447675B2 (en) Information processing apparatus, information processing method, program, and microscope system
US10082663B2 (en) Method for simultaneous capture of image data at multiple depths of a sample
JP2013011856A (en) Imaging system and control method thereof
JP5278984B2 (en) Image analysis apparatus and image analysis program
CN108765379B (en) Calculation method, device, Medical Devices and the storage medium of eyeground pathological changes region area
US20190320166A1 (en) Calibration system and method
US20130076886A1 (en) Automatic Focus and Sample Detection
WO2019218118A1 (en) Fundus oculi lesion area calculation method, apparatus, medical device, and storage medium
JP6479178B2 (en) Image processing apparatus, imaging apparatus, microscope system, image processing method, and image processing program
US20210005017A1 (en) 3d scanning with automatic selection of scan strategy
TWI712817B (en) Direct focusing with image binning in metrology tools
US20170154418A1 (en) Method of Labeling Invisible Fluorescence by Visible Light with Self-Correction
JP2008017961A (en) Method and device for measuring blood flow rate
JP6641485B2 (en) Position specifying device and position specifying method
US20180344145A1 (en) Method and apparatus for colposcopic examination
WO2019044416A1 (en) Imaging processing device, control method for imaging processing device, and imaging processing program
JP2014149484A (en) Imaging system and method for controlling the same
US20230017607A1 (en) Imaging apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18918737

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18918737

Country of ref document: EP

Kind code of ref document: A1