ImageGear23.Core Assembly > ImageGear.Processing Namespace > ImGearBitonalReductionOptions Class : Mode Field |
'Declaration Public Mode As ImGearBitonalReductionModes
'Usage Dim instance As ImGearBitonalReductionOptions Dim value As ImGearBitonalReductionModes value = instance.Mode instance.Mode = value
public ImGearBitonalReductionModes Mode
public: ImGearBitonalReductionModes Mode
public: ImGearBitonalReductionModes Mode
Setting Mode to GRAYSCALE gives the most weight to the value of green. This optimizes for the perception of the human eye, in which blue is the hardest color to see, and therefore requires the least weight.
A Mode of AVERAGE gives equal weight to all three pixel values.
Here are the formulas used by the three different reduction methods: