according to an aspect of the present invention , when the cmos imaging element is out of control , the soft reset and the device reset which partially initialize the cmos imaging element are sequentially performed before the cmos imaging element is reset by stopping the power supply where it takes long before the cmos imaging element is restored . thus , when the cmos imaging element is restored to a normal state by one of the reset steps , the time to restore the cmos imaging element can be substantially reduced .