add batch-mode stack processing
(1) adjust the width calculation algorithm
(2) add the output image resolution control and fix the image sizes
% run after the CT-FIRE main program generate the csv files for
% width,length,angle, and straightness
% to visualize properties of each fiber  and remove oversegmented fibers, selective output
% based on the absolute thresholds or relative percentages for a single
% image/stack or multiple images
%%July, 2014: This advanced output feature was mainly conceived by Y. Liu, G. Metha,and J. Bredfeldt
% implemented by  Guneet Singh Mehta, optimized and integrated into the main program by Y. Liu
% LOCI, UW-Madison
Merge branch 'mask' of https://github.com/uw-loci/curvelets into mask