ImageMan.Net Version 3 Summer 2012 Release
GammaCommand Constructor(Int32)
See Also  Send Feedback
DTI.ImageMan.Commands Namespace > GammaCommand Class > GammaCommand Constructor : GammaCommand Constructor(Int32)





gamma

Glossary Item Box

Creates a new instance of a GammaCommand object with the specified Gamma value.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal gamma As System.Integer _
)
Visual Basic (Usage)Copy Code
Dim gamma As System.Integer
 
Dim instance As New GammaCommand(gamma)
C# 
public GammaCommand( 
   System.int gamma
)
JScript 
public function GammaCommand( 
   gamma : System.int
);
Managed Extensions for C++ 
public: GammaCommand( 
   System.int gamma
)
C++/CLI 
public:
GammaCommand( 
   System.int gamma
)

Parameters

gamma

Remarks

The acceptable range is from 10 to 50. Gamma correction is used in displaying an image accurately. Gamma correction controls the overall brightness of an image. Images which are not properly corrected can look either bleached out, or too dark. Trying to reproduce colors accurately also requires some knowledge of gamma. Varying the amount of gamma correction changes not only the brightness, but also the ratios of red to green to blue.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.