File size: 3,749 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
{
  "1": "Smooth interlobular septal thickenings in the lower lobes of both lungs",
  "finding_id": 2,
  "mask_stats": [
    {
      "z_span": [
        239,
        253
      ],
      "max_area_slice_index": 253,
      "bbox_xyxy": [
        360,
        260,
        422,
        373
      ],
      "max_area": 3750,
      "total_voxels": 33920,
      "num_slices_with_mask": 15,
      "entity_index": 0,
      "entity_value": 1,
      "selected_slices": [
        185,
        195,
        203,
        212,
        222,
        231,
        240,
        253,
        258,
        267,
        276,
        285,
        295,
        304,
        313,
        322
      ],
      "hit_slices": [
        240,
        253
      ],
      "hit_slices_info": {
        "240": {
          "area": 2065,
          "bbox_xyxy": [
            367,
            293,
            418,
            377
          ],
          "entity_value": 1,
          "used_fallback_union": false
        },
        "253": {
          "area": 3750,
          "bbox_xyxy": [
            360,
            260,
            422,
            373
          ],
          "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": [
        191,
        207
      ],
      "max_area_slice_index": 195,
      "bbox_xyxy": [
        103,
        318,
        210,
        369
      ],
      "max_area": 2983,
      "total_voxels": 37507,
      "num_slices_with_mask": 17,
      "entity_index": 1,
      "entity_value": 2,
      "selected_slices": [
        185,
        195,
        203,
        212,
        222,
        231,
        240,
        253,
        258,
        267,
        276,
        285,
        295,
        304,
        313,
        322
      ],
      "hit_slices": [
        195,
        203
      ],
      "hit_slices_info": {
        "195": {
          "area": 2983,
          "bbox_xyxy": [
            103,
            318,
            210,
            369
          ],
          "entity_value": 2,
          "used_fallback_union": false
        },
        "203": {
          "area": 2044,
          "bbox_xyxy": [
            111,
            335,
            205,
            367
          ],
          "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": "train_867_a_2.nii.gz",
    "split": "train"
  },
  "accepted_seeds": [
    {
      "mask_idx": 0,
      "seed_slice": 253,
      "max_area": 3750.0,
      "replaced_slice": 249
    },
    {
      "mask_idx": 1,
      "seed_slice": 195,
      "max_area": 2983.0,
      "replaced_slice": 194
    }
  ],
  "dropped_seeds": [],
  "export_summary": {
    "num_masks": 2,
    "hit_mask_count": 2,
    "is_hit_any": 1,
    "selected_slices": [
      185,
      195,
      203,
      212,
      222,
      231,
      240,
      253,
      258,
      267,
      276,
      285,
      295,
      304,
      313,
      322
    ],
    "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"
  }
}