ForegroundHistogramFree

Frees memory allocated for the foreground/background segmentation structure.

Syntax

IppStatus ippiForegroundHistogramFree_8u_C1R(IppFGHistogramState_8u_C1R* pState);

IppStatus ippiForegroundHistogramFree_8u_C3R(IppFGHistogramState_8u_C3R* pState);

Parameters

pState
Pointer to the segmentation state structure.

Description

The function ippiForegroundHistogramFree is declared in the ippcv.h This function frees memory allocated by the function ippiForegroundHistogramInitAlloc for the state structure pState for the histogram modeling of foreground and background.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or a warning.

ippStsNullPtrErr

Indicates an error if pState is NULL.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.