File size: 3,188 Bytes
eb2c013
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
  "1": "Nodular lesions in bilateral lungs",
  "finding_id": 1,
  "mask_stats": [
    {
      "z_span": [
        69,
        71
      ],
      "max_area_slice_index": 69,
      "bbox_xyxy": [
        401,
        273,
        409,
        281
      ],
      "max_area": 67,
      "total_voxels": 153,
      "num_slices_with_mask": 3,
      "entity_index": 0,
      "entity_value": 1,
      "selected_slices": [
        37,
        46,
        55,
        64,
        69,
        79,
        91,
        100,
        108,
        117,
        126,
        135,
        144,
        153,
        162,
        171
      ],
      "hit_slices": [
        69
      ],
      "hit_slices_info": {
        "69": {
          "area": 67,
          "bbox_xyxy": [
            401,
            273,
            409,
            281
          ],
          "entity_value": 1,
          "used_fallback_union": false
        }
      },
      "is_hit": 1,
      "export_source_csv": "/home/deeplearning/data/data2/wzc/LLM4SAM/Final_data_process_pipeline/data/ct_data_ori_npy_multi_finding/retrieval_by_mask_results_train_even_spacing/report_multi_mask_even_spacing_maxE3_ratio0.9_smooth9_minGap1.csv"
    },
    {
      "z_span": [
        77,
        83
      ],
      "max_area_slice_index": 79,
      "bbox_xyxy": [
        165,
        342,
        181,
        358
      ],
      "max_area": 213,
      "total_voxels": 1227,
      "num_slices_with_mask": 7,
      "entity_index": 1,
      "entity_value": 2,
      "selected_slices": [
        37,
        46,
        55,
        64,
        69,
        79,
        91,
        100,
        108,
        117,
        126,
        135,
        144,
        153,
        162,
        171
      ],
      "hit_slices": [
        79
      ],
      "hit_slices_info": {
        "79": {
          "area": 213,
          "bbox_xyxy": [
            165,
            342,
            181,
            358
          ],
          "entity_value": 2,
          "used_fallback_union": false
        }
      },
      "is_hit": 1,
      "export_source_csv": "/home/deeplearning/data/data2/wzc/LLM4SAM/Final_data_process_pipeline/data/ct_data_ori_npy_multi_finding/retrieval_by_mask_results_train_even_spacing/report_multi_mask_even_spacing_maxE3_ratio0.9_smooth9_minGap1.csv"
    }
  ],
  "meta": {
    "case": "valid_1016_c_1.nii.gz",
    "split": "train"
  },
  "accepted_seeds": [
    {
      "mask_idx": 1,
      "seed_slice": 79,
      "max_area": 213.0,
      "replaced_slice": 82
    },
    {
      "mask_idx": 0,
      "seed_slice": 69,
      "max_area": 67.0,
      "replaced_slice": 73
    }
  ],
  "dropped_seeds": [],
  "export_summary": {
    "num_masks": 2,
    "hit_mask_count": 2,
    "is_hit_any": 1,
    "selected_slices": [
      37,
      46,
      55,
      64,
      69,
      79,
      91,
      100,
      108,
      117,
      126,
      135,
      144,
      153,
      162,
      171
    ],
    "export_source_csv": "/home/deeplearning/data/data2/wzc/LLM4SAM/Final_data_process_pipeline/data/ct_data_ori_npy_multi_finding/retrieval_by_mask_results_train_even_spacing/report_multi_mask_even_spacing_maxE3_ratio0.9_smooth9_minGap1.csv"
  }
}