added command line option to omit a bad pixel