【问题标题】:Image as a Repeating Element in Mathematica图像作为 Mathematica 中的重复元素
【发布时间】:2020-02-21 04:41:05
【问题描述】:

我一直在 Mathematica 中使用FormFunction,我创建的函数将图像作为输入。我希望能够输入多个图像。我发现这个RepeatingElement 示例适用于字符串,但在我更改为图像时返回错误。当我去掉参数时没有错误,但它仍然不起作用。

FormFunction["field" -> RepeatingElement["String", {2, {1, 5}}]]

FormFunction["field" -> RepeatingElement["Image", {2, {1, 5}}]]

【问题讨论】:

    标签: image wolfram-mathematica multiple-input


    【解决方案1】:

    这应该可行。

    CloudDeploy[FormFunction[{"image" -> RepeatingElement["Image"]}, #image &], Permissions -> "Public"]
    

    【讨论】:

      猜你喜欢
      • 2021-01-15
      • 2010-12-14
      • 2011-09-11
      • 1970-01-01
      • 2018-02-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多