add some method
add method buildLUT
add method applyLUT