Disclosure of Invention
In view of the above defects or improvement requirements of the prior art, the present invention provides a system for tracking and initializing colon polyp regions in a colonoscope image sequence, which aims to solve the technical problem of false start of video target tracking caused by uncertainty of polyp region detection and segmentation when a video target tracking and segmentation algorithm is introduced into detection of colon polyp sequences.
In order to achieve the above object, according to one aspect of the present invention, there is provided a system for tracking and initializing an intestinal polyp region in a colonoscope image sequence, comprising an intestinal polyp region information obtaining module, an intestinal polyp region determining module, a target associated region determining module, a target intestinal polyp region mid-intelligence set modeling module, and a target intestinal polyp region tracking and initializing determining module;
the intestinal polyp region information acquisition module is used for acquiring the current mth frame of a colonoscope image sequence, and acquiring a candidate intestinal polyp region set of the mth frame by adopting an intestinal polyp region detection algorithm for the mth frame
And submitting the judgment result to an intestinal polyp region judgment module; where m is the frame number, K
mThe number of candidate intestinal polyp regions detected for the mth frame, i is 1, …, K
m,S
m,iThe ith candidate intestinal polyp region is a pixel point set at the corresponding position in the mth frame;
the intestinal polyp region determination module is used for determining a set of intestinal polyp regions according to the m frame candidate
Tracking intestinal polyp region set
And the last frame of target intestinal polyp region set
Judging each candidate intestinal polyp region S according to the principle that the larger the distance between the m-th frame candidate intestinal polyp region and the intestinal polyp region being tracked and the target intestinal polyp region of the previous frame is, the more likely the candidate intestinal polyp region S is a newly added target intestinal polyp region
m,iWhether the new target intestinal polyp region is newly added or not is collected, and the newly added target intestinal polyp region of the mth frame is collected to form a set
Submitting the data to a target associated area judgment module; wherein T is
mThe number of intestinal polyp regions being tracked in the mth frame, j is 1, …, T
m,
For the jth intestinal polyp region being tracked; n is a radical of
m-1The number of target intestinal polyp regions in the (m-1) th frame is 1, …, N
m-1,P
m-1,kA target intestinal polyp region for the (m-1) th frame; n is N
m-1+1,…,N
m,P
m,nNewly adding a target intestinal polyp region for the mth frame;
the target associated region judgment module is used for newly adding a target intestinal polyp region set to the mth frame
Each newly added target intestinal polyp region P in (a)
m,nSearching for an intestinal polyp region with the minimum Euclidean distance between the coordinates of the pixel points at the corresponding positions within a threshold Th 2-10 in the next frame as a target associated region P of the next frame
m+1,nUntil the purpose of collecting N frames continuouslySet of label associated regions { P
m,n,P
m+1,n,…,P
m+n-1,nSubmitting the data to an intelligent set modeling module in the target intestinal polyp region;
the intelligent set modeling module in the target intestinal polyp region is used for collecting the newly added target intestinal polyp region of the mth frame
Each newly added target intestinal polyp region P in (a)
m,nSet of target associated regions { P) according to its successive N frames
m,n,P
m+1,n,…,P
m+N-1,nAnd performing intelligent set modeling on the target intestinal polyp region to obtain the membership degree T of an intelligent set in each newly added target intestinal polyp region
nDegree of uncertainty I
nAnd degree of non-membership F
nSubmitting the target intestinal polyp region to a tracking initialization judgment module;
the target intestinal polyp region tracking initialization judgment module is used for judging the membership T of the noon set of each newly added target intestinal polyp region
nDegree of uncertainty I
nAnd degree of non-membership F
nCalculating the middle intelligence measure and the ideal middle intelligence measure D
nJudging whether each newly added target intestinal polyp region is to be tracked according to the principle that the smaller the cross entropy is, the more likely it is to be a real intestinal polyp, and if the judgment is that the tracking needs to be carried out, adding the target intestinal polyp region into the intestinal polyp region set which is being tracked
In (1).
Preferably, in the module for modeling an intelligent set in the target intestinal polyp region, the membership T of the intelligent set in each newly added target intestinal polyp region is calculated according to the following methodnDegree of uncertainty InAnd degree of non-membership Fn:
Wherein the operator "| · |" represents the number of pixel points in the contained region, the function σ is the standard deviation, Pt,nIs a t frame targetIntestinal polyp region, M is the maximum value of the number of pixel points in the N regions.
Preferably, in the target intestinal polyp region tracking initialization decision module, the cross entropy D of the mesointelligence measure of each newly added target intestinal polyp region and the ideal mesointelligence measure is calculated according to the following methodnAnd judging whether each newly added target intestinal polyp region needs to be tracked or not:
for cross entropy DnAnd (3) judging the size:
if D is
nWhen the value is less than the threshold value T and is equal to 0.8, the newly added target intestinal polyp region needs to be tracked, the newly added target intestinal polyp region is sent into a video tracking system, and the newly added target intestinal polyp region is added into a currently tracked intestinal polyp region set
Performing the following steps; otherwise the intestinal polyp region does not need to be tracked.
Preferably, in the intelligent set modeling module in the target intestinal polyp region, when the frame rate of colonoscope acquisition is low, P ist,n∩Pt+1,nIs defined as a region Pt,nAnd region Pt+1,nAnd the distance between the coordinates of the middle pixel points is within a threshold Th3 of 10.
Preferably, in the intestinal polyp region determination module, each candidate intestinal polyp region S is determined as followsm,iWhether it is a newly added target intestinal polyp region:
calculating candidate intestinal polyp region S in sequence
m,iWith each intestinal polyp region being tracked
And each target intestinal polyp region P from the previous frame
m-1,kIf all distances are greater than the threshold Th1, the area is considered to beS
m,iFor newly added target intestinal polyp region
Otherwise the region is not a newly added targeted intestinal polyp region.
Preferably, in the intestinal polyp region determination module, the distance between two regions is: and the minimum Euclidean distance between the pixel point coordinates of the corresponding positions of the two regions.
Preferably, the threshold Th1 is in the range of [20,100 ].
Preferably, in the target-related-region determining module, the target polyp region P is newly added at presentm,nWhen a plurality of target associated regions are provided, selecting the intestinal polyp region with the minimum Euclidean distance or the maximum intersection between the intestinal polyp region and the pixel point coordinates of the corresponding position as the target associated region P of the m + b framem+b,nWherein b is more than or equal to 1.
Preferably, in the intestinal polyp region information obtaining module, the intestinal polyp region detection algorithm is a saliency network detection algorithm or a segmentation network detection algorithm.
Preferably, in the intestinal polyp region determination module, the set of intestinal polyp regions being tracked
The method is obtained by calculating the position of a region of a previous frame corresponding to intestinal polyps by adopting a video target tracking segmentation algorithm in a video tracking system.
In general, compared with the prior art, the above technical solution contemplated by the present invention can achieve the following beneficial effects:
according to the invention, through carrying out centralized modeling on the target intestinal polyp region, independent uncertainty measurement is increased, fuzzy information can be better expressed, and the method has superiority in describing image uncertainty characteristics. For the intestinal polyp region, decision information is described by using the membership degree, uncertainty degree and non-membership degree of the central intelligence set, so that the initial robustness of the tracked target intestinal polyp region is effectively improved, and the missing rate and the false detection rate of polyps are reduced.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
As shown in FIG. 1, the invention provides a system for tracking and initializing intestinal polyp regions in a colonoscope image sequence, which comprises an intestinal polyp region information acquisition module, an intestinal polyp region judgment module, a target associated region judgment module, a target intestinal polyp region middle intelligent set modeling module and a target intestinal polyp region tracking and initializing judgment module.
The intestinal polyp region information acquisition module is used for acquiring the current mth frame of a colonoscope image sequence, and acquiring a candidate intestinal polyp region set of the mth frame by adopting an intestinal polyp region detection algorithm for the mth frame
And submitting the judgment result to an intestinal polyp region judgment module; where m is the frame number, K
mThe number of candidate intestinal polyp regions detected for the mth frame, i is 1, …, K
m,S
m,iFor the ith candidate intestinal polyp region, i.e., in the mth frameA set of pixel points corresponding to the position;
the intestinal polyp region Detection algorithm is a significant network Detection algorithm or a segmented network Detection algorithm, the significant network Detection algorithm is preferably a DSS (Deep redundant Object Detection with Short Connections) Detection algorithm, and the segmented network Detection algorithm is preferably a Segnet network (A Deep relational Encoder-Decoder Architecture for Image Segmentation) Detection algorithm.
The intestinal polyp region determination module is used for determining a set of intestinal polyp regions according to the m frame candidate
Tracking intestinal polyp region set
And the last frame of target intestinal polyp region set
Judging each candidate intestinal polyp region S according to the principle that the larger the distance between the m-th frame candidate intestinal polyp region and the intestinal polyp region being tracked and the target intestinal polyp region of the previous frame is, the more likely the candidate intestinal polyp region S is a newly added target intestinal polyp region
m,iWhether the new target intestinal polyp region is newly added or not is collected, and the newly added target intestinal polyp region of the mth frame is collected to form a set
Submitting the data to a target associated area judgment module; wherein T is
mThe number of intestinal polyp regions being tracked in the mth frame, j is 1, …, T
m,
The jth intestinal polyp region being tracked, namely the pixel point set of the corresponding position in the mth frame; n is a radical of
m-1The number of target intestinal polyp regions in the (m-1) th frame is 1, …, N
m-1,P
m-1,kA target intestinal polyp region for the (m-1) th frame; n is N
m-1+1,…,N
m,P
m,nNewly adding a target intestinal polyp region for the mth frame;
judging each candidate intestinal polyp region S according to the principle that the larger the distance between the m-th frame candidate intestinal polyp region and the intestinal polyp region being tracked and the target intestinal polyp region of the previous frame is, the more possible the candidate intestinal polyp region S is a newly added target intestinal polyp regionm,iWhether the target intestinal polyp region is newly added or not is specifically as follows:
calculating candidate intestinal polyp region S in sequence
m,iWith each intestinal polyp region being tracked
And each target intestinal polyp region P from the previous frame
m-1,kIf all distances are greater than the threshold Th1, the region S is considered to be
m,iFor newly added target intestinal polyp region
Otherwise the region is not a newly added targeted intestinal polyp region;
the set of intestinal polyp regions being tracked
Calculating and acquiring the intestinal polyp from a video tracking system by adopting a video target tracking segmentation algorithm according to the region position of the corresponding intestinal polyp in the previous frame;
the video target Tracking Segmentation algorithm is preferably a SimMask network (Fast on Object Tracking and Segmentation: A unity approximation) algorithm;
when m is 1, the set of intestinal polyp regions being tracked is a null set, the set of target intestinal polyp regions of the previous frame is a null set, and then each candidate intestinal polyp region S is a null setm,iJudging as newly added target intestinal polyp region Pm,i;
The distance between the two regions is: the minimum Euclidean distance between the pixel point coordinates of the corresponding positions of the two regions;
the threshold Th1 is in the range of [20,100], and the preferred value is 50.
The target associated region judgment module is used for newly adding a target intestinal polyp region set to the mth frame
Each newly added target intestinal polyp region P in (a)
m,nSearching for an intestinal polyp region with the minimum Euclidean distance between the coordinates of the pixel points at the corresponding positions within a threshold Th 2-10 in the next frame as a target associated region P of the next frame
m+1,nUntil a set of target associated regions { P } of N frames is collected continuously
m,n,P
m+1,n,…,P
m+N-1,nSubmitting the data to an intelligent set modeling module in the target intestinal polyp region;
wherein the value range of N is [5,10 ];
if the target associated region meeting the condition is not found in the next frame of the currently newly added target intestinal polyp region, the target associated region of the next frame is an empty set, namely
And continuing to search for a newly added target intestinal polyp region P in the m + a frame
m,nAn intestinal polyp region with the minimum Euclidean distance between pixel point coordinates of corresponding positions within a threshold Th 2-10 is used as a target associated region P of the m + a frame
m+a,nWherein a is>1;
If the current newly added target intestinal polyp region Pm,nWhen a plurality of target associated regions are provided, selecting the intestinal polyp region with the minimum Euclidean distance or the maximum intersection between the intestinal polyp region and the pixel point coordinates of the corresponding position as the target associated region P of the m + b framem+b,nWherein b is more than or equal to 1.
The intelligent set modeling module in the target intestinal polyp region is used for collecting the newly added target intestinal polyp region of the mth frame
Each newly added target intestinal polyp region P in (a)
m,nSet of target associated regions { P) according to its successive N frames
m,n,P
m+1,n,…,P
m+N-1,nAnd performing intelligent set modeling on the target intestinal polyp region to obtain the membership degree T of an intelligent set in each newly added target intestinal polyp region
nDegree of uncertainty I
nAnd degree of non-membership F
nSubmitting the target intestinal polyp region to a tracking initialization judgment module;
performing the modeling of the middle intelligence set to obtain the membership degree T of the intelligence set in each newly added target intestinal polyp regionnDegree of uncertainty InAnd degree of non-membership FnThe method specifically comprises the following steps:
wherein the operator "| · |" represents the number of pixel points in the contained region, the function σ is the standard deviation, Pt,nFor the target intestinal polyp region of the t frame, M is the maximum value of the number of pixel points in the N regions;
when the frame rate of the colonoscope is low, the intersection operation result of the target associated regions of the two frames is an empty set or a set with few pixel points, Pt,n∩Pt+1,nCan be defined as a region Pt,nAnd region Pt+1,nAnd the distance between the coordinates of the middle pixel points is within a threshold Th3 of 10.
The target intestinal polyp region tracking initialization judgment module is used for judging the membership T of the noon set of each newly added target intestinal polyp regionnDegree of uncertainty InAnd degree of non-membership FnCalculating the cross entropy D of the intelligence measure and the ideal intelligence measurenJudging whether each newly added target intestinal polyp region needs to be tracked according to the principle that the smaller the cross entropy is, the more likely the target intestinal polyp region is to be a real intestinal polyp;
calculating the cross entropy D of the mesopic measure of each newly added target intestinal polyp region and the ideal mesopic measurenJudging whether each newly added target intestinal polyp region is real or not according to the principle that the smaller the cross entropy is, the more likely it is to be the real intestinal polypPerforming tracking, specifically:
for cross entropy DnAnd (3) judging the size:
if D is
nWhen the value is less than the threshold value T and is equal to 0.8, the newly added target intestinal polyp region needs to be tracked, the newly added target intestinal polyp region is sent into a video tracking system, and the newly added target intestinal polyp region is added into a currently tracked intestinal polyp region set
Performing the following steps; otherwise the intestinal polyp region does not need to be tracked.
The following are examples:
as shown in FIG. 2, the
intestinal polyp region 2 being tracked in the mth frame
colonoscope image sequence 4 is calculated by using the SimMask network algorithm according to the position in the (m-1) th frame to obtain the
intestinal polyp region 2 being tracked in the mth frame, which is represented as
A Segnet network detection algorithm is applied to the mth frame
colonoscope image sequence 4 to detect a first candidate intestinal polyp region 1, which is denoted as S
m,1。
Calculating the region S
m,1And region
And (3) judging that the first candidate intestinal polyp region 1 is a newly added target intestinal polyp region if the minimum Euclidean distance between the pixel point coordinates of the corresponding position is greater than the threshold Th1 to be 50, wherein the newly added target intestinal polyp region is represented as P
m,1And has P
m,1=S
m,1。
The sequence of
colonoscopic images 4 detects a tracking
intestinal polyp region 2 at frame m +1 as indicated by
The first candidate intestinal polyp region 1 is denoted S
m+1,1And a second candidate
intestinal polyp region 3 is denoted S
m+1,2Separately calculating the region S
m+1,1、S
m+1,2And region P
m,1Minimum euclidean distance between pixel point coordinates of corresponding positions:
D(Sm+1,1,Pm,1)=min{‖sr,1-pt,1‖|sr,1∈Sm+1,1,pt,1∈Pm,1}
wherein s isr,1、pt,1Are respectively the region Sm+1,1And region Pm,1Pixel point coordinates of corresponding positions;
D(Sm+1,2,Pm,1)=min{‖sr,2-pt,1‖|sr,2∈Sm+1,2,pt,1∈Pm,1}
wherein s isr,2Is a region Sm+1,2Pixel point coordinates of corresponding positions;
D(Sm+1,1,Pm,1) Is less than the threshold Th1 of 50, it is determined that the first candidate intestinal polyp region 1 is not a newly added target intestinal polyp region;
D(S
m+1,2,P
m,1) Is greater than the threshold Th1 by 50, and the region S
m+1,2And region
If the minimum euclidean distance between the pixel point coordinates of the corresponding position is also greater than the threshold Th1 to 50, the second candidate
intestinal polyp region 3 is determined as a newly added target intestinal polyp region, which is denoted as P
m+1,2And has P
m+1,2=S
m+1,2。
For the first newly added target intestinal polyp region Pm,1In the m +1 Th frame, the area S with the minimum Euclidean distance between the coordinates of the pixel points at the corresponding positions within the threshold Th 2-10 is searchedm+1,1As a target associated region P of the next framem+1,1And has Pm+1,1=Sm+1,1;
For two newly added purposesRespectively obtaining target associated regions of continuous N frames from the target polyp region 1 and the target polyp region 3, and calculating the membership degree T of the parameters of the intelligent set1And T2Degree of uncertainty I1And I2And a degree of non-membership F1And F2。
Then respectively calculating the cross entropy D of the mesopic measure of the two newly added target intestinal polyp regions and the ideal mesopic measure according to the parameters of the mesopic set1And D2,D1If the threshold value T is less than 0.8, it indicates that the intestinal polyp region 1 is a real intestinal polyp region and the tracking needs to be performed; d2If the threshold value T is greater than 0.8, it means that the intestinal polyp region 3 is a true intestinal polyp region, and it is not necessary to perform tracking.
It will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.