Property VLBackgroundSubtractor.TVLShadowDetection.ShadowThreshold

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
 
(Automated Syncronization with Documentation)
Line 10: Line 10:
 
=== Delphi: ===
 
=== Delphi: ===
 
<code>
 
<code>
'''property''' ShadowThreshold : Single '''read''' FShadowThreshold '''write''' SetShadowThreshold;
+
'''property''' ShadowThreshold : Single '''read''' FShadowThreshold '''write''' SetShadowThreshold '''default''' 0.5;
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' float ShadowThreshold = { '''read'''=FShadowThreshold,  '''write'''=SetShadowThreshold };
+
'''__property''' float ShadowThreshold = { '''read'''=FShadowThreshold,  '''write'''=SetShadowThreshold,  '''default'''=0.5 };
 
</code>
 
</code>
  

Revision as of 20:29, 10 June 2013

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: TVLShadowDetection

Contents

Syntax

Delphi:

property ShadowThreshold : Single read FShadowThreshold write SetShadowThreshold default 0.5;

C++ Builder:

__property float ShadowThreshold = { read=FShadowThreshold, write=SetShadowThreshold, default=0.5 };

Summary

Shadow threshold for the detection.

Description

The shadow is detected if the pixel is darker version of the background. Tau is a threshold on how much darker the shadow can be.

ShadowThreshold= 0.5 means that if pixel is more than 2 times darker then it is not shadow

See: Prati,Mikic,Trivedi,Cucchiarra,"Detecting Moving Shadows...",IEEE PAMI,2003.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox