Nov 18th 2011

Download RGBtoLAB 1.03Download RGBtoLAB

Ok, this Fuse started off as a really tiny one.  Fusion already has a CSConvert() that does Lab.  So all I have to do is…

if mode == 0 then

out:CSConvert("RGB", "LAB")

else

out:CSConvert("LAB", "RGB")

end

Simple and fast.  But the results were a bit… unexpected. So we added a little tweak which has no basis in known color science, it just makes is so that a linear RGB input returns what I think is a linear L output.

So why doesn’t ColorSpace have an Lab button?  I don’t know.  You can see LAB color in action in the Wand tool, though.

Other options include output a LUT Image only, as if it were a Source tool.  Same as the new option on ColorMatrixTransform.  You can also choose whether to affect the canvas color or not.


9 Comments »
May 11th 2011

The signed distance operator can be quite useful when doing image/voxel data processing based on a pixel’s distance from an iso-surface. This plugin calculates just that. The plugin is implemented using Open CL, so the Open CL program should also be copied into the same directory as the Fuse plugin.

Download Signed Distance Fuse Download Signed Distance Fuse

The tool has inputs to control the position of the iso-surface (Zeropass Threshold) and the number of rasterizing passes (Number of Passes). The output can be a distance value or a 2D – vector pointing towards the closest point in the iso-surface.

Get the Flash Player to see the wordTube Media Player.

No Comments »
May 2nd 2011
Set Color

Very simple fuse, this one just fills the canvas with a color.

Set Color Tilepic

Download Set Color Fuse Download Set Color Fuse

Needed this on a project where I was laying out logos and graphic elements that had to always be a specific color, and the existing workflow with many BG’s was too messy.  Normally I would have just tolerated the mess, but this Fuse is simple enough to be made in less than 5 minutes.

No Comments »
Oct 29th 2010
Else?

Strange one, this…  I wrote a Fuse earlier this year that did nothing but “else”.  If the FG is there, use it, else use the BG.  So it’s a bit like using a DX for a "graceful failure", but there’s no UI to mess up, and most importantly, it preserves DoD, something DX doesn’t do.

Download Else Fuse 1.1Download Else Fuse

So what’s odd?  It didn’t work.  There was some sort of problem with it that I couldn’t fix.  The code was really simple, but for some reason, it didn’t work.  But now, four builds of Fusion later, it seems to work just fine.  So I’m going to post it, and if you happen to find out that it still fails for some reason, go ahead and let me know.

4 Comments »
Oct 29th 2010

Finally took the plunge and converted one of our icky Lua Fuses into shiny OpenCL.

Download Unit Vector OpenCL Fuse Download Unit Vector OpenCL Fuse

It’s a very simple function, normalizing a vector and returning that in the RGB while putting the original length into the A.  In the case of the 4D normalize, you don’t get the length.  I have no idea what took me so long to get around to this, it only took an hour or two to flesh out, but I got hung up by the fact that my video card, a Quadro 5000, does not, at this time, have OpenCL drivers that support float3.  Float4?  Fine.  Float2?  No problem.  Float3?  Fail.  So I went ahead and implemented the 3D normalize manually, and used the fast_normalize OpenCL function to make a 4D normalize.

Read the rest of this entry »

1 Comment »
Oct 21st 2010

Stefan Ihringer pointed out something on the VFXPedia that finally got me to put together a Fuse I’ve been putting off.   Since Joe Laffey never got around to updating his plugins, it makes sense to go ahead and toss this up.

Download AlphaDivideMultiply Fuse 1.01Download AlphaDivideMultiply Fuse

Just a simple RGB/A or RGB*A, plus a “Solid” and “Clear” so you don’t have to use the annoying Bol or Mat as much.   Nothing groundbreaking, but it should save a few clicks per day.

UPDATE:  I made a ViewShader for this in case you want to keep this operation in the viewer and not in the flow. Download AlphaMultiplyDivideVS

No Comments »
Oct 18th 2010

Not multum in parvo, but Maximum (or Minimum) Intensity Projection.

Download MIP Fuse 1.13Download MIP Fuse

This simple Fuse just takes a range over time and generates an image with the highest or lowest pixels.  Great for normalizing.  It does so for each channel, so it can be useful for color normalization too, or for finding the bounding box of a position pass.  It can also be useful for making “summary” thumbnails of footage.

Read the rest of this entry »

7 Comments »
Sep 20th 2010

A variation on the ColorToMono fuse, ColorSplitter outputs multiple scalars from an image. Can trivially be modified to output vectors too.  Mostly designed to reduce clutter in a flow, so you don’t have a bunch of needless Bol’s and fMon's.  Useful when you are loading an image with many packed data channels.

Download ColorSplitter Fuse 1.1Download ColorSplitter Fuse

Read the rest of this entry »

14 Comments »
Oct 22nd 2009

Fusion 6 added a Color Matrix tool that lets you enter your own matrix by hand, but the biggest problem with it is the lack of any methods to modify it with.  You can’t even assign controllers to it.

Fuses, however,  let you use handy methods to modify a matrix.  I’ve used some of them to create an RGB equivalent of the 3D Transform tool.  It has a similar UI, just as 3TT does, but this modifies RGB, not XYZ or UVW.

Color Matrix Tranform fuse

Color Matrix Transform fuse

Read the rest of this entry »

7 Comments »
Oct 22nd 2009

Two more Fuses, this time some really simple ones that convert multi-channel images to mono-channel and back again.   Color is overrated, in general, and I find myself getting a lot of use out of these.

Color to Mono

Color to Mono

Mono to Color

Mono to Color

Read the rest of this entry »

1 Comment »

« Previous Entries