Add a program to compute soft masks using orthogonal images.
main program for computing soft masks.