neuralset.extractors.image.RFFT2D¶
- pydantic model neuralset.extractors.image.RFFT2D[source][source]¶
(Cropped) 2D Fourier spectrum of an image of real values.
- Parameters:
n_components_to_keep – Number of components of the FFT to keep, starting from low frequencies and moving towards higher frequencies. If None, use all components.
average_channels – If True, average RGB channels before taking the FFT (to reduce dimensionality).
return_log_psd – If True, return the flattened log PSD instead of the “viewed-as-real” complex FFT.
return_angle – If True, return the flattened angle. Can be combined with the log PSD.
- Fields: