a method of defective pixel address detection for an image sensor . the method comprises comparing a defective pixel address with a sensor address ; outputting a defective pixel flag if the sensor address is equal to the defective pixel address ; increasing an index by one ; increasing the index by one if the sensor address is larger than the defective pixel address and the index value is not equal to zero , otherwise performing a following step ; increasing the index by one if the sensor address is larger than the defective pixel address and the index value is equal to zero and a frame begins , otherwise performing a following step ; comparing the defective pixel address with an empty signature ; increasing the index by one if the defective pixel address is equal to the empty signature ; and returning to the beginning step if the defective pixel address is not equal to the empty signature .