opencv implementation of the following paper:
"Multiscale patch-based contrast measure for small infrared target detection"
If you are using this code in your researches, kindly cite the following paper:
The code is implemented using OpenCV 3.4 in Ubuntu 18.04 environment. It is not tested for other OpenCV versions, but it should work.
Build OpenCV from source (if you want to enable QT option to zoom on images and see the pixels value), or just simply use the following command in terminal:
$ sudo apt install libopencv-dev python3-opencv