Parameter change in real time - IDS Imaging
文章推薦指數: 80 %
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!
延伸文章資訊
- 1Programming examples - IDS Imaging Development Systems ...
IDS industrial cameras are versatile, powerful and easy to use. As you can see from the following...
- 2How to implement circular buffer video recording in C#
In this description you can read about circular or ring buffer. The article explains the benefits...
- 3Image Acquisition Interface for IDS uEye Cameras - MVTec
This page provides the documentation of the HALCON uEye image acquisition interface ... the image...
- 4Virtual Ring Buffer for Camera Application Concurrency
use a ring buffer to capture and deliver images from the camera. ... must wait for a Client user ...
- 5User Manual uEye Cameras V3.32 - 1stVision
2009 IDS Imaging Development Systems GmbH. ... 3.2 USB uEye SE Driver Compatibility ... card and ...