inverse of the exponential function, which maps products to sums
Logarithm - Wikipedia
{\displaystyle \log(\cos \theta +i\sin \theta )=i\theta .}
In mathematics, the logarithm of a number is the exponent by which another fixed value, the base, must be raised to produce that number. For example, the logarithm of 1000 to base โ€ฆ Wikipedia
๐ŸŒ
Wikipedia
en.wikipedia.org โ€บ wiki โ€บ Logarithm
Logarithm - Wikipedia
4 days ago - Prior to Napier's invention, there had been other techniques of similar scopes, such as the prosthaphaeresis or the use of tables of progressions, extensively developed by Jost Bรผrgi around 1600. Napier coined the term for logarithm in Middle Latin, logarithmus, literally meaning 'ratio-number', derived from the Greek logos 'proportion, ratio, word' + arithmos 'number'.
๐ŸŒ
Reddit
reddit.com โ€บ r/cinematography โ€บ what are s-log, c-log, etc?
r/cinematography on Reddit: What are S-log, C-log, etc?
October 16, 2013 -

Probably an amateur question, but reading American Cinematographer, I occasionally come across mention of "gamma function," S-log, C-log, and other logs. I was wondering what exactly these are, and what purpose they serve and so on? Thanks!

Top answer
1 of 3
26
S-log is referring to an uncorrected sensor output that is flat and low in contrast. This image is taken into a color corrector where the colorist has more control over what colors he chooses to accentuate and the detail in the blacks and highlights is preserved. On most video cameras a Gamma Curve called REC709 is applied which brings the image levels close to what we see with our eyes, this is great for the average user, but for those who want more control, it is better to bypass the default in camera processing. C-log just refers to Canon's "log" shooting mode.
2 of 3
3
Log is a format that compresses data very efficiently into the storage available. Every stop of dynamic range gets the same perceptual storage space, as opposed to linear gamma which is how the sensor sees the world and is very inefficient. (Someone here linked to my article that explains why.) The reason log looks flat is because you're often cramming 10-14 stops into the Rec 709 HD spec, which was only meant for about six stops initially. That means every two stops is crammed into a space meant for one, which lowers contrast considerably. Log refers to a logarithmically-encoded gamma curve. Gamma controls contrast and is separate from color space, which is something completely different although most log curves are meant to work within a specific color space (such as Sony's S-Log2 and S-Gamut). Log is not meant to be viewed directly: it is a storage medium only. You need to apply a LUT or some sort of gamma correction so that it looks proper on a Rec 709 display. (Rec 709 is the standard for HD broadcast that enables an image shot on a Rec 709-complaint camera to look normal on a monitor.) Viewing it directly results in a flat, colorless image. Log is NOT uncorrected sensor output. You'll never actually see that. Even viewing "raw" in cameras like REDs isn't raw, because raw is just Bayer pattern information that isn't viewable at all by humans on any device without some kind of processing. (If a camera manufacturer says they are showing you "raw" they are not being entirely truthful. They are showing you some representation of raw that has been processed to be viewable on a Rec 709 display but you are not seeing true raw.) Log is a way of processing raw data in such a way that the same information can be encoded in fewer bits. The rule of thumb I've heard is that you can capture the dynamic range of 12-bit raw in 10-bit log. Log is definitely not a replacement for raw as there are things you can do with raw that you can't do with log, such as go back to the same footage years later with a different deBayering algorithm and pull even more information out of it. It's the next best thing, though, and most TV series shoot log because it's a very efficient way to capture a lot of information for grading. (Features tend to capture raw more often than log.) Every manufacturer has their own flavor of log that works slightly differently. In particular, they each put middle gray and 100% white at different points on the gamma curve. It's important to know this as it helps with determining exposure and judging how much dynamic range you are getting above middle gray. Edit: wrote raw instead of log in last paragraph. Ooops.
๐ŸŒ
Wikipedia
en.wikipedia.org โ€บ wiki โ€บ Log_profile
Log profile - Wikipedia
January 7, 2026 - In early times of digital cinematography, professional video cameras were only capable to capture linear sensor image up to 10-bit color depth even in HDCAM-SR format, but resulted in "video-look" compared with film stock cinematography even in the same 24 frames per second and shutter speeds. The log gamma profile began gaining industrial popularity since 2005, when Arri released Arriflex D-20 which provided original Log-C gamma through HD-SDI video output, and further in 2008, when Sony released CineAlta F35 camera (and its 2005 Panavision Genesis sibling) with S-Log video recording on HDCAM-SR tape.
๐ŸŒ
ARRI
arri.com โ€บ en โ€บ learn-help โ€บ learn-help-camera-system โ€บ image-science โ€บ log-c
Log C | Image Science | Learn & Help
Images encoded with Log C (C is for Cineon; the original Cineon log encoding is based on the density of color film negative) can be identified by their flat and desaturated nature.
๐ŸŒ
TutorialsPoint
tutorialspoint.com โ€บ c_standard_library โ€บ c_function_log.htm
C library - log() function
The C library log() function of type double that accept x as parameter to return the natural logarithm(base-e logarithm). In programming, log concept is used to monitor and trouble shooting the system issues and tracking events, random user
Find elsewhere
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ c language โ€บ c-log-function
C log() Function - GeeksforGeeks
June 26, 2024 - This function returns natural logarithm of x as double and works with double data types for other data types like float or long double, we can use logf() and logl(), respectively.
๐ŸŒ
Canon Asia
snapshot.canon-asia.com โ€บ article โ€บ eng โ€บ videography-faq-what-is-canon-log
Videography FAQ: What is Canon Log? - SNAPSHOT
September 15, 2023 - It is known as "log" as it encodes along a logarithmic scale instead of a linear one. The resulting footage contains more information on tone variations that are visible to us, which is also why they appear to have less contrast straight out of the camera.
๐ŸŒ
Educative
educative.io โ€บ answers โ€บ what-is-log-in-c
What is log() in C?
The log function is a C library function that returns the natural logarithm of an argument.
๐ŸŒ
W3Resource
w3resource.com โ€บ c-programming โ€บ math โ€บ c-log.php
C log() function
December 23, 2022 - C log() function (math.h): The log() function is used to calculate the natural logarithm (base e) of x.
๐ŸŒ
Scaler
scaler.com โ€บ home โ€บ topics โ€บ log() in c
log() in C - Scaler Topics
April 25, 2022 - In C programming, we use the log() function to compute the natural logarithm of a number. The log() function is present in math.h library file, which contains many different mathematical functions.
๐ŸŒ
EOSHD
eoshd.com โ€บ comments โ€บ topic โ€บ 8881-learning-time-whats-a-log-gamma-s-log-c-log-v-log-log-c
Learning time: What's a Log Gamma? S-Log, C-Log, V-log, Log-C... - Cameras - EOSHD Forum
July 4, 2015 - I Looked and read on the entire web every single piece of article about it, but without meaning to be rude, all of them fail to understand or describe what it is, just personal information gathered by trying. The only place I could find actual useful data is the manufacturer's technical reports s...
๐ŸŒ
Cppreference
en.cppreference.com โ€บ w โ€บ c โ€บ numeric โ€บ math โ€บ log
log, logf, logl - cppreference.com
May 23, 2024 - If arg is complex or imaginary, then the macro invokes the corresponding complex function (clogf, clog, clogl). If no errors occur, the natural (base-e) logarithm of arg (ln(arg) or loge(arg)) is returned.
๐ŸŒ
GitHub
github.com โ€บ rxi โ€บ log.c
GitHub - rxi/log.c: A simple logging library implemented in C99 ยท GitHub
One or more file pointers where the log will be written can be provided to the library by using the log_add_fp() function. The data written to the file output is of the following format: 2047-03-11 20:18:26 TRACE src/main.c:11: Hello world
Starred by 3.4K users
Forked by 683 users
Languages ย  C
๐ŸŒ
Fstoppers
fstoppers.com โ€บ video-editing โ€บ explaining-most-things-about-canon-log-c-log-get-started-filmmaking-684752
Explaining Most of the Things About Canon Log (C-Log) to Get You Started in Filmmaking | Fstoppers
November 23, 2024 - Each camera has its own native ISO value that yields the best dynamic range, and some cameras even have dual native ISO, with one optimized for low-light scenes and another one optimized for bright scenes. For the Canon 5D Mark IV, Canon recommends using ISO 400 when shooting in C-Log to achieve the best dynamic range.
๐ŸŒ
W3Schools
w3schools.com โ€บ c โ€บ ref_math_log.php
C Math log() Function
The natural logarithm is the logarithm with base e. The value of e is approximately 2.718282. Some implementations of the <math.h> library include a constant M_E but it is not guaranteed to be available.