Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 465 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 465 Bytes

8bits_16bits_image_convert

convert images between 8 bits and 16 bits with gamma transformation or piecewise linear transformation

Author: Zhang Zhihong

Email: z_zhi_hong@163.com

principle:

gamma transformation: using gamma transformation map to finish conversion

piecewise linear transformation: using truncation and linear transformation to finish conversion

usage:

change the input directory and output directory in the codes and run it.