Searched refs:area_j (Results 1 – 5 of 5) sorted by relevance
49 const float area_j = 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()
385 const float area_j = (box_j.ymax - box_j.ymin) * (box_j.xmax - box_j.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()
400 const float area_j = (box_j.ymax - box_j.ymin) * (box_j.xmax - box_j.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()
124 const T area_j = (ymax_j - ymin_j) * (xmax_j - xmin_j); 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()
759 const float area_j = (ymax_j - ymin_j) * (xmax_j - xmin_j); in AddIoUInput() local762 if (area_i <= 0 || area_j <= 0) { in AddIoUInput()772 iou = intersection_area / (area_i + area_j - intersection_area); in AddIoUInput()