MATLAB: Save images as tif 32 bits by using imwrite

image processingMATLAB

Hi;
I'm trying to save my images as tif 32 bits but I got this Error:
Cannot write uint32 data to a TIFF file
this is my code:
for K=1:10
Id{k} = waverec2(t_C,L,'sym8');
filename= ['C:\Path \Id_number_' num2str(k) '.tif'];
Id{k}=uint32(Id{k});
imwrite(Id{k},filename);
end
I need to save my images as tif 32 bits :/ have you any idea?
Thank you in advance

Best Answer

There is something in recent release called TIFF Class. Can you tell me if this meets your needs? Documentation here.