MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / rleNms

Function rleNms

eval/CIPO_evaluation/common/maskApi.c:115–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void rleNms( RLE *dt, siz n, uint *keep, double thr ) {
116 siz i, j; double u;
117 for( i=0; i<n; i++ ) keep[i]=1;
118 for( i=0; i<n; i++ ) if(keep[i]) {
119 for( j=i+1; j<n; j++ ) if(keep[j]) {
120 rleIou(dt+i,dt+j,1,1,0,&u);
121 if(u>thr) keep[j]=0;
122 }
123 }
124}
125
126void bbIou( BB dt, BB gt, siz m, siz n, byte *iscrowd, double *o ) {
127 double h, w, i, u, ga, da; siz g, d; int crowd;

Callers

nothing calls this directly

Calls 1

rleIouFunction · 0.85

Tested by

no test coverage detected