This software implements the factorization-based segmentation algorithm, which is described in
J. Yuan, D. L. Wang, and A. M. Cheriyadat. Factorization-based texture segmentation. IEEE Transactions on Image Processing, 2015.
A Python version is also available at here.
To run the code, you need Matlab with image processing tool box and mex is configured correctly (type mex -setup in the matlab prompt).
Run the following commands in the matlab prompt. This only needs to be done once.
mex SHcomp.c
mex SHedge_1s.c
Run demoFctSeg.m. This segments an aerial image.