Image index lookup

../../../../_images/image_index_lookup.svg

Takes an integer image and perform a table lookup against a table indices. It maps each integer value in the input image against the row that has that index. For each non index column in the table it creates one channel of output data with the value at that row. colums in that row it creates one channel.

Can be used for palette lookup or for operating on superpixel labels.

Documentation

Takes an integer image and perform a table lookup against a table indices. It maps each integer value in the input image against the row that has that index. For each non index column in the table it creates one channel of output data with the value at that row. colums in that row it creates one channel.

Can be used for palette lookup or for operating on superpixel labels.

Definition

Input ports

labels
Type: image
Description: Input image
palette
Type: table
Description: Table with palette values, each column becomes one channel

Output ports

output
Type: image
Description: Output image

Configuration

Index column (index column)

Column names with indices to match

Examples

Example flows demonstrating this node:

Implementation

class node_indexing.ImageIndexLookup[source]