<< CreateCumulatedHistogram IPD - Image Processing Design CreateHistogram >>

IPD - Image Processing Design >> IPD - Image Processing Design > CreateFeatureStruct

CreateFeatureStruct

generates a struct that can be used as input parameter for AnalyzeBlobs

Calling Sequence

IsCalculated = CreateFeatureStruct(InitialValue);

Parameters

InitialValue

boolean, specifies whether all components shall be %t or %f. This parameter is optional. The default value is %f.

IsCalculated

struct with the following components:

  • BoundingBox: column vector with the four elements [upper left column; upper left row; witdth; height].

  • Centroid: vector with the elements [center column, center row].

  • PixelIndexList: column vector that contains linear indices of all pixels belonging to the blob.

  • PixelList: matrix with two columns, first column contains the columns, second component the rows of all pixels belonging to the current blob.

Description

This function generates a struct that can be used as input parameter for AnalyzeBlobs.

Examples

IsCalculated = CreateFeatureStruct(%t)

See also

<< CreateCumulatedHistogram IPD - Image Processing Design CreateHistogram >>