ENVI/IDLSecondary Development
Introduction to remote sensing image processing
1, Read the center spectral curve of a multi-band image, and plot it out, and use the Chinese to indicate its longitude and latitude;
Training Content:ENVIObtain the image projection parameters and the geographic location of pixel points. Be familiar with the parameter settings of plot;
Recommended function calls:
Envi_pickfile,
Envi_open_file
Envi_file_query
Envi_get_map_info
Envi_proj_create
Envi_convert_file_coordinates
Envi_convert_projection_coordinates
Plot
Envi_file_mng
2To read the 3 and 4 bands of a scene TM image, calculate the Gini difference, display it in a grayscale image, and save itENVIFormat file;
Recommended function calls:
Envi_pickfile,
Envi_open_file
Envi_file_query
Envi_get_map_info
Envi_get_data
Float
Window
TV
Tvscl
Envi_write_envi_file
Envi_file_mng
(The above isENVICommon functions for reading and writing files, which will not be detailed later)
3Read the four bands of a scene CBERS image, calculate its L, V, and B Components Based on the lvb conversion principle, and save them;
Recommended function calls:
Envi_pickfile,
Envi_open_file
Envi_file_query
Envi_get_map_info
Envi_get_data
Envi_get_slice
Float
Poly_fit
Envi_write_envi_file
Envi_file_mng
4Read 2 time-phase image pairs and remove strip (multiple bands) from the lake surface );
Recommended function calls:
Envi_pickfile,
File_search
File_basename
File_dirname
Envi_open_file
Envi_file_query
Envi_get_map_info
Envi_get_data
Float
Window
TV
Tvscl
Envi_write_envi_file
Envi_file_mng
5, Read oneShapefileVector file to create an ROI (Region of interest), And output the boundary pointCSVFormat file, which can be provincialSHP(I don't know the details );
Recommended function calls:
Idlffshape
Envi_pickfile,
File_search
File_basename
File_dirname
Envi_open_file
Envi_define_roi
Envi_create_roi
Envi_save_rois
Openw
Printf, (Format ParameterKey)
Envi_file_query
Envi_get_map_info
Float
Envi_file_mng
6,ENVICall the MATLAB Neural Network Toolbox for water quality inversion (not done for the time being );
Additional learning MATLAB and nntool toolbox
7,ENVICall6 sAtmospheric correctionProgramPerforms atmospheric correction on;
Recommended function calls:
Spawn
Openr
Readf
While
Strpos
Strmid
OthersENVICommon functions for file reading and writing, see the previous exercise.
Additional learning
Doscommand line syntax
8,ENVICall the MRT, batch stitching, re-projection, and cropping the MNS (take mod11 as an example );
Recommended function calls:
ENVICommon functions for file reading and writing, see the previous exercise.
String
Additional learning:
DOS for Loop
9, Dynamically addENVIMenu to create a simple gui (you can do it later)
Recommended function calls:
Envi_define_menu_button
Additional learning:
Menu event processing pro
Familiar with the start function of the widget (see appendix II );
Note:
Digital image processing generally involves three types of operations: vertex operation, neighborhood operation (window operation), and band operation.
1) point operation: the unit of operation is pixel, which is generally seen in multi-band images. For example, the pixel spectral curve Z-profile is extracted;
2) neighborhood operation (window operation): represented by various n × n window filtering and smoothing, pixels within a certain distance (other additional conditions can be added) are involved in the operation together, for example, sharpen,SobelSharpening, slope extraction, and so on;
3) band operations: the overall operation of the entire band, such as PCA Principal Component Analysis and KNN calculation.