Basic implementation of Frosted Glass effect in C++ (without OpenCV)


Fig. 1 Input image

Fig. 2 Output image with frosted glass effect

Build and Run instructions

Have prepared basic sh files with necessary commands. To build the code run:

sh ./

The above command will generate frosted_test executable.

To run the code run:

sh ./

The above command will read Flower.raw and apply the frosted-effect on it, producing Flower_frosted.raw as an output.


  1. I have tested the code on windows hence the has program extension as *.exe*, this may require change based on the operating system on which the code is tested.
  2. To view raw images one can use Viewer n5


View Github