ENH: adding a command-line converter script

This feature was requested by Jayashree to support one of the QIN segmentation
challenges.