Matlab implementation of BNP-FIRL.
Download the zipped code here and take a look at the README file inside.