I’m currently having problems visualizing the bin files (coherency and covariance matrices) as images, generated using the PolSARPro Software.
So could you please be grateful to write some code that converts these .bin files into .png files in MATLAB/Python??
Or could you suggest some software/online tool for the same?
actually, PolSARpro has a conversion tool which can executed from both the GUI and the command line
create_bmp_file.exe C11.bin -of C11_real.bmp" -ift float -oft real -clm "jet" -nc 4501 -ofr 0 -ofc 0 -fnr 3001 -fnc 4501 -mm 3 -min -9999 -max +9999 -mask mask_valid_pixels.bin -mcol black
If you don’t like BMP, you can then convert to another format in a second step
the convert.exe command is installed with ImageMagik
convert.exe C11_real.bmp -resize 50% -transparent "rgb(0,0,0)" -quiet C11_real.jpg