NI Vision Assistant-Get Image獲取圖像
本文將介紹NI Vision Assistant視覺(jué)助手中Processing Functions:Get Image獲取圖像的用法。 1. Get Image位于Processing Functi
本文將介紹NI Vision Assistant視覺(jué)助手中Processing Functions:Get Image獲取圖像的用法。
1. Get Image位于Processing Functions:Image-Get Image
Get Image是NI Vision Assistant中的一項(xiàng)功能,位于Processing Functions的Image分類下,主要用于獲取圖像。
2. Get Image setup:Step Name和path
在使用Get Image功能時(shí),我們可以編輯輸入有意義的步驟名稱,以便更好地組織和管理我們的圖像處理流程。
同時(shí),我們需要指定圖像的路徑(path),告訴NI Vision Assistant從哪里獲取圖像。默認(rèn)情況下,路徑為C:Program Files (x86) ational InstrumentsVisionExamplesImages。
3. 瀏覽其他圖片
如果我們不想使用默認(rèn)的圖片,可以點(diǎn)擊Browse按鈕,選擇其他的圖片作為輸入。
這樣,我們就可以根據(jù)實(shí)際需求,選擇合適的圖像進(jìn)行處理。
4. 循環(huán)獲取圖片
除了單次獲取圖像外,我們還可以選擇Cycle Through Folder Images選項(xiàng),實(shí)現(xiàn)循環(huán)獲取文件夾中的圖像。
通過(guò)設(shè)置好路徑后,點(diǎn)擊Run in loop按鈕,NI Vision Assistant將會(huì)循環(huán)顯示文件夾中的圖像,方便我們對(duì)多個(gè)圖像進(jìn)行處理和分析。
通過(guò)NI Vision Assistant的Get Image功能,我們可以方便地獲取圖像,并進(jìn)行后續(xù)的處理和分析,提高圖像處理的效率和準(zhǔn)確性。
使用Get Image功能時(shí),我們可以靈活設(shè)置步驟名稱和路徑,以滿足不同需求,并且可以循環(huán)獲取文件夾中的多個(gè)圖像。