Essential Principles of Image Sensors