% col_quant = quantizeDCTrows(dct_in_columns,nbits);
%
% uniformly quantizes the DCT coefficients in columns 
% 
% J. Sabataitis
% Nov 24, 2000
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function col_quant = quantizeDCTrows(dct_in_columns,nbits);

num_coeff = size(dct_in_columns,1);

for n = 1:num_coeff,

  vector = dct_in_columns(n,:);
 
  codeword = uniformQuant(min(vector),max(vector),nbits); 
  col_quant(n,:) = quantData(vector,codeword);

end


