Skip to content

MrLixm/image-processing-lxm

Repository files navigation

image-processing-lxm

Personal resources for image-processing which include topics like :

  • photography
  • cinematography
  • vfx

Warning

The package is not fully designed for public consumptions so use at your own risks. I can deploy major "breaking" changes at any time without notice.

content

You can find 4 software components:

  • libraries: collection of reusable code
  • clis: command line interfaces programs
  • scripts: entry point mixing the usage of libraries and clis
  • plugins: to be used in other software
tool description type tag
raw-to-dng.py batch converting raw files to dng script photo
raw-exr-converter.py batch converting raw files to OpenEXR, including debayering script photo
rw2-to-dng.py batch converting panasonic raw file to dng (personal need) script photo
mosaic-generator.py combine multiple image to a single big mosaic of image script photo
ffmpeg-apple-prores-converter.py encode to apple prores using ffmpeg script video
lxmimgproc python wrapper to interract with i-o libraries library photo
loog nuke node to develop film negatives plugin photo

Each tool should come with its own documentation for details.

usage pre-requisites

Most tool (except plugins) will require python and some dependencies.

OpenImageIO wheels

As useful as OpenImageIO is, it currently doesn't ships official python wheels and need to be manually compiled. As it's a complex task, its usuyally best to try to find wheels made by other online:

After getting one you can edit the pyproject.toml file according to where you downloaded those wheels OR rename it as specified in the pyproject.toml.

usage

Project is managed through uv.

Assuming uv and git are installed and available on your system:

cd somewhere
# the git clone step can be replaced by a manual download of the repo
git clone https://github.com/MrLixm/image-processing-lxm.git
cd image-processing-lxm
uv run ./scripts/raw-exr-converter.py

You will usually to edit the global variables in the scripts to replace with path for your system. You can also directly use the clis instead of the scripts wrapper.

runtime pre-requistes

some of the tools assume you have specific software available on your system:

FFMPEG https://ffmpeg.org
download https://ffmpeg.org/download.html
configure expected to have the path to the executable set in the FFMPEG environment variable
OIIOTOOL https://openimageio.readthedocs.io/en/latest/oiiotool.html
download https://www.patreon.com/posts/openimageio-oiio-63609827
download find it in any houdini installation. ex: C:\Program Files\Side Effects Software\Houdini 20.5.332\bin\hoiiotool.exe
configure expected to have the path to the executable set in the OIIOTOOL environment variable
EXIFTOOL https://exiftool.org/
download https://exiftool.org/
configure expected to have the path to the executable set in the EXIFTOOL environment variable
Adobe DNG converter https://helpx.adobe.com/camera-raw/digital-negative.html
download https://helpx.adobe.com/camera-raw/digital-negative.html#downloads
configure expected to have the path to the executable set in the ADOBEDNGTOOL environment variable

About

Personal resources for image-processing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages