Edit Bands & Wavelengths
Edit Bands & Wavelengths lets you manage the spectral axis of the current IDCubePro dataset.
Overview
Edit Bands & Wavelengths lets you manage the spectral axis of the current IDCubePro dataset.
The tool combines four related operations:
- Assign or replace the wavelength vector
- Reset the spectral axis to band indices 1:N
- Remove selected bands or channels
- Remove bands using band-number or wavelength expressions
These operations modify the current working dataset stored in myData.
They do not automatically overwrite the original source file on disk.
The original dataset remains available through the normal IDCubePro reset workflow when myDataOriginal is present.
Use the Wavelengths tab to assign or replace the physical wavelength vector associated with the spectral bands.
The number of wavelength values must exactly match the number of bands in the current cube.
Click Load File to import a wavelength vector from:
IDCubePro reads the numeric values from the selected file and uses them as the wavelength vector.
The number of finite wavelength values must match the number of spectral bands in the cube.
You can enter wavelength values directly into the manual entry field.
The values may be separated by commas, spaces, or other nonnumeric separators.
Click Apply Manual Wavelengths to assign the entered vector to the current working cube.
A physical wavelength axis is normally expected to be strictly increasing.
If the wavelength values are not strictly increasing, IDCubePro can offer to sort the wavelength vector and reorder the image bands so that the wavelength-to-band correspondence is preserved.
If you keep the current order, the wavelength vector remains in the supplied sequence.
Duplicate wavelength values are not accepted.
Each spectral channel should have one distinct axis value.
Use 1:N Band Indices when the dataset does not have a reliable physical wavelength calibration or when you want the spectral axis to represent channel position only.
For a cube with 510 bands, the resulting axis is:
Band indices are channel positions, not physical wavelengths.
Physical Wavelength Vs Band Index
A physical wavelength axis contains calibrated values such as 450 nm, 550 nm, or 700 nm.
A band index simply identifies the position of a channel in the spectral dimension.
Do not interpret band numbers as wavelength values unless the dataset has been properly calibrated or matched.
Use the Remove Bands tab to delete unwanted spectral channels from the current working cube.
Bands can be selected individually using the table or specified using the range controls.
- Current channel or wavelength value
Check the Remove box for each band that should be deleted.
Select All marks all visible bands for removal.
Clear Selection clears all removal check boxes.
Set Mode to Band numbers and enter one or more band numbers or ranges.
Colon-style ranges such as 25:50 are also accepted.
Set Mode to Wavelengths when the expression refers to the spectral axis.
For a single wavelength, IDCubePro removes the band whose wavelength is closest to the requested value.
For a wavelength range, IDCubePro finds the channels closest to the requested start and end values and removes the channels between them.
Combining Table And Range Selections
The checked table rows and the range expression are combined.
Duplicate selections are removed automatically before the cube is modified.
Before bands are removed, IDCubePro shows how many channels will be deleted and how many will remain.
You cannot remove all bands from the dataset.
The image cube and wavelength vector are both updated so that their spectral dimensions remain synchronized.
The channel sliders, image display, histogram, directory information, and status bar are then refreshed.
IDCubePro remains Ready while you are reviewing settings.
Operations that modify the spectral axis or remove bands change the main application status to Processing and return to Ready when finished.
IDCubePro records wavelength assignment, band-index reset, and band-removal operations in the processing history when history logging is available.
- Wavelength assignment must preserve one axis value per spectral band.
- Removing bands changes the spectral dimension of the working cube.
- Sorting a wavelength vector can reorder image bands to preserve correspondence.
- Band indices and physical wavelengths are not interchangeable.
- Save or Export the dataset if you want the changes written to a new file.
1. Confirm whether the dataset has a valid physical wavelength axis.
2. Assign or correct wavelengths if needed.
3. Remove unwanted or unusable bands.
4. Review the resulting spectral axis.
5. Continue with preprocessing, analysis, or compression.
6. Save or export the modified dataset when appropriate.
Close Edit Bands & Wavelengths help.