filter_kernels: link to explanation of ginseng filter

This commit is contained in:
Kacper Michajłow 2024-10-13 19:46:21 +02:00
parent 198f2e7451
commit 742142ca92
1 changed files with 1 additions and 0 deletions

View File

@ -365,6 +365,7 @@ const struct filter_kernel mp_filter_kernels[] = {
{{SCALER_JINC, JINC_R3, jinc, .resizable = true}, .polar = true}, {{SCALER_JINC, JINC_R3, jinc, .resizable = true}, .polar = true},
{{SCALER_EWA_LANCZOS, JINC_R3, jinc, .resizable = true}, .polar = true, .window = WINDOW_JINC}, {{SCALER_EWA_LANCZOS, JINC_R3, jinc, .resizable = true}, .polar = true, .window = WINDOW_JINC},
{{SCALER_EWA_HANNING, JINC_R3, jinc, .resizable = true}, .polar = true, .window = WINDOW_HANNING}, {{SCALER_EWA_HANNING, JINC_R3, jinc, .resizable = true}, .polar = true, .window = WINDOW_HANNING},
// See <https://legacy.imagemagick.org/Usage/filter/nicolas/#upsampling>
{{SCALER_EWA_GINSENG, JINC_R3, jinc, .resizable = true}, .polar = true, .window = WINDOW_SINC}, {{SCALER_EWA_GINSENG, JINC_R3, jinc, .resizable = true}, .polar = true, .window = WINDOW_SINC},
// Slightly sharpened to minimize the 1D step response error (to better // Slightly sharpened to minimize the 1D step response error (to better
// preserve horizontal/vertical lines) // preserve horizontal/vertical lines)