[CognexVisionPro]使用CogPMAlignTool时,报错CogImage24PlanarColor的类型无法转换为类型CogImage8Gray
生活随笔
收集整理的這篇文章主要介紹了
[CognexVisionPro]使用CogPMAlignTool时,报错CogImage24PlanarColor的类型无法转换为类型CogImage8Gray
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
在使用CognexVisionPro軟件時(shí),先使用CogImageFileTool加載圖片作為IputImage
然后,將其OutputImage作為CogPMAlignTool的InputImage,結(jié)果:報(bào)錯(cuò)CogImage24PlanarColor的類(lèi)型無(wú)法轉(zhuǎn)換為類(lèi)型CogImage8Gray
解決方案:
使用CogImageConvertTool工具處理
直接點(diǎn)擊運(yùn)行,就實(shí)現(xiàn)了圖片格式的轉(zhuǎn)換
參考:visionpro制作vpp
總結(jié)
以上是生活随笔為你收集整理的[CognexVisionPro]使用CogPMAlignTool时,报错CogImage24PlanarColor的类型无法转换为类型CogImage8Gray的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: EasyPlayerPro(Window
- 下一篇: 生存资料校准曲线calibration