convert images between 8 bits and 16 bits with gamma transformation or piecewise linear transformation
Author: Zhang Zhihong
Email: z_zhi_hong@163.com
gamma transformation: using gamma transformation map to finish conversion
piecewise linear transformation: using truncation and linear transformation to finish conversion
change the input directory and output directory in the codes and run it.