MATLAB: How to solve error “Cannot find an exact (case-sensitive) match for ‘Bm’ ” in matlab 2012

cannot find an exact (case-sensitive) match for 'bm'

hello all, I'm research about edge detection using beamlet transfom with matlab, i used code in "Beamlet transform base technique for pavement image processing and classification" by Liang Ying. But when i run code, the error below:
Cannot find an exact (case-sensitive) match for 'Bm'
The closest match is: bm
in C:\Program Files\MATLAB\R2012b\toolbox\econ\econ\@bm\bm.m
Error in afactor (line 42)
x1 = Bm(1,i);
and when i change Bm -> bm, the error below:
Undefined function 'minus' for input arguments of type 'bm'.
Error in afactor (line 46)
L(i) = sqrt((bm(1,i)-bm(3,i))^2 + (bm(2,i)-bm(4,i))^2);
I don't know what is Bm() function, and how to fix it! anyone can help me? thanks!

Best Answer

I pulled up a copy of the thesis, and it is a mystery. In the context of the code, Bm should be an array with 4 rows and a variable number of columns, representing the beam positions, but the code does not have the variable as an input of any kind.
The first row should be the x1 values, the second y1, the third x2, the fourth y2. The beam runs from (x1, y1) to (x2, y2)
I have no idea at the moment how you decide where the beams should be. (Or, for that matter, what "beam" means in this context.)