conversions + LUTconversions + computing histogram