Updated documentation and exposed binary image threshold to command line.
Updated documentation.