Searched refs:area_j (Results 1 – 3 of 3) sorted by relevance
354 const float area_j = (box_j.ymax - box_j.ymin) * (box_j.xmax - box_j.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()
118 const T area_j = (ymax_j - ymin_j) * (xmax_j - xmin_j); 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()
673 const float area_j = (ymax_j - ymin_j) * (xmax_j - xmin_j); in AddIoUInput() local676 if (area_i <= 0 || area_j <= 0) { in AddIoUInput()686 iou = intersection_area / (area_i + area_j - intersection_area); in AddIoUInput()