You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functionfourier_filter_by_1D_RFT!(arr::TA, wins::AbstractVector; dims=(1:ndims(arr)), transform_win=false, kwargs...) where {T<:Real, N, TA<:AbstractArray{T, N}}
@@ -156,14 +158,22 @@ function fourier_filter_by_1D_RFT!(arr::TA, fct=window_gaussian; dims=(1:ndims(a
performs Gaussian filtering by multiplying a Gaussian function in Fourier space.
180
-
Note that this is not identical to the Fourier-transform of a real-space Gaussian, especially for small kernel sizes and small arrays.
190
+
Note that the argument `real_space_kernel` defines whether the Gaussian is computed in real or Fourier-space. Especially for small array sizes and small kernelsizes, the real-space version is preferred.
181
191
See also `filter_gaussian!()` and `fourier_filter()`.
182
192
183
193
#Arguments
184
194
+`arr`: the array to filter
185
195
+`sigma`: the real-space standard deviation to filter with. From this the Fourier-space standard deviation will be calculated.
196
+
+ `real_space_kernel`: if `true`, the separable Gaussians are computed in real space and then Fourier-transformed. The overhead is relatively small, but the result does not create fringes.
186
197
+`kwargs...`: additional arguments to be passed to `window_gaussian`, which is the underlying function from `IndexFunArray.jl`. This can be useful to create Fourier-shifted (Gabor-) filtering.
performs in-place Gaussian filtering by multiplying a Gaussian function in Fourier space.
196
-
Note that this is not identical to the Fourier-transform of a real-space Gaussian, especially for small kernel sizes and small arrays.
207
+
Note that the argument `real_space_kernel` defines whether the Gaussian is computed in real or Fourier-space. Especially for small array sizes and small kernelsizes, the real-space version is preferred.
197
208
See also `filter_gaussian()` adn `fourier_filter!()`.
198
209
199
210
#Arguments
200
211
+`arr`: the array to filter
201
212
+`sigma`: the real-space standard deviation to filter with. From this the Fourier-space standard deviation will be calculated.
213
+
+ `real_space_kernel`: if `true`, the separable Gaussians are computed in real space and then Fourier-transformed. The overhead is relatively small, but the result does not create fringes.
202
214
+`kwargs...`: additional arguments to be passed to `window_gaussian`, which is the underlying function from `IndexFunArray.jl`. This can be useful to create Fourier-shifted (Gabor-) filtering.
0 commit comments