mldas.explore.prepare.mean_shift ¶
- mldas.explore.prepare. mean_shift ( data , loops = 1 ) [source] ¶
-
Shit all values from input 2D array to match mean value of 0.5.
- Parameters
-
-
data
numpy.ndarray
-
Input 2D image
-
loops
int
-
Number of iteration of algorithm
-
data
- Returns
-
-
data
numpy.ndarray
-
Modified 2D data
-
data