colour-science / colour-demosaicing

CFA (Colour Filter Array) demosaicing algorithms for Python
https://www.colour-science.org
BSD 3-Clause "New" or "Revised" License
285 stars 58 forks source link

Colour shift issue for with Malvar (2004) demosaicing. #11

Closed GuoShi28 closed 5 years ago

GuoShi28 commented 5 years ago

Hi, I met a problem that using Malvar04 can not convert white space correctly. image. The left image is the originally space image, the middle image is the bayer image, the right is the output of the Malvar04. Can you help me to solve this problem? Also, the result of the bluid-in code in matlab works fine. Matlab results: image To note that, the bayer images are the same in matlab and python.

GuoShi28 commented 5 years ago

Sorry!, It's my fault. The code works fine. Thank you for sharing.

KelSolaar commented 5 years ago

No worries! :)