Searched refs:area_i (Results 1 – 5 of 5) sorted by relevance
47 const float area_i = in ComputeIntersectionOverUnion() local51 if (area_i <= 0 || area_j <= 0) return 0.0; in ComputeIntersectionOverUnion()59 return intersection_area / (area_i + area_j - intersection_area); in ComputeIntersectionOverUnion()
384 const float area_i = (box_i.ymax - box_i.ymin) * (box_i.xmax - box_i.xmin); in ComputeIntersectionOverUnion() local386 if (area_i <= 0 || area_j <= 0) return 0.0; in ComputeIntersectionOverUnion()394 return intersection_area / (area_i + area_j - intersection_area); in ComputeIntersectionOverUnion()
399 const float area_i = (box_i.ymax - box_i.ymin) * (box_i.xmax - box_i.xmin); in ComputeIntersectionOverUnion() local401 if (area_i <= 0 || area_j <= 0) return 0.0; in ComputeIntersectionOverUnion()409 return intersection_area / (area_i + area_j - intersection_area); in ComputeIntersectionOverUnion()
123 const T area_i = (ymax_i - ymin_i) * (xmax_i - xmin_i); in IOU() local125 if (area_i <= static_cast<T>(0) || area_j <= static_cast<T>(0)) { in IOU()135 return intersection_area / (area_i + area_j - intersection_area); in IOU()
758 const float area_i = (ymax_i - ymin_i) * (xmax_i - xmin_i); in AddIoUInput() local762 if (area_i <= 0 || area_j <= 0) { in AddIoUInput()772 iou = intersection_area / (area_i + area_j - intersection_area); in AddIoUInput()