I am working on EZW coding.
The first part that is subband decomposion is done in
MATLAB. Now I have an array of wavelet coefficients
with size 256 -by- 256. I need to store this array
in a file with only 8 bits/coefficient in the signed
The remaining work is done on C. I have used the
Z = fopen('e:\wavelet\EZW\matrix.raw','wb');
COUNT = fwrite(Z,coeffs1,'char');
Where coeffs1 is the matrix converted to character
prior to the above command.
But this gives only 1-D 1-256 Empty matrix.
Please help in this regard.