render a synthetic aperture radar image in matlab

To render a Synthetic Aperture Radar (SAR) image in MATLAB, you need to follow the following steps:

  1. Load the raw SAR data:
main.m
fileID = fopen('filename','r','n','UTF-8');
data = fread(fileID);
fclose(fileID);
82 chars
4 lines
  1. Apply Range Compression to remove the unwanted pixel data:
main.m
data = fftshift(fft2(data));
29 chars
2 lines
  1. Apply 2D Fourier Transform for imaging:
main.m
image = ifft2(ifftshift(data));
image = abs(image)
51 chars
3 lines

This should provide you with a basic SAR image. However, SAR can be a complex and nuanced field, depending on your data sources, processing needs and imaging goals. You'll find plenty of good resources and examples on the Mathworks website and discussion groups.

related categories

gistlibby LogSnag