Creating a Pixelating Effect in Images using MATLAB

Anish Sachdeva
1 min readJul 9, 2020

Pixel art has grown popular these days and can be used for creating funky looking profile pictures.

A MATLAB function that takes an image as input and converts it into a pixelated image with bluring 2w + 1 -by- 2w + 1 grids in the image. (Parameter w) is as follows.

This gives the following results:

The clasic Computer Vision Lenna Image undergone pixelation with parameter w=3
The Surface Studio Owl image pixellated with parameter w=21
The Surface Studio Stock image with parameter w=33

--

--