ImageGear for .NET
HighDensityRangeEffect Method
See Also  Send Feedback
ImageGear21.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class : HighDensityRangeEffect Method




page
Page to process.
shadowStart
Start intensity for the shadow range. Valid values are from 0.0 to shadowEnd. Set this parameter to a non-zero value if there are no black pixels in the image.
shadowEnd
End intensity for the shadow range. Valid values are from 0.0 to 1.0, but the typical range is between 0.0 and 0.5. ShadowStart and shadowEnd parameters define the range of pixels that will be brightened.
shadowThreshold
Maximum brightness for brightened shadow pixels, at which they will be included into the result image. Brighter pixels will be blended as semi-transparent with the result image.
highlightStart
Start intensity for the highlight range. Valid values are from 0.0 to 1.0, but the typical range is between 0.5 and 1.0. HighlightStart and highlightEnd parameters define the range of pixels that will be darkened.
highlightEnd
End intensity for the highlight range. Valid values are from highlightStart to 1.0. Set this parameter to a value that is less than 1.0 if there are no pixels with maximal brightness in the image.
highlightThreshold
Minimum brightness for darkened highlight pixels, at which they will be included into the result image. Darker pixels will be blended as semi-transparent with the result image.
midtoneStart
Start intensity for the midtone range. Valid values are from 0.0 to 1.0, but the typical range is between 0.0 and 0.5.
midtoneEnd
End intensity for the midtone range. Valid values are from 0.0 to 1.0, but the typical range is between 0.5 and 1.0. MidtoneStart and midtoneEnd parameters define increase contrast for the midtone range.
radius
Radius that defines the width of the edge between highlight and midtone areas. Smaller values make the details sharper, but may result in too frequent changes between shadow and highlight areas, actually reducing image contrast and resulting in possible artifacts. Greater values make shadow and highlight areas bigger and smoother, but may result in halos between the shadow and highlight areas. Greater values also result in longer processing. Useful values are in range from 1.0 to 1/4 of the image's smaller dimension.

Glossary Item Box

Makes the image look as if it was taken in a High Density Range mode, by adding bright colors to image edges.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

page
Page to process.
shadowStart
Start intensity for the shadow range. Valid values are from 0.0 to shadowEnd. Set this parameter to a non-zero value if there are no black pixels in the image.
shadowEnd
End intensity for the shadow range. Valid values are from 0.0 to 1.0, but the typical range is between 0.0 and 0.5. ShadowStart and shadowEnd parameters define the range of pixels that will be brightened.
shadowThreshold
Maximum brightness for brightened shadow pixels, at which they will be included into the result image. Brighter pixels will be blended as semi-transparent with the result image.
highlightStart
Start intensity for the highlight range. Valid values are from 0.0 to 1.0, but the typical range is between 0.5 and 1.0. HighlightStart and highlightEnd parameters define the range of pixels that will be darkened.
highlightEnd
End intensity for the highlight range. Valid values are from highlightStart to 1.0. Set this parameter to a value that is less than 1.0 if there are no pixels with maximal brightness in the image.
highlightThreshold
Minimum brightness for darkened highlight pixels, at which they will be included into the result image. Darker pixels will be blended as semi-transparent with the result image.
midtoneStart
Start intensity for the midtone range. Valid values are from 0.0 to 1.0, but the typical range is between 0.0 and 0.5.
midtoneEnd
End intensity for the midtone range. Valid values are from 0.0 to 1.0, but the typical range is between 0.5 and 1.0. MidtoneStart and midtoneEnd parameters define increase contrast for the midtone range.
radius
Radius that defines the width of the edge between highlight and midtone areas. Smaller values make the details sharper, but may result in too frequent changes between shadow and highlight areas, actually reducing image contrast and resulting in possible artifacts. Greater values make shadow and highlight areas bigger and smoother, but may result in halos between the shadow and highlight areas. Greater values also result in longer processing. Useful values are in range from 1.0 to 1/4 of the image's smaller dimension.

Remarks

This method applies a High Density Range effect on the image. It increases contrast separately in shadow, highlight, and midtone areas, imitating the human eye's ability to adapt for light conditions at the point of interest.

See Also

©2013. Accusoft Corporation. All Rights Reserved.