Octave 倍频程3.6.4的imread函数中的图形标记错误

Octave 倍频程3.6.4的imread函数中的图形标记错误,octave,graphicsmagick,Octave,Graphicsmagick,当我在64位机器的Ubuntu13.10上运行Octave 3.6.4 32位时,出现了这个错误 以下是几个例子: >>> imread('1505.jpg') warning: your version of GraphicsMagick limits images to 8 bits per pixel error: imread: invalid image file: Magick++ exception: Magick: Unable to open f ile (j

当我在64位机器的Ubuntu13.10上运行Octave 3.6.4 32位时,出现了这个错误

以下是几个例子:

>>> imread('1505.jpg')
warning: your version of GraphicsMagick limits images to 8 bits per pixel
error: imread: invalid image file: Magick++ exception: Magick: Unable to open f
ile (jpg) reported by magick/constitute.c:1533 (ReadImage)
error: called from:
error:   /usr/share/octave/3.6.4/m/image/imread.m at line 74, column 7

>>>imread("/home/simona/Documents/Work/Marshall_TC_ID/1505.jpg")
error: imread: invalid image file: Magick++ exception: Magick: Unable to open f
ile (jpg) reported by magick/constitute.c:1533 (ReadImage)
error: called from:
error:   /usr/share/octave/3.6.4/m/image/imread.m at line 74, column 7

>>> imread('LGH.png')
error: imread: invalid image file: Magick++ exception: Magick: Unable to open f
ile (ng) reported by magick/constitute.c:1533 (ReadImage)
error: called from:
error:   /usr/share/octave/3.6.4/m/image/imread.m at line 74, column 7

>>> imread('sample1.png')
error: imread: invalid image file: Magick++ exception: Magick: Unable to open f
ile (e1.png) reported by magick/blob.c:2779 (OpenBlob)
error: called from:
error:   /usr/share/octave/3.6.4/m/image/imread.m at line 74, column 7
从我在类似问题中读到的内容来看,这似乎是来自Graphicsmagick,或者更准确地说,是倍频程和Graphicsmagick之间的错误交互。 有趣的是,在synaptic软件包管理器中,我发现没有安装graphicsmagick软件包,但安装了一些libgraphicsmagick软件包。即使在安装了那个软件包之后,我仍然会遇到同样的错误。 重新安装倍频程也没有帮助。 我使用的图像在Windows机器上与Matlab配合得很好

我觉得奇怪的一件事是,在错误消息“无法打开由…报告的文件(文件名)”,文件名从未完全显示。这是否意味着文件名没有正确给出? 此外,在上述示例中有两种类型的错误。最后一个说(ReadImage),而另一个说(OpenBlob)

类似的错误似乎通常通过使用适当的配置重新构建graphicsmagick来解决。但是,我不知道如何找到它当前的配置。如果有人对graphicsmagick有更好的了解,能帮上忙,那将是非常有帮助的。因为我想我需要知道graphicsmagick的哪个部分不工作才能修复它

有人有什么想法吗?
谢谢

尝试更改图像文件并再次检查行。通常加载时不会出现任何问题。

似乎会丢失每个文件名的前5个字节。如果执行“imread(xxxxx sample1.png)”会发生什么?不建议将其作为一种解决方法,但结果可能有助于我们调试。这意味着什么?它已在四个不同的文件上失败。