Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal rollingBall As Integer, _ ByVal shrinkingSize As SubtractBackgroundCommandType, _ ByVal brightnessFactor As Integer, _ ByVal flags As SubtractBackgroundCommandFlags _ ) |
Visual Basic (Usage) | ![]() |
---|---|
|
C# | |
---|---|
public SubtractBackgroundCommand( int rollingBall, SubtractBackgroundCommandType shrinkingSize, int brightnessFactor, SubtractBackgroundCommandFlags flags ) |
Managed Extensions for C++ | |
---|---|
public: SubtractBackgroundCommand( int rollingBall, SubtractBackgroundCommandType shrinkingSize, int brightnessFactor, SubtractBackgroundCommandFlags flags ) |
C++/CLI | |
---|---|
public: SubtractBackgroundCommand( int rollingBall, SubtractBackgroundCommandType shrinkingSize, int brightnessFactor, SubtractBackgroundCommandFlags flags ) |
Parameters
- rollingBall
- The radius (in pixels) of the ball that will roll over the entire image to determine the background. Recommended value is 50. This parameter only accepts positive values.
- shrinkingSize
- Shrink size ratio used to minimize the image internally in order to increase the speed with little loss of accuracy.
- brightnessFactor
- Brightness factor for increasing or decreasing the brightness of the image. Valid values range from 0 - 400. If you pass 100 the brightness remains unchanged. Lower values darken the image while higher values lighten the image.
- flags
- Flags that indicate whether the background is darker than the foreground, and whether to show the objects without the background. You must select one from each group.
Visual Basic | ![]() |
---|---|
ImageProcessing.Core.SubtractBackgroundCommand.SubtractBackgroundConstructor |
C# | ![]() |
---|---|
ImageProcessing.Core.SubtractBackgroundCommand.SubtractBackgroundConstructor |
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family