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

被折叠的 条评论
为什么被折叠?



