File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ def median_filter(
114114
115115
116116def remove_outlier (
117- data : cp .ndarray , kernel_size : int = 3 , dif : float = 0.1
117+ data : cp .ndarray , kernel_size : int = 3 , dif : float = 1000
118118) -> cp .ndarray :
119119 """Selectively applies 3D median filter to a 3D CuPy array to remove outliers. Also called a dezinger.
120120 For more detailed information, see :ref:`method_outlier_removal`.
@@ -126,8 +126,8 @@ def remove_outlier(
126126 kernel_size : int, optional
127127 The size of the filter's kernel (a diameter).
128128 dif : float, optional
129- Expected difference value between outlier value and the
130- median value of the array .
129+ Expected difference value between the outlier value (central voxel) and the
130+ median value of the neighbourhood. Lower values lead to median filtering .
131131
132132 Returns
133133 -------
You can’t perform that action at this time.
0 commit comments