File size: 4,449 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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
{
  "1": "Subcentimeter nonspecific parenchymal nodules in both lungs",
  "finding_id": 0,
  "mask_stats": [
    {
      "z_span": [
        106,
        108
      ],
      "max_area_slice_index": 106,
      "bbox_xyxy": [
        110,
        242,
        116,
        249
      ],
      "max_area": 48,
      "total_voxels": 134,
      "num_slices_with_mask": 3,
      "entity_index": 0,
      "entity_value": 1,
      "selected_slices": [
        39,
        48,
        57,
        66,
        75,
        84,
        93,
        106,
        111,
        116,
        129,
        138,
        147,
        156,
        161,
        174
      ],
      "hit_slices": [
        106
      ],
      "hit_slices_info": {
        "106": {
          "area": 48,
          "bbox_xyxy": [
            110,
            242,
            116,
            249
          ],
          "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": [
        115,
        117
      ],
      "max_area_slice_index": 116,
      "bbox_xyxy": [
        144,
        201,
        152,
        209
      ],
      "max_area": 60,
      "total_voxels": 171,
      "num_slices_with_mask": 3,
      "entity_index": 1,
      "entity_value": 2,
      "selected_slices": [
        39,
        48,
        57,
        66,
        75,
        84,
        93,
        106,
        111,
        116,
        129,
        138,
        147,
        156,
        161,
        174
      ],
      "hit_slices": [
        116
      ],
      "hit_slices_info": {
        "116": {
          "area": 60,
          "bbox_xyxy": [
            144,
            201,
            152,
            209
          ],
          "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"
    },
    {
      "z_span": [
        159,
        162
      ],
      "max_area_slice_index": 161,
      "bbox_xyxy": [
        395,
        217,
        402,
        225
      ],
      "max_area": 61,
      "total_voxels": 209,
      "num_slices_with_mask": 4,
      "entity_index": 2,
      "entity_value": 3,
      "selected_slices": [
        39,
        48,
        57,
        66,
        75,
        84,
        93,
        106,
        111,
        116,
        129,
        138,
        147,
        156,
        161,
        174
      ],
      "hit_slices": [
        161
      ],
      "hit_slices_info": {
        "161": {
          "area": 61,
          "bbox_xyxy": [
            395,
            217,
            402,
            225
          ],
          "entity_value": 3,
          "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": "train_11236_a_1.nii.gz",
    "split": "train"
  },
  "accepted_seeds": [
    {
      "mask_idx": 2,
      "seed_slice": 161,
      "max_area": 61.0,
      "replaced_slice": 165
    },
    {
      "mask_idx": 1,
      "seed_slice": 116,
      "max_area": 60.0,
      "replaced_slice": 120
    },
    {
      "mask_idx": 0,
      "seed_slice": 106,
      "max_area": 48.0,
      "replaced_slice": 102
    }
  ],
  "dropped_seeds": [],
  "export_summary": {
    "num_masks": 3,
    "hit_mask_count": 3,
    "is_hit_any": 1,
    "selected_slices": [
      39,
      48,
      57,
      66,
      75,
      84,
      93,
      106,
      111,
      116,
      129,
      138,
      147,
      156,
      161,
      174
    ],
    "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"
  }
}