File Exchange

image thumbnail


version 1.0 (6.83 KB) by

A bot and tool to annotate images for machine learning training.



View License

A bot to annotate images for machine learning training.
Usage: call 'imageAnnotationBot' (without quotes) from Matlab's prompt.


A standalone tool to annotate a grayscale, double image. Example:

I = imread('rice.png');
I = double(I)/255;
IAT = imageAnnotationTool(I,2); % the second parameter is the number of labels
% annotate, then click 'Done'
subplot(1,2,1), imshow(IAT.LabelMasks(:,:,1)), title('label 1')
subplot(1,2,2), imshow(IAT.LabelMasks(:,:,2)), title('label 2')


MatBots are primitive AIs, 'assistants' if you will, that use minimalistic GUI dialogs to guide the user through a data processing pipeline in Matlab.

Isn't that an 'app'? Bots are much more restrictive than apps. Users are, to a greater extent than in an app, guided through the correct steps to perform a task. A bot usually performs a much more limited task than an app.

When possible, bots have a 'headless' mode, which allows them to execute a processing pipeline as a typical Matlab function, either on an image or a folder of images.

For more bots and tools for bio-image analysis, see

Comments and Ratings (0)

MATLAB Release
MATLAB 9.2 (R2017a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video