.. _spectral_distance_tab: ****************************************** Spectral distance (complete interface) ****************************************** .. contents:: :local: .. |registry_save| image:: _static/registry_save.png :width: 20pt .. |project_save| image:: _static/project_save.png :width: 20pt .. |optional| image:: _static/optional.png :width: 20pt .. |input_list| image:: _static/input_list.jpg :width: 20pt .. |input_text| image:: _static/input_text.jpg :width: 20pt .. |input_date| image:: _static/input_date.jpg :width: 20pt .. |input_number| image:: _static/input_number.jpg :width: 20pt .. |input_table| image:: _static/input_table.jpg :width: 20pt .. |open_file| image:: _static/semiautomaticclassificationplugin_open_file.png :width: 20pt .. |new_file| image:: _static/semiautomaticclassificationplugin_new_file.png :width: 20pt .. |add| image:: _static/semiautomaticclassificationplugin_add.png :width: 20pt .. |reset| image:: _static/semiautomaticclassificationplugin_reset.png :width: 20pt .. |bandset_tool| image:: _static/semiautomaticclassificationplugin_bandset_tool.png :width: 20pt .. |download| image:: _static/semiautomaticclassificationplugin_download_arrow.png :width: 20pt .. |export| image:: _static/semiautomaticclassificationplugin_export.png :width: 20pt .. |tools| image:: _static/semiautomaticclassificationplugin_roi_tool.png :width: 20pt .. |preprocessing| image:: _static/semiautomaticclassificationplugin_class_tool.png :width: 20pt .. |band_processing| image:: _static/semiautomaticclassificationplugin_band_processing.png :width: 20pt .. |postprocessing| image:: _static/semiautomaticclassificationplugin_post_process.png :width: 20pt .. |bandcalc| image:: _static/semiautomaticclassificationplugin_bandcalc_tool.png :width: 20pt .. |settings| image:: _static/semiautomaticclassificationplugin_settings_tool.png :width: 20pt .. |script_tool| image:: _static/semiautomaticclassificationplugin_script.png :width: 20pt .. |enter| image:: _static/semiautomaticclassificationplugin_enter.png :width: 20pt .. |zoom_to_ROI| image:: _static/semiautomaticclassificationplugin_zoom_to_ROI.png :width: 20pt .. |check| image:: _static/semiautomaticclassificationplugin_batch_check.png :width: 20pt .. |select_all| image:: _static/semiautomaticclassificationplugin_select_all.png :width: 20pt .. |docks| image:: _static/semiautomaticclassificationplugin_docks.png :width: 20pt .. |add_sign_tool| image:: _static/semiautomaticclassificationplugin_add_sign_tool.png :width: 20pt .. |guide| image:: _static/guide.png :width: 20pt .. |help| image:: _static/help.png :width: 20pt .. |reload| image:: _static/semiautomaticclassificationplugin_reload.png :width: 20pt .. |checkbox| image:: _static/checkbox.png :width: 18pt .. |run| image:: _static/semiautomaticclassificationplugin_run.png :width: 24pt .. |radiobutton| image:: _static/radiobutton.png :width: 18pt .. |remove| image:: _static/semiautomaticclassificationplugin_remove.png :width: 20pt .. |import| image:: _static/semiautomaticclassificationplugin_import.png :width: 20pt .. |threshold_tool| image:: _static/semiautomaticclassificationplugin_threshold_tool.png :width: 20pt .. figure:: _static/interface/spectral_distance_tab.png :align: center :width: 100% :guilabel:`Spectral distance` This tab allows for calculating the spectral distance between every corresponding pixel of two :guilabel:`band sets`. It is loaded only if the :guilabel:`Simplified interface` is not enabled. The output is a raster containing the spectral distance of each pixel. Optionally, a threshold can be defined for creating a binary raster (0-1) of values below and above the threshold. This tool supports ``virtual raster output``; if the output file name ends with ``.vrt`` then the output is created as virtual raster composed of as many ``.tif`` files as the number of CPU threads defined in :ref:`system_processing`; for large rasters this can speed up the process. .. tip:: Information about APIs of this tool in Remotior Sensus at this `link `_ . .. _spectral_distance_input: Spectral distance of band sets ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. list-table:: :widths: auto :header-rows: 1 * - Tool symbol and name - Description * - :guilabel:`Select first input band set` |input_number| - select the first input :ref:`band_set_tab` * - :guilabel:`Select second input band set` |input_number| - select the second input :ref:`band_set_tab` * - :guilabel:`Distance algorithm` |radiobutton| :guilabel:`Minimum Distance` |radiobutton| :guilabel:`Spectral Angle Mapping` - select :ref:`minimum_distance_algorithm` or :ref:`spectra_angle_mapping_algorithm` for spectral distance calculation * - |checkbox| :guilabel:`Distance threshold` |input_number| - if checked, a binary raster of values below and above the threshold is created .. _spectral_distance_run: Run ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. list-table:: :widths: auto :header-rows: 1 * - Tool symbol and name - Description * - :guilabel:`Script` |script_tool| - add this function to the :ref:`script_tab` * - :guilabel:`RUN` |run| - run this function