Classes | Functions
box.c File Reference
#include "box.h"
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
Include dependency graph for box.c:

Go to the source code of this file.

Classes

struct  sortable_bbox

Functions

float box_intersection (box a, box b)
float box_iou (box a, box b)
float box_rmse (box a, box b)
float box_union (box a, box b)
box decode_box (box b, box anchor)
dbox derivative (box a, box b)
dbox dintersect (box a, box b)
dbox diou (box a, box b)
void do_nms (box *boxes, float **probs, int total, int classes, float thresh)
void do_nms_sort (box *boxes, float **probs, int total, int classes, float thresh)
dbox dunion (box a, box b)
box encode_box (box b, box anchor)
box float_to_box (float *f)
int nms_comparator (const void *pa, const void *pb)
float overlap (float x1, float w1, float x2, float w2)
void test_box ()
void test_dintersect ()
void test_dunion ()

Function Documentation

float box_intersection ( box  a,
box  b 
)

Definition at line 78 of file box.c.

float box_iou ( box  a,
box  b 
)

Definition at line 94 of file box.c.

float box_rmse ( box  a,
box  b 
)

Definition at line 99 of file box.c.

float box_union ( box  a,
box  b 
)

Definition at line 87 of file box.c.

box decode_box ( box  b,
box  anchor 
)

Definition at line 309 of file box.c.

dbox derivative ( box  a,
box  b 
)

Definition at line 16 of file box.c.

dbox dintersect ( box  a,
box  b 
)

Definition at line 107 of file box.c.

dbox diou ( box  a,
box  b 
)

Definition at line 210 of file box.c.

void do_nms ( box boxes,
float **  probs,
int  total,
int  classes,
float  thresh 
)

Definition at line 279 of file box.c.

void do_nms_sort ( box boxes,
float **  probs,
int  total,
int  classes,
float  thresh 
)

Definition at line 249 of file box.c.

dbox dunion ( box  a,
box  b 
)

Definition at line 122 of file box.c.

box encode_box ( box  b,
box  anchor 
)

Definition at line 299 of file box.c.

box float_to_box ( float *  f)

Definition at line 6 of file box.c.

int nms_comparator ( const void *  pa,
const void *  pb 
)

Definition at line 239 of file box.c.

float overlap ( float  x1,
float  w1,
float  x2,
float  w2 
)

Definition at line 67 of file box.c.

void test_box ( )

Definition at line 181 of file box.c.

void test_dintersect ( )

Definition at line 158 of file box.c.

void test_dunion ( )

Definition at line 136 of file box.c.



rail_object_detector
Author(s):
autogenerated on Sat Jun 8 2019 20:26:31