function newImg =  resize_index_image(imgCMP, sizeN)
	sizeImg = size(imgCMP);
        newImg = imgCMP;
%newImg = zeros(sizeN(1),sizeN(2),3);
%for i = 1:sizeImg(1)
%        for j = 1:sizeImg(2)
%		if 2*i  <= sizeN(1) && 2*j <= sizeN(2)
%                newImg(2*i-1,2*j-1,:) = imgCMP(i,j,:);
%                newImg(2*i-1,2*j,:) = imgCMP(i,j,:);
%                newImg(2*i,2*j-1,:) = imgCMP(i,j,:);
%                newImg(2*i,2*j,:) = imgCMP(i,j,:);
%		end
%        end
%end
end
