Git Product home page Git Product logo

cocoalut's Introduction

CocoaLUT

Build Status Coverage Status Version Platform License

CocoaLUT is a tool for importing, exporting, and manipulating 3D look up tables (3D LUTs) and 1D look up tables (1D LUTs) for colors. LUTs are often used in film and video finishing, graphics, video games, and rendering.

The goal of this project is to have a fast, modern Objective-C (and soon, Swift) library that works on both iOS and OS X.

Lattice

Features

  • Reads and writes 3D LUTs
    • DaVinci Resolve Cube LUT (.cube)
    • Autodesk 3D LUT (.3dl)
    • Quantel 3D LUT (.txt)
    • FSI DAT 3D LUT (.dat)
    • DVS Clipster 3D LUT (.xml, .txt)
    • Nucoda CMS LUT (.cms)
    • Resolve DAT 3D LUT (.dat)
    • DaVinci 3D LUT (.davlut)
    • Unwrapped Texture LUT Image (.tiff, .dpx, .png)
    • CMS Test Pattern LUT Image (.tiff, .dpx, .png)
    • Hald CLUT Image (.tiff, .dpx, .png)
  • Reads and writes 1D LUTs
    • DaVinci Resolve Cube LUT (.cube)
    • Nucoda CMS LUT (.cms)
    • DaVinci Resolve 1D LUT (.ilut, .olut)
    • Discreet 1D LUT (.lut)
    • Arri Look 1D tone map only (.xml)
  • Reads non-LUT formats as LUTs
    • Arri Look (.xml) as a 3D LUT
    • ICC/ColorSync Profiles (.icc, .icm, .pf, .prof) as a 3D LUT (OS X only)
  • Has a format-independent internal data structure. You can create LUTs and use them in-memory.
  • Apply LUTs to NSImage, CIImage, and UIImage
  • Generate Core Image Filters (VVLUT1DFilter / CIColorCube) from LUTs
  • Generate visualizations for LUTs with Scene Kit
  • Resize LUTs
  • Reverse 1D LUTs
  • Extract the color shift from a 3D LUT
  • Extract the contrast shift from a 3D LUT
  • Convert the color space or color temperature of a LUT

Installation

CocoaLUT is available through CocoaPods, to install it simply add the following line to your Podfile:

pod 'CocoaLUT'

To gain full functionality you should also probably add VVLUT1DFilter, a Core Image filter optimized for 1D LUTs, and VVSceneLinearImageRep, a subclass of NSBitmapImageRep that specifically handles EXR data.

pod 'VVLUT1DFilter'
pod 'VVSceneLinearImageRep'

Related

This project uses LUTSpec for UTI standardization.

Do you need something like this in Python? Try pylut.

Authors

License

CocoaLUT is available under the MIT license. See the LICENSE file for more info.

cocoalut's People

Contributors

gregcotten avatar wilg avatar neil20170220 avatar riots100 avatar veinguo avatar jawngee avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.