hyperspectral.labeler.AutomationAlgorithm Class
Namespace: hyperspectral.labeler
Interface for algorithm automation in ground truth labeling of spectral image
Since R2026a
Description
Add-On Required: This feature requires the Hyperspectral Imaging Library for Image Processing Toolbox add-on.
The hyperspectral.labeler.AutomationAlgorithm class specifies the interface
for defining custom automation algorithms to run in the Spectral Image Labeler
app. Classes that inherit from the AutomationAlgorithm
interface can be used with the automation process of the app to generate ground truth
labels.
To use a class inherited from the AutomationAlgorithm
interface from within the Spectral Image Labeler app, perform these steps.
Create a
+hyperspectral/+labelerpackage directory within a folder that is already on the MATLAB path. For example, if the folder/local/MyProjectis on the MATLAB path, then you can create a+hyperspectral/+labelerfolder hierarchy using these commands.projectFolder = fullfile("local","MyProject"); automationFolder = fullfile("+hyperspectral","+labeler"); mkdir(projectFolder,automationFolder)Save the class file to the
+hyperspectral/+labelerpackage directory. Saving the file to the package directory is required to use your custom algorithm from within the Spectral Image Labeler app.
The hyperspectral.labeler.AutomationAlgorithm class is a handle class.
Class Attributes
Abstract | true |
For information on class attributes, see Class Attributes.
Note
The Hyperspectral Imaging Library for Image Processing Toolbox™ requires desktop MATLAB®, as MATLAB Online™ and MATLAB Mobile™ do not support the library.
Properties
Methods
Version History
Introduced in R2026a