function NewCI = splitCI(CI)
%SPLITCI Splits the CI matrix of the postal block-segmentation algorithm into the next smaller resolution.  
%   NEWCI = SPLITCI(CI) splits the CI matrix into the next smaller 
%   resolution by copying each entry four times.  
%
%   See also POSTALSEG

%   Author(s): K. R. Varshney
%   School of Electrical and Computer Engineering, Cornell University
%   $Date: 2002/08/15 $

[a,b,c]=size(CI);

NewCI = zeros(2*a,2*b,c);

NewCI(1:2:end-1,1:2:end-1,:) = CI(:,:,:);
NewCI(2:2:end,1:2:end-1,:) = CI(:,:,:);
NewCI(1:2:end-1,2:2:end,:) = CI(:,:,:);
NewCI(2:2:end,2:2:end,:) = CI(:,:,:);