OpenCV
Install
pip install opencv-python
python import cv2
Troubleshooting - Missing libGL
## Traceback (most recent call last): ## ImportError: libGL.so.1: cannot open shared object file: No such file or directory
sudo apt install libgl1
Sample
Reading 8-bit/16-bit TIFF
https://stackoverflow.com/questions/10969585/opencv-reading-a-16-bit-grayscale-image
## 8-bit img = cv2.imread(img_file) ## 16-bit img = cv2.imread(img_file, -1)
Look-Up Table (LUT)
References
Acknowledgments
Daiphys is a professional-service company for research and development of leading-edge technologies in physics and engineering.
Get started accelerating your business through our deep expertise in R&D with AI, quantum computing, and space development; please get in touch with Daiphys today!
Daiphys Technologies LLC - https://www.daiphys.com/