Searched refs:area_i (Results 1 – 3 of 3) sorted by relevance
353 const float area_i = (box_i.ymax - box_i.ymin) * (box_i.xmax - box_i.xmin); in ComputeIntersectionOverUnion() local355 if (area_i <= 0 || area_j <= 0) return 0.0; in ComputeIntersectionOverUnion()363 return intersection_area / (area_i + area_j - intersection_area); in ComputeIntersectionOverUnion()
117 const T area_i = (ymax_i - ymin_i) * (xmax_i - xmin_i); in IOUGreaterThanThreshold() local119 if (area_i <= static_cast<T>(0) || area_j <= static_cast<T>(0)) return 0; in IOUGreaterThanThreshold()127 const T iou = intersection_area / (area_i + area_j - intersection_area); in IOUGreaterThanThreshold()
672 const float area_i = (ymax_i - ymin_i) * (xmax_i - xmin_i); in AddIoUInput() local676 if (area_i <= 0 || area_j <= 0) { in AddIoUInput()686 iou = intersection_area / (area_i + area_j - intersection_area); in AddIoUInput()