octave高画质图像处理字节数限制问

来源:互联网 发布:常见面试算法题 编辑:程序博客网 时间:2024/05/18 02:40

在用octave进行高质量图像(raw, tif图像等)处理时,出现了字节数限制的警告。

warning: your version of GraphicsMagick limits images to 16 bits per pixel


问题的解决方法是重装graphicsmagick并且制定32比特,命令如下:

brew reinstall graphicsmagick --with-quantum-depth-32


但是

之后在运行图像处理相关的代码时出现了一下错误:

error: default_formats: /usr/local/Cellar/octave/4.0.2_4/lib/octave/4.0.2/oct/x86_64-apple-darwin15.5.0/__magick_read__.oct: failed to load: dlopen(/usr/local/Cellar/octave/4.0.2_4/lib/octave/4.0.2/oct/x86_64-apple-darwin15.5.0/__magick_read__.oct, 2): Symbol not found: ZN6Magick5ColorC1Ettt
Referenced from: /usr/local/Cellar/octave/4.0.2_4/lib/octave/4.0.2/oct/x86_64-apple-darwin15.5.0/
magick_read__.oct
Expected in: /usr/local/opt/graphicsmagick/lib/libGraphicsMagick++.12.dylib
in /usr/local/Cellar/octave/4.0.2_4/lib/octave/4.0.2/oct/x86_64-apple-darwin15.5.0/__magick_read__.oct
error: called from
imformats>default_formats at line 256 column 11
imformats at line 79 column 3
imageIO at line 106 column 11
imread at line 106 column 30
componentseparation at line 47 column 8
error: evaluating argument list element number 1
error: called from


问题正在解决中。。。

0 0
原创粉丝点击