Undefined function im2bw
Problem
Runtime error: "Failed While Running Modules - Undefined function im2bw for input arguments of type uint8."
Solution
This error is caused by a software dependency: the Image Processing Toolbox for MATLAB must be installed for the 'im2bw' (convert image to binary image) function to work.
Please follow the steps listed here to install the Image Processing Toolbox: How to Install a MATLAB Toolbox
Version Information
ABC Tracker has been tested to work with Image Processing Toolbox version 9.4 or later.
Technical Details
ABC Tracker uses image thresholding to detect objects. The Mathworks Image Processing Toolbox contains functions used to perform image thresholding and produce binary images.
Related articles