Performs Gamma correction on a GdPicture image or into an area of a GdPicture image defined by SetROI() function.
public GdPictureStatus SetGammaCorrection( int ImageID, int Gamma );
Public Function SetGammaCorrection( ByVal ImageID As Integer, ByVal Gamma As Integer ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
Gamma |
Gamma adjustment between -100 and 100. |
A member of the GdPictureStatus enumeration.
Increase & Decrease gamma
'To increase gamma of 10% m_Stat = oGdPictureImaging.SetGammaCorrection(ImageID, 10) 'To decrease gamma of 10% m_Stat = oGdPictureImaging.SetGammaCorrection(ImageID, -10)
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|