demosaicing_v2(inpu​t,type)

Demosaicing function with multiple interpolation options

You are now following this Submission

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 .

Categories

Find more on Descriptive Statistics and Insights in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0