FlyCap2软件使用说明Word文档格式.docx
《FlyCap2软件使用说明Word文档格式.docx》由会员分享,可在线阅读,更多相关《FlyCap2软件使用说明Word文档格式.docx(19页珍藏版)》请在冰豆网上搜索。
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:
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