An Improved Face Recognition Algorithm Using Adjacent Pixel Intensity Difference Quantization