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

PixelTableGetPixelCount

Get the number of pixels encoded in the pixel table

SYNOPSIS

#include "dip_pixel_table.h"

dip_Error dip_PixelTableGetPixelCount ( table, count )

FUNCTION

Gets the total number of pixels of the binary object that is encoded by the Pixel table table.

ARGUMENTS

Data typeNameDescription
dip_PixelTabletablePixel table
dip_int *countpointer to count

SEE ALSO

Description of DIPlib's pixel tables

PixelTableNew, PixelTableSetRun, PixelTableGetRun, PixelTableAddRun, PixelTableGetRuns, PixelTableGetDimensionality, PixelTableGetDimensions, PixelTableGetOrigin, PixelTableGetSize, PixelTableGetOffsetAndLength