Back Home Table of Contents

Filter Mapper

The Filter Mapper allows you to create your own custom filters with a drag-and-drop interface.

The Filter Mapper is available in NPS Image Editor 5.2 or later.

The basics

Opening the Filter Mapper starts with a blank map which has a Start and End block. Add one or more operations in between those blocks, then drag lines between the points to connect them. Any errors will appear at the bottom of the window.

You can load existing filter maps from the dropdown in the top left, save your current map, duplicate an existing map as a starting point, or export it as a .npss file.

Run the filter map by clicking the green Run button. This button will be disabled if your map contains errors.

Operations

Filters

At its most basic, the Filter Mapper allows you to chain multiple filters together. The "Old-fashioned Photo" map is an example of this; it chains 7 filters together in a simple line.

You also have access to internal filters (used by the Filter brush) and other color-based operations like Reduce Color Depth, Color Matrix, Gradient Map, and Look-up Table.

Blending

The Duplicate and Merge operations allow you to take your image, create copies of it, operate on those copies, and then merge them back together using layer blending. The "Angelic Glow" map is an example of this; it blurs a copy of the image and then merges it back using the Overlay blending mode, creating a bright glow effect.

Repetition

Sometimes you need to run the same filter (or chain of filters) multiple times. The Repeat operation allows you to do this. The Repeat block has 2 sets of inputs and outputs; the "loop" inputs and outputs connect to your chain of filters.

Working with channels

Working with individual channels opens up a new world of possibilities. This is done with the Decompose and Compose operations. Choose a color space for each side, then connect each channel through various operations.

A trivial example is the "Recolor" map; it moves red to green, green to blue, and blue to red (without using any filter blocks). You can also replace the Channel Mapper filter using such operations by choosing one color space for Decompose and a different color space for Compose. Or you can swap alpha and mask.

A more advanced usage of this is Luminance Curve, which allows you to use the Curves filter on the luminance channel in the Lab color space.

Workflow management

One benefit of using the Filter Mapper is for maintaining your workflow. Let's say you come up with the perfect combination of filters and operations. Instead of having to hand-edit a script, you can open it in Filter Mapper and then trivially tweak parameters using the visual UI.

Under the hood

The Filter Mapper generates .npss scripts that can be run like any other script, or can be edited manually. (Note that manually editing such a script will prevent you from editing it visually in the future.)

See also: