Image processing for digital holography