Skip to content

Commit 3f12e44

Browse files
author
akdel
committed
2 parents f9198d4 + cbaa601 commit 3f12e44

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mars2020/image_processing.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
def demosaic_image(pil_image: Image, pattern="RGGB"):
99
"""
10+
Adapted from https://github.com/colour-science/colour-demosaicing/blob/develop/colour_demosaicing/bayer/demosaicing/bilinear.py
11+
12+
1013
Returns the demosaiced *RGB* colourspace array from given *Bayer* CFA using
1114
bilinear interpolation.
1215
Parameters

0 commit comments

Comments
 (0)