This function colors an 8-bit gray level image such that small gradients are exposed.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_IP_pseudocolor_small_grads ( HIGEAR hIGear, UINT nSlope ); |
Arguments:
hIGear | HIGEAR handle of 8-bit grayscale image to be colored. |
nSlope | An integer from 1 to 255. Higher values increase colors faster. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
Grayscale – 8-16 bpp.
Return Value:
Returns the number of ImageGear errors that occurred during this function call.
Sample:
None
Example:
Copy Code | |
---|---|
HIGEAR hIGear; if ( IG_image_is_valid(hIGear) ) if ( IG_image_is_gray(hIGear) ) IG_IP_pseudocolor_small_grads ( hIGear, 10 ); |
Remarks:
The greater the value of nSlope, the faster the color will change for a given rate of change of the pixel value.