* Extracts each band of the input cube into a separate one band cube file. * Given the output base name of "base", each output cube will be named * e.g. base.band#.cub. The appropiate BandBin group will be created. * * @param ui User Interface with application parameters */
| 25 | * @param ui User Interface with application parameters |
| 26 | */ |
| 27 | void explode(UserInterface &ui) { |
| 28 | |
| 29 | // open input cube |
| 30 | Cube icube; |
| 31 | icube.open(ui.GetCubeName("FROM")); |
| 32 | |
| 33 | explode(&icube, ui); |
| 34 | } |
| 35 | |
| 36 | |
| 37 | /** |