Herror ::gray_projections (
    Hobject Region,
    Hobject Image,
    const HTuple &Mode,
    HTuple *HorProjection,
    HTuple *VertProjection
)
HTuple HRegion::GrayProjections (
    const HImage &Image,
    const HTuple &Mode,
    HTuple *VertProjection
) const

Calculate horizontal and vertical gray-value projections.

::gray_projections calculates the horizontal and vertical gray-value projections.


Parameters

Region (input_object)
region -> Hobject: HRegion
Region to be processed.

Image (input_object)
image -> Hobject: HImage
Grayvalues for projections.

Mode (input_control)
string -> HTuple.char *
Type of invariance.
Default value: 'simple'
List of values: 'simple', 'rectangle', 'wave'

HorProjection (output_control)
real-array -> HTuple.double *
Horizontal projections.

VertProjection (output_control)
real-array -> HTuple.double *
Vertical projections.


Module

Image filters



Copyright © 1996-2002 MVTec Software GmbH