summaryrefslogtreecommitdiff
path: root/macros/imcontrast.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/imcontrast.sci')
-rw-r--r--macros/imcontrast.sci7
1 files changed, 7 insertions, 0 deletions
diff --git a/macros/imcontrast.sci b/macros/imcontrast.sci
new file mode 100644
index 0000000..2666c0f
--- /dev/null
+++ b/macros/imcontrast.sci
@@ -0,0 +1,7 @@
+function[contrastMat] = imcontrast(srcImg, alpha, beta)
+
+ srcMat = mattolist(srcImg)
+
+ contrastMat = opencv_imcontrast(srcMat, alpha, beta)
+
+endfunction