matlab - Export an 3000x2512 complex double to tiff file -
i created 3000x2512 complex double matrix each cell represent value. want export matrix tif file can further image processing in application (arcmap). what's best way ?
please note, i'm not matlab user usually. tried use (i = matrix):
imwrite(i, 'my_graphics_file.tif','tif');
but output blank tif file. know matrix works because when try display figure, can view successfully.
thank much!
you can not expect tiff file complex matrix. maybe want create 2 images, 1 real part:
imwrite(real(i), 'my_graphics_file_real.tif','tif');
and 1 imaginary part
imwrite(imag(i), 'my_graphics_file_imag.tif','tif');
or alternatively absolute value , phase. aware imwrite double matrix input assumes value within [0,1].
Comments
Post a Comment