summaryrefslogtreecommitdiff
path: root/macros/whitepoint.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/whitepoint.sci')
-rw-r--r--macros/whitepoint.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/macros/whitepoint.sci b/macros/whitepoint.sci
new file mode 100644
index 0000000..6f5d8af
--- /dev/null
+++ b/macros/whitepoint.sci
@@ -0,0 +1,10 @@
+function[xyz] = whitepoint(input_string)
+
+ out = whitepoint(input_string)
+
+ channels = size(out)
+
+ for i = 1:channels
+ xyz(:,:,1) = out(1)
+ end
+endfunction