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


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
public Median {get; set;}
public function get,set Median :
Managed Extensions for C++ 
public: __property get_Median();
public: __property void set_Median( value
property Median { get();
   void set ( value);


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.


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.