Masking with per-pixel gamma
We’re getting ready to release a new version of Conduit. In addition to supporting more host platforms, this 1.6 update makes some new features available to current users of Conduit for Final Cut Studio. There’s no upgrade cost, it will be a free download.
One of these new features is the Embedded Image node. It allows you to load an image directly into the conduit — no more need to put still images in the plugin’s image wells!
Once an image is loaded into an Embedded Image node, it stays as part of the .conduit file (there’s no dependency on the original file). This is highly convenient for images that are part of the effect, such as a mask used to create a specific look. This post shows one example.
As you may already know, most nodes’ parameters in Conduit can be driven by an image. This allows a wide range of interesting per-pixel effects that are essentially impossible in traditional graphics applications. For example, in After Effects you can apply a gamma to the entire image… But what if you wanted a different gamma value applied to each pixel?
While impossible in AE, it’s a breeze in Conduit. To demonstrate, I’ll reuse this image which previously made an appearance in this post:

Here’s the mask — just a plain ellipse drawn in Photoshop, rotated and blurred:

To control each pixel’s gamma value with this image, we just need to plug the image into the Gamma node’s gamma parameter. I’d like to perform this operation in linear light colorspace, so I also need two colorspace conversion nodes. Here’s the effect:

(Notice the blue node? That’s Embedded Image.) Ok, clearly the mask image is much too contrasted, we don’t want the image to go all black in the corners. Some tone adjustment nodes should take care of that…

The mask image’s black level was raised and its steep falloff flattened. These are the settings for the Bezier Curve and Levels nodes.
What next? Maybe we could add a color tint using the same mask. For basic tinting, the Multiply node works just fine. But the mask we have is black & white — to get a duotone color image from it, we can use the Gradient node to map the black/white into colors (this technique was discussed in more detail here). The colors chosen here are light orange tones:

The result image:

Out of curiosity, what would this effect look like if we didn’t use the linear colorspace? That’s easy to find out by simply bypassing the Video->Linear and Linear->Video nodes…

This look is more artificlal, with steeper contrast and greater saturation variation in the shadows. But since Conduit is non-destructive, you can always keep experimenting to find a happy medium between these looks: things to try might be tweaking the colors plugged into the Gradient node, or entering different values for the “gamma” parameter in the Video->Linear->Video conversion nodes.
















































