Origin下的簡版Tracker Tracker,著名的視頻分析實(shí)驗(yàn)軟件,比如研究自由落體運(yùn)動,可以用手機(jī)把小球的運(yùn)動視頻錄下來,然后通過每一幀的時(shí)刻、位置數(shù)據(jù)進(jìn)行分析進(jìn)行實(shí)驗(yàn)。 Tracker很強(qiáng)大,特別是在線上學(xué)習(xí)期間,中學(xué)和大學(xué)的物理實(shí)驗(yàn),有它不少的身影。但Tracker并不強(qiáng)于數(shù)據(jù)分析,它的強(qiáng)項(xiàng)是準(zhǔn)確提取實(shí)驗(yàn)數(shù)據(jù),即使我們的視頻文件差著一點(diǎn)兒。 那如果我有好視頻,能不能投喂給好數(shù)據(jù)分析平臺??? 能呀!在OriginLab網(wǎng)站晃蕩的時(shí)候,看到了Video Data Extractor,即視頻文件提取器App,位置在https://www./fileExchange/details.aspx?fid=576。 試驗(yàn)一下,提取數(shù)據(jù)不是很方便,但是返回的信息足夠多。 官方的插件描述: This App reads a video file into Origin. A mouse click digitizes the coordinates, enters it on the worksheet and advances the frame, allowing the trajectory of an object to be digitized.引入視頻文件到Origin中,按設(shè)定的步長跳到指定幀把物體軌跡的坐標(biāo)數(shù)據(jù)輸入到Origin表,只需鼠標(biāo)點(diǎn)擊即可實(shí)現(xiàn)。 This App was designed and built in collaboration with Prof. Mark Kuzyk from Washington State University: 此App者也,張三設(shè)計(jì)制作。 Installation安裝Download the file Video Data Extractor.opx, and then drap-and-drop it onto the Origin workspace. An icon will appear in the Apps Gallery window.到OriginLab官網(wǎng)下載Video Data Extractor.opx文件,然后把它拖到Origin工作區(qū),其App圖標(biāo)就出現(xiàn)在Apps Gallery窗口中了。 NOTE: This tool requires Origin version 2017 or later. If you have early version of Origin, please select Help: Check for Updates from Origin menu to first update Origin.注意:Video Data Extractor.opx安裝需至少Origin2017版以上,若您的Origin低于此版本,請選擇Help菜單,并點(diǎn)擊Check for Updates...以更新Origin至最新版本。 Operation操作流程Click the Video Data Extractor icon and select a video file (e.g. mov, mp4) to open.點(diǎn)擊Video Data Extractor圖標(biāo),在打開的Open窗口中選擇一個(gè)視頻文件打開,視頻文件可以是mov、mp4等格式。 Preset the frame orientation and scale. 預(yù)設(shè)幀的橫縱方向和放縱比例。Specify the PickPoint mode and start clicking on the moving object on each frame.指定PickPoint模式并在指定的每一幀上的物體軌跡上點(diǎn)擊。 Click Finish to save the picked data points into worksheet.點(diǎn)擊Finish按鈕拾取的數(shù)據(jù)點(diǎn)就進(jìn)入到Origin的工作表里面了。 Dialog Control:對話框設(shè)置選項(xiàng)Presetting:預(yù)設(shè) Rotate: Rotate the frame to desired orientation. 旋轉(zhuǎn):使幀畫面旋轉(zhuǎn)到指定的方向。 Move and Resize the scale vector: Set the scale in x and y direction and the recorded xy positions get rescaled based on the setting. Here user can either enter scale bar position or move the scale bar in the graph.移動和重設(shè)矢量放縮比例: PickPoints: PickPoints選項(xiàng) FPS: Set frames per second.幀率FPS設(shè)置:設(shè)置每秒幀數(shù) Skipped Frames: Set the number of frames advanced each time in auto mode.步長設(shè)置:設(shè)置在AUTO自動模式下每次前進(jìn)的幀數(shù) Start Frame: Set the frame index starting to pick points.起始幀:設(shè)置開始提取點(diǎn)數(shù)據(jù)的幀序號。 Auto mode: Frames is advanced automatically according to Skipped Frames setting. Single click to select point, double click to move to next frame.自動AUTO模式:根據(jù)設(shè)置的步長跳到指定的幀數(shù)。單擊用來選擇點(diǎn),雙擊就跳到下一步長數(shù)的幀了。 Manual mode: User manually navigate frames (Click Finish: Finish data pick task and go to worksheet.結(jié)束Finish:點(diǎn)擊Finish按鈕,完成點(diǎn)拾取任務(wù)并返回到工作表窗口。 打開并調(diào)入視頻,是醬嬸地,其中坐標(biāo)軸不能旋轉(zhuǎn),但是位置和起始點(diǎn)可以移動: 拾取點(diǎn)并擬合作出的散點(diǎn)圖: 查看擬合曲線的報(bào)告(數(shù)據(jù)并不是真實(shí)的尺寸,所以二次項(xiàng)系數(shù)并非4.9,這是正常的) ------心存DREAM喜歡琢磨實(shí)驗(yàn)并自娛自樂的MIRACLE------ 實(shí)驗(yàn)教學(xué)值得學(xué)習(xí)的去處: |
|