Undefined variable "vision" or class "vision.HoughTransform".
Show older comments
I am using MATLAB version 2018b. I have the Computer Vision Toolbox installed as confirmed by using the ver command. However, upon using the following code:
hhoughtrans = vision.HoughTransform(pi/360,'ThetaRhoOutputPort', true);
I receive the following error message: Undefined variable "vision" or class "vision.HoughTransform".
Similarly, when using:
hhoughlines = vision.HoughLines('SineComputation','Trigonometric function');
I receive: Undefined variable "vision" or class "vision.HoughLines".
My conclusion is that vision.HoughTransform and vision.HoughLines are no longer supported though I haven't seen anywhere something to the contrary. Is this conclusion correct or could there be another issue?
Accepted Answer
More Answers (2)
Sean de Wolski
on 6 Mar 2019
Do you have the computer vision system toolbox installed and licensed?
ver
James Kempton
on 6 Mar 2019
0 votes
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!