now BuildHDR support greyscale images.