1163 points · by robenkleene · 3y ago · 409 comments
One lesson (no pun intended) of the academic environment is that no, it doesn’t work that way. Some people are subject-matter experts, some are brilliant expositors, but while you can’t be a good expositor without a decent knowledge of the subject matter, you absolutely can be a world-leading scientist and at the same time completely rubbish at explaining your ideas. (Some areas are better at making use of such people than others.)
Good exposition deserves additional credit on top of subject expertise, is what I’m trying to say.
This also means that you will often find excellent easily digestible expositions of ideas from people who don't have a good grasp of the subject matter, which is problematic.
this guy knows what he’s talking about. he has authority in his field. he has proven both theoretically and materially that his wisdom is high quality.
yet, videos from people with far less expertise on the subject matter will likely drown his out. over and over again i’ve seen the top videos on so many subjects repeating just plain wrong information but the “creator” says it with confidence so people just eat it up. even worse, so many times i’ve seen people in the comments try to nicely point out where the “creator” went wrong, and people go after the commenter for daring to imply this person on the magic screen might be misinformed.
it’s such a shame that being higher in the search says almost nothing about your knowledge on a subject and only means you’re better at manipulating the algorithm rather than having actual higher quality information.
i really wish that our searches would prioritize quality of information. at this point, years later, i think it’s pretty clear that the “wisdom of the crowd will shoot the highest quality to the top” has been proven to not be the case.
also, i don’t want to imply that amateurs can’t have valid and interesting perspectives, sometimes they might, just that being higher in search means quite literally nothing on wisdom of a subject—especially if a grifter can monetize off a trendy nuanced subject.
anyway, this video was incredible information. thx for sharing his background.
Use a free service, and the person providing it doesn't have an incentive to give you what you want.
Which is how we got current Google.
https://forums.pelicanparts.com/off-topic-discussions/301497...
I'm the (formerly) young guy who rented the 550 to the production team for a few days. Pretty fun story to be tied to the movie.
https://duckduckgo.com/?t=ffab&q=ren+and+stimpy+log+song&atb...
It will be fascinating for anthropologists a few hundred years from now to see the increase in quality in «every day photography» that came with the increasing quality of smartphone camera software.
With glass and a sensor that small they aren't for everything, but the days of mandatory compression, limited color depth, mandatory "enhancements" and all of that stuff are over. If I'm shooting a handheld gimbal video, of something like a person talking outdoors not in direct sunlight, I'm grabbing that iPhone Pro without thinking twice.
Firstly the name is called "Log" (for logarithmic) but isn't that what gamma does in color spaces like sRGB since forever? "Normal" video standards like BT.709 also have non-linear transfer functions. I don't get why "log" is stressed here. Maybe it just means a different/higher gamma coefficient (the author didn't talk much about the "log" part in the article).
And the main feature of it, at least according to this article, is that it clips the black and white level less, so leaves more headrooms for post-processing.
This is definitely very useful (and is the norm if you want to do something like, say, high quality scanning), but I failed to see how it warrants a new "format". You should be able to do that with any existing video format (given you have enough bit depth, of course).
It actually looks more like HLG in this way.
https://www.artstation.com/blogs/tiberius-viris/3ZBO/color-s... has some plots of the curves to compare visually
I think you're mixing up OOTFs and EOTFs here. sRGB or HLG can refer to either the stored gamma, but more often means the EOTF "reversed" gamma that is used to display an image. When we refer to "log", this is almost always means a camera gamma - an OOTF. So the reason it's "in the opposite direction" is that it's designed to efficiently utilize bits for storing image data, whereas the EOTF is designed to reverse this storage gamma for display purposes.
As you can see from the graph in [1], Sony's S-Log does indeed allocate more bits to dark areas than bright areas. (Though the shape of the curve becomes more complicated if you take into account the non-linear behavior of light in human vision.)
Wouldn't this be the OETF? OOTF would include the EOTF, which is typically applied on the display side (as you noted).
If you see an S-curve, that's usually what you will try to map the captured images too because it allows for increased detail in both shadows and highlights, while allowing a natural dynamic range in the middle areas. Log capturing allows you to have a much higher dynamic range (with a given number of bits), and thus more easily map to the S-curve that you want.
This warrants a separate answer. Cameras are getting to the point where they can capture far more information than we can display. Hence, we need a lot of bit depth to accurately store this added precision. But adding bits to the data signal requires a lot of extra bandwidth.
In principle, we should just store all of this as 16/32bit FP, and many modern NLEs use such a pipeline, internally. But by creating a non-linear curve on integer data, we can compress the signal and fine-tune it to our liking. Hence we can get away with using the 8-12bit range, which helps a lot in storage. With log-curves, 12bit is probably overkill given the current sensor capabilities.
There's a plethora of log-formats out there, typically one for each camera brand/sensor. They aren't meant for delivery, but for capture. If you want to deliver, you'd typically transform to a color space such as rec.709 (assuming standard SDR, HDR is a different beast). The log-formats give you a lot of post-processing headroom while doing your color grading work.
Haven't professional-grade microphones been in a similar situation for decades now, or is it the magic of remastering that keeps recordings from the 50s sounding so good on modern speaker systems?
Not really the microphones themselves since microphones today and decades ago all deliver an analog signal which contains way more information than our ears can process (but some amount of noise too which may or may not be audible).
The technology difference is in the analog-to-digital conversion (DAC) which converts that analog signal to a stream of integers.
The difference between audio and video is that essentially since the dawn of digital audio, devices have been able to produce as much information as our ears are able to distinguish. The standard digital sample rate since CDs first shipped is ~44k, which can represent frequences all the way up to 22k, which is beyond the range that almost all people are able to hear. The standard bit depth of 16 bits can likewise represent as much dynamic range as humans are able to distinguish.
(Hi-fi enthusiasts may argue with these claims but I consider that whole area to be almost entirely snake-oil and magical thinking. Actual scientific studies show that 44k 16-bit audio is indistinguishable from higher sample rates or bit depths.)
People working with audio may want higher sample rates and bit depths because, just like with coloring in the article, it gives them more leeway to change the audio while still producing a final result that covers the whole frequency and dynamic range. But for end listeners, 44k/16 is fine and has always been fine.
Video is very different. Our eyeballs can capture a monumental amount of input using a very complex, adaptive system. Eyes don't have a single well-defined "resolution" or "framerate" but basically digital video has been noticeably lower resolution and lower framerate than we're able to perceive for a long time and is only recently starting to approach perceptual limits.
But yeah, I've been wondering why nonlinear formats would use integer values for a while now ?!?
The integer values are nice because existing video formats encode things as integers. So we can just stuff our stuff inside a codec we already have rather than having to reinvent the wheel on the codec side as well. Re-purposing existing toolchains for new uses tend to a thing that gets a lot of traction compared to building a new one from scratch. Even if the newly built toolchain is far better.
What the "log"-spaces are doing is to use a non-linear relationship for the pixel values, as a form of lossy compression. If the signal has to factor through 8bit values, using a compression scheme before it hits the (final) gamma curve is a smart move. If we retain less precision around the low and high pixel values and more precision in the middle, we can get more information from the camera sensor in a certain region. Furthermore, we can map a higher dynamic range. It often looks more pleasing to the eye, because we can tune the setup such that it delivers a lot of precision and detail where our perception works the best.
In short: we are storing (8bit/10bit) pixel values. The interpretation of these values are done in the context of a given color space. In classic (rec.709) color spaces, the storage is linear and then mapped onto a non-linear transfer function. In the "log" spaces, the storage is non-linear and is then mapped onto a non-linear transfer function. In essence we perform lossy compression when we store the pixel in the camera.
Difference on what scale? ... because (hint hint) it's not number of photons that hit the sensor. Nor is it photons emitted from the display.
The truth is, it's a linear measure of the voltage which drives the electron beam of a CRT. Not a very useful measure anymore, but we've encoded this response curve into all of our images and, now, this is proving to be a mistake.
Working with images would be so much easier if we stored values that represent linear light (i.e. proportional to photons entering/leaving a device) with no device curves baked in. Log formats do this, but because the order of magnitude of light is more important than the absolute value, it takes the log of the value. It's a more efficient use of bits in the storage / transmission.
The fact it somewhat matched with a response curve of CRT seems to be a historical coincidence, based on multiple sources I've read in these years.
I do agree we should have get rid of it at this point as it introduces many errors in color blending.
> Log formats do this, but because the order of magnitude of light is more important than the absolute value, it takes the log of the value. It's a more efficient use of bits in the storage / transmission.
It literally is what gamma curve does, ina slight different but mathematically equivalent way.
"Order of magnitude of light is more important than the absolute value" is exactly what Stevens' power law describes.
The difference is how the curves prioritize what bits to keep. Rec709 sacrifices the bright end to keep more detail in the darks, whereas log is more like linear perceptual brightness. So it'll have less low light detail but more bright detail by comparison
I think I get what you mean (in term of implementation), but can't we just alter the transfer function further so there are more values used for the mid-range colors?
The two-step process you said (the storage is non-linear and is then mapped onto a non-linear) is basically equivalent to a singular transfer function which is the combination of two curves, since the sampling process itself is lossy.
The built in converter that produces JPG files in the camera does this too.
Our eyes perceive light as linear when it's really logarithmic.
There is really no difference between video and still here, it's just that it's more normalized at the consumer level to deal with RAW formats at this point for stills.
Fun trick: convert ProRes RAW to cDNG. You now have 59.94 raw DNGs per second to choose a photo from.
It's about support.
The .zip format supports LZMA/ZStandard compression and files larger than 4 GB. But if you use that, a lot of software with .zip support will fail to decompress them.
The same way with log. While in theory you could probably make .mp4 or .mkv files with H264 encoded in log, I bet a lot of apps will not display that correctly if at all.
>> ... in DaVinci Resolve ... choose Apple Log for the Input Gamma ...
Indeed, it just sounds to be a different choice of the curve, perhaps more suited for the HDR capabilities available today.
PS: I did not read the article in detail. My first reaction was to just search there for 'gamma' in the article to see how 'log' is being compared to it.
I remarked to my wife showing me a video recently that you could tell it was taken on an iPhone, I don't think it's just the 'punchiness', for me the main thing is the way it seems to attempt to smooth out motion - the 'in' thing seems to be to sort of spin around showing what's around you while selfie-vlogging and tik-tokking and what-notting, and iPhones make it look like you did it with a steadicam rig that's not quite keeping up.
They've paired this with much higher brightness on the screens, which makes the videos look much more realistic. I first noticed this on my M1 Pro screen, which absolutely blew me away (1600 nits peak brightness).
That's the biggest telltale "filmed on iPhone" trait I'm noticing right now. Yes, you can create HDR videos in other ways, and I'm sure it will be more popular on other platforms soon.
It's also relatively understood that certain camera companies (Nikon, Canon, Sony, Fuji) have a certain 'look' to them in how they process the raw image sensor data to generate a JPEG (there's a differences in the final colours).
I don't have an iPhone, I've just noticed this (perhaps it's more obvious to me because I don't have one) in others' videos.
EIS is not usually needed for video but maybe in some cases it’s used?
This is just the mop-up operation. The only products left are going to be super-telephotos for live sports (sales: a hundred a year, if that?) and 4K+ IMAX digital cine cameras.
I’m a data point in that: I bought a DSLRs and a few lenses probably 15 years ago. Over the years I used them less and less to the point that they’re gathering dust now. It isn’t worth the extra bulk when I head out the door, smartphone cameras are good enough.
If you're out there shooting a hundred basketball games a year or you're camping out in a swamp every weekend to get a picture of a bird it matters.
But that was never the majority of people buying "Pro" and "Prosumer" camera gear. For the vast bulk of the market the smartphone camera gets the job done at a fraction of the cost, way less stuff to carry around, and a much better workflow.
Too many hobbyist photographers seem to miss the forest for the trees here, no one cares about how sharp the picture is or how much dynamic range there is if the content of the photo isn't compelling.
The Olympus Tough series may be the last man standing in that category until Apple makes a shatterproof and diveproof iPhone.
But photography with dedicated cameras is alive and well, and won’t go anywhere anytime soon even as these phones get better and better.
The super telephoto market is alive and well, and Wildlife photography in particular is a big contributor to this. When Olympus released their 150-400mm (300-800mm full frame equivalent) super telephoto aimed at wildlife shooters, it was sold out for almost a year.
For me, the new iPhone means I can shoot B-roll footage that looks great, but this will not replace my main camera anytime soon. It’s currently far more viable for high quality video than it is for high quality photographs.
sensor size matters for low-light stuff too. sure, an iPhone can do a pretty good job at taking several pictures over say a 2s. exposure, but there _will_ be artifacts in the shot as there isn't physically enough light to form a legible image regardless of post-processing.
this is just one of many reasons why digital cameras are NOT at the brink of collapse yet.
Watching them take photos on their iPhones at high school sporting events is always painful.
It’s not the sensor size they matters (larger sensors actually have more noise: that’s why phone photos can look as good as they do). Stop and think for a second: where does the extra light captured by a larger sensor come from?
What actually matters is the physical aperture of the lens. What a large sensor forces you to do is use a larger physical aperture to get the same focal ratio (“f-stop”) and field of view. That’s how you get more light. (the larger physical aperture and constant focal ratio implies a longer focal length, so the math works out)
If you do the math, the larger physical aperture more than compensates for the extra noise of the larger sensor (signal to noise of the system scales as sqrt(sensor_dimension)), so camera systems with larger sensors and the same focal ratio have better noise figures. But it’s not directly due to the sensor.
You can compensate for a lot of that effect by simply installing a lens with a larger focal ratio on a small sensor. That’s because it turns out to be easier to have a high focal ratio when the lens is small: the shorter focal length (for a given field of view) requires a smaller radius of curvature, so controlling chromatic aberration and circle of confusion is easier at higher focal ratios.
I also see a lot of outdoor photographers using them to save on weight (and pairing with some type of spotting scope when needed).
Digital cameras are definitely not on the brink of collapse, but I do see phones being used to either augment or replace specific scenarios more and more.
Currently, the best editing software for social media appears to be CapCut as its ease of use for the power it provides is miles ahead of anything else.
But DSLR's with their large lenses aren't going anywhere, because physics. If you want to capture high-quality footage under low light conditions, or work with a variety of lenses, the tiny aperture on a phone is never going to be enough.
I also have a Sony A7C but I haven’t used it since getting the Ricoh. Being pocketable is a massive factor in how much I use a camera.
Even if the next-gen Oculus had parity with Apple Vision Pro in how vividly they could display VR/AR content - and I doubt this is the case - only Apple (perhaps among any company in the world) can mirror that with a battle-tested supply pipeline for creating pro-level video capture equipment and for integrating those sensors into consumer devices at scale.
While I'd leave the branding to better minds than my own, I'm bullish about Apple's ability to make an "iPad Vision Pro" that has two cameras at eye distance apart as well as laser rangefinding. That would allow for binocular Apple Log capture, and with the advent of Gaussian splatting for point cloud rendering, and increasingly better generative AI for inferring colors/textures of occluded points in the point cloud, you could have professionally color-graded interactive scenes. All that's missing is better ergonomics for this workflow in DaVinci Resolve etc., and one imagines Apple's war chest could go a long way towards incentivizing this.
Apple products will be where high-quality VR content is created, proofed, and consumed. They're not rushing because nobody else has a hope of being close.
Eh... I think this is a bit like claiming "Apple hardware will be where high-quality video games are created, proofed and consumed" in the 90s. You'd be right given the circumstantial evidence, but the industry doesn't really want to play ball. Besides AppleTV and Apple Arcade, I don't think Apple has a huge constituent of VR developers the same way they did for Apps. Simply building the infrastructure won't be enough.
And plus, I don't think your argument rules out a world where Vision Pro is used for recording and Quests are used for content consumption. Unless Apple intends to reinvent the wheel again for 3D video, nothing should stop it from being playable (or at least portable) on other platforms. For most people, the $3,000 price difference will probably not be worth the recording capabilities (especially if they already own an iPhone).
Anything could happen, I guess. Even if you're entirely right though, I don't think Content Creation will be the killer app you think it is. Games and video moves millions of units; productivity and capture are both unproven features poised to reprise Hololens' failure.
Sort of a contrived example... you're a pro and let's say you NEED a headphone jack, but apple just killed headphone jacks.
But more indirectly, they killed the lower volume, higher margin folks with alternatives that offer a headphone jack, and maybe even XLR headphones and microphones.
An analogy might be tesla giving you a 90% better car experience, except they have killed off the dashboard. (now they've killed control stalks like PRND and turn signals)
And it turns out, Sony already has significantly better sensors in their cinema cameras than what they sell to Apple, which is why almost half of Oscar and Emmy nominations are filmed on Sony Venice. Even the low end of their camera line is extremely capable, e.g. the FX3 which shot The Creator.
Apple is far away from actually competing in that market.
But they have pro video editing features! Yes, but it's a subfeature of their general platform, so they can 'count that low' for a hardware feature like that, that will also be useful for their entire userbase since everyone takes videos with their hardware and watches video on their devices anyway.
At the end of the day, a professional camera with good glass and a larger sensor gives you much more control of an artistic vision, and better performance in challenging imaging conditions. I've never seen a cellphone camera that gets anywhere near the image quality I can get from my mirrorless camera in still images. This is likely to be even more apparent in video production due to how the cameras are used.
One of the most glaring mistakes Apple did to its Pro market. And they did quite a few.
They grabbed most of AVID’s and Premiere’s share.
And then Final Cut X happened, or iMovie Pro, as some depreciatively called it
https://www.vision-systems.com/cameras-accessories/article/1...
You're already extracting as much information you can from the analog signal on the least significant bits. It's not like designing a log-scale ADC lets you pull more information from the least significant bits. So you don't really have anything to gain. Why make a more complicated analog circuit to extract less information? It's generally better to let the digital side decide what to keep, how to compress the signal, etc.
And I should mention that CMOS camera sensors can often do a lot of digital processing right there on the chip. So you can do log-scale conversion or whatever you want before you send the data out of the CMOS camera chip.
It might be possible that you could reduce the power consumption of a SAR (successive approximation) ADC by skipping AD conversion of less significant bits if you have signal on the more significant bits. But I doubt the power savings would be very significant.
A linear ADC with enough range is usually fine, you can do the math later. But maybe for this case it needs a non-linear element before the ADC? (no idea how log recording needs anything at the HW level)
hardware accelerated HDR on cameras are commonplace these days, especially in dashcams and CCTV cameras.
Maybe people are just starting to get sick of this argument being used against everything.
And it's entirely possible that they got to the point that they are now saying pro stuff is cool. Even is 99.x % of users won't really use it.
If your darkest pixel is halfway down the ADC range, on linear you're throwing away one bit, on logarithmic you're throwing out way more bits. Just using higher bit linear ADC then converting it to logarithmic in post-processing seems more sensible. Hell you could even go signal magic and merge few photos with different shutter speed together to get most detail.
Also proper log-to-in converter like AD8307 costs like $20 so I'd assume doing that woudl bring the sensor price way up if you needed to have a bunch of them.
Encoding audio with different log-scale companding has been around for some time too (since the 1970's) with A-law and mu-law in G.711.
from a super high level all ADCS do is quantize an analog signal. They take in a voltage from say 0 - 1.8V and quantize that on a 12 bit range. Return a value from 0-4095. You could build one that scales this range with non-linear steps. But this doesn't add any value. We won't get more accuracy at smaller steps. Our noise and accuracy problems won't be solved by this as they are due to thermal noise or mismatch. quantization noise is not the problem. (We already build segmented ADCs to try and do this)
The 4k60 ProRes mode is not available for shooting on the 128gb model until an external drive is added, but for any larger capacity iPhone Pro, the mode is available for shooting without the external drive. This doesn't affect the Pro Max as that isn't available in a 128gb configuration.
Notably, a similar limitation existed with the iPhone 14 Pro using 4k30FPS, at the time the reasoning was that it simply fills the device too quickly to be useful.
I wonder if this is because, at the end of the day, it is still a tiny little camera with a small sensor and small lens, and so with none of the processing magic the image would look pretty terrible under most circumstancdes.
Thats not to say processing isn’t part of it, but even $2k mirrorless cameras don’t record RAW video internally.
The sensors and lenses are small, and now processors are very fast. And as it turns out, the vast majority of people do not want photos or videos that are "accurate" or "real". They want ones that look good.
So, processing has been the name of the game. It's all about making an image people will like to look at, regardless of how different it is from reality.
However, most people would be horrified to see how noisy and unsharp the images from top cinema cameras are when most post-processing is disabled.
Android has Raw Video with MotionCam which also produces insanely good results¹ (even better than iPhone's ProRes video), but everything else just sucks.
Correct me if I'm wrong but there's nothing stopping Android of supporting Log (or similar). I'm not a video engineer but it really doesn't seem that magic that it couldn't be supported outside of iphone 15, right? My guess that if this gains any real traction it'll show up in the next Android flagship.
But the fragmentation does work against it. If some company does it it would be limited to their camera app and their format.
Would be interesting if some company just decided to put c-mount on their phone so you could use actual proper lens...
On Android you have mcpro24fps app that supports multiple log profiles, shooting 10 bit video and more.
Think of this: a cop body camera that auto-adjusts faces to display them more clearly at night. Sounds like a good idea. Then something happens. The cop says "I couldn't see the guy's face" but the body camera shows the face clear as day. Yes, the camera did take a more clear and useful photo, but it is not a proper depiction of the reality experienced by the officer.
This was always the case. Unless you have a very specific camera setup where you're trying to avoid this, there have always been certain characteristics that come through in photos from cameras. In fact, it's the main selling point of some cameras. Hasselblad, polaroid, cannon, sony all have their own 'looks' when it comes to output.
> The cop says "I couldn't see the guy's face" but the body camera shows the face clear as day.
I'll use a similar but opposite argument here. Ever since iPhones came out they could never really capture dark-skinned people as we see them through our eyes. Unless you had perfect lighting, you could clearly see issues with the sensor catching the contrast in their face. With all the retouching you speak of, iPhones have gotten much better at showing some people more closely to how we see them in reality. So when that cop claims "I couldn't see the guy's face, the damn camera is too good!", I'd be very hesitant to believe him.
This is a great point but it's not what the article is about. This is about bringing existing features of digital cinema cameras to a portable phone.
You could argue that up until now you were not able to take photos or video that accurately represented the world you see but instead only using the rose color lenses of the device manufacturer. The photos and videos that you take today with your phones or cameras have distortions applied automatically based on presets provided by the software used to capture the media. Sometimes you get options like Vibrant, Indoor, Portrait, and Landscape mode to choose how the images or video are manipulated. You don't get to see what the camera actually saw, only what the device manufacturer wants you to see.
Log video is like Raw photos. As this capability becomes more prevalent, I could see it becoming a requirement for criminal investigators and other to capture evidence using a Log or Raw mode.
What I would argue is that, if it's not there already, we need signatures and metadata stored in the EXIF of photos and video captured that tells how the image was capture. With that you could determine to what extent the media has been manipulated.
Those are two very different things and neither is new. Of the two, the later is closer to taking a sepia or black and white photo. It's simple grading that's been done for decades. Log video is mostly an extension of Raw photography which has been available to consumers for decades. The former is the more concerning technology and it's been available for at least 5 years on consumer grade devices.
https://journals.library.columbia.edu/index.php/stlr/blog/vi...
And discussed on HN here: https://news.ycombinator.com/item?id=29187820
Yes smart phone cameras are using computation to get a more "correct" output, unless it's being marked as a feature to alter the image such as face smoothing. Camera makers are always trying to make their camera sensors (or film makers) better perceive the range our human eyes can or at least give use the choice through data to make the decision on realism or art.
Your bit about the police officer is 100% irrelevant to your main point.
Log also means a "look" is not baked into the image so, since you're starting from scratch, it's 1) easier to tweak the images so you can cut between two cameras from different manufacturers without distracting differences and 2) you can give the image more of your personality.
As a general note, I've found that in the world of "cinematography", tech terms aren't used very rigorously and there's a lot of cargo cult which comes from the benefit of one tech being conflated as a benefit of something else. It's often hard to sift through the noise when learning.
A pixel value, be it integer or floating point, means little on its own. There's a context for that value which is a color space. In the typical process, you have several color spaces in play: the camera has one for capture. There's one for color processing (the "working" space). And there's one for the display. When a pixel goes through the pipeline, it's processed via color space transformations.
In the "classic" color spaces, the pixel values have a linear relationship, and all of them carry the same amount of information. The "log" color spaces all have a non-linear (gamma) curve: they retain less information at very low and very high pixel values, but subsequently retain more information in the middle. It's a form of compression.
The human eye doesn't respond equally to all levels of brightness, so throwing away detail at the ends for more detail in the middle is usually a great choice. We retain information in the signal at the brightness level where the eye is able to perceive small details and texture, while throwing away information in the signal where it isn't.
We can now map more dynamic range into the same amount of bits, due to our non-linear compression. How large a dynamic range is given by underlying color space we are operating in.
If you go up in camera quality, you will typically see pixels use 10bits or more for their values. Combined with a log-curve, this leads to more information density, which allows capture of an even higher dynamic range. In turn, post-processing can now fix e.g. exposure to a much larger extent.
Finally, a LUT is linear approximation. "Real" color space transformation will use the underlying mathematical curves for much greater precision.
Almost all color spaces (e.g. srgb or in the video world bt.1886) use a non-linear transfer function? I believe the difference is that gamma and log are different types of nonlinearities, see https://news.ycombinator.com/item?id=37843965 and see https://www.researchgate.net/figure/Linear-response-dashed-v... for an image comparing the two with "linear"
What's confusing is that many people will justify gamma encoding with the claim that visual perception is "logarithmic". I think this is misleading, because the perceptual justification is actually a power-law (Steven's Power Law) as contrasted by the opposing view that perception is logartihmic (Webner-Fechner law, see https://www.appstate.edu/~steelekm/classes/psy3203/Psychophy...). In practice I believe the actual justification for it was that it happened to match the transfer function of CRTs, and these days it's mostly kept around for compatibility, and as an optimization to avoid wasting bits (whether or not it truly fits the human model of perception).
As mentioned by https://computergraphics.stackexchange.com/questions/10315/t..., the real reason why log encoding is nice is because each stop of light gets roughly the same amount of bits. (Log encoding probably also isn't too bad a fit in terms of perception. In an alternate world where we weren't burdened by CRT baggage it'd be a replacement for the now-standard 2.2-esque power gamma).
Also the only reason why log encoded video "looks flat" is because traditional video workflows are not ICC color managed. If you properly applied the inverse transfer function (as any color managed system would automatically do) to display it on an e.g. sRGB screen, the video would appear close to what it did in real-life.
> a) Lack of post processing
No. Absence of processing (modifications to make it look 'better') is the default for all non-consumer devices.
> b) high dynamic range
Yes. In practice log is about choosing which bits of color information to retain and which to throw out, to optimize for space.
Log optimizes for retaining detail in very dark and very bright areas by sacrificing detail in the midtones.
Non-log optimizes for midtones. That's all it is.
So if you have a high contrast scene (bright blue sky, someone sitting in the shade), you'll want to use log. In an average/regular contrast scene, you use non-log, that way you get more detail in the midtones.
In photography, there is no need to optimize for space (video is at least 24 frames/sec, photography is a few frames/sec at most, usually), so log is not a thing - we just capture all the things, all of the time.
So basically, when you can't afford the space/bandwidth requirements of "raw" data for video, you need to convert the sensor readings to an actual video format right away (the equivalent of "shooting jpeg" on a still camera.)
If you do that conversion using a monotonic concave function (e.g. log) you do get an actual video, but it looks crappy because the tones are not what we would expect. However, it also retains more of the low-end distinctions of the raw data so it's more flexible in processing.
Hypothetically, I could do the same with still photography, by taking the raw data and converting it to a crappy-looking jpeg and distribute that to someone else, who would then have more freedom in processing than with a regular jpeg, but less than the raw data. I think I got it!
Basically, the common unit of light in cameras (a stop) is one click on the aperture wheel. E.g. going from 1/11 to 1/16 halves the amount of light. Some cameras of course have a few settings in between. It looks linear to us but it is effectively logarithmic. The dynamic range of the human eye is much larger than the typical camera, screen, or print medium. The human eye has a range of about 20-22 stops (between black and white). A good camera might get between 12 and 14 stops. A decent screen might get to something like 8-10 and print medium is more like 5-7. Taking photos and shooting videos involves a lot of creative choices about what looks natural to us. HDR is basically taking and combining multiple exposures in a way that still looks natural to us on a medium that has less dynamic range than our eyes (-ish, a lot of HDR photography looks a bit unnatural for this reason).
Digital photo processing is about compressing and moving light around to make the most of the much more limited dynamic range of the screen or print medium you are targeting relative to the camera that you used to capture that.
When you do that, most of the interesting information is going to be captured in the darker portions of the image. You typically expose for neutral grey values which is only about 18% of the light. That means half of the darker information (shadows) is in that 18% range of values. And the other half is in the brighter part. Except our eyes are much more perceptive of the darker bits. So, a linear format is not ideal to store that. A log format allocates more bits to the dark half and less to the other 82%. That's a good thing because that allows you to do things like brighten shadows and pull out detail there.
The log format does this by applying a log function to the raw sensor readings. That's why the format looks so flat because all the values end up being relatively close to the 18% mark (neutral). You "undo" this by applying a suitable lut that multiplies the values suitably. You deepen the shadows to near black and brighten the bright stuff to near white. The difference is that you now have full control over this process; can move the white, grey, and black points around. And you can apply color math to the log values before you apply the lut. This is not that different from how you'd process a linear format except now your starting point is better as you are using more bits for the darker parts of the image than for the lighter parts. This gives you more of the captured dynamic range to play with in post processing.
The weakness of the iphone is that while it stores log format, it's not really capable of switching between LUTs on camera or while you are shooting. I'm guessing this just takes too much CPU/battery. So, you have to wait until post processing to see what the end result is going to look like. Some high end cameras have a lot of in camera processing that you can tweak in post processing.
Think of the sheer amount of ‘content’ (used pejoratively) these days. That is not being made by traditional cinematographers. It’s videographers, maybe with a pro camera, but maybe with an iPhone, or maybe one pro camera and an iPhone or two for backup. Think of weddings or similar as well, massive demand. Apparently everything needs to be video so why not this. As an aside, aforementioned director shot our wedding as a favour to us (in 2019) on a 4K lumix and an iPhone.
It’s the camera you have on you, innit.
Guerrilla film-makers will probably love it - iPhones aren't really noticed and are allowed in plenty of places where serious cameras aren't.
I can also see it being useful for some specific commercial ad work, I've seen people specifically shoot on phones to get the relatable phone 'look' for specific shots.
https://www.indiewire.com/features/general/steven-soderbergh...
Basically everyone who wants to make films but doesn't have money for a real pro camera.
Most people won't notice the difference that is true but this is true even for real cinema. Most people don't notice or care about things such as shooting on real film, aspect ratio etc.
The why is that people who create care about these things. Color grading and post shot creative manipulation, these things benefit from extra data. If I can't recover shadows or pushing white balance results in banding, those things are going to still be visible on a phone by myself and the small amount of people who do care.
Also, compression doesn't lessen the effect of color grading.
then there are tons of semi-professional (semi wrt. photo/video capture, not wrt their job) people on platforms like YT, TickTock and similar which do only use their phone for capturing, they probably love this
lets also not forget the people which aspire success on YT, TickTock and others
similar a lot of hobby photographers don't bother with dedicated technology anymore so they might like that, too
and the people which don't carry around a laptop (e.g. on holiday trips or even business trips) but might want to send slightly improved photos from there isn't small either
anyway I guess the main selling point is like "not locking poor" for thos with confidence issues or more likely bad luck to live in less healthy social circles
It's about being perceived as the best phone.
Most Lamborghini buyers don't drive it at top speed either.
Even 'ProRAW' photos are sharpened and aggressively denoised, which ruins detail.
But makes me wonder how soon we would see an... SSD iPhone cases? Because you can always duct tape the external drive to the phone but it would block the screen. *grin* Sure, you can use double sided tape, but... And slightly tangential - how short and compact USB-C cable can be? Sure there are tons of the angled on the market, but I assume they aren't guaranteed to give you full 10gbps Gen2 speeds.
>> SSD iPhone cases
But yeah, this is what I vaguely had in mind though I did forgot those rigid cases even existed, because my phones lasts at least two days on their own finger guns.
Considering the case would be quite fat and rigid for the SSD alone, it would make sense to skip cable shenanigans and just use a 'dock style' connector.
You got it wrong. Camera people LOVE the tapes, look at any picture of a movie shooting behind the scenes and you'll see every camera has 4-5 pink/yellow/green sticky notes on it.
So taping an SSD to your iPhone while shooting a movie it's actually a cool thing. Makes you look authentic "don't give a shit" kind of thing.
So, overall it's not bad value. It's not going to replace pro gear any time soon, but it's great that it can do stuff like this now.
That's a weakest point of phones as by exposing to log curve, you exactly showcase the poor latitude of phone sensor. With the price and additional rigging required (and cooling), just save and get a bmpcc.
The argument of getting out a phone and handheld for night photography (first saw in Huawei P30) or slow-motion and get really great image is valid.
The argument of randomly getting out a phone with cases, cooling, external SSD, mounted battery, matte boxes (especially for strong glaring on iPhone), and a camera stabliser (because a phone stabliser is not tailored for this weight), will be over 1.5kg. That does not sound like valid.
Log is quite useless other than controlled or professional shooting as exposure matters a lot more, and lack of IRE exposure (false color i.e.) makes it not feasible.
This is inevitable because the noise floor is just too high to have a large usable dynamic range unless illumination is high.
Combined with video compression it's just not great. It's not really even unique to smartphones, many DSLRs/MILCs when they first started supporting log video had similar issues, but obviously it's going to be much worse for a smartphone.
It’s not going to replace your Alexa or even full frame dSLR but can be useful and is a welcome evolution.
The only advantage here is slightly better denoising, yes. But denoising doesn't change the dynamic range limit, it just hides the noise visually. The SNR is actually going to be lower.
Video is just made up of single sequential still images. Why are the color issues / tuning of videos like 100x more complicated and involve so many more tools than those of still images?
Codecs such as HEVC used many techniques to reduce the file size while preserving the image quality, like various frame prediction techniques and encodings. This makes workflows completely different.
Images produced by smartphone cameras use different software and hardware features to produce the best possible image, and many of those cannot be equally applied to video.
Because camera data is already encoded logarithmically in common image and video formats.
The article didn't explain what its "log" is at all. Is it the same as gamma? The same as HDR? Something professional? Or something new?
If you don't know anything about photography, it seems like they're explaining something new. If you do know things about photography, you realize the article is full of buzzwords that aren't actually explaining anything at all.
The main benefit of log as opposed to gamma encoding I can see is that log shares the nice property that each f-stop gets allocated the same number of bits; this results in the fact that while gamma encoding tends to allocate less bits to the brightest parts of an image to allocate things in a "perceptually" fair way (at least according to Steven's power law model), log encoding tries to allocate things in a "physically/optically" fair way, which I guess ends up working out better for editing?
Of course in terms of benefits I suspect that "log" mode also reduces a lot of post-processing.
I never owned a pro-camera, only a smartphone. So, reading this article now I learned that it was washed and unsaturated for a good reason. Is this Log thing 15 pro specific or its software so that we can use it on an older iPhone?
I remember for example with RED's first cinema camera, seeing people do shootouts (camera comparisons) where they'd record and compare the low-quality, partially decoded monitor output that didn't have a proper LUT applied, to HD cameras that did all in-camera processing. Later cameras could do all the 4K processing and apply proper LUTs in the hardware in real-time, but earlier ones didn't have the processing power, you had to do it all in post. People just didn't get it, and it worried people when things come out all washed out before applying any kind of LUT.
Crazy some of this is trickling down into phones.
If I understand this correctly, the quality of dark scenes should then improve.
Would that then also allow users to edit the LUT or supply their own to get a better picture on their respective monitors?
So for a finished product, the way it is now is better.
Plus storing extra data in the dark areas for display is pointless. You only do it because you want to manipulate the data and maybe bring something out of the dark area, but in the final product, dark is dark.
If you, for whatever reason, wanted to give the user more data, then you would provide a 10-bit or 12-bit linear file.
Do I understand correctly, that this idea wouldnt work because you either end up with the same quality, but bigger files or with the same file size, but worse quality?
I had this idea that you could increase the amount of black colors a monitor could display if you combine 4 pixels. Having 3 black, and one of them "one bit" less black. This way you could have a more fine grained black-white transition.
I thought a "log" video might be able to contain the information to allow this without to much overhead.
Right now we can transmit levels of black with a regular 8-bit PNG file. The issue is that you can’t display it unless you are using an OLED screen, which your phone probably has but your computer monitor doesn’t (usually due to $$ for your average person).
RAW footage, can barely be called video. Those files don't even have any White Balance and ISO data baked in, just raw data from the sensor, providing even more amount of control in post production, at the expense of working with extremely large files.
I hear it's good to perform demosaicing, denoising and super-resolution in one step, so perhaps that's what's happening here?
EDIT: on the video (section "Log is Half-Baked"), they also mention the processing includes tone mapping, color adjustment and lens distortion correction.
For example, iPhones automatically brighten people once they detect a face, which is especially noticeable when taking photos against the light. It ruins the contrast and makes the photo look really bad.
Is there a way to turn that stuff off?
1. Taking Live photos can be a good work around, since this mostly maintains the individuals frames which are used to build the full image. Use the built in photo editor to go to a different frame in the live photo and set this as the Key Photo - this dodges a lot of the HDR/image adjustment process.
2. Using the AE/AF lock can prevent a fair bit of the automated adjustments from taking place. (Tapping the screen on dark areas or hot points will adjust the exposure, holding your finger for a moment will turn on the AE/AF lock keeping it there as you move the phone around.)
3. If it's not just for one shot, but all shots you take. Go to the Camera settings and turn on preserve "Exposure Adjustment", in the settings which starts each camera session with the exposure settings preserved from earlier - and simply keep this on 0.0. This can also make it more straight forward (one tap) to undo much of the automatic levelling without locking AE. Similarly you may want to also disable night shooting for darker scenes, by preserving that setting too.
4. On older iPhones, disable the HDR mode.
Similarly, ProRAW photos imported to Apple Photos on Mac can be reduced in processing by clicking Edit Photo, and then hitting Save Changes without necessarily changing any settings (or just changing something inconsequential would work too). Doing editing forces the Photos app to discard the preprocessed image embedded in the ProRAW and replaces it with a software processed version which I find slightly more natural. However, ProRAW is still processed by the phone, so you need to download a third party app and shoot classic non pro RAW (then use the same conversion shortcut maybe) on top of it.
According to the developer of something called AMVR [2], the quality obtainable is much higher than that of even the aforementioned log files from iOS.
I asked whether it would be feasible to shoot DNG on iOS as video and was told that iOS lacks a camera API that is performant enough, resulting in several fps only. I haven't personally tested it though, so maybe this could be a fun project.
[1] https://www.youtube.com/watch?v=SyeS_xYxCLI&pp=ygUfYW15IHNoY...
As a side note, whenever Apple takes steps to release a feature aimed at professionals there is a significant uptick in users trying out MotionCam. I think there is a small but very vocal group of users that have wanted something like this for years but have not been catered to.
Ha, and here I am, learning about your app for the first time, and about to install it... :)
Halide, like the official camera app, can also shoot ProRAW but ProRAW is not totally RAW, it has been processed with the frame stacking to reduce noise, but introduces sharpening artifacts.
I’m always pissed about bad the iPhone is at taking photos of rainy days.
Given that it gives such fine-grained control of the sensor, it wouldn't surprise me though.
Edit: Fix typo
What's wrong with contrast?
Hardly a selling point.
> titanium since 2017
Source?
> 10 times larger sensors
4 times (48mp vs 200mp), and zooming into the highest quality images produced by both cameras yields little difference.
This comment feels like grasping at straws. The iPhone and Samsung both have excellent cameras, and excel in different places. Camera comparisons by professional photographers show that much. In my non-professional opinion, samsung wins in some edge cases, but the iphone generally has a better colour profile and undeniably better video capabilities, but debating about minute differences in camera processing in a text only forum feels counter productive, especially when plenty of professional comparisons exist.