Undefined variable ''vision'' or class ''vision.I​mageDataTy​peConverte​r''

Hello, my realease is Matlab R2018a, Here is the part of error code,
converter = vision.ImageDataTypeConverter;
% opticalflow object
opticalFlow = vision.OpticalFlow('ReferenceFrameDelay', 1);
opticalFlow.OutputValue = 'Horizontal and vertical components in complex form';
Besides, not only the vision.ImageDataTypeConverter but also vision.OpticalFlow has the same issue.
Does anyone can solve this problem?
Thanks!

回答(0 个)

类别

产品

版本

R2018a

提问:

2019-10-28

Community Treasure Hunt

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

Start Hunting!

Translated by