- Read BMP file
- Get RGB values for each pixel
- Create bar charts of RGB
- Calculate the mean and STD
- Write CSV file
pip install numpy
pip install Pillow
pip install matplotlib
If you want to create EXE file
after programming, also install this:
pip install pyinstaller
Just put the picture inside the input
folder, then execute the code:
python BMP_reader.py
After that, your find the csv file and bar charts in the output
folder.
Download from: ❤ 动画精品