DIPlib Documentation - ©1995-2009 Quantitative Imaging Group, Delft University of Technology.

PixelTableCreateFilter

Create a pixel table from a filter shape

SYNOPSIS

#include "dip_pixel_table.h"

dip_Error dip_PixelTableCreateFilter ( table, filterSize, filterShape, se, resources)

FUNCTION

This function allocates and creates a new pixel table data structure. The shape and dimensionality of the pixel table is specified by the filterSize, filterShape and se parameters.

ARGUMENTS

Data typeNameDescription
dip_PixelTable *tablePointer to a pixel table
dip_FloatArrayfilterSizeFilter size
dip_FilterShapefilterShapeFilter shape
dip_ImageseStructuring element
dip_ResourcesresourcesResources tracking structure. See ResourcesNew

SEE ALSO

Description of DIPlib's pixel tables

BinaryImageToPixelTable, PixelTableToBinaryImage

DIPlib on-line documentation | Function reference | Global function index