Colour demosaicking with directional filtering and weighting
This Matlab code package implements the color demosaicking algorithm which has been described in the following paper:
D. Zhou, X. Shen, and W. Dong,
Colour demosaicking with directional filtering and weighting,
IET Image Processing, Vol. 6, No. 8, pp. 1084–1092, 2012.
It includes 14 functions:
ACPIgreenH.m - Demosaicking the green components using ACPI
horzitontal direction interpolation
ACPIgreenV.m - Demosaicking the green component using ACPI
vertical direction interpolation
bayerGR.m - Downsample an image according to the Bayer
pattern
DDFW.m - Demosaicking using directional filtering and
weighting
DDFWgreen.m - Demosaick the green components
DDFWred.m - Demosaick the red component
DDFWblue.m - Demosaick the blue component
DDFW_refine_green.m - Refine the green component
DDFW_refine_red.m - Refine the red component
DDFW_refine_blue.m - Refine the blue component
DDFWweights.m - Compute the weights
RoundImage.m - Round an image in the range 0~255
cpsnr_calc.m - Compute CPSNR
test.m - test function for the demisaicking algorithm
The fold original_images includes the all original images used in the paper, and the fold resulted_images is used to save the resulted images.
Cite As
Dengwen Zhou (2024). Colour demosaicking with directional filtering and weighting (https://www.mathworks.com/matlabcentral/fileexchange/39843-colour-demosaicking-with-directional-filtering-and-weighting), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Quality >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |