Effective dynamic range measurement for a CCD in full-field industrial X-ray imaging applications