Joint demosaicking and zooming using moderate spectral correlation and consistent edge map

A reproducible implementation.
302 Downloads
Updated 28 Jul 2014

View License

This Matlab code package implements the Joint Demosaicking and Zooming algorithm which has been described in the following paper:
D. Zhou, W. Dong, and W. Chen; "Joint demosaicking and zooming using moderate spectral correlation and consistent edge map," J. Electron. Imaging, 23(4), 043010 (2014). doi:10.1117/1.JEI.23.4.043010.
It includes 18 functions:

bayerGR.m - Downsample an image according to the Bayer pattern
ACPIgreenH.m - Demosaick the green plane using ACPI
horzitontal direction interpolation
ACPIgreenV.m - Demosaick the green plane using ACPI
vertical direction interpolation
jointDDFWgreen.m - Demosaik the green plane and store the estimated edge
direction information in the directional matrix DM
DDFW_BG_diff - Demosaick the blue/green color difference plane
DDFW_RG_diff - Demosaick the red/green color difference plane
DDFW_refine_green - Refine the green plane
DDFW_refine_BG_diff - Refine the blue/green color difference plane
DDFW_refine_RG_diff - Refine the red/green color difference plane
DDFWweights.m - Compute the weights
jointDDFW - Demosaick a CFA mosaic image
zoomGreen - Zoom the green plane
zoomColorDiff - Zoom color difference planes
jointZoom - Zoom a color image by a factor of 2
jointDZ - Demosaick and zoom a CFA image
RoundImage.m - Round an image in the range 0~255
cpsnr_calc.m - Compute CPSNR
testJoint.m - test function for the joint demisaicking and zooming algorithm

4 folds includes:

Kodak - Original Kodak test images
McM - Original McMaster test images
K_results - Resulted images using the proposed algorithm on the Kodak set
M_results - Resulted images using the proposed algorithm on the McMaster set

To test our algorithm, you can simply run the test function: testJoint.

For further information, please contact: zdw@ncepu.edu.cn

Cite As

Dengwen Zhou (2024). Joint demosaicking and zooming using moderate spectral correlation and consistent edge map (https://www.mathworks.com/matlabcentral/fileexchange/47366-joint-demosaicking-and-zooming-using-moderate-spectral-correlation-and-consistent-edge-map), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

mofified the title of the submission.

1.0.0.0