Granulometry
Computes the granulometry of a textured image using morphological operations.
Syntax
Definition:
HRESULT Granulometry(
HRESULT hrPrev,
ITcVnImage* ipImage,
ITcVnContainer*& ipIntensityDiffs,
ETcVnMorphologicalOperator eMorphType,
ULONG nMinSize,
ULONG nMaxSize,
ULONG nStep
)Parameters
|
Name |
Type |
Description |
|---|---|---|
|
hrPrev |
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) | |
|
ipImage |
Source image (1 channel) | |
|
ipIntensityDiffs |
Returns the intensity differences between successive structuring element sizes (CTcVnContainer_Vector_LREAL), which can be used as features for texture description. | |
|
eMorphType |
Only opening or closing are supported. | |
|
nMinSize |
ULONG |
Min structuring element size (odd, >= 3) |
|
nMaxSize |
ULONG |
Max structuring element size (>= nMinSize) |
|
nStep |
ULONG |
Step, by which nMinSize is incremented until nMaxSize is exceeded (even, >= 2). |
Required License
TC3 Machine Learning Realtime Inference
Return value