- added
git-svn-id: http://moon:8086/svn/matlab/trunk@153 801c6759-fa7c-4059-a304-17956f83a07c
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
function out = color_conv(in, type_in, type_out)
|
||||
[ny,nx,nc] = size(in)
|
||||
|
||||
% Get LAB-Data
|
||||
color_write('color_in.dat',reshape(in,nc,ny*nx));
|
||||
commandStr = sprintf('color_conv.exe %s %s %s %s','color_in.dat', 'color_out.dat',type_in, type_out);
|
||||
dos(commandStr);
|
||||
out = reshape(color_read('color_out.dat'), ny,nx,nc);
|
||||
Reference in New Issue
Block a user