【问题标题】:Undefined function 'imageSet' in matlabmatlab中未定义的函数'imageSet'
【发布时间】:2014-11-19 19:45:15
【问题描述】:

我正在尝试此代码http://www.mathworks.com/examples/matlab-computer-vision/725-feature-based-panoramic-image-stitching#7,但我的 matlab 无法识别 imageSet 函数。错误读取“未定义函数'imageSet'的输入参数 键入'char'。”。我不确定我直接从文档中复制并粘贴了哪些问题。

【问题讨论】:

  • imageSet 仅适用于 2014b 版本。如果您有旧版本的 MATLAB,那么您将无法从需要 imageSet 的计算机视觉工具箱中运行任何示例。

标签: matlab computer-vision matlab-cvst


【解决方案1】:

imageSet 已添加到 R2014b 版本中。它是一个对象,可让您轻松获取目录中所有图像文件的路径。将其视为图像路径的容器。您可以通过使用图像文件名元胞数组而不是 imageSet 来修改示例以使用旧版本的 MATLAB。但是,您总是有可能遇到其他新函数或对象。

还有a version of the image stitching example in the R2014a release

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-01-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-04-15
    相关资源
    最近更新 更多