1] What is the basis of selecting the mode(mean, gradient) of dead pixel correction?
2] Why in Mean and Gradient correction method and in dead pixel detection


, the immediate adjacent pixel from adjacent row and adjacent column

is not considered? P1,P2,P3,P4,P5,P6,P7 and P8 are the pixel next to the adjacent pixel of the to-be-tested pixel.