ImageMan.Net Version 3 Summer 2012 Release
Median Property
See Also  Send Feedback
DTI.ImageMan.Commands Namespace > ContrastCommand Class : Median Property





Glossary Item Box

Gets or Sets the median color value

Syntax

Visual Basic (Declaration) 
Public Property Median As System.Integer
Visual Basic (Usage)Copy Code
Dim instance As ContrastCommand
Dim value As System.Integer
 
instance.Median = value
 
value = instance.Median
C# 
public System.int Median {get; set;}
JScript 
public function get,set Median : System.int
Managed Extensions for C++ 
public: __property System.int get_Median();
public: __property void set_Median( 
   System.int value
);
C++/CLI 
public:
property System.int Median {
   System.int get();
   void set (    System.int value);
}

Remarks

This value defaults to 0. Leaving this value at 0 will allow the use of a histogram. The advantage of using a histogram is that the contrast median will be defined based on the image color values themselves.

Acceptable range 0 to 128, defaults to 0. UseHistogram defaults to true. Setting a non 0 value for the Median will set UseHistogram to false.

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.