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

使用Octave处理raw或tif等高质量图像时遇到16位像素限制警告,通过重新安装GraphicsMagick并指定32量子深度解决了问题。然而,之后运行代码时出现错误,提示找不到符号,可能与GraphicsMagick库的版本或加载有关,目前问题还在解决中。

在用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


问题正在解决中。。。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值