Magic Lantern Forum

General Discussion => General Chat => Topic started by: a1ex on April 01, 2018, 08:45:52 AM

Title: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: a1ex on April 01, 2018, 08:45:52 AM
Found this after looking into an issue reported by Walter (https://www.magiclantern.fm/forum/index.php?topic=14828.msg196225#msg196225). Couldn't solve it, but discovered something a little more interesting: how to re-program the bokeh 8)

Say goodbye to busy backgrounds!

Left: with Canon firmware.
Right: with Magic Lantern's new "Crème de la crème à la Edgar" feature.
Camera: 5D Mark III, using the hardware mod from the homepage (https://magiclantern.fm/).
Lens: EF-S 24mm f/2.8 STM.

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fa1ex.magiclantern.fm%2Fbleeding-edge%2Fcreme-de-la-creme-a-la-edgar%2Fa.jpg&hash=832de7ed34e8fe685f735ff8e6c497c6) (https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fa1ex.magiclantern.fm%2Fbleeding-edge%2Fcreme-de-la-creme-a-la-edgar%2Fb.jpg&hash=57f342990fd04fd34cc82c5e094fa506)

Technique: https://petapixel.com/2018/02/12/get-look-smooth-trans-focus-without-stf-lens/

Download: after Arikhan uploads the NX1 raw hack (https://www.eoshd.com/comments/topic/26832-nx1-raw-video/).

Happy Easter egg hunting!
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: flostro on April 01, 2018, 09:12:09 AM
Does the hardware mod involve a brick?
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: garry23 on April 01, 2018, 09:24:28 AM
Love it ;)
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: nikfreak on April 01, 2018, 09:50:14 AM
 :P :P :P
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: Kharak on April 01, 2018, 12:50:48 PM
This is what I have been waiting for, now i can finally shoot with my 5 Blade aperture lenses and get creamy round bokeh balls!!
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: ilia3101 on April 01, 2018, 01:07:34 PM
Does this work for manual lenses?  :D 🍳🐣
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: bouncyball on April 01, 2018, 01:22:41 PM
I got one lovely lens from ancient microscope with 3 blade aperture and think it will be perfect match for that _perfect_ canon mod. Ancient to Canon adapter attached.
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: a1ex on April 01, 2018, 02:23:43 PM
This is what I have been waiting for, now i can finally shoot with my 5 Blade aperture lenses and get creamy round bokeh balls!!

Good point, here's a sample with my (broken) 50/1.8:

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fa1ex.magiclantern.fm%2Fbleeding-edge%2Fcreme-de-la-creme-a-la-edgar%2Fc.jpg&hash=b80ce1b1e4c073f2b90ef5c1e88cbe5c)

Not as controllable, but seems to work, to some extent.
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: nikfreak on April 01, 2018, 02:40:31 PM
Thanx for making use of apsc lenses possible on 5D3. Truly awesome. ;D
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: unity2k on April 01, 2018, 04:00:37 PM
Will this be available in all versions of Magic Lantern?
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: axelcine on April 01, 2018, 08:47:37 PM
O, A1ex, this is absolutely too wonderful to be true - maybe it's something, that only occurs on the 1st of a certain month...?
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: extremelypoorfilmaker on April 01, 2018, 10:43:25 PM
BEST. UPDATE. EVER!

 :-*
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: jpegmasterjesse on April 01, 2018, 11:31:39 PM
USE WITH EXTREME CAUTION.

I'm such a 5D2 Stan that I tried pairing this with the experimental Dual Iso module, and the experimental 10/12 bit broken 3x crop build and MLV Lite.  Camera initially seemed to be performing at 1DX / Alexa Mini levels but started smoking and I got an error 20.  Currently unusable and has serious fogging on the screen.

Edit:  Damnit.  What's it called when you are tricked into thinking something is a trick?  100% thought everything a1ex posted was fake.
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: Walter Schulz on April 01, 2018, 11:49:55 PM
The fogging is intentional and the very cause of the creamy effect.
Just avoid using this feature in vicinity of smoke detectors and you're fine.
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: a1ex on April 01, 2018, 11:55:55 PM
Some different tuning (before/after):

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fa1ex.magiclantern.fm%2Fbleeding-edge%2Fcreme-de-la-creme-a-la-edgar%2Fd.jpg&hash=1c5bf73b5ae4fef9af599ad74f83ee98) (https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fa1ex.magiclantern.fm%2Fbleeding-edge%2Fcreme-de-la-creme-a-la-edgar%2Fe.jpg&hash=adefc5865774907cc22fea76f855a7db)

And some attempt to capture something else besides LEDs (sorry for the focus difference; retrying):

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fa1ex.magiclantern.fm%2Fbleeding-edge%2Fcreme-de-la-creme-a-la-edgar%2Ff.jpg&hash=784470084d1a98a0bb1e945e02224c7c) (https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fa1ex.magiclantern.fm%2Fbleeding-edge%2Fcreme-de-la-creme-a-la-edgar%2Fg.jpg&hash=b10ad8a0c31e411a57017b95b81e2802)

Retried, this time captured both photos without touching the camera or the scene; still the same focus difference:
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fa1ex.magiclantern.fm%2Fbleeding-edge%2Fcreme-de-la-creme-a-la-edgar%2Fh.jpg&hash=7917736c996a61b136d7c4b8e057bbac) (https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fa1ex.magiclantern.fm%2Fbleeding-edge%2Fcreme-de-la-creme-a-la-edgar%2Fi.jpg&hash=c648502f28e922c6717d936d5aeeec86)
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: tonij on April 02, 2018, 12:34:32 AM
I don't believe this... You've done it again! Can't wait til this becomes available on the 5d mark 4.
Please post a sample with a foreground!!! (Edit: beat me to it!)
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: theBilalFakhouri on April 02, 2018, 01:41:46 AM
If this true and I don't think because it's mind blowing and I always thought the bokeh can only change by lenses, you are like Andrew Kramer in After Effects but in Magic Lantern and a1ex version :D
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: Quentin on April 02, 2018, 10:14:34 AM
Its really a welcome addition.
However, sometimes the sharp halos indicate the optics processing.
Soft halos resemble a Gaussian blur in After FX.
I have to see it in practice to evaluate the difference.
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: Levas on April 02, 2018, 10:21:29 AM
After reading the article from Twitter, I wonder.
Are your examples single exposure or multi exposure aperture bracketing  ???

If you found out a way to change aperture during one single exposure...than this should be really fun to play with  8)

EDIT
Wait you already gave a big hint:
Quote
Maybe it's the leaf shutter effect :)

Single exposure  :o
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: a1ex on April 02, 2018, 11:19:36 PM
Right, single exposure, 1/50 with 24mm/2.8 and 0.5" with 50mm/1.8. The former can adjust the aperture smoothly, while the latter can only do discrete steps (therefore the larger exposure time). Tuning has to be fine-tuned manually for each shutter speed (at least at this stage).

There was no postprocessing, other than developing the raw files (CR2 or DNG) in ufraw. The creamy bokeh images were actually full-res silent pictures with variable aperture. Unfortunately I couldn't get it to work with regular CR2 files.

The same trick is useful for getting full-res silent pics with normal exposure at hand-holdable shutter speeds, although with a pretty interesting bokeh. It simply closes the aperture to f/22 after some time, simulating a leaf shutter (one that doesn't fully close, so it still leaks some light after the exposure "ends").

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fa1ex.magiclantern.fm%2Fbleeding-edge%2Fcreme-de-la-creme-a-la-edgar%2Fj.jpg&hash=1b2fc04fc61a8dd8f783281930397608) (https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fa1ex.magiclantern.fm%2Fbleeding-edge%2Fcreme-de-la-creme-a-la-edgar%2Fk.jpg&hash=b9c2632b3ff9067425f9e641fb1ccae5)

Background: with current FRSP implementation, which you all know it gives overexposed images, the exposure starts at the same time on all rows (global shutter when starting the exposure), but ends at different times (gradient, top line is read out first, then subsequent lines are going to capture more light - rolling shutter). With regular pictures, the mechanical shutter determines what exactly is captured from the outside world (that's why you don't see any gradient in a regular CR2), but the sensor is "open" for a longer time. See timing analysis (https://www.magiclantern.fm/forum/index.php?topic=12523.msg121962#msg121962) for more details.



Some related fun stuff: http://www.aggregate.org/DIT/ccc20140116.pdf
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: theBilalFakhouri on April 19, 2019, 10:31:44 AM
Is this feature still there? Any source code or working build?
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: nikfreak on May 03, 2020, 12:37:25 PM
Was this just an April's fool or does this one exist?
Title: Re: Smooth and creamy bokeh with Magic Lantern? Crème de la crème à la Edgar!
Post by: a1ex on May 03, 2020, 01:50:17 PM
It was real, but it was tricky getting it working reliably with all my chipped lenses (50/1.8 II, 24mm/2.8 STM, and 18-55 IS II on APS-C), on both DIGIC 4 and 5.

I can share the source if there is any interest in developing this further. For now I can only test with 5D3 and 24mm/2.8 STM, until the lockdown is over.