icbklt performs the forward KLT transform klt on the hyperspectral image in icbfile1, spectrally decorrelating all the pixel vectors. The resulting transformed image cube is written to icbfile2.
If the -p option is not specified, all PCs produced by the transform are retained and written to icbfile2; that is, icbfile2 has the same size as icbfile1. On the other hand, specifying -p results in the retaining of only num_pcs spectral principal components (PCs). In this case, num_pcs must be less than or equal to the number of spectral bands of icbfile1, and icbfile2 will be the same size spatially as icbfile1 but will have only num_pcs PCS.