1 2 3 4 5 6 7
function[contrastMat] = imcontrast(srcImg, alpha, beta) srcMat = mattolist(srcImg) contrastMat = opencv_imcontrast(srcMat, alpha, beta) endfunction