Property VLAdaptiveThreshold.TVLAdaptiveThreshold.ThresholdType

From Mitov Wiki Doc
Jump to: navigation, search

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: TVLAdaptiveThreshold

Contents

Syntax

Delphi:

property ThresholdType : TVLAdaptiveThresholdType read FThresholdType write SetThresholdType default attMean;

C++ Builder:

__property TVLAdaptiveThresholdType ThresholdType = { read=FThresholdType, write=SetThresholdType, default=attMean };

Summary

The threshold type.

Description

Use this property to specify the threshold type - Mean or Gaussian.


When selected Mean - Calculate the threshold as a mean of block_size × block_size pixel neighborhood, subtracted by the TVLMotionDetect.Subtract property.

When selected Gaussian - Calculate the threshold as a weighted sum (Gaussian) of block_size × block_size pixel neighborhood, subtracted by the TVLMotionDetect.Subtract property.


Delphi example:

VLAdaptiveThreshold1.Mode := attMean;

C++ Builder example:

VLAdaptiveThreshold1->Mode = attMean;

Visual C++(MFC) example:

VLAdaptiveThreshold1.Mode = attMean;

C# Example:

adaptiveThreshold1.Mode = Mitov.VisionLab.AdaptiveThresholdType.Mean;

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox