demosaicing_v2(inpu​t,type)

Demosaicing function with multiple interpolation options
487 Downloads
Updated 5 Jul 2017

View License

A replacement for the standard MATLAB demosaicing function, based on code from CFA Interpolation Detection by Leszek Swirski (Nov 30, 2009) which can be found here: https://www.cl.cam.ac.uk/teaching/0910/R08/work/essay-ls426-cfadetection.pdf
There are five options for interpolation: nearest neighbor, bilinear, smooth hue transition, median-filtered bilinear, and gradient-based.

Cite As

Jonathan Lin (2026). demosaicing_v2(input,type) (https://uk.mathworks.com/matlabcentral/fileexchange/63628-demosaicing_v2-input-type), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Descriptive Statistics in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0