MATLAB Answers

Can not load .bil file(Landsat image)?.

9 views (last 30 days)
I am trying to load Landsat image. Dataset does not give much description. Only gives following information:
False Easting = 500000.0
False Northing = 10000000.0
Central Meridian = 147.0
Scale factor = 0.9996
Latitude of origin = 0.0
The data have the following spatial extent (coordinates of the cell centres in meters):
Lower left = 378000.00, 6119000.00
Upper right = 421000.00, 6170000.00
Number of columns = 1720
Number of rows = 2040
Bands = 6
Format: BIL
To load it, I used following way:
filename='L71093084_08420011007_HRF_modtran_surf_ref_agd66.bil';
CIR = multibandread(filename, [2040, 1720, 6], 'uint8=>uint8',...
128, 'bil', 'ieee-le', {'Band','Direct',[4 3 2]});
Got this image (not correct):
It is wrong picture.

Accepted Answer

Anmol Dhiman
Anmol Dhiman on 7 Dec 2020
Hi Reshad,
Refer to simlar question.
Regards,
Anmol Dhiman

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!