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