No BSD License  

Highlights from
Bilinear Interpolation

4.0

4.0 | 7 ratings Rate this file 28 Downloads (last 30 days) File Size: 1.57 KB File ID: #5219

Bilinear Interpolation

by

 

11 Jun 2004 (Updated )

Reconstruction of an RGB image.

| Watch this File

File Information
Description

In digital photography the red, green and blue values are not sampled at the same position. We can use demosaicing to reconstruct a "regular" RGB image.

This program is using bilinear interpolation for the reconstruction.

Required Products Image Processing Toolbox
MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (10)
26 Feb 2013 Meng  
25 Feb 2013 dd  
02 Nov 2011 FEI GUO

this code really helped me a lot~~Thx~

29 Sep 2009 Pratik Mehta

its good enough for understanding

16 Aug 2009 Jason JUEHAO

Thanks very much!
That will give me a great help to understand bilinear interpolation algorithm!
Keep moving!

01 Nov 2007 Tom Shih

Thanks very much

13 Aug 2007 jac ren

fine

09 Mar 2006 Marcelo Soto Thompson

Basic but efficient function! A similar function is part of the Image Acquisition Toolbox (which I haven't tried)

Just add a ";" to the line "R = R + R1 + R2"
or you'll end upp waiting forever. ;-)

Also, for larger images you might want to clear variables (im, B1, B2, R1, R2) along the function to avoid the omnipresent "Out of memory" errors.

09 Mar 2006 Marcelo Soto Thompson

Basic but efficient function! A similar function is part of the Image Acquisition Toolbox (which I haven't tried)

Just add a ";" to the line "R = R + R1 + R2
" or you'll end upp waiting forever. ;-)

Also, for larger images you might want to clear variables (im, B1, B2, R1, R2) along the function to avoid the omnipresent "Out of memory" errors.

14 Jun 2004 Paul Lee

Bi-linear interpolation is the most primitive demosaicing algorithm. Educational use is fine, but it is not suitable for high-end image processing.

Contact us