spectral_unmixing.match_histograms_across_timeο
- spectral_unmixing.match_histograms_across_time(stack, *, reference_t=0)[source]ο
Match each time point to a reference time point using per-channel histogram matching.
- Parameters:
stack (array-like) β Input stack in canonical
TZCYXorder.reference_t (int, optional) β Reference time point used for histogram matching. Default is
0.
- Return type:
ndarray- Returns:
np.ndarray β Histogram-matched stack with the same
TZCYXshape as the input.
Notes
Matching is performed independently for each channel. If
Z > 1, the fullZYXvolume of each time point is matched to the corresponding reference volume of the same channel.