Start code for hot pixel repleacement