Merge branch 'dev'

# By Alex Forsythe (10) and others
# Via Alex Forsythe
* dev: (24 commits)
  Minor update to aces-dev/README.rst
  Update images/README
  Fix potential bug in RDT by relocating the clip 0 to 1 function to after the 48/52.37 scaling
  Fix Rec.709 ODT EOTF to correspond to recommendation in Appendix 1 of ITU-R BT.1886.
  Add regenerated V3 transforms (no semantic difference from prior transforms)
  Add regenerated V2 transforms (no semantic difference from prior transforms)
  Update idt_maker_script.csh to generate v2 and v3 trees; this time don't imply that v3 LogC is CCT-dependent. Update v2_IDT_maker.py and v3_IDT_maker.py to make them more robust in the face of mixed-case arguments, and update their version numbers. Update README to reflect lack of channel gain file, etc.
  Remove alexa_balance.txt, since the channel gains don't matter in IDTs (neither in raw nor in LogC IDTs). Clear out v2 and v3 transform directories; we are going to replenish them but with a new structure.
  Added images directory with README containing a link to FTP server where reference footage can be found.
  Added CHANGELOG Update ctlrender makefile to install rrt and utilities.
  Added CTL transforms.
  Updated apps/ctlrender/README.rst to reflect IIF to ACES name change.
  Updated License Language and README.rst
  Corrected a typo in the symbolic link to CtlManual.pdf.
  Updated README files to .rst format for better preview in github.com
  Added clip, min, and max functions to utilities.ctl.
  renamed directory
  Updated path in symbolic link to CtlManual.pdf
  Updated cltrender readme
  ctlrender cleanup
  ...
Merge branch 'dev'

# By Alex Forsythe (3) and Scott Dyer (1)
* dev:
  Updates CHANGELOG
  Adds reverse of RRT and RDT splines. Slight tweaks to RDT coefficients modifying shadow reproduction.
  patch to resolve streaks that occur in some images
  Adds dw ratio preserving odt tone curve code.  Replaces conditional statements designed to clip data to some minimum value with max function for avoidance of underflows.  Closes #16
merge branch dev
merge branch 'hotfixes'
fixes and restores DCDM ODT that was removed in v0.2.1 and updates inverse transform

Fixes to the DCDM ODT include:
* inclusion of the 48/52.37 scale factor in the DCDM encoding equation
* relocation of the black point compensation step to be applied in the rendering primaries' RGB space instead of XYZ
* clarification in the file's summary section
* general cleanup of code, constants, and comments for improved readability

The corresponding inverse transform is also updated to reflect changes in the forward tranform.
adds odt_dcdm_p3d60, a variant of the dcdm odt that will "smart-clip" to p3d60 gamut
refactors other forward and inverse ODTs for consistency

Both forward and inverse transforms are updated with:
* relocation of the black point compensation step to be applied in the rendering primaries' RGB space
* general cleanup of code, constants, and comments for improved readability
refines highlight handling for "dcsim" ODTs to avoid undesirable clipping behavior

This adjustment is to correct an issue that exists in ODTs where the device is calibrated to a white chromaticity other than D60. In order to simulate D60 on such devices, unequal code values are sent to the display to achieve neutrals at D60.
For example, in order to produce D60 on a device calibrated to the DCI white point (i.e. equal code values yield CIE x,y chromaticities of 0.314, 0.351) the red channel is higher than green and blue to compensate for the "greenish" DCI white. This is the correct behavior but it means that as highlight increase, the red channel will hit the device maximum first and clip, resulting in a chromaticity shift as the green and blue channels continue to increase.

To avoid this clipping error, a slight scale factor is applied. This is enough to allow for the Rec709, Rec2020, and rgbMonitor ODTs to simulate D60 within their D65 calibration white point. However, the magnitude of the scale factor required for the P3DCI version was considered too large. Therefore, the required scale factor was reduced and the additional required compression was achieved via a reshaping of the highlight rolloff in conjunction with the scale. The shape of this rolloff was determined throught subjective experiments and deemed to best reproduce the "character" of the highlights in the P3D60 ODT.
renames "dcsim" ODTs to "d60sim"
fixes a bug in the RRT that could occur when ACES triplets had a negative valued mean
updates CHANGELOG, increments version numbers in file headers, updates README(s)
merge branch 'dev'
Update sensor-RGB-to-ACES matrices for nitpickers. ACES diff ~0.00x; LAB diff after RRT + sRGB ODT ~0.0000x.
fixes typo in ACES-to-ACESproxy10 transform
updates forward and inverse RRT transforms; adds "common" import files

Changes to the RRT include:
* Removal of rendering primaries. Tone scale application is performed directly on ACES RGB.
* Replacement of the red chroma scaling step with an alternate algorithm to modify reds. This algorithm darkens red colors instead of reducing chroma.
* Addition of a "glow module", which provides a modest lightening and saturation boost in colored shadow regions.
* General formatting changes and updates to comments

Invertibility is maintained. Therefore the inverse RRT includes changes to provide an inverse to the new forward processing steps.

Constants and functions common to the forward and inverse RRT are relocated from "utilities-aces.ctl" into import files called "rrt-transform-common.ctl" and "transforms-common.ctl". Items in "rrt-transforms-common.ctl" are used solely in the RRT forward and inverse transforms. Items in "transforms-common.ctl" are used throughout various files in the transforms directory structure. These can be found in the utilities directory.

Adds signum function to utilities.ctl

Removes dead code from "utilities-color.ctl" and adds some new functions for calculating hue and luminance correlates used in v0.7.
updates forward and inverse ODT transforms and adds an "odt-transforms-common" import file

Changes to the ODTs include:
* Removal of rendering primaries. Tone scale application is performed directly on OCES RGB.
* Addition of math in the tonescale application to allow for preservation of highlight saturation. However, this math is not active in v0.7. See code for tonescale applications for specifics.
* A clamp is performed on device code values at 0 and 1 and then followed by a hue-restore step. This helps preserve hues for bright out-of-gamut colors and prevents test charts from shifting hue.
* A major refactoring of the code to remove functions common to more than one ODT. This removes redundancy and makes the differences between various transforms easier to identify. Constants and functions common to forward and inverse ODTs are relocated from the ODTs and from "utilities-aces.ctl" into an import file called "odt-transforms-common.ctl". This file can be found in the utilities directory.
* General formatting changes and updates to comments

There is an additional change in the Rec709 and rgbMonitor ODTs only. The change is to how out-of-gamut colors are handled. The new behavior is to clamp code values in a P3D60 encoding, and then convert to a Rec709 encoding with a normal, non-hue-restoring clip. This was determined to provide a superior visual match to the P3D60 ODT.

Invertibility is maintained. Therefore the inverse ODTs are updated to provide inverses to the adjusted forward processing steps.

The file "utilities-aces.ctl" is removed as the functions previously contained in it are now split across the "common" files.
updates LMT transforms and LMT README

The 3D-LUT LMT for matching the appearance of v0.1.1 is updated to work with the v0.7 ACES system.
A similar 3D-LUT LMT is added for matching the appearance of v0.2.2 through the v0.7 ACES system.
The README is updated to reference v0.7 and fix typos.
adds IDTs for Sony F55 and F65 cameras and updates Sony F35 IDTs

* adds 10-bit and 12-bit IDTs for Sony F55 and F65 cameras
* updates the 10-bit and 12-bit IDTs for the F35; also renames "S-log##_to_ACES.ctl" to "idt-SonyF35-##i.ctl"
updates CHANGELOG, increments version numbers in file headers, updates README(s)
merge branch 'dev'