Feature/lightfield show interactive color
Description
Introduces new per-color-channel view to show_interactive()
method of LightField
class.
Changes
Running a light field' show_interactive()
, a per-color-channel view can be enabled by clicking the mouse wheel.
Scrolling up and down scrolls through the color channels of the light field, which are shown in the approximate color
according to their wavelengths. Scrolling thorugh an RGB light field, the R, G, and B channels are shown in red, green
and blue respectively. For hyperspectral light fields, the wavelength range is assumed to be [420, 640] nanometers.
Double clicking the mouse wheel resets to the regular color view.
In the future, one might add a metadata dictionary to the light field object in order to extract the actual wavelength range of hyperspectral light fields.
Todos
-
Documentation
Note: show_*
functions are not tested using pytest.