Vision Idea Exchange.docx

上传人:安*** 文档编号:17786660 上传时间:2022-05-26 格式:DOCX 页数:18 大小:151.45KB
返回 下载 相关 举报
Vision Idea Exchange.docx_第1页
第1页 / 共18页
Vision Idea Exchange.docx_第2页
第2页 / 共18页
点击查看更多>>
资源描述

《Vision Idea Exchange.docx》由会员分享,可在线阅读,更多相关《Vision Idea Exchange.docx(18页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。

1、VisionIdeaExchange15KudosPythonScriptinginVBAIStatus:NewSubmittedbyvarga.smon11-06-202008:57AM2CommentCallingapythonscriptfromVBAIrequiresmanysteps.PleasemakeitsimplerandmoreintuitivetorunaPythonscriptdirectlyfromVBAI.EveniflimitingthereturntypestothedatatypescurrentlyavailableinVBAIwouldbefine.This

2、wouldallowVBAItoeasilyutilizeOpenCVmoredirectlyandmoreintuitively.Today,theonlywaytocallaPythonscriptistobuildthecallthroughLabVIEW,thenbuildtheLVVIfordistributiontoVBAI,thenuseacallLVstepinVBAI.ForsimplePythonscripts(e.g.manipulatingtextstrings,move,renameordeletefiles,gettingvaluesfromdictionaries

3、)thisisalotofunnecessarystepsthatpreventpeoplefromusingVisionBuilder.EvenseasonedLabVIEWusersoftenhavedifficultingbuildingaLVstepsuchthatitcanbeaccessedbyVBAI.CriticalforDebugging:Duringrun,theVBAIstepshouldalsoreturnthenameandpathoftheenvironmentbeingused.Bonus:AsimplePythoneditorlaunchedfromVBAIwo

4、uldbeideal(suchasthefreeversionofVisualStudioCode).Labels:VisionBuilderAI5KudosIMAQOverlayLineStyleStatus:NewSubmittedbyvarshinee97on02-01-202101:27AMCommentSimilartoDrawLine/DrawMultipleLinesfunctionavailableforPicture,itwouldbegoodtohavelinestyles(asmentionedintheattachedimage)forIMAQOverlayLine,I

5、MAQOverlayMultipleLines2.linestyle.PNG4314KBLabels:VisionDevelopmentModuleTags:OverlaysViewAll(1)5KudosMakeIMAQimageanativedatatypeStatus:NewSubmittedbydreeves73on11-27-202005:19AM2CommentThisisprobablynotasimplethingforNItoimplementbutIalwaysthoughtitwouldmakesensetomaketheIMAQimageanativedatatype.

6、WhenIfirststartedusingLabVIEW,ittookmeawhiletogetusedtotheimagedatatypeandunderstandthatitisjustapointertoanamedimageinmemoryandthepointerispassedbetweenimageoperators.Iamusedtoitnowbutitstillseemsclunkytome.Whycantanimageconstantorcontrolimplicitlycreateanimageandtheycanbeimplicitlydestroyedattheen

7、dofaprogram.Branchingawirewouldcreatetwocopiesofanimagethatcouldbeoperatedonindependently.AtthemomentmyimagingcodealwayslooksquitemessybecauseIoftenneedtocreatetemporaryimagebuffersforintermediateoperations.IthinkthiswouldmaketheimagingtoolsamorewholisticadditiontolabVIEWandmakeitfeellesslikesomethi

8、ngthatwasadaptedfromanotherlanguage.Suretherewouldbesomeimpactonperformance,butisntthatwhyweuseLabVIEW?Simplerprogrammingatahigherlevel.Labels:VisionDevelopmentModule17KudosVisionDevelopmentModuleDeploymentlicensenonsenseStatus:NewSubmittedbyX.on03-05-201907:17PMCommentrantAuserofminewhohadtriedasof

9、twareIhadreleasedasanexecutableusingthetriallicenseofferedbyNIwhenfirstinstallingtheVisionDevelopmentModuleRTE,decidedtogoaheadandpurchaseasingleuserlicensefromNItobeabletocontinueusingit(note:IdontgetadimefromthistransactionandinfactIwouldarguethatbeingaresearchonlytool,thereshouldbenoDeploymentLic

10、enseFeechargedtoanyuser,butthisisanothertopic).TheusercalledNI,whotoldherthattheproductwouldshipin3daysfromnow.Theuserreportedthistome,andIimmediatelycalledNItofigureoutwhatwasgoingon.Afterall,thedeploymentlicenseisasimplelicensenumberandthereisnoneedtoshipanything,sincetheRTEcanbedownloadedforfreeo

11、nNIswebsite.Well,thingsaredifferentatNI.Yes,thewebsiteconfirmsthatadeploymentlicensedoesntneedanydelivery(nomediaistheonlychoiceontheproductpage:/ni/en-us/shop/select/vision-development-module).Butstill,whenyoupurchasealicenseonTuesday,itonlyshipsonFriday.IhadtotalktotwoNIemployeesbeforeIcouldgettot

12、hepointwhereIwasofferedtogetatriallicenseextensionformyuser(butnoadmissionthatthefactthatasoftwarelicenseneeds3daystobegeneratedisbackwards).Icertainlywillnotgothroughthisasecondtime,andwillclearlyspellouttheantiquatedprocessthatanypotentialuserofmysoftwarewillneedtogothrough,shouldtheydesiretopurch

13、asealicense.endofrantIdea:Makeitsimpletogetavisiondevelopmentmoduledeploymentlicense(asinquickemaildeliveryshortlyafteronlinepurchase).Labels:VisionDevelopmentModuleTags:X_IdeaViewAll(1)14KudosMakeiteasiertopanimagesintheVisionAssistantStatus:NewSubmittedbyng1902on11-14-201809:54AM3CommentLatelyIveb

14、eenworkingonprojectsthatusehigh-resolutioncameras(10+MP).TypicallyIusetheVisionAssistanttoquicklyprototypeavisioninspection,thenrewritetheinspectioninLabVIEW.Whenworkingwithlargeimages,Ioftenneedtopanaroundtodifferentpartsoftheimage.However,theonlywaytopantheimageintheVisionAssistantisbyusingthescro

15、llbars,whichoftenfeelsclunky.Iwouldlovetobeabletonavigatearoundtheimagemoreeasilyandfluidly.Afewpossibleideas:AddthePantooltothetoolbar,liketheImageDisplayindicatorshaveinLabVIEW,sothattheimagecanbenavigatedbyclicking+draggingClickthemiddlemouse-wheeltotogglepanningwiththemouseposition,likeinChrome/

16、Firefox/ExcelClick+holdthemiddlemousebuttontodragandpantheimage,likePaint.NETChangethebehaviorofthemousescroll-wheeltoalignwithfamiliarsoftware,likeChrome/FirefoxandPaint.NET,insteadofjusthavingtheschoolwheelbezoom,thatis:Scrollingup/downwouldpantheimageup/downShift+scrollwheelwouldpantheimageleft/r

17、ightCtrl+scrollwheelwouldzoomin/outLabels:VisionDevelopmentModuleTags:visionassistantViewAll(1)24KudosImprovedImageZoomToolStatus:NewSubmittedbyX.on01-04-201712:22PM4CommentThezoomtooloftheimagedisplaycontrolisantiquated.Currently(Vision2016),youselectitandthenclickintheimagetozoombyafixedamount.Con

18、siderupgradingitscapabilitiestomatchmodernUIs:-SelectingarectangularROIwiththezoomtoolshouldzoomtothatROI,i.e.,theROIshouldbeexpandedtofilltheimagdisplaycontrol.-supportmousewheel(andtouchscreenifneeded)toactasazoominandoutnomatterwhichtoolisselected.-supportfixedaspectratiohotkey(e.g.Ctrlkey):zoomi

19、ngwiththeaboveROIselectionwhilethehotkeyispressedwillzoomtheimagetofillthedisplaywiththelargest(orsmallest)dimensionoftheROI.Feelfreetoaddsuggestionsbelow.Labels:VisionDevelopmentModuleTags:Image_Zoom_ToolX_IdeaViewAll(2)19KudosBreakingthe2GBlimitforimagefilesStatus:NewSubmittedbyMaximon06-21-201705

20、:57AM6CommentWiththereleaseofLV2017andthereforeVision2017Iexpectedthe2GBlimittobegone.UnfortunatelyandwithgreatdiappointmentIhavefoundoutthatthiswasnotthecaseanditsstillnotpossibletocreateorhandleimagefilesgreaterthan2GBeveninLV64bit2017.Latestlinearimagesensorscangoupto32.000pixels(perlineandpercha

21、nnel)andwecurrentlyusea16Ksensorinourcameraandeasilycanexceedthe2GBlimitwhenwescanlongmaterialsspeciallyif16bitprecisionisrequiredandRGBcolorisalsoneeded.Thismeansthatwehadtoimplementseveraltricksinordertobreakdowntheimagesize(weprocesseachRGBcolorlayerasaseparateimagefileanddividetheimageinseveralc

22、hunks)butwearestillanywayexperiencingmanybottlenecksandarefrustratedinthesoftwaredevelopmentbecausewecannotusemanyoftheexhistingVisiontoolsthatarelimitedto2GB.AndofcourseVISION/IMAQlibrariescannothandleimageprocessingwhenimageinformationisdistributedintodifferentimagesandthereforewehadtowriteourownl

23、ibraries(evenforimageviewing)soastohandletheimagesproperly.Furthermore,despitetheTIFFformatislimitedto4GB(not2GB)itsrelativelyeasytosplittheimagefileintoseparateTIFFfileswhileitsnoteasytohandleorprocessimagedatainseparatechunksorchannels.Furthermoretherearealsootherimageformatsthatallowsforverylarge

24、filesizes(i.e.BigTIFFwhichisextremelyeasytoimplementasitsonlya64bitextensionofthecurrently32bitlimitintheTIFFformat).Somysuggestionis:tobreakthe2GBlimitandfinallyallowhandlingverylargeimagefilesdirectlyintoLabviewandtheVisionlibraries!Labels:VisionDevelopmentModule11KudosFastwayofrotatinganimage90de

25、greesinIMAQStatus:NewSubmittedbyandreasbjon08-31-201806:17AM3CommentProblem:Ineedtoacquireimagesfromacameraandrotatethem90-degreescounter-clockwiseonacRIO-9034target.Rotatingtheimageonthecamerasensorisnotsupportedbythecamera.Currentsituation:Itiscurrentlypossibletorotateanimageusing“IMAQRotate.vi.Th

26、isVIhasafloatingpointinputanglewhichcanbesetto90degrees.Itishoweverabitslow(around80msonacRIO-9034fora3840x1200image).Itshouldbepossibletoimplementafasterwayofrotatinganimagewhentheangleisinincrementsof90degrees.Mysuggestion:CreateanewIMAQviforrotatingimagesinincrementsof90degrees.TheVIcouldbesimila

27、rtoIMAQSymmetry.viwhichcanbeusedtoflipimageshorizontallyandvertically.Labels:VisionDevelopmentModuleTags:ImageimaqrotationvisionViewAll(4)3KudosNi-IMAQdxskiperrorStatus:NewSubmittedbysafaron07-02-202005:22AMCommentWhenIhaveacamerawithaparameteroutofrange,IcannotopentheconnectiontothiscamerawithNI-IM

28、AQdx,theonlywaytoconnectwiththecameraistouseanotherPleoraSoftwarelikeGevPlayertocommunicatewiththecamera.ThisSWcanopentheconnectionandintheparametersoutsidetherangeitputsasign(!)infrontoftheparameter.myideaistoallowtoopentheconnectionwiththecameratheresultisnotanerrorbutawaringindicatedthefirstparam

29、eterthatisoutofrange,withthiswecancorrecttheparameterandcontinuecapturingimage.Thefunction(IMAQdxConfigureGrab.vi)itshouldreturnerrorincaseaparameterisoutofrange,butfunction(IMAQdxOpenCamera.vi)itshouldnotreturnanerrorbutawaringassaidbefore.ThesamewithCameraValidatoronlyreturnsanerrorcodewhichmeans(

30、unablegetattributevalue)Labels:VisionAcquisitionSoftwareTags:improvefunctionalityViewAll(1)17KudosSupportforU32,I32andRGB128Images/ImageTypeStatus:NewSubmittedbyAndi_Son02-22-201712:03AM3CommentCurrentsituation:Moreandmoreimagesensorsdosupportbitdepthsofmorethan16Bit.Justtwoexamples:AptinaMT9M034,Om

31、niVisionOV10640CurrentlyitisnotpossibletohandleimagefromthosesensorswithinLabVIEWexceptasa2D-Array/Matrix.UsingtheSGLimagetypewouldbepossibleonthefirstsightbutithasseveraldisadvantages:storingofthoseimageisnotpossibleandalotofimageprocessingandcalculationfunctiondonotsupportSGL.Improvement:Addsuppor

32、tfortheimagetypesU32,I32andRGB128.PersonallyIseethepriorityatU32andI32becausethosetypesareneededtohandletheRAWdatafromthesensors.Veryimportant:Donotjustaddthosetypestoyourtypedef!Theremustbearealsupportfromallbasicfunctions!Basicfunctionsareinmyopinion/formyusage:writetofile,readfromfile,allfunction

33、sinthepalettesVisionUtilites,Processing,Filters,OperatorsandthefunctionsHistogram,Histograph,LineProfile,ROIProfile,LinearAveragesandallotherstaticsfunctions.Labels:VisionBuilderAIVisionDevelopmentModuleTags:I32imagetypeU32ViewAll(3)22KudosVision:handlingsingleimagefiles2GB!Status:NewSubmittedbyMaxi

34、mon03-16-201603:07AM6CommentImexpectingthisalongtime.butateachnewLabviewreleaseImdisappointed.Despite64bitLabviewandVisionlibrariesareavailablesincealongtimenow,itsstillnotpossibletoallocatemorethen2GBforasingleimage.Wouldbenicetoremovethatlimitationoratleasttoextendit!Labels:Analysis&ComputationExe

35、cution&Performance13KudosVisionDevelopmentRun-timeLicenseneedstoTransferfromVersionsWithoutre-Licenseing(ex.2016-2017)Status:NewSubmittedbyBB500on08-25-201703:07PMCommentIhaverunintothisproblemwiththeVisionruntime,VisionAcquisitionruntimesinceIbeganusingLabview.TheproblemhereisthateverytimeIupgradem

36、ydevelopmentsoftwareforexampleVisionDevelopmentModule2016to2017thenupdatemycustomerstheyneedtoactivelyre-licenseboththeVDruntimeandVAruntimes.Thisseemstomakenosensesincebothruntimeswerealreadyactivatedinthepreviousversion.Thisisarealissuewhenyouareupdatingsoftwareoncustomersmachinesthathavenointerne

37、taccess.TheVisionDevelopmentruntimesneedtoautomaticallytransferfromversiontoversionsincetheVisionruntimekeysaregoodindefinitelyforupdates.Thiswouldpreventcustomersfromhavingtore-licenseyearlyliketheydonowwhichinmyopiniondoesnotmakesense.Attheveryleasttherecouldbeawaytoadda20charactercodeproblematica

38、llywhenupdatingversionssousersdonthavetoworktheirwaythroughNIslicensemanager.Labels:VisionDevelopmentModuleTags:licenseViewAll(1)17KudosAddingOptionforDisplaywhileRightclickingonImageIndicatorStatus:NewSubmittedbyPalanivelThiruvenkadamon09-15-201601:19AM2CommentThisideaistohaveanoptionintheImageIndi

39、catortochangetoImageDisplay.CurrentlytogetImageDisplayDeveloperneedstorightclickontheFrontpanelofImageIndicator-Replace-SelectVisionandtheneedstoselectthekindofdiplayneeded.IfbydefaulttherightclickoptionprovidesDisplayalsoasanoption,thenitseasytonavigateinsingleselection.Labels:VisionBuilderAITags:d

40、isplayViewAll(1)22KudossimulatedimaqdxcamerasStatus:NewSubmittedbyfalkplon01-20-202107:16AMCommentThisideaissomethingIhaveimplementedinhouseandpostingismotivatedbythefollowingdiscussion:/forums.ni/t5/Machine-Vision/Simulate-GigE-Vision-Basler-Runner-Camera-ruL2098-10gc/m-p/3076940#M44384Iwouldliketo

41、havetheabilitytoaddasimulatedimaqcamerainmaxtousewiththeimaqdxdriver.Thecamerashouldbeabletospecifywitheritislinescanorareascan,aswellassensorsizeandspecifications.Thesimulateddeviceshouldsupportthebasicpropertynodes(AOI,exposurelineorframerate.couldevenhaveaxmlforiGenCam).Ideallythesourceoftheimage

42、(directory)couldbespecifiedsothatgrabsorsnapswouldplaybackpreviouslyacquiredimagesoratestpatterncouldbeselectedinstead.Imightbeaskingfortoomuch,butthisallowsforofflinetestingonvisionsystems,somethingthatiscommonafterdeployment.Labels:VisionAcquisitionSoftware20KudosEnableOverlaywhenconvertingfromVis

43、ionAssistanttoVIStatus:NewSubmittedbyR.Kuwajimaon05-22-202110:57AMCommentWhenVisionAssistantstepsareconvertedtoLabVIEWVI,theoverlayofresult(i.e.edgedetect,particlecounts)islost.AddingoverlayfunctiononVIrequiresnotonlyLabVIEWskills,butVisionknowledgeduetoimagememoryhandling.Soitdbenicetohaveanoptiont

44、okeeptheoverlayfunctionalityonVisionAssistantevenwhenconvertingtoLabVIEWVItohaveasmoothtransition.RyujiKuwajimaLabels:VisionDevelopmentModuleTags:LabVIEWoverlayvisionassistantViewAll(3)7KudosUpdateVIsthatprovideconstantsthatarealreadyavailableinVisionAssistant(kernels,palettes,.)Status:NewSubmittedb

45、yb.ploetzenederon09-14-201806:13AMCommentTherearemultipleplaceswherewecanconfigureconstantsinVisionAssistant,butwhicharenotavailableinsideLabVIEW.Forexample:IMAQGetKernelisseverelylimitedbythekernelsize(3,5,7).Nowadays,imagesarelargerandcomputersarefaster,soweoftenrequirelargerkernelsizes.Itispossib

46、letocreatelargerkernelsinVisionAssistant,soportingthatfunctionalityshouldnotbeaproblem.Also,VisionAssistantprovidesmorepalettesthanIMAQGetPalette.(DICOMHotIron,DICOMPETetc).Inbothcases,itispossibletocreatecodefromVisionAssistantandcopy-pastetheconstants,orcreatecustomversionsofthevis.Butthisissuchaw

47、asteoftime.Labels:VisionDevelopmentModuleTags:filterkernelsgetkernelGetPaletteViewAll(3)1KudosVisionRuntimeLicensingwithaUSBDongleStatus:NewSubmittedbycarlosss123on12-17-202006:41PMCommentThiswillbeusefultodeployprojectstoend-usersmoreeasily.Currently,NIonlyprovidestheUSBDongleSolutionforLabVIEW,Tes

48、tStand,andLabWindows/CVI.MoresoftwareintothisUSBDonglewillprovidemoreflexibilityinthelicensingoptionstodeploytoend-users.s:/ni/pdf/manuals/372534d.pdfLabels:VisionAcquisitionSoftwareTags:LicenseManagerUSBViewAll(2)13KudosBeingabletoread/writemp4/h.264filesStatus:NewSubmittedbymarkwardon12-15-202110:

49、52AM1CommentItwouldbe_really_helpfulifLabViewcouldread/writemp4/h.264files,sopleasecouldthatbeaddedtoafutureversion?Imworkingwithacompanywhogeneratelongmp4filesthatarequiteefficientlycompressed.TheseneedtobeanalysedusingLabVIEWbuttocreateanmjpegversionjustsothatLabVIEWcanopenitwastesalotoftimeandspace+needsanothersoftwareinstall.ItsembarassingtosaythatLabVIEWjustc

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 技术资料 > 技术方案

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知得利文库网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号-8 |  经营许可证:黑B2-20190332号 |   黑公网安备:91230400333293403D

© 2020-2023 www.deliwenku.com 得利文库. All Rights Reserved 黑龙江转换宝科技有限公司 

黑龙江省互联网违法和不良信息举报
举报电话:0468-3380021 邮箱:hgswwxb@163.com