pwelch2
Version 1.0.6 (2.07 KB) by
Andrea Arcangeli
This function implements a 2D WOSA Power Spectral Density estimator.
Function that implements the WOSA estimator in 2 dimensions
Input parameters:
- image: image of which to estimate the PSD.
- window_size: window size, can be an integer or a vector, if window_size is an integer the window used is square window_size * window_size, otherwise if window_size is a row vector the window is rectangular with width = window_size(1, 2) and height = window_size(1, 1)
- overlap: overlap level of windows (0 <= overlap < 1)
- window_handle: is the handle to the function for creating the window used to select the segments on which to estimate the PSD using the periodogram, an example is:
eg.: window_handle = @(x) rectwin(x)
to use a rectangular window
eg.: window_handle = @(x) hamming(x)
to use a Hamming window
Output
- [WOSA] : PSD estimated with 2D WOSA estimator
Cite As
Andrea Arcangeli (2026). pwelch2 (https://www.mathworks.com/matlabcentral/fileexchange/108894-pwelch2), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.6 | Bug fixed:
|
||
| 1.0.5 | - Added: WOSA normalized by window's energy |
||
| 1.0.4 | - Bug fixed: dimensions of fft2 fixed |
||
| 1.0.3 | - Bug fixed: image width W and image height H, lines 23 and 24 |
||
| 1.0.2 | With english comments |
||
| 1.0.1 | Comments translated |
||
| 1.0.0 |
