NI產品與技術 討論區

取消
顯示結果 
搜尋替代 
您的意思是: 

Measurement Camera所得影像與Camera本身軟體所得影像 呈現 上下鏡像相反影像

已解決!
前往解決方案

Camera是USB介面,該相機有提供Driver。

安裝軟體:LabVIEW 2009,VA,IMAQ等...。

目前可以透過IMAQ中的VI來使相機動作,拍照,擷取圖像。

但是截取出的影像就有如在地面放上鏡子,呈現上下相反。

曾經一度懷疑鏡頭裝反方向了,但是透過相機本身的軟體發現影像呈現是正常的。(字母P 變成 b)

 

所以不知道是否是CCD driver與NI-IMAQ有相衝或是有哪些地方要做設定嗎?

0 積分
1 條訊息(共 9 條)
9,399 檢視

我將執行的影像放上來提供給各位觀察。

就在附件中,圖片是相同影像使用不同擷取軟體。

一種是CCD本身的Driver,一種是NI的Grab擷取的。

 

0 積分
2 條訊息(共 9 條)
9,390 檢視

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.

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
3 條訊息(共 9 條)
9,370 檢視
解決方案
由主題作者所接受 mengshu

這問題已經找到解決方法了,是由其他NI工程師告知的。

在Camera Attributes 中的  Acquisition Attributes 底下的 Vertical Mirror 選項打勾

再做SAVE動作,然後再把LabVIEW與Measurement關掉再開,這樣Capture的影像就是正的了。

4 條訊息(共 9 條)
9,369 檢視

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功能會依據不同相機而有不同設定...這是讓我比較疑慮的地方。

由 mengshu 在 02-03-2010 09:44 PM
上編輯的訊息
0 積分
5 條訊息(共 9 條)
9,365 檢視

mengshu wrote:

這問題已經找到解決方法了,是由其他NI工程師告知的。

在Camera Attributes 中的  Acquisition Attributes 底下的 Vertical Mirror 選項打勾

再做SAVE動作,然後再把LabVIEW與Measurement關掉再開,這樣Capture的影像就是正的了。


That's what exactly my last reply was about... 

 

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 積分
6 條訊息(共 9 條)
9,363 檢視

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. 

 

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 積分
7 條訊息(共 9 條)
9,360 檢視

剛才有做了個小測試...就是鏡像後的影像將他返回正常顯示後與CCD Driver拍攝的差異是很大且明顯的。

即使將Vertical mirror選取後使影像正常,但位置的偏移量卻無法隨之調整...這蠻讓人傷腦筋的,又要想辦法解決了....。

畢竟我不知道如何讓Vision Acuisition 或 IMAQ的VI 去自動對位校正我要的ROI阿....

0 積分
8 條訊息(共 9 條)
9,343 檢視

找NI工程师吧!

也别让他们太闲着... :smileywink:

 

Suggest that you also post your problem to Machine Vision board.

 

 

PS: NI工程师, no offence pls :smileyvery-happy:

Message Edited by ian fung on 02-05-2010 09:25 AM
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 積分
9 條訊息(共 9 條)
9,329 檢視