Parameter change in real time - IDS Imaging

文章推薦指數: 80 %
投票人數:10人

For demonstration, the uEye sequencer demo uses a continuous software trigger signal to trigger image capture and a ring buffer to store the ... Youwanttocaptureimagesequenceswithdifferentexposuretimesorimagesections?Youdonotwanttomanuallyreconfigurethecamerawhilecapturing?Thatisnotveryeasy?Yes,itis! Aspecialfeaturethatwaspreviouslyreservedforthecameramodelswithe2vsensors,isnowavailableforthewholeUSB 3 uEye CP Rev. 2camerafamilyfromIDSSoftwareSuite4.81on:thesequencermode.Tohelpyougetstarted,thereisaspecial"uEyesequencerdemo". Background UnliketheexistingsequenceAOImodeofthee2vsensors,thenewsequencermodeisnospecialsensorfeature,butimplementedinthecamerafirmware.Sothisfeatureisavailableinmuchmorecameramodelsanditsprogrammingremainsconsistentandthefunctionalityisextendable. Withthenewsequencermode,youareabletodefineupto32sequencersetswithdifferentparametersforimageacquisition.Eachsequencersetincludesthefollowingsettings: Exposuretime Gain(master,red,green,andblue) XandYpositionoftheimagesection(AOI) Thesequencersetsarestoredinthecamera.Sotheycanbeprocessedbythecamerafirmwarewhilecapturingwithoutinteractionwiththehostsoftware.Parameterchangeshappenautomaticallyandwithoutdelayofthecaptureprocess.Youcandeterminetheorderofthesequencersetsonyourown.Thisallowsfastparameterchangesforimageacquisitioninrealtime. Withthenew"uEyesequencerdemo",youareabletotryoutandpreconfigurethesequencemodeverycomfortableforyourapplication. Settingupthecamera StarttheuEyesequencerdemowith"Start>AllPrograms>IDS>uEye>Samples>uEyeSequencerDemo".SelectaUSB 3 uEye CP Rev. 2camerainthe"Selectcamera"dialogtostarttheprogram. First,adjustthebasiccamerasettings.Via"Camera>Acquisition",youcansetthepixelclock,theframerateandtheexposuretime. Via"Camera>ImageSize",youcanchooseanimageprofile,defineanimagesection(AOI),orsetbinningandsubsampling. Alternativecameraconfiguration:UsingtheuEyeCockpit YoucanalsocomfortablyconfigurethecamerainuEyeCockpit.Savethecamerasettingsinaparameterfile(seeTechTip"Parameterisinginsteadofprogramming").YoucanloadtheparameterfileintheuEyesequencerdemovia"Camera>LoadCameraConfiguration". Configuringthesequencermode Afterconfiguringthebasiccamerasettings,yousetupthesequencermode.Clickonthe"AddSet"buttoninthemenubartoaddthefirstsequencerset.Thesequencersetisstillempty.Next,forexample,addtheexposuretimethatshoulddifferfromthedefaultvalue.Forthis,clickon"Exposure"attheleftsideinthe"Properties"area.Inthefirstsequencerset,theinputfieldfortheexposuretimeisdisplayedandyoucanchangeit. Inthesameway,youcansetgainandAOIposition(AOIoffsetX/Y).Addafurthersequencersetbyclickingon"AddSet". Eachnewsequencersetisautomaticallyaddedattheendandhasthesamesettingsasthecurrentlymarkedsequencerset. Configuredsequencersets Savingconfiguration YoucansavethesequencersettingsthatyouhavemadeintheuEyesequencerdemo.Via"File>Save",yousavethesequencersettingsinaXMLfile. Youcanloadsavedsequencersettingsvia"File>Load"intotheuEyesequencerdemo.Inyourownapplication,usethe"is_Sequencer()"APIfunctionwiththeIS_SEQUENCER_CONFIGURATION_LOADparametertoloadthepreconfiguredsequencersettings.Thissavesyouprogrammingeffortinyourapplicationasyousimplyloadthesequencersettingsandactivatethesequencermode. Usingthesequencermode Afteryouconfigureorloadthesequencersets,clickon"Run"inthemenubaroftheuEyesequencerdemotostartthesequencermode.Theimagesarecapturedcontinuouslyuntilyouclickon"Stop". Fordemonstration,theuEyesequencerdemousesacontinuoussoftwaretriggersignaltotriggerimagecaptureandaringbuffertostoretheimagedata. Thesequencermodeonlyworksincameratriggermode(softwareorhardwaretrigger).Accordingtoyourapplication,youcantriggerthedifferentlyparametrizedimagesbysingletriggersignals,oruseatriggerburst,forexample,tostartcapturingacompleteimagesequencewithonesignal. Applicationareas Thesequencemodeisusefultocaptureanimagesectionwithdifferentexposuretimesorgainsettings.Forexample,insituationswhereunknownlightorbrightnessconditionsprevail.YoucanrealizebracketingorcalculateanHDRimagebysoftware. Alsoimagesectionswithdifferentpositionscouldberealizedquicklyinthisway.MovingtheimagesectionisapplieddirectlyinthesequencermodewithoutreprogrammingviatheAPI. Rememberusingsufficientringbufferaccordingtoyourapplication.Withthepossibilitytocapturefastimagesequenceswithdifferentparameters,alsotheamountofdataforimageprocessingwillincrease. Summary Thesequencermodecanbeveryusefulforapplicationswhereimageserieswithdifferentparametersaretobecapturedinaveryshortpresettimeperiodandmanualparameterchangesaretootime-intensive. AsthecaptureparametersareautomaticallychangeddirectlyinthecamerainsequencermodeandnotviathePC,acapturewithparameterchangesispossibleinrealtime.Thisallowsanoptimizedprocesssequence. Notethefollowingprerequisitesforusingthesequencermode: ThesequencermodeissupportedbyallUSB3uEyeCPRev.2camerasbutnotbytheUI-359xCPRev.2cameramodel. Thesequencermodeisonlysupportedintriggermode.Bothhardwareandsoftwaretriggersarepossible.Triggersforsingleimagesaswellasthebursttriggermodeforcompleteimagesequencesaresupported. Thesequencermodemustbeactivatedbeforetheimageacquisitionstarts. Theinternalimagememorymustbeactivated. ThesequencermodecannotbeusedincombinationwiththeIDSlinescan(AOImergemode),multiAOIfunction,orthesequenceAOImode. Forfurtherinformationonprogrammingthesequencermode,refertotheuEyemanualathttp://en.ids-imaging.com/manuals-ueye.html. DownloadPDF Askus Backtotheoverview Imagesequence Software uEyecameras It'ssoeasy!



請為這篇文章評分?