demosaicing_v2(input,type)
Version 1.0.0.0 (2.66 KB) by
Jonathan Lin
Demosaicing function with multiple interpolation options
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 LinuxCategories
Find more on Descriptive Statistics in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
