I have 07 bands/layers stacked into one image (say Test.hdr or test.dat) using band stack operation in ENVI. I have 07 floating values (kept in one dimensional array) corresponding to seven bands in a separate text file (e.g. (1.2, 1,3, 0.3, 3.4, 2.1, 2, 1). I want to divide first band of test.dat with first value in my array of 07 Numbers. Then second band of Test.dat with second number in the array and so on. I want to generate the output file as seven bands stacked in one file only. How to go about it using ENVI software ? I work with version ENVI 5.5.3.
|