# install dependencies:
brew install homebrew/python/numpy homebrew/python/scipy
brew install opencolorio --with-python
git clone https://github.com/mikrosimage/ColorPipe-tools
cd ColorPipe-tools/lubLab
ln -s ../utils utils
Usage, e.g. convert from MGA to CUBE:
# prepare environment
bash
source /usr/local/share/ocio/setup_ocio.sh
# run command
./lut_to_lut.py --out_type 3D --out_format cube -outfile ./tassinflat.cube ./LUT_TassinFlat_D7000.mga