{
  "name": "Teapot_7641732252ad47a5af0828d4f471338b",
  "root_name": "Teapot",
  "gt_part_count": 4,
  "gt_part_names": [
    "Body",
    "Spout",
    "Lid",
    "Handle"
  ],
  "scores": {
    "sam": 0.3692307695746422,
    "kmeans": 0.7954727560281754,
    "cosine": 0.7954727560281754,
    "ot_noedge": 0.537921629846096,
    "ot_edge": 0.586490772664547
  },
  "match_details": {
    "sam": [
      {
        "gt_label": 1,
        "pred_label": 3,
        "iou": 0.4769230782985687
      },
      {
        "gt_label": 2,
        "pred_label": 1,
        "iou": 1.0
      },
      {
        "gt_label": 3,
        "pred_label": null,
        "iou": 0.0
      },
      {
        "gt_label": 4,
        "pred_label": null,
        "iou": 0.0
      }
    ],
    "kmeans": [
      {
        "gt_label": 1,
        "pred_label": 1,
        "iou": 0.90625
      },
      {
        "gt_label": 2,
        "pred_label": 4,
        "iou": 0.5833333134651184
      },
      {
        "gt_label": 3,
        "pred_label": 3,
        "iou": 0.692307710647583
      },
      {
        "gt_label": 4,
        "pred_label": 2,
        "iou": 1.0
      }
    ],
    "cosine": [
      {
        "gt_label": 1,
        "pred_label": 1,
        "iou": 0.90625
      },
      {
        "gt_label": 2,
        "pred_label": 4,
        "iou": 0.5833333134651184
      },
      {
        "gt_label": 3,
        "pred_label": 3,
        "iou": 0.692307710647583
      },
      {
        "gt_label": 4,
        "pred_label": 2,
        "iou": 1.0
      }
    ],
    "ot_noedge": [
      {
        "gt_label": 1,
        "pred_label": 1,
        "iou": 0.59375
      },
      {
        "gt_label": 2,
        "pred_label": 4,
        "iou": 0.46666666865348816
      },
      {
        "gt_label": 3,
        "pred_label": 3,
        "iou": 0.5357142686843872
      },
      {
        "gt_label": 4,
        "pred_label": 2,
        "iou": 0.5555555820465088
      }
    ],
    "ot_edge": [
      {
        "gt_label": 1,
        "pred_label": 1,
        "iou": 0.78125
      },
      {
        "gt_label": 2,
        "pred_label": 4,
        "iou": 0.3888888955116272
      },
      {
        "gt_label": 3,
        "pred_label": 3,
        "iou": 0.4615384638309479
      },
      {
        "gt_label": 4,
        "pred_label": 2,
        "iou": 0.7142857313156128
      }
    ]
  },
  "best_method": "kmeans",
  "best_score": 0.7954727560281754,
  "gallery": [
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/comparison_grid.png",
      "caption": "GT / SAM / KMeans / OT comparison grid"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/input.png",
      "caption": "Rendered input image"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/gt_overlay_full.png",
      "caption": "GT mask overlay"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/sam_overlay.png",
      "caption": "sam overlay (matched IoU=0.369)"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/sam_boundary_overlay.png",
      "caption": "sam boundary-only overlay"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/sam_refined_overlay.png",
      "caption": "sam watershed-refined overlay"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/kmeans_overlay.png",
      "caption": "kmeans overlay (matched IoU=0.795)"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/kmeans_boundary_overlay.png",
      "caption": "kmeans boundary-only overlay"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/kmeans_refined_overlay.png",
      "caption": "kmeans watershed-refined overlay"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/cosine_overlay.png",
      "caption": "cosine overlay (matched IoU=0.795)"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/cosine_boundary_overlay.png",
      "caption": "cosine boundary-only overlay"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/cosine_refined_overlay.png",
      "caption": "cosine watershed-refined overlay"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/ot_noedge_overlay.png",
      "caption": "ot_noedge overlay (matched IoU=0.538)"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/ot_noedge_boundary_overlay.png",
      "caption": "ot_noedge boundary-only overlay"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/ot_noedge_refined_overlay.png",
      "caption": "ot_noedge watershed-refined overlay"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/ot_edge_overlay.png",
      "caption": "ot_edge overlay (matched IoU=0.586)"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/ot_edge_boundary_overlay.png",
      "caption": "ot_edge boundary-only overlay"
    },
    {
      "image": "assets/Teapot_7641732252ad47a5af0828d4f471338b/ot_edge_refined_overlay.png",
      "caption": "ot_edge watershed-refined overlay"
    }
  ]
}