You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+28-8
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,35 @@
2
2
3
3
## Introduction
4
4
5
-
flim is an experimental film emulation view transform that can be used for displaying digital open-domain (HDR) images.
5
+
flim is an experimental film emulation view transform that can be used for displaying digital open-domain (HDR) images, preferably in an [OpenColorIO](https://opencolorio.org/) environment.
6
6
7
7
## Eye Candy
8
8
9
9
- See comparisons between flim and other view transforms in the [releases](https://github.com/bean-mhm/flim/releases) section.
10
10
11
11
- You can find links to collections of OpenEXR image files for testing in [Useful Links](#useful-links).
12
12
13
-
-~~Below are some example images gone through flim v0.3.0.~~
13
+
- Below are some example images gone through flim v0.4.0.
@@ -34,7 +54,7 @@ Here are the external libraries required to run the scripts:
34
54
35
55
First, a few notes:
36
56
37
-
- flim's 3D LUT is designed to be used in an [OpenColorIO](https://opencolorio.org/) environment.
57
+
- flim's 3D LUT is designed to be used in an [OpenColorIO](https://opencolorio.org/) environment, but depending on your software and environment, you might be able to manually replicate the transforms in your custom pipeline.
38
58
39
59
- flim only supports the sRGB display format as of now.
40
60
@@ -47,10 +67,10 @@ Here's an example of the LUT comments (note that this might not match the latest
1. Paying attention to the transforms, you will notice a `ColorSpaceTransform` from CIE-XYZ I-E to Linear BT.709 I-D65. This is because the example OCIO config has its reference color space (the `reference` role) set to CIE-XYZ I-E. If your config already uses Linear BT.709 I-D65as its reference this is not needed. If your config uses another color space as its reference, you should manually do a conversion to Linear BT.709 I-D65. You can get the conversion matrices using the [Colour](https://www.colour-science.org/) library.
106
+
1. Paying attention to the transforms, you will notice a `ColorSpaceTransform` from `Linear CIE-XYZ I-E` to `Linear BT.709 I-D65`. This is because the example OCIO config has its reference color space (the `reference` role) set to `Linear CIE-XYZ I-E`. If your config already uses `Linear BT.709 I-D65` (Linear Rec.709) as its reference this is not needed. If your config uses another color space as its reference, you should manually do a conversion to `Linear BT.709 I-D65`. You can get the conversion matrices using the [Colour](https://www.colour-science.org/) library.
87
107
88
-
2. Then, we have a `RangeTransform` which is there to eliminate negative values (out-of-gamut).
108
+
2. Then, we have a `RangeTransform` which is there to eliminate negative values (out-of-gamut). This is not the best approach as it will cause weird transitions in images that have a lot of negative values, but it is what flim uses for now.
89
109
90
110
3. Next, we have an `AllocationTransform` which can be directly copied from the LUT comments. The `AllocationTransform` here takes the log2 of the tristimulus (RGB) values and maps them from a specified range (the first two values after `vars`) to the [0, 1] range. The third value in `vars` is the offset applied to the values before mapping. This is done to keep the blacks.
0 commit comments