2020년 9월 25일 금요일

colour-demosaic python package

to execute demosaic example 

1. Find a proper source

    - Colour - Demosaicing 

        - Colour Science library install

            - when install modify setup.py (long_description = open('README.rst', encoding='UTF8').read())

        - pip install colour-demosaicing

2. example

    - in "colour-demosaicing" package

    - python folder\Lib\site-packages\colour_demosaicing\examples\examples_bayer.ipynb

    - add extention when read image -> colour.io.read_image(temp_path, format ='exr')

    - install freeimage binary


**1

this post give me the clue about reading image error

error message: Could not find a format to read the specified file in single-image mode

https://stackoverflow.com/questions/60713874/grayscale-image-not-a-jpeg