We are currently trying to apply for a patent. So the version here doesn't include the one-class learning part. But it should be working fine for most datasets.
example.m shows how to use this program.
If you encounter any issues or have any problems, please send an email to lyang5@nd.edu.
If you use this method in your paper. Please cite: Yang, L., Zhang, Y., Guldner, I.H., Zhang, S., Chen, D.Z.: Fast background removal in 3D fluorescence microscopy images using one-class learning. In: Navab, N., Hornegger, J., Wells, W.M., Frangi, A.F. (eds.) MICCAI 2015, Part III. LNCS, vol. 9351, pp. 292-299. Springer (2015)