Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

padding

Extending an image's border with extra pixels so the kernel window doesn't run off the edge.

Padding extends an image with extra border pixels before filtering, using zero padding (assume 0), replicate padding (repeat the nearest edge pixel), reflect padding (mirror the image back across its edge), or periodic padding (wrap around); valid padding adds none at all, shrinking the output instead.

See also

Read the full section →
Graph settings

Calculator