want to read and write a multiband image
Mostra commenti meno recenti
I wrote this programe for bad line correction but by using the below code m not getting the good image and i don't know how to read envi file format in matlab if someone knows plz help me out clear all; clc; a=multibandread('filename',[1300,256,242],'int 16',0,'bsq','ieee-le'); [m,n,h]=size(a) for i=1:m a(i,92,94) = ((a(i,91,94)+a(i,93,94)))/2; end a=multibandwrite('filename',[1300,256,242],'int 16',0,'bsq','ieee-le'); plz help me out someone....
Risposta accettata
Più risposte (1)
Evelyn Livermore
il 16 Apr 2011
0 voti
ENVI files are classified by their header file, which contains information on how many bands, which wavelengths and the x-y resolution. Example: 400*400 resolution, with 250 spectral bands in the visual spectrum.
Categorie
Scopri di più su Image Processing Toolbox in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!