Back to Aurora Vision Library website

You are here: Start » Function Reference » Computer Vision » Template Matching » ControlEdgeModelLimits

ControlEdgeModelLimits


Header: AVL.h
Namespace: avl
Module: MatchingPro

Limits the size of the EdgeModel objects created by CreateEdgeModel filter.

Syntax

C++
C#
 
void avl::ControlEdgeModelLimits
(
	atl::Optional<int> inSoftMemoryLimit,
	atl::Optional<int> inHardMemoryLimit,
	bool& outHardMemoryLimitViolationStatus
)

Parameters

Name Type Range Default Description
Input value inSoftMemoryLimit Optional<int> 1 - NIL Maximum number of megabytes an EdgeModel can have
Input value inHardMemoryLimit Optional<int> 1 - NIL Maximum number of megabytes an EdgeModel creation function can take
Output value outHardMemoryLimitViolationStatus bool& Flag indicating whether the memory limit was violated recently

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.