Skip to content

Commit 194be49

Browse files
authored
Update README.md
1 parent 320cd67 commit 194be49

File tree

1 file changed

+28
-8
lines changed

1 file changed

+28
-8
lines changed

README.md

+28-8
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,35 @@
22

33
## Introduction
44

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.
66

77
## Eye Candy
88

99
- See comparisons between flim and other view transforms in the [releases](https://github.com/bean-mhm/flim/releases) section.
1010

1111
- You can find links to collections of OpenEXR image files for testing in [Useful Links](#useful-links).
1212

13-
- ~~Below are some example images gone through flim v0.3.0.~~
13+
- Below are some example images gone through flim v0.4.0.
14+
15+
![10 - SRIC_arri_alexa35 01017 - 2 flim](https://github.com/bean-mhm/flim/assets/98428255/030b2ca1-37aa-45e2-834f-dac077a4f353)
16+
17+
![13 - SRIC_arri_alexa35 01033 - 2 flim](https://github.com/bean-mhm/flim/assets/98428255/f3a5a326-4989-4ff6-af20-81a4aef80aa0)
18+
19+
![18 - SRIC_arri_alexa35 01038 - 2 flim](https://github.com/bean-mhm/flim/assets/98428255/5d543d1b-ef2e-4500-b9cd-af59a0028c9e)
20+
21+
![26 - SRIC_hdm-vmlab-hdr 01033 - 2 flim](https://github.com/bean-mhm/flim/assets/98428255/32c9faca-c14f-4b2d-b256-ad71e6ee50fd)
22+
23+
![33 - SRIC_red 01006 - 2 flim](https://github.com/bean-mhm/flim/assets/98428255/86fb5ec7-165e-4733-95c1-97a5f6cbe758)
24+
25+
![37 - courtyard_night_4k - 2 flim](https://github.com/bean-mhm/flim/assets/98428255/83bc352e-c8a7-4d97-83b0-1521dbe2e72e)
26+
27+
![41 - pretville_street_4k - 2 flim](https://github.com/bean-mhm/flim/assets/98428255/a1886812-4e0d-432d-9291-3e4fd9269c54)
28+
29+
![53 - lakeside_2k - 2 flim](https://github.com/bean-mhm/flim/assets/98428255/3e125013-a67a-44ee-867b-410a1fb0f7c6)
30+
31+
![55 - out_sweep - 2 flim](https://github.com/bean-mhm/flim/assets/98428255/cccbb62a-e2f2-4529-9f88-e012abe0ad97)
32+
33+
1434

1535
## Scripts
1636

@@ -34,7 +54,7 @@ Here are the external libraries required to run the scripts:
3454

3555
First, a few notes:
3656

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.
3858

3959
- flim only supports the sRGB display format as of now.
4060

@@ -47,10 +67,10 @@ Here's an example of the LUT comments (note that this might not match the latest
4767
```
4868
# -------------------------------------------------
4969
#
50-
# flim v0.2.0 - Bean's Filmic Transform
70+
# flim v0.4.0 - Bean's Filmic Transform
5171
#
5272
# LUT input is expected to be in Linear BT.709 I-D65 and gone through an AllocationTransform like the following:
53-
# !<AllocationTransform> {allocation: lg2, vars: [-11, 11, 0.00048828125]}
73+
# !<AllocationTransform> {allocation: lg2, vars: [-11, 12, 0.00048828125]}
5474
#
5575
# Output will be in sRGB 2.2.
5676
#
@@ -79,13 +99,13 @@ colorspaces:
7999
children:
80100
- !<ColorSpaceTransform> {src: Linear CIE-XYZ I-E, dst: Linear BT.709 I-D65}
81101
- !<RangeTransform> {min_in_value: 0., min_out_value: 0.}
82-
- !<AllocationTransform> {allocation: lg2, vars: [-11, 11, 0.00048828125]}
102+
- !<AllocationTransform> {allocation: lg2, vars: [-11, 12, 0.00048828125]}
83103
- !<FileTransform> {src: flim.spi3d, interpolation: linear}
84104
```
85105
86-
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-D65 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.
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.
87107

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.
89109

90110
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.
91111

0 commit comments

Comments
 (0)