MCPcopy Create free account
hub / github.com/creatale/node-dv / cvInitTreeNodeIterator

Function cvInitTreeNodeIterator

deps/opencv/modules/core/src/datastructs.cpp:3431–3444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3429
3430
3431CV_IMPL void
3432cvInitTreeNodeIterator( CvTreeNodeIterator* treeIterator,
3433 const void* first, int max_level )
3434{
3435 if( !treeIterator || !first )
3436 CV_Error( CV_StsNullPtr, "" );
3437
3438 if( max_level < 0 )
3439 CV_Error( CV_StsOutOfRange, "" );
3440
3441 treeIterator->node = (void*)first;
3442 treeIterator->level = 0;
3443 treeIterator->max_level = max_level;
3444}
3445
3446
3447CV_IMPL void*

Callers 3

cvDrawContoursFunction · 0.85
cvTreeToNodeSeqFunction · 0.85
icvWriteSeqTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected