FlyCap2软件使用说明.docx

上传人:b****6 文档编号:4080978 上传时间:2022-11-27 格式:DOCX 页数:19 大小:599.95KB
下载 相关 举报
FlyCap2软件使用说明.docx_第1页
第1页 / 共19页
FlyCap2软件使用说明.docx_第2页
第2页 / 共19页
FlyCap2软件使用说明.docx_第3页
第3页 / 共19页
FlyCap2软件使用说明.docx_第4页
第4页 / 共19页
FlyCap2软件使用说明.docx_第5页
第5页 / 共19页
点击查看更多>>
下载资源
资源描述

FlyCap2软件使用说明.docx

《FlyCap2软件使用说明.docx》由会员分享,可在线阅读,更多相关《FlyCap2软件使用说明.docx(19页珍藏版)》请在冰豆网上搜索。

FlyCap2软件使用说明.docx

FlyCap2软件使用说明

摘自FlyCapture2SoftwareDevelopmentKit中的FlyCapDemoProgram

FlyCapDemoProgram

TheFlyCapapplicationisastreamingimagevieweryoucanusetotestmanyofthecapabilitiesofyourcompatiblePointGreycamera.Itallowsyoutoviewalivevideostreamfromthecamera,aswellassaveindividualimages,adjustthevariousvideoformats,framerates,propertiesandsettingsofthecamera,andaccesscameraregisters. 

 

ThefullFlyCap C++/C#sourcecodeisincludedwiththeFlyCaptureSDK.ToaccesstheFlyCapworkspacefromtheStartmenu,selectProgramFiles>FlyCapture2SDK>Examples.

StartingFlyCap

TorunFlyCapfromtheStartmenu,selectProgramFiles>FlyCapture2SDK>FlyCap2.TheCameraSelectionDialogopens.

FlyCap2consistsoftwoprimaryinterfaces:

theMainWindowandtheCameraControlDialog.

Interface

Functions

MainWindow

∙Viewalivevideostreamfromthecamera.

∙Saveindividualimages.

∙Viewinformationabouttheimagesbeingreceived,suchasresolutionandtimestamps.

CameraControlDialog

∙Setstandardpixelformats,resolutions,andframerates.

∙Adjustimageacquisitionsettingssuchasbrightness,gain,shutterandothers.

∙Viewinformationaboutthecurrentcamera,firmwareandsoftwareenvironment.

∙Adjustthewhitebalanceandcolorprocessingalgorithm.

∙Adjustadvancedpixelformatsettingsandconfigurehighdynamicrangemode.

∙Setcustomimagemodes.

∙Configureinternalandexternalinputtriggersandoutputstrobesignals.

∙Configurelookuptablesofgammafunctions.

∙Usetheon-cameraframebufferanddatastoragespaces(ifsupported)tore-transmitimagesandstoreflashdata.

∙Readandwritetothecameraregisters. 

∙Viewthephysicalregistersandnetworktopology.

CameraSelectionDialog

WhenFlyCapstarts,theCameraSelectiondialogappears.ThisdialogallowsyoutoviewalistofallthecurrentlyconnectedPointGreycameras,acrossallbuses,andselectonetocontrolandviewimagesfrom.Itprovidesbasicinformationforeachcamera,suchasmodeltype,serialnumber,maximumresolution,andtheimagingsensor.

GigabitEthernet-relatednetworkinformationisalsoavailableforanyGigEVisioncamerasthatareconnected.

 

IfyourGigEVisioncameradoesnotappearunderCameraList,thecameramaybeonadifferentsubnetfromtheinterfacecard.Tofix,clickAutoForceIP.  

Tobegingrabbingimages,selectacameraandclickOK.TheFlyCapMainWindowopens.

YoucanopenmultipleinstancesoftheFlyCapMainWindowbyselectingmorethanonecamera. Notethatthenumberofactivecamerasislimitedbythebandwidthofthebus.Formoreinformation,refertoKnowledgeBaseArticle22.

ToaccesstheCameraControlDialogpriortograbbingimages,selectacameraandclickConfigureSelected.Onceyouhavefinishedconfiguringthecamera,closetheCameraControldialogandclickOKtobegingrabbingimages.

FlyCapMainWindow

AfterselectingacameraintheCameraSelectiondialog,theFlyCapmainwindowopensanddisplaysalivevideostreamfromthecamera.

WindowSize

TheFlyCapwindowsizesitselftoaccommodatethecurrentresolutionofthecamera;ifthecamera'soutputresolutionisgreaterthanthescreenresolution,scrollbarsappear.TheFlyCapwindowcanbemaximizedbyhittingtheF12key,orselectingView>Fullscreen.

 

Asanalternativetousingscrollbarstoviewotherareasofalargeresolutionimage,youcanleft-click+holdyourmousepointerwithinthedisplaywindowtodragthedisplayedportionaround.

WindowComponents

TheFlyCapmainwindowincludesthefollowingcomponents:

TitleBar

Thetitlebaratthetopofthewindowdisplaysthecameramodelandserialnumber.

MenuBar

File

∙NewCamera:

 (Ctrl+N)Stopsthecurrentcameraandopensthe CameraSelectionDialog. 

∙Startimagetransfer:

Re-startsthecameraafterithasbeenstopped. 

∙Stopimagetransfer:

 Stopsthecamera. 

∙SaveAs:

 (Ctrl+S)Opensadialog tosavethecurrentimage.Formoreinformation,seeRecordingVideoandSavingImages.

∙CaptureVideoorImageSequence:

(F9)Opensadialogforrecordingvideoorimagesequences.

∙Exit:

(Ctrl+Q)ClosesFlyCapture.

View

∙GraphicMode�Threechoices:

oGDI:

Ifselected,imagesarerenderedtoscreenusingtheWindowsGraphicsDeviceInterface(GDI).

oOpenGL:

Ifselected,imagesarerenderedtoscreenusingtheOpenGraphicsLibrary(OpenGL)interface.UsingOpenGLonsupportedsystemsmayimproverenderingperformance.However,insomecasesOpenGLmayinteractpoorlywithothersystemprocessesandproduceunexpectedbehavior.

oDirect2D:

ThisisavailableonWindows7only.Ifselected,imagesarerenderedtoscreenusingDirect2D.IfusingDirect2DandtheFlyCapexampleprogram,youmustusetheVisualStudio2010versionfoundat:

FlyCapture2SDK/Examples/C++Examples/VS2010Solutions/FlyCap2.sln

∙DrawImage:

 Whenselected,allowsimagestreaming.Whenunselected,pausesstreaming.

∙DrawCrosshair:

 (F7)IfDrawImageisselected,insertsacrosshairinthecenteroftheimagepane.

∙ChangeCrosshairColor:

 OpenstheColorSelectiondialogtochangethecrosshaircolor.

∙ShowToolbar:

 (F8)Ifselected,displaystheToolbar.Seebelowformoreinformation.

∙ShowInformationPanel:

 (F11)Ifselected,displaystheInformationPanel.Seebelowformoreinformation.

∙ShowStatusBar:

 Ifselected,displaystheStatusBar.Seebelowformoreinformation.

∙StretchToFitIfselected,adjuststheimagedimensionstofitthesizeofthecurrentwindow.Thissettingdoesnotaffecttheresolutionorsizeofanysavedimages.

∙Fullscreen:

 (F12)ChangesthesizeoftheFlyCapMainWindowtofittheentirescreen.

Settings

∙ColorProcessingAlgorithm:

SetsthecolorprocessingalgorithmusedtointerpolaterawBayer-tileimagesintofullcolor.Formoreinformationaboutcolorprocessingalgorithms,refertoKnowledgeBaseArticle33.

∙ToggleCameraControlDialog:

OpensorshiftsfocustotheCameraControlDialog.

Help

DisplaysAboutFlyCapture2;oropenstheOnlineHelp.

Toolbar

Choosenewcamera-stopsthecurrentcameraandopenstheCameraSelectionDialog.

Re-startsthecameraafterithasbeenstopped. 

Stopsthecamera.

Opensadialogforrecordingvideoorimagesequences.

Savesthecurrentimage.Formoreinformation,seeRecordingVideoandSavingImages.

OpenstheCameraControldialog.

OpenstheFlyCaptureHistogramdialog.Thisdialogprovidesstatisticalinformationabouttherepresentationofvaluesinthecurrentimage,includinggrey,red,greenandbluechannelvalues,hue,saturationandlightness.Onlygreyscalevaluesarerepresentedonmonochromecameras,orcolorcamerasstreaminginamonochromeformat. 

OpenstheEventStatisticsdialog.

Zoomsinandoutontheimagedisplay,orrestoresto100%.

InformationPane

FrameRate

Displaysthefollowinginformationabouttheframerateofthecamerasystem:

∙Processed:

ThenumberofframespersecondthePCisprocessing.

∙Displayed:

ThenumberofframespersecondthatthePCdisplayisupdating.

∙Requested:

ThenumberofframespersecondthatthecameraistransmittingtothePC.Thisistheactualframeratesettingofthecamera.

Formoreinformation,seeKnowledgeBaseArticle182.

Timestamp

Displaysthefollowingtimestampinformationforthecurrentimage:

∙SecondsandMicroseconds:

BasedonthePCsystemclock.

∙1394cycletimeseconds,countandoffset:

Basedonthe1394cycletimercameraregister.

Image

Displaysthecurrentsettingsforimageresolution(width,height)inpixels,pixelformat,andnumberofbitsperpixelrepresentedbytheformat.

EmbeddedImageInfo

Displaystheimagepropertyvaluesthatarecurrentlybeingembeddedinthefirstrowofimagepixels(excepttimestamp,whichisdisplayedabove).Toconfigureimageinformationembedding,seeAdvancedCameraSettings.

Diagnostics

Informationtohelpdiagnosecameraandbuserrors,including:

∙Skippedframes:

Thenumberofimagessincethestartofcapturethatwerenottransmittedtothehostsystem,andsubsequentlydropped,duetoabufferoverflowonthecamera.  

∙Linkrecoverycount:

Thenumberoftimesthecamerareconnectsafterabriefinterruption,suchasduetoafaultycableorotherconnectionproblem.

∙Transmitfailures:

Thenumberofimagedatatransmissionssincethestartofcapturethatwerenotcompletedduetoabufferoverflowonthecamera.Transmitfailuresmayresultintornimages.Seerelatedknowledgebasearticle,below.

∙Timesinceinitialization:

Timesincethecameralastbootedup.

∙Timesincelastbusreset:

Timesincethelastbusresetoccurred.

StatusBar

Thestatusbar,alongthebottomofthewindow,displaysthefollowinginformation:

FrameRate

SeeInformationPane,above.

Cursor

Whenthemouseisplacedovertheimage,thecurrentposition(width,height)ofthemousecursorwithinthepixelarray.

RGB

Incolorimages,thebrightnessvaluesofthered,greenandbluechannelsofthepixelatthecurrentcursorposition.

Zoom

ThepercentageofmagnificationintheimagewhenView>StretchToFitischecedintheMenuBar.

Image/DisplaySize

Imagesizeisthecurrentresolutionofthecamera(width,height). Displaysizeisthecurrentsizeofthedisplayareainthemainwindow.

CameraControlDialog

TheCameraControldialogallowsyoutocontrolmostcamerasettings.

 

Toincludethisdialogwithinacustomsoftwareapplication,linktoFlyCapture2GUI.libandcreateanewCameraGUIContextwithinyourapplication.RefertotheFlyCap2demosourcecodeforanexampleofhowtodothis.

ToopentheCameraControlDialog

∙Clickthe  

icononthetoolbar.

The

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 初中教育 > 政史地

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1