From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



使用IMAQ Threshold.vi做微粒分析(Particle Analysis) 出現錯誤-1074396080



主要軟體:
主要軟體版本: 3.0
主要軟體修正版本: 3.0
次要軟體: N/A

問題: 我使用多張影像多微粒分析,我從範例資料夾修改Particle Orientation example.vi在擷取影像之後做微粒分析,為什麼我得到"ERROR -1074396080 occurred at IMAQ Threshold Invalid image type."的錯誤訊息?

解答:
使用微粒分析時有些重要的資訊你必須知道:
  1. 如果是彩色影像,在做微粒分析前必須使用Imaq Color Threshold.vi
  2. 如果是黑白影像,在做微粒分析前必須使用Imaq Threshold.vi
  3. 如果是彩色影像並且使用Threshold.vi,那你必須先使用Imaq Cast.vi將16bit的影像轉換成8bit的影像再使用Imaq Threshold.vi去產生二質化

如果你使用彩色影像搭配專供黑白影像使用的Imaq Threshold VI或是黑白影像但是卻使用Imaq Color Threshold.vi,你會得到一個"Invalid image type"的錯誤


相關連結:
Knowledge Base 2O0GG2XL: StillColor Acquisition From Channels 1 Thru 3 Give Invalid Image Type Error
KnowledgeBase 3T28GSRX: Error -1074396080 at IMAQ WriteBMPFile

附加檔案:





報告日期: 09/07/2004
最後更新: 06/14/2006
文件偏號: 3D6E83CH