ex09_window_functions

This example compares all 53 unique BLEND window implementations through the three-dimensional merging weights generated by merge3d. The same function is used along x, y, and z with a symmetric taper ratio of 0.49.

The primary occupies x/y = 16/84 and z = 20/80 inside the full -R0/100/0/100 -T0/100/2 output volume. Each mergefile uses the form:

primary secondary - - function/function/function 0.49
secondary - - - - -

The figures show horizontal sections at z = 50 and vertical sections at y = 50. The dashed orange outlines mark the primary support in each view. All panels use the same scale, support, spacing, and taper ratio so that only the window function changes.

The first horizontal and vertical figure pair includes:

boxcar          cosine          trapezoid       hamming          blackman
blackmanharris  welch           parzen          gaussian         smoothstep
smootherstep    exponential     sine            bohman           nuttall
kaiser          cauchy          quadratic       cubic            bartlett
bartletthann    lanczos         hanningpoisson  plancktaper      logistic

The remaining figure pair includes:

poisson               exactblackman    blackmannuttall       flattop      riesz
riemann               fejer            connes                kaiserbessel quartic
quintic               septic           nonic                 tanh         erf
arctan                gompertz         softsign              agnesi       inversequadratic
inversemultiquadric   powerlaw         root                  circular     sech
sech2                 student          laplace

Several additional BLEND names are aliases. For example, hann and tukey select the cosine implementation, linear selects trapezoid, and barthann selects Bartlett-Hann.

Run:

./ex09_window_functions.sh

The script verifies that every plotted section contains no missing nodes and that every weight remains between zero and one. It creates:

  • ex09_window_functions_horizontal.png and ex09_window_functions_horizontal.pdf

  • ex09_window_functions_horizontal_remaining.png and ex09_window_functions_horizontal_remaining.pdf

  • ex09_window_functions_vertical.png and ex09_window_functions_vertical.pdf

  • ex09_window_functions_vertical_remaining.png and ex09_window_functions_vertical_remaining.pdf

Figures

ex09_window_functions ex09_window_functions ex09_window_functions ex09_window_functions

Downloads