Camera是USB介面,該相機有提供Driver。
安裝軟體:LabVIEW 2009,VA,IMAQ等...。
目前可以透過IMAQ中的VI來使相機動作,拍照,擷取圖像。
但是截取出的影像就有如在地面放上鏡子,呈現上下相反。
曾經一度懷疑鏡頭裝反方向了,但是透過相機本身的軟體發現影像呈現是正常的。(字母P 變成 b)
所以不知道是否是CCD driver與NI-IMAQ有相衝或是有哪些地方要做設定嗎?
已解決! 轉到解決方案。
我將執行的影像放上來提供給各位觀察。
就在附件中,圖片是相同影像使用不同擷取軟體。
一種是CCD本身的Driver,一種是NI的Grab擷取的。
在 02-03-2010 09:17 PM
Hi Mengshu
Although I am not very sure about it, the utility software that come in with the USB Camera might have done some mirror function(s) due to viewing perspective.
PS: I quickly search through the forum and found this thread... you might want to take a look as it might prompts you for some possible solutions.
PS2: I used to play a little with USB webcam, not using IMAQ but VFW (Video For Windows) driver.
02-03-2010 09:42 PM - 已編輯 02-03-2010 09:44 PM
Hi Ian Fung,
Maybe some camera make mirror function.
Thus, I select the Vertical Mirror from Acquisition Attributes on Camera Attributes and image becomes correctly.
Thanks for your kindly help.
但不知道是否mirror功能會依據不同相機而有不同設定...這是讓我比較疑慮的地方。
在 02-03-2010 09:44 PM
mengshu wrote:這問題已經找到解決方法了,是由其他NI工程師告知的。
在Camera Attributes 中的 Acquisition Attributes 底下的 Vertical Mirror 選項打勾
再做SAVE動作,然後再把LabVIEW與Measurement關掉再開,這樣Capture的影像就是正的了。
That's what exactly my last reply was about...
在 02-03-2010 09:48 PM
mengshu wrote:
但不知道是否mirror功能會依據不同相機而有不同設定...這是讓我比較疑慮的地方。
Possible. No one knows. Or, at least not me 😉
Suggestion: add some kind of configuration file that allows you to alter/ change the mirror setting, without having to modified the built program.
剛才有做了個小測試...就是鏡像後的影像將他返回正常顯示後與CCD Driver拍攝的差異是很大且明顯的。
即使將Vertical mirror選取後使影像正常,但位置的偏移量卻無法隨之調整...這蠻讓人傷腦筋的,又要想辦法解決了....。
畢竟我不知道如何讓Vision Acuisition 或 IMAQ的VI 去自動對位校正我要的ROI阿....
02-04-2010 07:22 PM - 已編輯 02-04-2010 07:25 PM
找NI工程师吧!
也别让他们太闲着... 
Suggest that you also post your problem to Machine Vision board.
PS: NI工程师, no offence pls 