Skip to main content

Module linear

Module linear 

Source
Expand description

Demosaicing using linear interpolation.

  green_kernel = (1 / 4) *
      [ 0 1 0
      ; 1 4 1
      ; 0 1 0 ];

  red/blue_kernel = (1 / 4) *
      [ 1 2 1
      ; 2 4 2
      ; 1 2 1 ];

Functionsยง

run