Patent ID: 8588541

Claim:
A system for providing an adjusted image of a scene from a blurred captured image, the system comprising: a control system including a processor, wherein the control system creates a downsampled blurred image from the blurred captured image, deblurs the downsampled blurred image to create a downsampled deblurred image, and upsamples the downsampled deblurred image to create the adjusted image, using a joint bilateral filter that combines information from the blurred captured image and the downsampled deblurred image; wherein the joint bilateral filter can be expressed as follows: S ⁡ ( x ❘ S d ⁡ ( x ↓ ) ; B ) = 1 C ⁡ ( X ) ⁢ ∑ x ′ ↓ ∈ N ⁡ ( x ↓ ) ⁢ G spatil_distance ⁡ ( x ↓ - x ′ ↓ ) ⁢ G Intensity_distance ⁡ ( B ⁡ ( x ) - B ⁡ ( x ′ ) ) * S d ⁡ ( x ′ ↓ ) wherein (i) B is the captured image; (ii) Sd is downsampled deblurred image; (iii) S is the final, adjusted image; (iv) C is a normalization coefficient; (v) N(x) is a small neighborhood of a pixel x; (vi) G is a Gaussian function; (vii) x denotes the pixel coordinate in the upsampled adjusted image; (viii) x′ denotes a neighboring pixel to pixel x; and (ix) x↓, x′↓ denote the corresponding coordinates in the downsampled deblurr image Sd.