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
Scales image and calculates absolute values after Sobel derivatives have been computed:
handle = imreadcv('image1.jpg', 0);
shandle = sobelcv(handle1, -1, 1, 0);
R = convertscaleabscv(shandle);