Patent Document ID: 20140193093
Application ID: 14131979
Patent Status: 0

Claim One:
1. A method for enhancing image quality, said method comprising acts of: obtaining an image; performing an adaptive weighted median filtering operation on each pixel of the obtained image to output an intermediary image by removing impulse noise, wherein performing the adaptive weighted median filtering operation comprises: selecting a pixel value of the obtained image; forming a window using all adjacent pixels around the selected pixel value; determining a pixel with maximum value and a pixel with minimum value in the window; comparing value of the selected pixel with the minimum pixel value and the maximum pixel value; increasing size of the window by including all pixels adjacent to the window until the selected pixel value is determined to be within minimum and maximum pixel value of the window; and upon determining the selected pixel value to be within the minimum and the maximum pixel value, performing: determining a median of the window of the obtained image; determining weight of the median to obtain weighted median value; and determining an intermediate image using the obtained weighted median value; and performing a guided image filtering operation on the intermediary image to output a final image with enhanced contrast and preserved edges of the image.