Atlas 0.3

I’ve added proper color-​​space con­ver­sion to Atlas, so you shouldn’t be get­ting any more over-​​saturated results.

The one remain­ing bug I’ve come across is the bro­ken Rein­hard ’05 map­ping — please let me know if you find any­thing else bro­ken or behav­ing unexpected!

Down­load the newest ver­sion of Atlas.

Atlas 0.2

Well, that was quick! Thanks to user feed­back I was able to fix two nasty lit­tle bugs in the orig­i­nal release of Atlas right away.

Grab the lat­est ver­sion!

Atlas 0.1 is out

As pre­vi­ously announced, here’s the first release of my new tone map­ping plug-​​in for After Effects, Atlas.
The release is buggy and prob­a­bly not fit for pro­duc­tion, but it’s open-​​source so I hope to get some help to bring it up to speed! Atlas is released under the free GPL license.

This release is Win­dows only for now… how­ever, the full source code is included, which means that any­one with more time on their hands than me can feel free to com­pile a Mac ver­sion. I didn’t try it myself, but there’s no rea­son why it shouldn’t run on Mac OS X.

To com­pile the code you will need to down­load and link with the After Effects SDK. For legal rea­sons I unfor­tu­nately can­not dis­trib­ute these files with Atlas. The required pfstmo libraries are included with the down­load, however.

The code is not yet well doc­u­mented, but the plug-​​in itself is just about as sim­ple as it gets, so you should find your way around eas­ily if you’re famil­iar with the SDK.

Hints on usage

If you’re not famil­iar with the con­cept of tone map­ping, Wikipedia has a good intro­duc­tion that should give you an idea of the use and func­tion­al­ity of this ver­sa­tile tech­nique.
Please note that for obvi­ous rea­sons the effect is most use­ful in 32-​​bit color mode with 32-​​bit source images. It will work in lower modes but the result­ing effect might not be what you expect.

Please go ahead and down­load Atlas and then let me know in the com­ments if you come across any bugs or have other suggestions!

Atlas

Atlas is a port of the pfstmo tone map­ping oper­a­tors to the Adobe After Effects plug-​​in for­mat. This plug-​​in is free open source soft­ware licensed under the GPL.

AtlasAtlasAtlasAtlasAtlas

Tone Map­ping

So what’s tone map­ping you ask? Accord­ing to Wikipedia:

Tone map­ping is a tech­nique used in image pro­cess­ing and com­puter graph­ics to map a set of colours to another; often to approx­i­mate the appear­ance of high dynamic range images in media with a more lim­ited dynamic range.

The tech­nique is par­tic­u­larly use­ful if you have high dynamic range images, such as ren­dered CG-​​imagery in float­ing point color-​​depth (OpenEXR) or HDR pho­tographs, and you want to bring their broad spec­trum into a range more suit­able for dis­play on a com­puter mon­i­tor or tele­vi­sion screen.

There exist numer­ous tone map­ping oper­a­tors that approach this prob­lem from dif­fer­ent angles and achieve vary­ing results.

Sup­ported tone map­ping operators
Drago
Ashikhmin
Rein­hard ’02
Rein­hard ’05
Man­tiuk
Durand
Pat­tanaik
Fat­tal

Lately, the effect has also become some­thing of a fad in photographer’s cir­cles, as a quick Flickr Search will show.
Still tone map­ping is a very ver­sa­tile tech­nique that can be used for pho­to­re­al­is­tic as well as artis­tic effects.

Down­load Atlas 0.3 (Beta)

Down­load
Sorry, Win­dows only for now. The included source code may be used to com­pile a release for Mac OS X by some­one with more time on their hands than me.
If you want to play with the code you will also need to install the After Effects SDK, which I can­not include for legal reasons.

Usage Notes

Atlas is designed to work exclu­sively in 32-​​bit float­ing point color-​​space. Apply­ing Atlas in 8-​​bit or 16-​​bit projects will yield unpre­dictable and/​or pos­si­bly unbe­liev­ably gross and ugly results. Don’t say I didn’t warn you…

Dona­tions

Devel­op­ing free soft­ware costs time and money. If you appre­ci­ate my work and use it in pro­duc­tion, please donate.
I will be more inclined to release cool stuff in the future if I see that my work is appreciated.

Object ID Selector Update

The Object ID Selec­tor for After Effects that I announced ear­lier has seen sev­eral improve­ments in the lat­est update and is nearly ready for production.

objectidselector

The main improve­ment in this ver­sion is that the plug-​​in is no longer just a dumb keyer that lets you pick objects by their color. Instead you may opt to pick objects by their posi­tion!
This makes for a super-​​efficient work­flow: Sim­ply click on an object in your beauty pass and the plug-​​in will auto­mat­i­cally iso­late it for you — no need to switch to the Object ID pass, select a color area, switch back to the beauty and pray that you chose the right object.

It really couldn’t be easier!

If all goes well we’ll be using this plug-​​in in our upcom­ing projects.

Object ID Selector

Adobe After Effects is shipped with a num­ber of extremely capa­ble color key­ing plug-​​ins. To inter­act with my lat­est 3D shader minOb­jec­tID I required a sim­ple chroma keyer that would make it quick and sim­ple to select indi­vid­ual objects by their asso­ci­ated color ID for fur­ther pro­cess­ing as an alpha mask.

The ideal can­di­ate should ful­fill these basic require­ments and not much more:

  • Be as sim­ple and effi­cient as possible
  • Out­put a spe­cific color and not what­ever object was keyed
  • The result should be invertible
  • Be extremely pre­cise with no room for tolerance
  • Works in 8-​​, 16– and 32-​​bit color space

None of the included key­ers met all of my cri­te­ria because they either didn’t work in floating-​​point mode or were sim­ply overkill for my purposes.

I then remem­bered that I had once started to write a lit­tle chroma key­ing appli­ca­tion a few years ago and so I decided to sift through my old backup dri­ves in the hopes of find­ing this lost piece of code in order to rip out its guts and to form it into the ulti­mate Object ID selec­tor for After Effects.
For­tu­nately, I ended up find­ing the project and here I am to write about my new plug-​​in, sim­ply named Object ID Selec­tor for now.

This plug-​​in has very few para­me­ters, mak­ing it sim­ple to setup. It’s in no way an all-​​purpose key­ing solu­tion, but for select­ing IDs of objects I think this stripped down keyer is the ideal choice.

I have not yet con­sid­ered solu­tions for the alias­ing issues that might arise between over­lap­ping objects but I hope to find a prac­ti­cal answer to at least mit­i­gate the problem.

Once the plug-​​in has gone through a phase of test­ing I will prob­a­bly make the soft­ware pub­licly avail­able so it can be used in com­bi­na­tion with minOb­jec­tID.