MATLAB Answers

0

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

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?

  0 件のコメント

サインイン to comment.

製品


リリース

R2018b

3 件の回答

回答者: 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
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.

サインイン to comment.


Sean de Wolski
回答者: Sean de Wolski
2019 年 3 月 6 日

Do you have the computer vision system toolbox installed and licensed?
ver

  0 件のコメント

サインイン to comment.


回答者: James Kempton 2019 年 3 月 6 日

Thanks for the information Sean. I'll just use hough instead.

  0 件のコメント

サインイン to comment.



Translated by