---
title: "Discussion on \"Convolution from Scratch: Math, Images, and Kernels\" | Hashnode"
description: "Discussion on \"Convolution from Scratch: Math, Images, and Kernels\". 1. Introduction\nConvolution is a mathematical operation that takes two inputs and produces a third. One input is the signal, the data we want to transform. The other is the kernel (also called a filte"
url: "https://hashnode.com/posts/convolution-from-scratch-math-images-and-kernels/6a1c1d5999cfcad53bb24912"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Convolution from Scratch: Math, Images, and Kernels](https://blog.amitkarnam.com/convolution-from-scratch-math-images-and-kernels?utm_source=hashnode&utm_medium=feed)

1\. Introduction Convolution is a mathematical operation that takes two inputs and produces a third. One input is the signal, the data we want to transform. The other is the kernel (also called a filte

May 31 · 14 min read · blog.amitkarnam.com  
Read the article

## Written by

[Amit Karnam](https://hashnode.com/@Amit02)

@Amit02 · Banglore

  
[View profile](https://hashnode.com/@Amit02)

## Responses 1

Markdown supported · ⌘↵ to post

[for IT the](https://hashnode.com/@forict99)

[May 31](https://hashnode.com/posts/convolution-from-scratch-math-images-and-kernels/6a1c1d5999cfcad53bb24912/comment/6a1c3ffb3cea4d94fbf48ca1)

Really well-structured walkthrough — the progression from continuous to discrete convolution before jumping into image kernels is exactly the right order to build intuition. The explanation of why odd-sized kernels are necessary (clean center pixel, symmetric padding) is something most tutorials skip entirely. One thing I found particularly valuable is the note on Laplacian of Gaussian (LoG) — the fact that the second derivative amplifies noise is a detail that only clicks after you've seen the Laplacian fire on texture regions you didn't expect. The NumPy implementation makes it very concrete too. Looking forward to the next part of the Computer Vision series — curious if you'll cover how learned kernels in CNNs relate back to these hand-crafted ones like Sobel and Laplacian.
