I have a .tif file that i would like to convert to .ascii . Or a way to be able to convert the .tif file into a numerical matrix where i can convert some values to NaN. I have tried:
t = Tiff('File_name.tif','r');
imageData = read(t);
A = imread('maxlike34_ica_34minerals_step3_2ppd_mostdominant_tiff.tif');
In both trials when i run a loop to convert any cells that contain a 0 to NaN then none of them change and they all remain as 0, and the .mat files have the dimensions and uint8 which is unlike any data file that i import using .ascii files.