Federico Perazzi, Philipp Krähenbül, Yael Pritch, Alexander Hornung. Saliency Filters: Contrast Based Filtering for Salient Region Detection. IEEE CVPR, Providence, Rhode Island, USA, June 16-21, 2012.
https://graphics.ethz.ch/~perazzif/saliency_filters/
These codes are not implemented by me. They are from the paper's author. However, the original codes are implemented under linux. I put all these codes together and compile them under windows 7.
The files in Source folder are the visual studio 2015 complete project. The files in EXE are the executable code. You can drag the input image onto the .exe and wait, the saliency map will pop out.
Installation: Windows 7 + OpenCV 2.4.9 + Visual Studio 2015.
Run in command line:
SaliencyFilters.exe 0098.jpg