Skip to content

Implementation of "Gradient based threshold free color filter array interpolation"

Notifications You must be signed in to change notification settings

RayXie29/GBTF_Color_Interpolation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I have introduced the basic color interpolation algorithm in my "Basic_Color_Interpolation" reop. But simple color interpolation method will cause a lot of artifacts, such as false color, decreasing resolution, aliasing...
These artifacts usually due to we simply interpolate the missing pixel value with its neighbor pixel value and forget to consider the relationship of R,G and B.
We should consider the directional color difference or gradients of every pixel and using this correction to interpolate the missing color value.

This repo is the implementing of "Gradient Based Threshold Free CFA Interpolation" algorithm. It first interpolates the green channels of image using directional weighting by estimating the color difference and gradients information of image.
Then it interpolates the Red and Blue channels by a filter comes from "Spatially adaptive color filter array interpolation for noiseless and noisy data" paper and bilinear method.

This is the bayer image from my "Basic_Color_Interpolation" reop which the bayer pattern is GRBG.
alt text

This is the result from bilinear method which we can see a lot of false color effect.
alt text

This is the result from GBTF method and it reduces the artifacts very effectively.
alt text

reference:
1.https://ieeexplore.ieee.org/document/5654327 (GRADIENT BASED THRESHOLD FREE COLOR FILTER ARRAY INTERPOLATION)
2.https://onlinelibrary.wiley.com/doi/abs/10.1002/ima.20109 (Spatially adaptive color filter array interpolation for noiseless and noisy data)

About

Implementation of "Gradient based threshold free color filter array interpolation"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages