Redesign of ImgDiode