MATLAB implementation of the Paper: Optical Power Measurement using Image Processing Techniques Paper
There are two files.
blur.m
is used to measure the blur percentage between the given image and the referenced image
compare.m
is used to compare our method of blur measurement to other methods
You may use sum(I_bw(:)==0)
to calculate the number of black pixels.
The following graphs demonstrate the developed equations:
You may also use our proposed method of blur measurement to measure the blur percentage for any image you wish. Below is the results of our method applied on other images.