function [IC,IM,IJ] = decompCMJ(I); 

% function [IC,IM,IJ] = decompCMJ(I);
% 
% Decompose une image CMJ (codee en double precision, N=256) en 
% les trois canaux C,M,J. 


Ivide =zeros(size(I));
IC = Ivide; 
IC (:,:,1) = 1- I(:,:,1); 
IM= Ivide; 
IM(:,:,2) = 1 - I(:,:,2); 
IJ = Ivide; 
IJ(:,:,3) = 1- I(:,:,3);
