Undefined variable "vision" or class "vision.HoughTransform".

조회 수: 5 (최근 30일)
James Kempton
James Kempton 2019년 3월 6일
답변: James Kempton 2019년 3월 6일
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?

채택된 답변

James Kempton
James Kempton 2019년 3월 6일
Thuis is the output of ver:
ver.PNG
So I have it installed. I presume it is licensed given I have a license or are these different things?
  댓글 수: 1
Sean de Wolski
Sean de Wolski 2019년 3월 6일
Hmm. It's doing the same thing for me. The release notes states that they planned on removing this at some point:
But yet I still see it mentioned in Fixed Point Deisgner in 18b so there's a bug somewhere, doc or otherwise.

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Sean de Wolski
Sean de Wolski 2019년 3월 6일
Do you have the computer vision system toolbox installed and licensed?
ver

James Kempton
James Kempton 2019년 3월 6일
Thanks for the information Sean. I'll just use hough instead.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by