If you have a newer model, the reset button is now located on the back of the camera so you no longer have to open the casing.
To reset the camera you simply need to insert a pin into the small hole on the back of the camera while it is powered on. Quickly press the button inside and the camera will reboot with factory default settings.