Datasets:

ArXiv:
File size: 469 Bytes
b4d7ac8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17



from light_training.preprocessing.normalization.default_normalization_schemes import CTNormalization, CTNormStandard


## need to custom, this example is about Segrap competition.
def norm_func(data, seg=None, **kwargs):
    normalizer = CTNormStandard(a_min=-175, 
                                    a_max=250, 
                                    b_min=0.0,
                                    b_max=1.0, clip=True)

    data = normalizer(data)

    return data