neuralib.imglib.norm.normalize_sequences
- neuralib.imglib.norm.normalize_sequences(frames, handle_invalid=True, gamma_correction=False, gamma_value=0.5, to_8bit=False)[source]
Do the normalization for the image sequences
- Parameters:
frames (list[ndarray] | ndarray) – list of image array
handle_invalid (bool) – handle Nan and negative value
gamma_correction (bool) – to the gamma correction
gamma_value (float) – gamma correction value
to_8bit (bool) – to 8bit images
- Returns:
list of normalized image array
- Return type:
list[ndarray]