convertscaleabscv
Scales image, handle, calculates absolute values and converts to 8-bit
Syntax
R = convertscaleabscv(handle...)
R = convertscaleabscv(handle, alpha, beta)
Inputs
- handle
- Handle of an image.
- alpha
- Optional alpha value, defaults to 1.
- beta
- Optional beta value, defaults to 0.
Outputs
- R
- Handle of the output image.
Example
handle = imreadcv('image1.jpg', 0);
shandle = sobelcv(handle1, -1, 1, 0);
R = convertscaleabscv(shandle);