Menu

Module providing common Brain MRI Augmentation Methods for PyTorch.

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.

brainrise.hist.get_largest_mode(arr)[source]ΒΆ

Computes the largest (reliable) peak in the histogram.

Parameters

arr : array

the input data.

Returns

largest_peak : int

index of the largest peak.

Follow us

© 2023, brainrise developers