From a6df67e8bcd5159cde27556f4f6a315f8dc2215f Mon Sep 17 00:00:00 2001 From: shamikam Date: Mon, 16 Jan 2017 02:56:17 +0530 Subject: First Commit --- macros/lab2uint8.sci | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 macros/lab2uint8.sci (limited to 'macros/lab2uint8.sci') diff --git a/macros/lab2uint8.sci b/macros/lab2uint8.sci new file mode 100644 index 0000000..d0408b5 --- /dev/null +++ b/macros/lab2uint8.sci @@ -0,0 +1,7 @@ +function [output] = lab2uint8(pstData) + a = opencv_lab2uint8(pstData); + d = size(a); + for i=1:d + output(:,:,i) = a(i); + end +endfunction -- cgit