ni vision for visual basic reference help · ni vision for visual basic reference help june 2008,...

8344

Upload: others

Post on 20-Apr-2020

41 views

Category:

Documents


0 download

TRANSCRIPT

  • NIVisionforVisualBasicReferenceHelpJune2008,370053G-01NIVisionforVisualBasicisalibraryoffunctionsthatyoucanusewithMicrosoftVisualBasictodevelopmachinevisionandscientificimagingapplications.Formoreinformationaboutthishelpfile,refertothefollowingtopics:UsingHelpRelatedDocumentationGlossaryImportantInformationTechnicalSupportandProfessionalServicesTocommentonNationalInstrumentsdocumentation,refertotheNationalInstrumentsWebsite.©2001–2008NationalInstrumentsCorporation.Allrightsreserved.

    javascript:WWW(WWW_Feedback)

  • ActivatingYourSoftwareHowdoIactivatemysoftware?UsetheNIActivationWizardtoobtainanactivationcodeforyoursoftware.YoucanlaunchtheNIActivationWizardtwoways:

    Launchtheproductandchoosetoactivateyoursoftwarefromthelistofoptionspresented.LaunchNILicenseManagerbyselectingStart»AllPrograms»NationalInstruments»NILicenseManager.ClicktheActivatebuttoninthetoolbar.NoteYoudonotneedtoactivateyoursoftwareifitismanagedbyNIVolumeLicenseManagerasapartofaVolumeLicenseAgreement.

    Whatisactivation?Activationistheprocessofobtaininganactivationcodetoenableyoursoftwaretorunonyourcomputer.Anactivationcodeisanalphanumericstringthatverifiesthesoftware,version,andcomputerIDtoenablefeaturesonyourcomputer.Activationcodesareuniqueandarevalidononlyonecomputer.WhatistheNIActivationWizard?TheNIActivationWizardisapartofNILicenseManagerthatstepsyouthroughtheprocessofenablingsoftwaretorunonyourmachine.WhatinformationdoIneedtoactivate?Youneedyourproductserialnumber,username,andorganization.TheNIActivationWizarddeterminestherestoftheinformation.Certainactivationmethodsmayrequireadditionalinformationfordelivery.Thisinformationisusedonlytoactivateyourproduct.CompletedisclosureofNationalInstrumentslicensingprivacypolicyisavailableatni.com/activate/privacy.Ifyouoptionallychoosetoregisteryoursoftware,yourinformationisprotectedundertheNationalInstrumentsprivacypolicy,availableatni.com/privacy.HowdoIfindmyproductserialnumber?Youcanfindyourserialnumberontheproof-of-ownershipandregistrationcardthatyoureceivedwithyourproduct,asshowninthefollowingexample.

    javascript:WWW(WWW_LM)javascript:WWW(WWW_PRIV)

  • IfyoursoftwarekitdoesnotincludeaCertificateofOwnership,youcanfindyourserialnumberontheproductpackingsliporontheshippinglabel.WhatisaComputerID?ThecomputerIDcontainsuniqueinformationaboutyourcomputer.NationalInstrumentsrequiresthisinformationtoenableyoursoftware.YoucanfindyourcomputerIDthroughtheNIActivationWizardorbyusingNILicenseManager,asfollows:

    1. LaunchNILicenseManagerbyselectingStart»AllPrograms»NationalInstruments»NILicenseManager.

    2. ClicktheDisplayComputerInformationbuttoninthetoolbar.Formoreinformationaboutproductactivationandlicensingrefertoni.com/activate.

    javascript:WWW(WWW_License)

  • RelatedDocumentationMostNIVisionmanualsalsoareavailableasPDFs.YoumusthaveAdobeAcrobatReaderwithSearchandAccessibility5.0.5orlaterinstalledtoviewthePDFs.RefertotheAdobeSystemsIncorporatedWebsitetodownloadAcrobatReader.RefertotheNationalInstrumentsProductManualsLibraryforupdateddocumentationresources.Thefollowingdocumentscontaininformationthatyoumayfindhelpfulasyouusethishelpfile.YoucanaccessNIVisiondocumentsbyselectingStart»AllPrograms»NationalInstruments»Vision»Documentation»NIVision.

    NIVisionDevelopmentModuleReadme—Containsinformationaboutnewfunctionality,minimumsystemrequirements,installationinstructions,anddescriptionsofthedocumentationforthefollowing:NIVisionforLabVIEW,NIVisionforLabWindows/CVI,NIVisionforVisualBasic,andVisionAssistant.NIVisionforVisualBasicUserManual—DescribeshowtocreatemachinevisionandimageprocessingapplicationsinMicrosoftVisualBasicusingtheVisionDevelopmentModule.Themanualguidesyouthroughtasksbeginningwithsettingupyourimagingsystemtotakingmeasurements.NIVisionConceptsManual—Describesthebasicconceptsofimageanalysis,imageprocessing,andmachinevision.Thisdocumentalsocontainsin-depthdiscussionsaboutimagingfunctionsforadvancedusers.NIOCRTrainingInterfaceHelp—ContainsinformationabouthowtousetheOCRTrainingInterfacetotraincharacters,savecharactersets,andverifycharactersbycomparingthemtoareferencecharacter.NIClassificationTrainingInterfaceHelp—ContainsinformationabouthowtousetheNIClassificationTrainingInterfacetotrainandclassifybinarysamples.NIVisionTemplateEditorHelp—ContainsinformationabouthowtousetheNIVisionTemplateEditortolearnandedittemplateimagesthatyoucanusewithpatternmatching,geometricmatching,andgoldentemplatecomparisonfunctions.

    javascript:WWW(WWW_Adobe)javascript:WWW(WWW_Manuals)

  • UsingHelpConventionsNavigatingHelpSearchingHelpPrintingHelpFileTopics

  • ConventionsThishelpfileusesthefollowingconventions:<> Anglebracketsthatcontainnumbersseparatedbyanellipsisrepresentarangeofvalues

    associatedwithabitorsignalname—forexample,DBIO.

    [] Squarebracketsencloseoptionalitems—forexample,[response].

    Thisicondenotesatip,whichalertsyoutoadvisoryinformation.

    Thisicondenotesanote,whichalertsyoutoimportantinformation.

    bold Boldtextdenotesitemsthatyoumustselectorclickoninthesoftware,suchasmenuitemsanddialogboxoptions.Boldtextalsodenotesparameternames,emphasis,oranintroductiontoakeyconcept.

    green Underlinedtextinthiscolordenotesalinktoahelptopic,helpfile,orWebaddress.

    italic Italictextdenotesvariablesorcrossreferences.Thisfontalsodenotestextthatisaplaceholderforawordorvaluethatyoumustsupply.

    monospace Textinthisfontdenotestextorcharactersthatyoushouldenterfromthekeyboard,sectionsofcode,programmingexamples,andsyntaxexamples.Thisfontisalsousedforthepropernamesofdiskdrives,paths,directories,programs,subprograms,subroutines,devicenames,functions,operations,variables,filenamesandextensions,andcodeexcerpts.

  • NavigatingHelp(WindowsOnly)Tonavigatethishelpfile,usetheContents,Index,andSearchtabstotheleftofthiswindoworusethefollowingtoolbarbuttonslocatedabovethetabs:

    Hide—Hidesthenavigationpanefromview.Locate—LocatesthecurrentlydisplayedtopicintheContentstab,allowingyoutoviewrelatedtopics.Back—Displaysthepreviouslyviewedtopic.Forward—DisplaysthetopicyouviewedbeforeclickingtheBackbutton.Options—Displaysalistofcommandsandviewingoptionsforthehelpfile.

  • SearchingHelp(WindowsOnly)UsetheSearchtabtotheleftofthiswindowtolocatecontentinthishelpfile.Ifyouwanttosearchforwordsinacertainorder,suchas"relateddocumentation,"addquotationmarksaroundthesearchwordsasshownintheexample.SearchingfortermsontheSearchtaballowsyoutoquicklylocatespecificinformationandinformationintopicsthatarenotincludedontheContentstab.

  • WildcardsYoualsocansearchusingasterisk(*)orquestionmark(?)wildcards.Usetheasteriskwildcardtoreturntopicsthatcontainacertainstring.Forexample,asearchfor"prog*"liststopicsthatcontainthewords"program,""programmatically,""progress,"andsoon.Usethequestionmarkwildcardasasubstituteforasinglecharacterinasearchterm.Forexample,"?ext"liststopicsthatcontainthewords"next,""text,"andsoon.

  • NestedExpressionsUsenestedexpressionstocombinesearchestofurtherrefineasearch.YoucanuseBooleanexpressionsandwildcardsinanestedexpression.Forexample,"exampleAND(programORVI)"liststopicsthatcontain"exampleprogram"or"exampleVI."Youcannotnestexpressionsmorethanfivelevels.

  • BooleanExpressionsClickthe buttontoaddBooleanexpressionstoasearch.ThefollowingBooleanoperatorsareavailable:

    AND(default)—Returnstopicsthatcontainbothsearchterms.Youdonotneedtospecifythisoperatorunlessyouareusingnestedexpressions.OR—Returnstopicsthatcontaineitherthefirstorsecondterm.NOT—Returnstopicsthatcontainthefirsttermwithoutthesecondterm.NEAR—Returnstopicsthatcontainbothtermswithineightwordsofeachother.

  • SearchOptionsUsethefollowingcheckboxesontheSearchtabtocustomizeasearch:

    Searchpreviousresults—Narrowstheresultsfromasearchthatreturnedtoomanytopics.Youmustremovethecheckmarkfromthischeckboxtosearchalltopics.Matchsimilarwords—Broadensasearchtoreturntopicsthatcontainwordssimilartothesearchterms.Forexample,asearchfor"program"liststopicsthatincludethewords"programs,""programming,"andsoon.Searchtitlesonly—Searchesonlyinthetitlesoftopics.

  • PrintingHelpFileTopics(WindowsOnly)CompletethefollowingstepstoprintanentirebookfromtheContentstab:

    1. Right-clickthebook.2. SelectPrintfromtheshortcutmenutodisplaythePrintTopics

    dialogbox.3. SelectthePrinttheselectedheadingandallsubtopicsoption.

    NoteSelectPrinttheselectedtopicifyouwanttoprintthesingletopicyouhaveselectedintheContentstab.

    4. ClicktheOKbutton.

  • PrintingPDFDocumentsThishelpfilemaycontainlinkstoPDFdocuments.ToprintPDFdocuments,clicktheprintbuttonlocatedontheAdobeAcrobatViewertoolbar.

  • NIVisionOverviewNIVisionforVisualBasicisacollectionofActiveXcontrolsyoucanusetodevelopimageanalysisandmachinevisionapplicationsinanycompatibleActiveXcontrolcontainer.WithNIVisionforVisualBasic,youcanacquireimagesfromimageacquisitiondevicessupportedbytheNI-IMAQdriversoftware,displaythemintheapplication,performinteractivevieweroperations,andanalyzetheimagestoextractinformation.TheNIVisionforVisualBasicpackagecontainsthefollowingcomponents:

    TheCWIMAQcontrolisanActiveXcontrolforacquiringimagesfromdevicessupportedbytheNI-IMAQdriversoftware.TheCWIMAQViewercontrolisanActiveXcontrolfordisplayingimagesintheapplication.Withthiscontrol,youcaninteractivelyselectaregionofinterest,zoomandpananimage,andapplydifferentcolorpalettes.TheCWIMAQVisioncontrolisanActiveXcontrolforanalyzingandprocessingimages.Functionsincludecalipertools,patternmatching,histogram,particleanalysis,andsoon.TheNIOCRcontrolisanActiveXcontrolyoucanuseforopticalcharacterrecognition(OCR)inmachinevisionapplications.TheCWMachineVisioncontrolisanActiveXcontrolyoucanusetoperformhigh-levelmachinevisiontasks,suchasmeasuringdistances.NoteIfyoureceivedtheCWIMAQcontrolaspartofNI-IMAQandhavenotpurchasedNIVisionforVisualBasic,theCWIMAQViewer,CWIMAQVision,NIOCR,andCWMachineVisioncontrolsareinevaluationmode.

    TheNIVisionforVisualBasicActiveXcontrolsaredesignedforuseinVisualBasic6.0.SomefeaturesandutilitieshavebeenincorporatedwiththeVisualBasicuserinmind.However,youcanuseActiveXcontrolsinotherapplicationsthatsupportthem,includingVisualC++andDelphi.

  • ImageAcquisitionControlOverviewUsetheCWIMAQcontroltoacquireimagesfromimageAcquisitionhardware,includingthecaptureofsingleormultipleimagesincontinuousorsingle-shotmode.YoucanconfiguretheCWIMAQcontrolformanydifferentmodes,includingstarttriggers,skipcounts,andframeorfieldmode.Afterthepropertiesareset,theapplicationcanperformacquisitionsusingmethodcalls.TheImagescollectionandImageobjectsrepresenttheacquiredimages.Whenyouacquiremultipleimages,additionalImageobjectsareaddedtotheImagescollection.Youcanviewacompletelistanddescriptionofallproperties,methods,andeventsassociatedwiththeCWIMAQcontrol.

  • ImageAcquisitionConfigurationInstallandConfigureDriverSoftwareTousetheCWIMAQcontroltoacquireimagesfromtheNationalInstrumentsimageacquisitiondevices,youmustinstallNI-IMAQ.TheNI-IMAQdriversoftwareperformsthelow-levelcallstothehardware.YoucanconfigurethesystemusingMeasurement&AutomationExplorer(MAX),theNationalInstrumentsconfigurationutilityprovidedwiththehardware.MAXalsoprovidesparametersandvaluesyouneedtouseinthecontrols.InstallthemostcurrentversionoftheNI-IMAQdriver.TheNIVisionforVisualBasiccontrolsmightrequirefeaturesprovidedonlyinthenewestversionofthedriver.YoucandownloadthemostcurrentversionofthedriverfromtheNationalInstrumentsWebsite.Toruntheinstallationandconfigurationprograms,followthedirectionsincludedwithNI-IMAQ.Also,reviewthereadmefileandreleasenotes,whichprovidethelatestinformationaswellasoperatingsystemdetails.ConfigureYourimageacquisitionHardwareBeforeusingtheimageacquisitionhardwarewiththeNIVisioncontrols,configuretheimageacquisitiondeviceusingMAX.UseMAXtotestthehardwareandperformimageacquisitionoperations.Whenthedeviceisconfigured,MAXassignsthedeviceaninterfacenamethatyoucanusetoreferenceitinapplications.

    http://www.ni.com

  • VisionControlOverviewNoteIfyoureceivedtheIMAQHardwarecontrolaspartofNI-IMAQandhavenotpurchasedIMAQVisionforVisualBasic,theVisioncontrolisinevaluationmode.

    TheCWIMAQVisioncontrolincludesmultipleimageprocessingfunctions.EachfunctionisamethodoftheCWIMAQVisioncontrol.Youcanpassparameterstoafunctionasyouwouldwithanyotherfunction.MostfunctionstakeImageobjectsasinputs,outputs,orboth.Operationscanbeperformedin-placewhenthesameImageobjectisusedasbothaninputandanoutput.Thefollowinglineofcodeaddsimage1toimage2andstorestheresultinimage1.CWIMAQVision1.Addimage1,image2,image1TheCWIMAQVisioncontrolhandleserrorcheckingintwodifferentways.Bydefault,anexceptionisgeneratedwhenanerroroccursinandishandledbytheprogrammingenvironment.YoucandisableexceptiongenerationusingtheExceptionOnErrorpropertyoftheCWIMAQVisioncontrol.Ifyoudisableexceptions,eachcalltoamethodreturnsanerrorcode.Ifthecodeisequaltozero,themethodcompletednormally.Ifthevalueisnonzero,anerroroccurredandtheapplicationshouldhandlethecondition.Youcanviewacompletelistofallproperties,methods,andeventsassociatedwiththeCWIMAQVisioncontrol.

  • ViewerControl(UserInterfaceControl)NoteIfyoureceivedtheCWIMAQcontrolaspartofNI-IMAQandhavenotpurchasedNIVisionforVisualBasic,theCWIMAQViewercontrolisinevaluationmode.

    UsetheCWIMAQViewercontroltodisplayandmanipulateimages.Thiscontroldisplaysstaticordynamicimagesandsupportsgraphicalregionofinteresttools.ObjectsintheCWIMAQViewercontrolrepresentthedifferentpartsdisplayedonthephysicalrepresentationoftheviewer,includingtheViewerobject,RegionscollectionandRegionobject,Paletteobject,andImageobject.

    Viewerobject—Anobjectthatcontainsthebasicpropertiesofthecontrol,suchasBorderWidthandZoomScale.RegionscollectionandRegionobject—Objectsusedtocontroltheselectionofregionsofinterestontheimage.Paletteobject—Anobjectthatcontrolsthemappingofbitmappixelvaluestocolorsviewedonscreen.Usepalettestoviewimagedataindifferentways.Youcanuseanyofthepredefinedpalettesordefineyourown.Imageobject—Theobjectthatholdstheimagedatatheviewerisdisplaying.Displaymappingobject—Theobjectthatenablesdisplaymappingfor16-bitimages.

    Youcanviewacompletelistanddescriptionofallproperties,methods,andeventsassociatedwiththeCWIMAQViewercontrol.

  • OCRControlOverviewUsetheNIOCRcontroltoperformopticalcharacterrecognition(OCR).OCRistheprocessbywhichmachinevisionsoftwarereadstextand/orcharactersinanimage.OCRconsistsofthefollowingtwoprocedures:

    TrainingcharactersReadingcharacters

    Trainingcharactersistheprocessbywhichyouteachthemachinevisionsoftwarethetypesofcharactersand/orpatternsyouwanttoreadintheimageduringthereadingprocedure.YoucanuseNIOCRtotrainanynumberofcharacters,creatingacharacterset,whichisthesetofcharactersthatyoulatercomparewithobjectsduringthereadingprocedure.Youstorethecharactersetyoucreateinacharactersetfile.Trainingmightbeaone-timeprocess,oritmightbeaprocessyourepeatseveraltimes,creatingseveralcharactersetstobroadenthescopeofcharactersyouwanttodetectinanimage.Readingcharactersistheprocessbywhichthemachinevisionapplicationyoucreateanalyzesanimagetodetermineiftheobjectsmatchthecharactersyoutrained.Themachinevisionapplicationreadscharactersinanimageusingthecharactersetthatyoucreatedwhenyoutrainedcharacters.

  • MachineVisionControlOverviewNoteIfyoureceivedtheCWIMAQcontrolaspartofNI-IMAQandhavenotpurchasedNIVisionforVisualBasic,theCWMachineVisioncontrolisinevaluationmode.

    TheCWMachineVisioncontrolscontainsfunctionsyoucanusetoperformhigh-levelmachinevisiontasks,suchasmeasuringdistances.ThiscontroliswrittenentirelyinVisualBasicusingmethodsontheCWIMAQVisionandCWIMAQViewercontrols.SourcecodefortheCWMachineVisioncontrolisincludedinNIVisionforVisualBasic.FormoreinformationaboutCWMachineVisionmethods,refertotheNIVisionforVisualBasicUserManual.Youcanviewacompletelistofallproperties,methods,andeventsassociatedwiththeCWMachineVisioncontrol.

  • NIVisionObjectsReferenceObject DescriptionCWIMAQ CWIMAQisthetop-levelobjectfortheCWIMAQ

    control.

    CWIMAQAIMGradeReport CWIMAQAIMGradeReportcontainstheresultsofgradingaDataMatrixbarcode.IfaDataMatrixbarcodecannotbelocatedbyCWIMAQVision.ReadDataMatrixBarcode2,thefunctionassignstheDataMatrixbarcodethevaluecwimaqAIMGradeFforallgradesandthevalue0forallrawscores.

    CWIMAQAnnulus CWIMAQAnnuluscontainspropertiesthatspecifyanannulus,asshowninthefollowingillustration.

    CWIMAQArc CWIMAQArccontainspropertiesthatspecifyanarc.

    CWIMAQArcs CWIMAQArcsisacollectionofCWIMAQArcobjects.UseCWIMAQArcstospecifymultiplearcs.

    CWIMAQAVISession CWIMAQAVISessionisanobjectusedtoreadandwriteAVIfiles.

    CWIMAQBarcode2DReport CWIMAQBarcode2DReportisacollectionofCWIMAQBarcode2DReportItemobjects.ItcontainsoneentryforeverybarcodefoundintheimagebyCWIMAQVision.ReadDataMatrixBarcodeorCWIMAQVision.ReadPDF417Barcode.

    CWIMAQBarcode2DReportItem CWIMAQBarcode2DReportItemcontainsparametersthatspecifytheresultsofreadinga2Dbarcode.

    CWIMAQBarcodeReport CWIMAQBarcodeReportisacollectionofCWIMAQBarcodeReportItemobjects.ThiscollectioncontainsoneelementaftercallingCWIMAQVision.ReadBarcode.

    CWIMAQBarcodeReportItem CWIMAQBarcodeReportItemcontainsparametersthatspecifytheresultsofreadingabarcode.

    CWIMAQBasicParticleReport CWIMAQBasicParticleReportisacollectionof

  • CWIMAQBasicParticleReportItemobjects.Itcontainsoneentryforeachparticleintheimage.

    CWIMAQBasicParticleReportItem CWIMAQBasicParticleReportItemcontainsinformationaboutaparticle.

    CWIMAQBCGOptions CWIMAQBCGOptionsspecifiestheoptionstousewhenperformingaBCGTransformoraColorBCGTransform.

    CWIMAQBMPFileOptions CWIMAQBMPFileOptionsspecifiestheoptionstousewhenwritingaBMPfile.

    CWIMAQBrokenline CWIMAQBrokenlinecontainsthepointsofabrokenlineshape.Thisshapeissimilartoapolygon,butisnotclosed.

    CWIMAQCalibrationGridOptions CWIMAQCalibrationGridOptionscontainsinformationaboutthecalibrationgridimageusedbytheCWIMAQVision.LearnCalibrationGridmethod.

    CWIMAQCalibrationPoints CWIMAQCalibrationPointsspecifiesasetofreferencepointsusedinlearningacalibrationtransformation.

    CWIMAQCalibrationReport CWIMAQCalibrationReportcontainsparametersspecifyingtheresultoftheCWIMAQVision.GetCalibrationInformationmethod.

    CWIMAQCaliperOptions CWIMAQCaliperOptionscontainsoptionsfortheCWIMAQVision.Caliper2method.

    CWIMAQCaliperReport CWIMAQCaliperReportisacollectionofCWIMAQCaliperReportItemobjectsthatcontaintheresultsoftheCWIMAQVision.Caliper2method.Itcontainsoneitemforeachdetectededgepair.

    CWIMAQCaliperReportItem CWIMAQCaliperReportItemcontainsinformationaboutadetectededgepair.

    CWIMAQCIEXYZColor CWIMAQCIEXYZColorspecifiestheacolorintheCIEXYZcolorspace.

    CWIMAQCircleDescriptor CWIMAQCircleDescriptorcontainspropertiesthatspecifythesetofcirclestodetect.

    CWIMAQCircleMatchReport CWIMAQCircleMatchReportisacollectionofCWIMAQCircleMatchReportItemobjects.ItcontainsoneentrypercirclefoundintheimagebyCWIMAQVision.DetectCircles.

    CWIMAQCircleMatchReportItem CWIMAQCircleMatchReportItemcontainsinformationaboutaparticulardetectedcircle.

    CWIMAQCirclesReport CWIMAQCirclesReportisacollectionofCWIMAQCirclesReportItemobjectsthatcontaintheresultsoftheCWIMAQVision.FindCirclesmethod.Ithasoneentryforeachcircledetectedintheimage.

    CWIMAQCirclesReportItem CWIMAQCirclesReportItemcontainsinformationaboutadetectedcircle.

    CWIMAQClassifier CWIMAQClassifierisanobjectthatassignsimagesorfeaturevectorstoclassesbasedonhowithasbeentrained.

  • CWIMAQClassifierAccuracyReport CWIMAQClassifierAccuracyReportisareportontheaccuracyoftheclassifier,basedonhowwellitclassifiesthesamplesitwastrainedwith.

    CWIMAQClassifierReport CWIMAQClassifierReportcontainstheresultsoftheCWIMAQClassifier.ClassifyandCWIMAQCustomClassifier.CustomClassifymethods.

    CWIMAQClassifierSample CWIMAQClassifierSamplerepresentsasampleonwhichtheclassifierwillbetrained.

    CWIMAQClassifierSamples CWIMAQClassifierSamplesisacollectionofCWIMAQClassifierSampleobjects.Itcontainsoneitemforeachsampleintheclassifier.

    CWIMAQClassScore CWIMAQClassScorecontainstheresultsofclassificationforaclassintheclassifier.

    CWIMAQClassScores CWIMAQClassScoresisacollectionofCWIMAQClassScoreobjectsthatcontaintheresultsoftheCWIMAQClassifier.Classifymethod.Itcontainsoneitemforeachclassintheclassifier.

    CWIMAQColor CWIMAQColorcontainsparametersspecifyingtheresultofacoloracquisition.

    CWIMAQColorInformation TheCWIMAQColorInformationobjectcontainsinformationtousewithCWIMAQVision.MatchColor.YoucangeneratethisinformationusingCWIMAQVision.LearnColor.

    CWIMAQColorValueConversionOptions CWIMAQColorValueConversionOptionsspecifiestheoptionstousewhenconvertingcolorvaluestonumericalvalues.

    CWIMAQContourSegmentsReport CWIMAQContourSegmentsReportisacollectionofCWIMAQContourSegmentsReportItemobjectsthatcontaintheresultsoftheCWIMAQVision.GetPointsOnContourmethod.Thiscollectioncontainsoneitemforeachsegmentintheimage.

    CWIMAQContourSegmentsReportItem CWIMAQContourSegmentsReportItemcontainsinformationaboutaparticularedgesegmentfoundbytheCWIMAQVision.GetPointsOnContourmethod.

    CWIMAQCoordinatesReport CWIMAQCoordinatesReportcontainstheconvertedcoordinatesthatresultfromtheCWIMAQVision.ConvertRealWorldToPixelCoordinatesortheCWIMAQVision.ConvertPixelToRealWorldCoordinatesmethods.

    CWIMAQCoordinateSystem CWIMAQCoordinateSystemspecifiesthecoordinatesystemdefinedbyanorigin,angle,andaxisorientation.

    CWIMAQCurveOptions CWIMAQCurveOptionscontainsparametersusedbyvariousmethodstofindcurvesinanimage.

    CWIMAQCurveReport CWIMAQCurveReportisacollectionofCWIMAQCurveReportItemobjectsthatcontainthe

  • resultsoftheCWIMAQVision.ExtractCurvesmethod.Thiscollectioncontainsoneitemforeachcurveintheimage.

    CWIMAQCurveReportItem CWIMAQCurveReportItemcontainsinformationaboutacurvefoundbytheCWIMAQVision.ExtractCurvesmethod.

    CWIMAQCustomClassifier CWIMAQCustomClassifierisaclassifierthatclassifiesfeaturevectors.

    CWIMAQCustomClassifierSample CWIMAQCustomClassifierSamplerepresentsasampleonwhichtheclassifierwillbetrained.

    CWIMAQCustomClassifierSamples CWIMAQCustomClassifierSamplesisacollectionofCWIMAQCustomClassifierSampleobjects.Itcontainsoneitemforeachsampleinthecustomclassifier.

    CWIMAQData CWIMAQDataisanobjectyoucanusetosimplifytheprocessofwritingandreadingdata.CWIMAQDatacontainspropertiesthatyoucansetasappropriate.YoucanuseCWIMAQDatatoreadandwritenumericalandstringdata.Forexample,youcanuseCWIMAQDatatorecordtemperaturedataandpassittoframesofanAVI.Also,youcanuseCWIMAQDatatocaptureimagedescriptioninformationintheformofastringvalue,andpassthatvaluetoanimageascustomdata.

    CWIMAQDataMatrixDescriptionOptions CWIMAQDataMatrixDescriptionOptionsdescribestheDataMatrixbarcodethatCWIMAQVision.ReadDataMatrixBarcode2shouldlookfor.

    CWIMAQDataMatrixOptions CWIMAQDataMatrixOptionsdefineshowthemethodsearchesfortheDataMatrixbarcode.

    CWIMAQDataMatrixReport CWIMAQDataMatrixReportcontainsparametersthatspecifytheresultsofreadingaDataMatrixbarcode.

    CWIMAQDataMatrixSearchOptions CWIMAQDataMatrixSearchOptionscontainsthesearchoptionsthefunctionuseswhensearchingfortheDataMatrixbarcodeintheimage.

    CWIMAQDataMatrixSizeOptions CWIMAQDataMatrixSizeOptionscontainsthesizeoptionsthemethoduseswhensearchingforaDataMatrixbarcodeintheimage.

    CWIMAQDiscriminationData Obsolete—CWIMAQDiscriminationDatacontainsparameterstospecifytheactionofaparticlediscriminationmethod.

    CWIMAQDisplayMapping CWIMAQDisplayMappingenablesthepixelmappingpolicyfordisplaying16-bitimages.Because16-bitgrayscaleimagescannotbedisplayedwiththeirfullresolutionon32-bitcolordisplaysusingcommonvideoadapterslimitedto8-bitresolutionpercolorplane,16-bitimagesmustbemappedtothe8-bitrange(0to255).

    CWIMAQEdgeCoordinatesReport CWIMAQEdgeCoordinatesReportcontainsinformationabouttheedgesfoundbyCWIMAQVision.Rake,

  • CWIMAQVision.Spoke,orCWIMAQVision.ConcentricRake.

    CWIMAQEdgeInfoItem CWIMAQEdgeInfoItemcontainsinformationaboutadetectededge.

    CWIMAQEdgeInfoItems CWIMAQEdgeInfoItemsisacollectionofCWIMAQEdgeInfoItemobjects.ItcontainsoneentryforeachedgefoundintheimagebyCWIMAQVision.FindEdges3.

    CWIMAQEdgeOptions CWIMAQEdgeOptionsdefinesthecharacteristicsofthefilterusedtodetectedges.

    CWIMAQEdgeOptions2 CWIMAQEdgeOptions2definesthecharacteristicsofthefilterusedtodetectedges.

    CWIMAQEdgeReport CWIMAQEdgeReportisacollectionofCWIMAQEdgeReportItemobjectsthatcontaintheresultsoftheCWIMAQVision.FindEdges2method.Itcontainsoneitemforeachdetectededge.

    CWIMAQEdgeReport2 CWIMAQEdgeReportItemcontainsinformationaboutadetectededge.

    CWIMAQEdgeReportItem CWIMAQEdgeReportItemcontainsinformationaboutadetectededge.

    CWIMAQEdgesOnLine CWIMAQEdgesOnLinecontainsthecoordinatesofalledgesfoundalongagivensearchline.

    CWIMAQEdgesOnLines CWIMAQEdgesOnLinesisacollectionofCWIMAQEdgesOnLineobjects.Ithasoneentryforeachsearchline.

    CWIMAQEllipseDescriptor CWIMAQEllipseDescriptorcontainspropertiesthatspecifytheellipsestodetect.

    CWIMAQEllipseMatchReport CWIMAQEllipseMatchReportisacollectionofCWIMAQEllipseMatchReportItemobjects.ItcontainsoneentryperellipsefoundintheimagebyCWIMAQVision.DetectEllipses.

    CWIMAQEllipseMatchReportItem CWIMAQEllipseMatchReportItemcontainsinformationaboutaparticulardetectedellipse.

    CWIMAQEncoder CWIMAQEncoderrepresentsencoderdataandpropertiesthatyoucanconfigure.

    CWIMAQFileInformation CWIMAQFileInformationcontainsinformationregardingthecontentsofthefilethatwaspassedtoCWIMAQVision.GetFileInformation.

    CWIMAQFitCircleOptions CWIMAQFitCircleOptionsspecifiestheoptionstousewhencallingCWIMAQVision.FitCircle2.

    CWIMAQFitCircleReport CWIMAQFitCircleReportcontainsresultsoftheCWIMAQVision.FitCircle2method.

    CWIMAQFitEllipseOptions CWIMAQFitEllipseOptionsspecifiestheoptionstousewhencallingCWIMAQVision.FitEllipse2.

    CWIMAQFitEllipseReport CWIMAQFitEllipseReportcontainsresultsoftheCWIMAQVision.FitEllipse2method.

  • CWIMAQFitLineReport CWIMAQFitLineReportcontainsresultsoftheCWIMAQVision.FitLinemethod.

    CWIMAQFlattenOptions CWIMAQFlattenOptionsspecifiestheoptionstousewithCWIMAQVision.FlattenImage.

    CWIMAQFreeline CWIMAQFreelinecontainsthepointsofafree-formlineshape.Thisshapeissimilartoabrokenline,butindividualpointscannotbedragged.

    CWIMAQFreeregion CWIMAQFreeregioncontainsthepointsofafree-formregion.Thisshapeissimilartoapolygon,butindividualpointsarenotdraggable.

    CWIMAQFullParticleReport CWIMAQFullParticleReportisacollectionofCWIMAQFullParticleReportItemobjectsthatcontainparametersspecifyingtheresultofaparticleanalysismethod.Thiscollectionhasoneitemforeachparticleontheimage.

    NoteTheCWIMAQFullParticleReportobjectisusedonlywiththeCWIMAQVision.Particlemethod.

    CWIMAQFullParticleReportItem CWIMAQFullParticleReportItemcontainsinformationaboutaparticle.

    NoteTheCWIMAQFullParticleReportItemobjectisusedonlywiththeCWIMAQVision.Particlemethod.

    CWIMAQGeometricFeatureReport CWIMAQGeometricFeatureReportisacollectionofCWIMAQGeometricFeatureReportItemobjects.

    CWIMAQGeometricFeatureReportItem CWIMAQGeometricFeatureReportItemcontainsinformationaboutaparticulargeometricfeature.

    CWIMAQGeometricFeatureTypeOptions Specifiesasetofgeometricfeaturetypes.

    CWIMAQGeometricPatternMatchReport CWIMAQGeometricPatternMatchReportisacollectionofCWIMAQGeometricPatternMatchReportItemobjects.Itcontainsoneentryforeverymatchfoundintheimage.

    CWIMAQGeometricPatternMatchReportItem CWIMAQGeometricPatternMatchReportItemcontainsinformationaboutaparticulargeometricpatternmatch.

    CWIMAQGridDescriptor CWIMAQGridDescriptorcontainsinformationaboutagridimagethatisusedtolearnthecalibration.

    CWIMAQHistogramOptions CWIMAQHistogramOptionsspecifiestheoptionsneededtoperformahistogramoperation.

  • CWIMAQHistogramReport CWIMAQHistogramReportisacollectionofCWIMAQHistogramReportItemobjects.ThisreportisfilledwithoneitembyCWIMAQVision.Histogram2andCWIMAQVision.ColorHistogram3.

    CWIMAQHistogramReportItem CWIMAQHistogramReportItemcontainsparametersthatspecifytheresultofahistogramoperation.

    CWIMAQIgnoreColorSpectra CWIMAQIgnoreColorSpectracontainsinformationaboutcolorspectrathatisignoredbyCWIMAQVision.LearnColorPattern.Anycolorspectrumexcludedduringthelearningprocessisalsoignoredfromthetemplateinthematchphase.Usethisobjecttoignorebackgroundcolorsthatyoudonotwanttobepartofthetemplateimage.

    CWIMAQImage CWIMAQImagerepresentsimagedataandpropertiesthatyoucanconfigureonaperimagebasis.

    CWIMAQImageClassifier CWIMAQImageClassifierisanobjectthatassignsimagestoclassesbasedonhowithasbeentrained.

    CWIMAQImageDialog CWIMAQImageDialogisadialogboxforselectingimagesthatshowspreviewsoftheimages.

    CWIMAQImages CWIMAQImagesisacollectionofCWIMAQImageobjects.AddCWIMAQImageobjectstotheCWIMAQImagescollectiontospecifythenumberofimagesinanacquisition.

    CWIMAQInspectionAlignment CWIMAQInspectionAlignmentspecifiesthelocationwithinanimagewherethegoldentemplateislocated.

    CWIMAQInspectionOptions CWIMAQInspectionOptionsspecifiestheoptionsusedbyCWIMAQVision.CompareGoldenTemplate.

    CWIMAQJPEG2000FileAdvancedOptions CWIMAQJPEG2000FileAdvancedOptionsspecifiestheadvancedoptionstousewhenwritingaJPEG2000file.

    CWIMAQJPEGFileOptions CWIMAQJPEGFileOptionsspecifiestheoptionstousewhenwritingaJPEGfile.

    CWIMAQKernel CWIMAQKernelrepresentsimageprocessingkerneldataandpropertiesthatyoucanconfigureonaperkernelbasis.

    CWIMAQLCDInformation TheCWIMAQLCDInformationobjectcontainsinformationtousewithCWIMAQVision.ReadLCD.YoucangeneratethisinformationusingCWIMAQVision.FindLCDSegments.

    CWIMAQLCDSegmentsReport CWIMAQLCDSegmentsReportisacollectionofCWIMAQLCDSegmentsReportItemobjectsthatisreturnedbyCWIMAQVision.ReadLCD.ItcontainsoneitemforeveryLCDdigit.

    CWIMAQLCDSegmentsReportItem CWIMAQLCDSegmentsReportItemcontainsinformationregardingthestateofsegmentsintheLCDdigit.

    CWIMAQLearnCalibrationOptions CWIMAQLearnCalibrationOptionscontainsparametersusedbyCWIMAQVision.LearnCalibrationGridandCWIMAQVision.LearnCalibrationPointstolearnthe

  • calibrationtemplate.

    CWIMAQLearnColorPatternOptions CWIMAQLearnColorPatternOptionscontainsparametersusedbyCWIMAQVision.LearnColorPatterntolearnthetemplate.

    CWIMAQLearnGeometricPatternAdvancedOptions CWIMAQLearnGeometricPatternAdvancedOptionscontainsparametersusedbyCWIMAQVision.LearnGeometricPatterntolearnthetemplate.

    CWIMAQLearnGeometricPatternOptions CWIMAQLearnGeometricPatternOptionscontainsparametersusedbyCWIMAQVision.LearnGeometricPatterntolearnthetemplate.

    CWIMAQLearnPatternAdvancedOptions CWIMAQLearnPatternAdvancedOptionscontainsadvancedparametersusedbyCWIMAQVision.LearnPattern2tolearnthetemplate.

    CWIMAQLearnPatternAdvancedRotationOptions CWIMAQLearnPatternAdvancedRotationOptionscontainsadvancedparametersusedbyCWIMAQVision.LearnPattern2duringtherotationphasetolearnthetemplate.

    CWIMAQLearnPatternAdvancedShiftOptions CWIMAQLearnPatternAdvancedShiftOptionscontainsadvancedparametersusedbyCWIMAQVision.LearnPattern2duringtheshiftphasetolearnthetemplate.

    CWIMAQLearnPatternOptions CWIMAQLearnPatternOptionscontainstheLearnModeparameterusedbyCWIMAQVision.LearnPattern2tolearnthetemplate.Creatingthisobjectisoptional;youcandirectlypasstheLearnModetoCWIMAQVision.LearnPattern2.

    CWIMAQLine CWIMAQLinecontainspropertiesthatspecifyaline.

    CWIMAQLinearAveragesReport CWIMAQLinearAveragesReportcontainsresultsoftheCWIMAQVision.LinearAveragesmethod.

    CWIMAQLineDescriptor CWIMAQLineDescriptorcontainspropertiesthatspecifythesetoflinestodetect.

    CWIMAQLineEquation CWIMAQLineEquationcontainspropertiesofalineequationinnormalform,Ax+By+C=0.

    CWIMAQLineMatchReport CWIMAQLineMatchReportisacollectionofCWIMAQLineMatchReportItemobjects.ItcontainsoneentryperlinefoundintheimagebyCWIMAQVision.DetectLines.

    CWIMAQLineMatchReportItem CWIMAQLineMatchReportItemcontainsinformationaboutaparticulardetectedline.

    CWIMAQLines CWIMAQLinesisacollectionofCWIMAQLineobjects.Thiscollectionisusedtospecifymultiplelines.

    CWIMAQLocalThresholdOptions CWIMAQLocalThresholdOptionsspecifiestheoptionstousewhenperformingalocalthresholdusingCWIMAQVision.LocalThreshold.

    CWIMAQMatchColorPatternOptions CWIMAQMatchColorPatternOptionscontainsparametersusedby

  • CWIMAQVision.MatchColorPatterntofindthecolortemplateintheimage.

    CWIMAQMatchGeometricPatternAdvancedOptions CWIMAQMatchGeometricPatternAdvancedOptionscontainsparametersusedbytheCWIMAQVision.MatchGeometricPatternandCWIMAQVision.MatchMultipleGeometricPatternstofindthetemplateintheimage.

    CWIMAQMatchGeometricPatternOptions CWIMAQMatchGeometricPatternOptionscontainsparametersusedbytheCWIMAQVision.MatchGeometricPatternandCWIMAQVision.MatchMultipleGeometricPatternsmethodstofindthetemplateintheimage.

    CWIMAQMatchPatternAdvancedOptions CWIMAQMatchPatternAdvancedOptionscontainsparametersusedbyCWIMAQVision.MatchPattern2findthetemplateintheimage.

    CWIMAQMatchPatternOptions CWIMAQMatchPatternOptionscontainsparametersusedbyCWIMAQVision.MatchPattern2tofindthetemplateintheimage.

    CWIMAQMeterArc CWIMAQMeterArcobjectdescribesthearcthatametersweeps.ItcontainsinformationthattheReadMetermethoduses.

    CWIMAQMultipleGeometricTemplate CWIMAQMultipleGeometricTemplatespecifiesthetemplateimages,theassociatedlabelsandthematchoptionsrequiredtofindthesetemplatesinthetargetimage.

    CWIMAQMultiThresholdData CWIMAQMultiThresholdDataisacollectionofCWIMAQMultiThresholdDataItemobjectsthatspecifiesthethresholdranges.Addoneitemforeachrangethatyouwanttothreshold.

    CWIMAQMultiThresholdDataItem CWIMAQMultiThresholdDataItemcontainsparametersthatspecifythemodeandthresholdrange.TheseparametersareanalogoustothoseusedbyCWIMAQVision.Threshold.

    CWIMAQNearestNeighborEngineOptions CWIMAQNearestNeighborEngineOptionsspecifiestheoptionstousewhentrainingwithaNearestNeighborengine.

    CWIMAQNearestNeighborTrainClassScore CWIMAQNearestNeighborTrainClassScorecontainstheresultoftrainingwiththeNearestNeighborengineforeachclass.

    CWIMAQNearestNeighborTrainClassScores CWIMAQNearestNeighborTrainClassScoresisacollectionofCWIMAQNearestNeighborTrainClassScoreobjectsthatcontaintheresultsoftheCWIMAQClassifier.TrainNearestNeighbormethod.Itcontainsoneitemforeachclassintheclassifier.

    CWIMAQNearestNeighborTrainingReport CWIMAQNearestNeighborTrainingReportcontainstheresultoftrainingwithCWIMAQClassifier.TrainNearestNeighbor.

    CWIMAQOval CWIMAQOvalcontainspropertiesthatspecifyanoval.

  • CWIMAQOverlay CWIMAQOverlaycontainsmethodsthatdrawshapesontotheoverlay.TheseshapesaredisplayedontopofaCWIMAQImage.Overlaysdonotmodifytheactualimagepixelsandaredeletedwhentheimageisresized.Tosaveoverlayinformationalongwithanimage,useCWIMAQVision.WriteImageAndVisionInfo

    CWIMAQOverlays CWIMAQOverlaysisacollectionofCWIMAQOverlayobjectsthatisassociatedwithaparticularimage.Whenthiscollectioniscreated,adefaultCWIMAQOverlayobjectwithanindexof1iscreated.

    CWIMAQPalette CWIMAQPaletterepresentspalettedataandpropertiesthatyoucanconfigureonaperpalettebasis.

    CWIMAQParticleClassifier CWIMAQParticleClassifierisaclassifierthatclassifiesparticlesinbinaryimages.

    CWIMAQParticleClassifierOptions CWIMAQParticleClassifierOptionscontainsoptionsonhowtheCWIMAQParticleClassifierclassifiesparticles.

    CWIMAQParticleFilter2Data CWIMAQParticleFilter2DataisacollectionofCWIMAQParticleFilter2DataItemobjects.TheseobjectsareusedbyCWIMAQVision.ParticleFilter2tofilterparticlesfromanimage.Addoneentryforeachfiltercriterion.

    CWIMAQParticleFilter2DataItem CWIMAQParticleFilter2DataItemcontainsparametersthatdeterminewhichparticlesCWIMAQVision.ParticleFilter2willfilterfromanimage.

    CWIMAQParticleFilterData Obsolete—CWIMAQParticleFilterDataisacollectionofCWIMAQParticleFilterDataItemobjects.TheseobjectsareusedbyCWIMAQVision.ParticleFiltertofilterparticlesfromanimage.Addoneentryforeachfiltercriterion.

    CWIMAQParticleFilterDataItem Obsolete—CWIMAQParticleFilterDataItemcontainsparametersthatdeterminewhichparticlesCWIMAQVision.ParticleFilterwillfilterfromanimage.

    CWIMAQParticlePreprocessingOptions CWIMAQParticlePreprocessingOptionscontainsoptionsonhowtheCWIMAQParticleClassifierconvertsimagesintoparticles.

    CWIMAQParticleReport CWIMAQParticleReportisacollectionofCWIMAQParticleReportItemobjects.TheseobjectsarereturnedbyCWIMAQVision.ParticleReportwithinformationabouteachparticle.

    CWIMAQParticleReportItem CWIMAQParticleReportItemcontainsinformationaboutaparticle.

    CWIMAQParticleSelectionData Obsolete—CWIMAQParticleSelectionDataisacollectionofCWIMAQParticleSelectionDataItemobjects.Addanitemforeachselectioncriterionyouwanttouse.

    CWIMAQParticleSelectionDataItem Obsolete—CWIMAQParticleSelectionDataItemcontainsparametersthatspecifyaselectioncriterion,whichisusedbyCWIMAQVision.SelectParticlestofilterentriesfromaCWIMAQBasicParticleReportora

  • CWIMAQFullParticleReport.

    CWIMAQPatternMatchReport CWIMAQPatternMatchReportisacollectionofCWIMAQPatternMatchReportItemobjects.ItcontainsoneentryforeverymatchfoundintheimagebyCWIMAQVision.MatchPattern2orCWIMAQVision.MatchColorPattern.CWIMAQPatternMatchReportwillnevercontainmoreentriesthanNumMatchesRequested.

    CWIMAQPatternMatchReportItem CWIMAQPatternMatchReportItemcontainsinformationaboutaparticularpatternmatch.

    CWIMAQPeakValleyReport CWIMAQPeakValleyReportisacollectionofCWIMAQPeakValleyReportItemobjects.ItcontainsoneentryforeverypeakorvalleydetectedbyCWIMAQVision.DetectPeaksOrValleys.

    CWIMAQPeakValleyReportItem CWIMAQPeakValleyReportItemcontainsinformationaboutaparticularpeakorvalley.

    CWIMAQPNGFileOptions CWIMAQPNGFileOptionsspecifiestheoptionstousewhenwritingaPNGfile.

    CWIMAQPoint CWIMAQPointcontainspropertiesthatspecifyapoint.

    CWIMAQPoints CWIMAQPointsisacollectionofCWIMAQPointobjects.

    CWIMAQPolygon CWIMAQPolygoncontainsthepointsofapolygon.

    CWIMAQProfileReport CWIMAQProfileReportisacollectionofCWIMAQProfileReportItemobjects.ThisreportisfilledwithoneitembyCWIMAQVision.LineProfileandCWIMAQVision.RegionsProfile.

    CWIMAQProfileReportItem CWIMAQProfileReportItemcontainsresultsofaprofilinganalysismethod.

    CWIMAQPulse CWIMAQPulserepresentspulsedataandpropertiesthatyoucanconfigureonaperpulsebasis.

    CWIMAQPulses CWIMAQPulsesisacollectionofCWIMAQPulseobjects.YoucanaddCWIMAQPulseobjectstotheCWIMAQPulsescollectionandassociateaCWIMAQPulseobjectwithaCWIMAQSignalobject.

    CWIMAQQRCodeReport CWIMAQQRCodeReportcontainsparametersthatspecifytheresultsofreadingaQRcode.

    CWIMAQQRDataToken CWIMAQQRDataTokencontainscontainsthedatatokenizedinexactlythewayitwasencodedintheQRcode.Thisisusefulifthesymbolisencodedusingmultiplelanguages.

    CWIMAQQRDataTokens CWIMAQQRDataTokensisacollectionofCWIMAQQRDataTokenobjects.

    CWIMAQQRDescriptionOptions CWIMAQQRDescriptionOptionsdescribestheQRcodethatCWIMAQVision.ReadQRCodeshouldlookfor.

    CWIMAQQRSearchOptions CWIMAQQRSearchOptionscontainsthesearchoptionsthefunctionuseswhensearchingfortheQR

  • codeintheimage.

    CWIMAQQRSizeOptions CWIMAQQRSizeOptionscontainsthesizeoptionsthemethoduseswhensearchingforaQRcodeintheimage.

    CWIMAQQuantifyReport CWIMAQQuantifyReportisacollectionofCWIMAQQuantifyReportItemobjects.ItcontainsoneitemforeachregionsuppliedtoCWIMAQVision.Quantify.

    CWIMAQQuantifyReportItem CWIMAQQuantifyReportItemcontainsquantificationdatarelativetoaregionwithintheimagepassedtoCWIMAQVision.Quantify.

    CWIMAQRange CWIMAQRangecontainspropertiesthatspecifyarangeofvalues.

    CWIMAQRanges CWIMAQRangesisacollectionofCWIMAQRangeobjects.Thiscollectionisusedtospecifymultipleranges.

    CWIMAQRectangle CWIMAQRectanglecontainspropertiesthatspecifyarectangle.

    CWIMAQRectangleDescriptor CWIMAQRectangleDescriptorcontainspropertiesthatspecifythesetofrectanglestodetect.

    CWIMAQRectangleMatchReport CWIMAQRectangleMatchReportisacollectionofCWIMAQRectangleMatchReportItemobjects.ItcontainsoneentryperrectanglefoundintheimagebyCWIMAQVision.DetectRectangles.

    CWIMAQRectangleMatchReportItem CWIMAQRectangleMatchReportItemcontainsinformationaboutaparticulardetectedrectangle.

    CWIMAQRegion CWIMAQRegionrepresentsregiondataandpropertiesthatyoucanconfigureonaperregionbasis.Thisobjectcontainsashapeobject.UsetheShapepropertytofindoutwhattypeofshapeaCWIMAQRegioncontains.Toaccesstheshapeobject,settheregiontoashapevariableoftheappropriatetype.Forexample,SetMyLine=MyRegions(1)allowsyoutomanipulatethelinethatiscontainedinMyRegions(1).

    CWIMAQRegions CWIMAQRegionsisacollectionofCWIMAQRegionobjects.EveryCWIMAQViewercontrolhasaCWIMAQRegionscollectionassociatedwithit,whichyoucanusetoaddandmanipulateregionobjectsontheviewer.Inaddition,youcancreateaCWIMAQRegionsobjectthatisnotassociatedwithaCWIMAQViewercontrol.

    CWIMAQRotatedRectangle CWIMAQRotatedRectanglecontainspropertiesthatspecifyarectangle.Arotatedrectangleisspecifiedbyacenterpoint,width,height,andanangle.Thewidthandheightparameterssettheaxesthatarehorizontalandvertical,respectively,whentherectangleisnotrotated(Angle=0).

    CWIMAQSearchLine CWIMAQSearchLinecontainsinformationaboutasearchline

  • CWIMAQSearchLines CWIMAQSearchLinesisacollectionofCWIMAQSearchLineobjects.

    CWIMAQShapeDetectionOptions CWIMAQShapeDetectionOptionsspecifiestheoptionsthatCWIMAQVision.DetectCircles,CWIMAQVisionDetectEllipses,CWIMAQVision.DetectLines,orCWIMAQVision.DetectRectanglesusetodetectshapes.

    CWIMAQShapeReport CWIMAQShapeReportisacollectionofCWIMAQShapeReportItemobjects.ItcontainsoneCWIMAQShapeReportItemforeachmatchfound.

    CWIMAQShapeReportItem CWIMAQShapeReportItemcontainsinformationabouteachmatchfoundbyCWIMAQVision.ShapeMatch.

    CWIMAQSignal CWIMAQSignalrepresentssignaldataandpropertiesthatyoucanconfigureonapersignalbasis.

    CWIMAQSignals CWIMAQSignalsisacollectionofCWIMAQSignalobjects.AddCWIMAQSignalobjectstotheCWIMAQSignalscollectiontospecifythenumberofsignalsinanacquisition.

    CWIMAQSimpleCalibrationOptions CWIMAQSimpleCalibrationOptionscontainsoptionsfortheCWIMAQVision.SetSimpleCalibrationmethod.

    CWIMAQStraightEdge CWIMAQStraightEdgerepresentsasinglefoundstraightedge.

    CWIMAQStraightEdgeOptions CWIMAQStraightEdgeOptionsdefinestheoptionsusedtodetectstraightedges.

    CWIMAQStraightEdges CWIMAQStraightEdgesisacollectionofCWIMAQStraightEdgeobjects.ItcontainsoneentryperstraightedgefoundbyCWIMAQVision.FindStraightEdges.

    CWIMAQStructuringElement CWIMAQStructuringElementrepresentsimageprocessingstructuringelementdataandpropertiesthatyoucanconfigureonaper-structuring-elementbasis.

    CWIMAQTextOptions CWIMAQTextOptionsspecifieshowthetextisdrawnbyCWIMAQOverlay.DrawTextorCWIMAQVision.DrawText2.

    CWIMAQThresholdData Obsolete—UseCWIMAQMultiThresholdDatainstead.CWIMAQThresholdDatacontainsparameterstousewiththresholdingfunctions.

    CWIMAQTIFFFileOptions CWIMAQTIFFFileOptionsspecifiestheoptionstousewhenwritingaTIFFfile.

    CWIMAQViewer CWIMAQVieweristhetop-levelobjectfortheCWIMAQViewercontrol.

    CWIMAQViewerBackgroundOptions CWIMAQViewerBackgroundOptionsallowforthebackgroundoftheCWIMAQViewertobechanged.

    CWIMAQVision CWIMAQVisionisthetop-levelobjectfortheCWIMAQVisioncontrol.

    CWMachineVision CWMachineVisionisanActiveXcontrolthatusesthe

  • CWIMAQVisionandCWIMAQViewercontrolstoperformcommonmachinevisiontasks.

    CWMVAxisEdgeOptions CWMVAxisEdgeOptionscontainsparametersthatspecifythefiltersusedtodetectanaxis.

    CWMVCircle CWMVCirclecontainspropertiesthatspecifyacircle.

    CWMVCommonEdgeOptions CWMVCommonEdgeOptionscontainstheparametersusedbytheCWIMAQVision.Rakealgorithmandsettingsthatindicatewhichresultstooverlay.

    CWMVCoordinateTransformation CWMVCoordinateTransformationcontainstheinformationnecessarytotransformaCWIMAQRegionscollectionfromthereferencecoordinatesystemtothemeasurementcoordinatesystem.

    CWMVCountAndMeasureObjectsOptions CWMVCountAndMeasureObjectsOptionscontainsoptionalparametersusedbytheCWMachineVision.CountAndMeasureObjectsmethod.Theseoptionalparametersincludeparameterstothealgorithmaswellaspropertiesthatindicatewhatoverlaystoaddtotheimage.

    CWMVFindCircularEdgeOptions CWMVFindCircularEdgeOptionscontainsoptionalparametersusedbytheCWMachineVision.FindCircularEdgemethod.TheseoptionalparametersincludeparameterstoCWIMAQVision.Spoke,aswellaspropertiesthatindicatewhatoverlaystoaddtotheimage.

    CWMVFindCircularEdgeReport CWMVFindCircularEdgeReportcontainstheresultsofCWMachineVision.FindCircularEdge.Theseresultsincludetheedgepointsfound,thefittedcircle,andameasureofthefitaccuracy.

    CWMVFindConcentricEdgeReport CWMVFindConcentricEdgeReportcontainstheresultsofCWMachineVision.FindConcentricEdge.Theseresultsincludetheedgepointsfound,thefittedline,andameasureofthefitaccuracy.

    CWMVFindCTUsingPatternOptions CWMVFindCTUsingPatternOptionscontainsoptionalparametersusedbytheCWMachineVision.FindCoordTransformUsingPatternmethod.TheseoptionalparametersincludeparameterstoCWIMAQVision.MatchPattern2aswellaspropertiesthatindicatewhatoverlaystoaddtotheimage.

    CWMVFindCTUsingTwoRectsOptions CWMVFindCTUsingTwoRectsOptionscontainsoptionalparametersusedbytheCWMachineVision.FindCoordTransformUsingTwoRectsmethod.TheseoptionalparametersincludetwosetsofparameterstoCWIMAQVision.Rake,oneforeachsearcharea,andpropertiesthatindicatewhatoverlaystoaddtotheimage.

    CWMVFindPatternOptions CWMVFindPatternOptionscontainsoptionalparametersusedbytheCWMachineVision.FindPatternmethod.TheseoptionalparametersincludeparameterstoCWIMAQVision.MatchPattern2aswellaspropertiesthatindicatewhatoverlaystoaddtotheimage.

  • CWMVFindStraightEdgeReport CWMVFindStraightEdgeReportcontainstheresultsofCWMachineVision.FindStraightEdge.Theseresultsincludetheedgepointsfound,thefittedline,andameasureofthefitaccuracy.

    CWMVLightMeterLineReport CWMVLightMeterLineReportcontainstheresultsofCWMachineVision.LightMeterLine.Thereportstoresinformationaboutthepixelintensitiesalongaline.

    CWMVLightMeterRectangleReport CWMVLightMeterRectangleReportthatcontainstheresultsofCWMachineVision.LightMeterRectangle.Thereportstoresinformationaboutthepixelintensitieswithinarotatedrectangle.

    CWMVObjectsReport CWMVObjectsReportcontainsthestatisticsforeveryobjectfoundbyCWMachineVision.CountAndMeasureObjects.

    CWMVObjectsReportItem CWMVObjectsReportItemcontainsstatisticsaboutaparticularparticlefoundbyCWMachineVision.CountAndMeasureObjects.

  • CWIMAQCWIMAQisthetop-levelobjectfortheCWIMAQcontrol.

  • PropertiesAcquiredImageEnabled BooleanthatdeterminesiftheCWIMAQcontrolshouldgeneratethe

    AcquiredImageevent.

    AcquireField FieldtoacquireifyousetFrameFieldModetocwimaqFieldMode.

    AcquisitionInProgress Stateofanacquisitionforthecurrentinterface.

    AcquisitionType Typeofacquisitiontoperform.

    AcquisitionWindowHeight Heightoftheacquisitionwindow,inlines.

    AcquisitionWindowLeft Leftedgeoftheacquisitionwindow.

    AcquisitionWindowTop Topedgeoftheacquisitionwindow.

    AcquisitionWindowWidth Widthoftheacquisitionwindow,inpixels.

    Attribute HiddenpropertythattakesaparameterandallowsyoutosetandgetNI-IMAQattributesthatarenotsupportedintheCWIMAQcontrol.

    BitsPerPixel Numberofbitsusedtorepresenteachpixelvalue.

    BlackReferenceVolt Blackreferencevalue,involts.

    CalibrationDate Calibrationdateoftheimageacquisitiondevice.

    CameraAttribute Valueofacameraattribute.

    CaptureStopBuffers Thenumberofbufferstocaptureafteratriggerisreceived.

    Channel Currentchannelfortheacquisition.

    Color CWIMAQColorobjectthattheCWIMAQcontrolusesforcolorsettings.

    ColorAverageCount Obsolete—UseCWIMAQColor.AverageCountinstead.

    Numberofcolorimagestoacquireandaverageforoneoutputimage(1-128).Thedefaultvalueis1.

    ColorBrightness Obsolete—UseCWIMAQColor.Brightnessinstead.

    Brightnessoftheimage,inIRE.IREisthepercentageofthewhitelevel.Thedefaultvalueis0.

    ColorContrast Obsolete—UseCWIMAQColor.Contrastinstead.

    Contrastoftheimage.Thevalueisascalingfactorappliedtoeverypixel.Thecontrastadjustmentiscenteredaroundthemedianpixelvalue.Forexample,an8-bitimageiscenteredaround128.Thedefaultvalueis1.

    ColorImageRep Obsolete—UseImageRepinstead.

    Typeofimagedatareturnedwhenacolorimageisacquired.

    ColorMode Obsolete—UseStillColorModeinstead.

    Colormodeoftheacquisition.Validoptionsarenone,ormonochrome,RGB,orCompositeStillColor.

    ColorSaturation Obsolete—UseCWIMAQColor.Saturationinstead.

    Colorsaturationoftheimage.Asaturationof0correspondstoamonochromeimage.Thedefaultvalueis1.

  • Encoder ACWIMAQEncoderobjectthatspecifiestheencoderfunctionalityfortheacquisition.

    ErrorEventMask Contextsforwhichthecontrolgenerateserrorevents.

    ExceptionOnError Errorhandling.SetthispropertytoTruetospecifythatthecontrolmethodsgenerateanexceptiononanerrorcondition.SetthispropertytoFalsetospecifythatthecontrolmethodsreturnanegativenumbertoindicatetheerror.

    FrameCount Numberofframescountedsincethestartofanacquisition.

    FrameFieldMode Currentmodeoftheacquisition.SetthispropertytocwimaqFieldModetospecifyafieldmodefortheacquisition.SetthispropertytocwimaqFrameModetospecifyaframemodefortheacquisition.

    FrameTimeout Timeoutvalueforaframe,inmilliseconds.

    HScaleMode Horizontalhardwarescalingfactorforthechannelassociatedwithanacquisition.

    ImageRep Imagerepresentationoftheacquisition.

    Images CollectionofCWIMAQImageobjectsthatdefinetheimagesintowhichyourimageacquisitiondeviceacquiresdata.

    ImagesPerEvent NumberofimagesthatyourimageacquisitiondeviceacquiresbeforethecontrolgeneratestheAcquiredImageevent.

    Interface Currentinterfaceselectedfortheacquisition.Aninterfacefilestoresconfigurationinformation.Youcanassociateanimageacquisitiondevicewithmorethanoneinterface,whichallowsyoutohavemultipleconfigurationsforonedevice.

    InterfaceType Interfacetypeforaparticularinterface.

    IsCalibrated Calibrationstatusoftheimageacquisitiondevice.

    LastValidFrame Lastvalidframeacquired.

    LastValidImage Indexofthelastimageacquired.

    LookupTable Lookuptableoftheimageacquisitiondevice.Youcanchooseoneofsixstandardlookuptables--normal,inverse,binary,inversebinary,log,andinverselog.

    LostFrames Numberofframesthatthecurrentacquisitionhaslost.

    OnboardRAMSize Amountofonboardmemoryforthecurrentinterface.

    Port Currentportfortheacquisition.

    PortCount Thenumberofportsavailable.

    Pulses CollectionofCWIMAQPulseobjectsthatdescribeapulseyourimageacquisitiondevicegeneratesonasignalI/Oline.

    ROIHeight Heightoftheregionofinterest(ROI),inlines.

    ROILeft Leftmostedgeoftheregionofinterest(ROI).

    ROITop Topmostedgeoftheregionofinterest(ROI).

    ROIWidth Widthoftheregionofinterest(ROI).

    SessionID HiddenpropertythatallowsyoutogetthesessionIDofanopensession.

    Signals CollectionofCWIMAQSignalobjectsthatspecifythesignalI/Otouseintheacquisition.

  • StartCondition Obsolete—UseCWIMAQSignalstosetupahardwaretrigger.

    Acquisitiontostartimmediatelyoronatrigger.

    StartField FieldtostartacquiringonwhenFrameFieldModeissettocwimaqFrameMode.

    StillColorMode StillColormodeoftheacquisition.

    StopCondition Obsolete—UseAcquisitionTypetospecifyOne-ShotorContinuous.UseCWIMAQSignalstosetuparetriggeredacquisition.

    Conditiononwhichtheacquisitionstops.Validoptionsareimmediatelyafterallimagesareacquired,continuous,orcontinuouswithatriggeratthebeginningofeachiteration.

    VHA StatusofVariableHeightAcquisition(VHA)onthedevice.

    VScaleMode Verticalhardwarescalingfactorforthechannelassociatedwithanacquisition.

    WhiteReferenceVolt Whitereferencevalue,involts.

  • MethodsAboutBox DisplaystheAboutboxforthecontrol.

    AcquireImage Runsanacquisitionsynchronously.

    Configure Configuresthechannelanddeviceofthecurrentinterfaceforanacquisition.

    DisableSignalOccurrences DisablesallsignalI/Orelatedevents.

    EnableSignalOccurrence EnablestheSignalOccurrenceeventtogenerateonasignal.

    ExportStyle ExportsthestyleoftheNIVisioncontroltoafile.

    ExtractImage Extractsanimagefromaliveacquisition.

    GetTrigger Obsolete—UseCWIMAQSignalsinstead.

    Getstheactionandpolarityforatriggerline.

    GetTriggerStatus Obsolete—UseCWIMAQSignal.Statusinstead.

    Returnsthestatusonatriggerlineyouspecify.

    ImportStyle Importsapreviouslyexportedstyle.

    LoadInterfaceDefaults LoadsthesettingsforthecurrentinterfacethatyouconfiguredinMeasurement&AutomationExplorer(MAX)intotheCWIMAQcontrolproperties.

    ReleaseImage ReleasesanimagethatyouheldoutofaliveacquisitionwiththeExtractImagemethod.

    Reset Stopsanacquisitioninprogressandresetsanyinternallyconfiguredresourcestotheirdefaultvalues.

    SaveImageToDisk Savesanimagetodisk.Thismethodsavesborderandpaddinginformationwiththeimagedata.TowriteanimagetofilewithouttheborderandpaddinginformationusetheWriteImagemethod.

    SetTrigger Obsolete—UseCWIMAQSignalsinstead.

    Setstheactionandpolarityforatriggerline.

    SetUserLookupTable Setsthespecifiedlookuptableontheimageacquisitiondevicewithauser-definedlookuptable.

    Start Startstheacquisitionasynchronously.

    Stop Stopsanacquisitioninprogress.

    WaitOnSignal Waitsforasignaltogenerate.

    WindowPlot Obsolete—UsetheCWIMAQViewerobjecttodisplayimages.

    Plotsanimagetoawindowgivenanativewindowhandle.Usethismethodtodisplayanimageafteritisacquired.

  • EventsAcquiredImage Fireswhentheimageacquisitiondeviceacquiresthespecifiednumberofimages.

    CWIMAQgeneratesthiseventonlyforacquisitionsthatyouinitiatewiththeStartmethod.

    IMAQError FireswhenanNI-IMAQerroroccurs,dependingonthevalueoftheErrorEventMaskproperty.TheErrorEventMaskpropertyselectsthecontexts—configuring,readingdata,andsoon—forwhichtheCWIMAQcontrolgeneratesIMAQErrorevents.

    IMAQWarning FireswhenanNI-IMAQwarningoccurs.

    SignalOccurrence Fireswhenasignaloccurs.

  • CWIMAQAcquireFieldModesEnumerationCWIMAQAcquireFieldModesaretheconstantsfortheAcquireFieldpropertyontheCWIMAQcontrol.Theseconstantsspecifyvaluesthatdeterminewhichfieldtoacquire.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqAllFields—Acquirebothevenandoddfields.cwimaqEvenField—Acquireevenfields.cwimaqOddField—Acquireoddfields.

  • CWIMAQAcquisitionTypesEnumerationCWIMAQAcquisitionTypesaretheconstantsfortheAcquisitionTypepropertyontheCWIMAQcontrol.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqAcquisitionContinuous—AcquirescontinuouslyintotheCWIMAQImagescollection.Whentheacquisitionreachesthelastimageinthecollection,itplacesthenextimageintothefirstimageofthecollection.cwimaqAcquisitionOneShot—AcquireintoeachimageintheCWIMAQImagescollectionandstop.

  • CWIMAQAIMGradeReportCWIMAQAIMGradeReportcontainstheresultsofgradingaDataMatrixbarcode.IfaDataMatrixbarcodecannotbelocatedbyCWIMAQVision.ReadDataMatrixBarcode2,thefunctionassignstheDataMatrixbarcodethevaluecwimaqAIMGradeFforallgradesandthevalue0forallrawscores.

  • PropertiesAxialNonuniformity TheaxialnonuniformityrawscorefortheDataMatrixbarcode,whichis

    basedonhowmuchthesamplingpointspacingdiffersfromoneaxistoanother.

    AxialNonuniformityGrade TheaxialnonuniformitygradefortheDataMatrixbarcode.

    DecodingGrade ThelettergradeassignedtoaDataMatrixbarcodebasedonthesuccessindecodingtheDataMatrixbarcode.ThemethodsetsthisgradetocwimaqAIMGradeAifthemethodcoulddecodetheDataMatrixbarcode,otherwisethefunctionsetsthisgradetocwimaqAIMGradeF.

    OverallGrade Theoveralllettergrade,whichisequaltothelowestoftheotherfivelettergrades.

    PrintGrowth TheprintgrowthrawscorefortheDataMatrixbarcode,whichisbasedontheextenttowhichdarkorlightmarkingsappropriatelyfilltheirmoduleboundaries.

    PrintGrowthGrade TheprintgrowthlettergradefortheDataMatrixbarcode.

    SymbolContrast Thesymbolcontrastrawscorerepresentingthepercentagedifferencebetweenthemeanofthereflectanceofthedarkest10percentandlightest10percentoftheDataMatrixbarcode.

    SymbolContrastGrade ThelettergradeassignedtoaDataMatrixbarcodebasedonthesymbolcontrastrawscore.

    UnusedErrorCorrection TheunusederrorcorrectionrawscorefortheDataMatrixbarcode,whichisbasedontheextenttowhichregionalorspotdamageintheDataMatrixbarcodehaserodedthereadingsafetymarginprovidedbytheerrorcorrection.

    UnusedErrorCorrectionGrade TheunusederrorcorrectionlettergradefortheDataMatrixbarcode.

  • SeeAlsoCWIMAQVision.GradeDataMatrixBarcodeAIMCWIMAQVision.ReadDataMatrixBarcode2

  • CWIMAQAIMGradesEnumerationCWIMAQAIMGradesaretheconstantsthatdescribetheAIMgradeassignedaDataMatrixbarcode.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqAIMGradeA—ThemethodassignedtheDataMatrixbarcodeagradeofA.cwimaqAIMGradeB—ThemethodassignedtheDataMatrixbarcodeagradeofB.cwimaqAIMGradeC—ThemethodassignedtheDataMatrixbarcodeagradeofC.cwimaqAIMGradeD—ThemethodassignedtheDataMatrixbarcodeagradeofD.cwimaqAIMGradeF—ThemethodassignedtheDataMatrixbarcodeagradeofF.

  • SeeAlsoCWIMAQVision.GradeDataMatrixBarcodeAIMCWIMAQAIMGradeReport

  • CWIMAQAnnulusCWIMAQAnnuluscontainspropertiesthatspecifyanannulus,asshown

    inthefollowingillustration.

  • PropertiesCenter Centerpointoftheannulus.

    EndAngle Endangle,indegrees,oftheannulus,

    InnerRadius Internalradiusoftheannulus.

    OuterRadius Externalradiusoftheannulus.

    StartAngle Startangle,indegrees,oftheannulus.

  • MethodsCopyTo Copiesallofthepropertiesfromthesourceannulusintothedestinationannulus.

    Initialize Setsallthepropertiesoftheannuluswithonemethodcall.

  • SeeAlsoCWIMAQRegions

  • CWIMAQArcCWIMAQArccontainspropertiesthatspecifyanarc.

  • PropertiesEndAngle Endangle,indegrees,ofthearc.

    Oval Ovalonwhichthisarclies.

    StartAngle Startangle,indegrees,ofthearc.

  • MethodsCopyTo Copiesallofthepropertiesfromthesourcearcintothedestinationarc.

    Initialize Setsallofthepropertiesofthearcwithonemethodcall.

  • SeeAlsoCWIMAQArcs

  • CWIMAQArcsCWIMAQArcsisacollectionofCWIMAQArcobjects.UseCWIMAQArcstospecifymultiplearcs.

  • PropertiesCount Numberofobjectsinthecollection.

  • MethodsAdd Addsanobjecttothecollectionandreturnsthenewobject.

    CopyTo Copiesonearcscollectionintoanother.

    Item Returnsthespecifiedobjectfromthecollection.

    Remove Removesthespecifieditemfromthecollection.

    RemoveAll Removesallobjectsfromthecollection.

  • SeeAlsoCWIMAQArc

  • CWIMAQAutoThresholdMethodsEnumerationCWIMAQAutoThresholdMethodsaretheconstantsfortheMethodparameteroftheAutoThresholdmethod.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqATMethodCluster—Sortsthehistogramoftheimagewithinadiscretenumberofclassescorrespondingtothenumberofphasesperceivedinanimage.cwimaqATMethodEntropy—Bestfordetectingparticlesthatarepresentinminusculeproportionsontheimage.cwimaqATMethodInterVar—Well-suitedforimagesinwhichclasseshavewellseparatedpixelvaluedistributions.cwimaqATMethodMetric—Well-suitedforimagesinwhichclassesarenottoodisproportionate.cwimaqATMethodMoments—Suitedforimagesthathavepoorcontrast.

  • CWIMAQAVISessionCWIMAQAVISessionisanobjectusedtoreadandwriteAVIfiles.

  • PropertiesFilterName NameofthedecompressionfilterusedtoreadthisAVI.

    FramesPerSecond NumberofframespersecondoftheAVI.

    HasData BooleanthatindicatesifthisAVIhasdataattachedtoitsframes.

    Height HeightoftheimagesintheAVI.

    ImageType TypeoftheimagesoftheAVI.

    MaxDataSize MaximumsizeofthedataattachedtotheframesofthisAVI.

    NumFrames NumberofframesintheAVI.

    Width WidthoftheimagesintheAVI.

  • MethodsClose Closesanopensession.

    Create CreatesanewAVIfileandopensitforwrite.

    GetFilterNames Returnsalistofvalidcompressionfiltersonyoursystem.

    Open OpensanexistingAVIforread.

    ReadFrame ReadsaframefromthecurrentlyopenAVI.

    WriteFrame WritesaframetothecurrentlyopenAVI.

  • CWIMAQAxisOrientationsEnumerationCWIMAQAxisOrientationsaretheconstantsfortheAxisOrientationparameteroftheCWIMAQVision.BuildCoordinateSystemfunctionandtheAxisOrientationpropertyoftheCWIMAQCoordinateSystemobject.Asshowninthefollowingillustration,directaxisorientationindicatesthatthey-axisdirectionis90degreescounter-clockwisefromthex-axisdirection.Indirectaxisorientationindicatesthatthey-axisdirectionis90degreesclockwisefromthex-axisdirection.

    Youcanusethefollowingconstantswiththisdatatype:cwimaqAxisOrientationDirect—Directaxisorientation.Indicatesthatthey-axisdirectionis90degreescounter-clockwisefromthex-axisdirection.cwimaqAxisOrientationIndirect—Indirectaxisorientation.Indicatesthatthey-axisdirectionis90degreesclockwisefromthex-axisdirection.

  • SeeAlsoCWIMAQVision.BuildCoordinateSystemCWIMAQCoordinateSystem

  • CWIMAQBarcode2DCellShapesEnumerationCWIMAQBarcode2DCellShapesareconstantsfortheCellShapepropertyoftheCWIMAQDataMatrixOptionsobject.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqBarcode2DCellShapeRound—Themethodusesanalgorithmfordecodingthe2Dbarcodethatworkswithrounddatacells.Usethisalgorithmonlywhenthedatacellshaveclear,distinctroundedgeswithaminimumofblurring.cwimaqBarcode2DCellShapeSquare—Themethodusesanalgorithmfordecodingthe2Dbarcodethatworkswithsquaredatacells.

  • CWIMAQBarcode2DContrastsEnumerationCWIMAQBarcode2DContrastsareconstantsfortheContrastpropertyoftheCWIMAQDataMatrixOptionsobject.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqBarcode2DContrastAll—Themethodsearchesforbarcodesofeachcontrasttype.Usingthisoptionreducestheperformanceofthemethod,limitingittousingnoregionorarectangleregion.cwimaqBarcode2DContrastBlackOnWhite—Themethodsearchesfor2Dbarcodescontainingblackdataonawhitebackground.cwimaqBarcode2DContrastWhiteOnBlack—Themethodsearchesfor2Dbarcodescontainingwhitedataonablackbackground.

  • CWIMAQBarcode2DReportCWIMAQBarcode2DReportisacollectionofCWIMAQBarcode2DReportItemobjects.ItcontainsoneentryforeverybarcodefoundintheimagebyCWIMAQVision.ReadDataMatrixBarcodeorCWIMAQVision.ReadPDF417Barcode.

  • PropertiesCount Numberofobjectsinthecollection.

  • MethodsAdd Addsanobjecttothecollectionandreturnsthenewobject.

    Item Returnsthespecifiedobjectfromthecollection.

    Remove Removesthespecifieditemfromthecollection.

    RemoveAll Removesallobjectsfromthecollection.

  • SeeAlsoCWIMAQVision.ReadDataMatrixBarcodeCWIMAQVision.ReadPDF417BarcodeCWIMAQBarcode2DReportItem

  • CWIMAQBarcode2DReportItemCWIMAQBarcode2DReportItemcontainsparametersthatspecifytheresultsofreadinga2Dbarcode.

  • PropertiesBinary IfTrue,thedatainthe2Dbarcodeisbinary.IfFalse,thedatainthe2D

    barcodeisASCIItext.

    BoundingPoints Coordinatesofthecornersoftherectanglesurroundingthe2Dbarcode.

    Columns Thenumberofcolumnsinthe2Dbarcode.

    Data Stringcontainingthedecoded2Dbarcodedata.

    NumErasuresCorrected Thenumberoferasuresthemethodcorrectedwhendecodingthe2Dbarcode.

    NumErrorsCorrected Thenumberoferrorsthemethodcorrectedwhendecodingthe2Dbarcode.

    Rows Thenumberofrowsinthe2Dbarcode.

    Type Typeofthe2Dbarcode.

  • SeeAlsoCWIMAQVision.ReadDataMatrixBarcodeCWIMAQVision.ReadPDF417Barcode

  • CWIMAQBarcode2DSearchModesEnumerationCWIMAQBarcode2DCellShapesareconstantsfortheCellShapepropertyoftheCWIMAQDataMatrixOptionsobject.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqBarcode2DSearchMultiple—Themethodsearchesformultiple2Dbarcodes.cwimaqBarcode2DSearchSingleAggressive—Themethodsearchesforasingle2Dbarcodeusingamethodthatassumesthebarcodeoccupiesamajorityofthesearchregion.ThismethodskipssomeofthepredictiveportionsofthesearchalgorithmusedbycwimaqBarcode2DSearchSingleConservative,whichcanleadtoimprovedperformance.Usingthissearchmodewhenthebarcodedoesnotoccupyamajorityofthesearchregion,whenthebarcodeisrotatedorwhentheimageisblurrycanleadtoreducedperformance.cwimaqBarcode2DSearchSingleConservative—Themethodsearchesfor2DbarcodesusingthesamesearchingalgorithmascwimaqBarcode2DSearchMultiplebutstopssearchingafterlocatingonevalidbarcode.

  • CWIMAQBarcode2DShapesEnumerationCWIMAQBarcode2DShapesareconstantsfortheBarcodeShapepropertyoftheCWIMAQDataMatrixOptionsobject.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqBarcode2DShapeRectangular—Themethodsearchesforrectangular2Dbarcodes.cwimaqBarcode2DShapeSquare—Themethodsearchesforsquare2Dbarcodes.

  • CWIMAQBarcode2DTypesEnumerationCWIMAQBarcode2DTypesareconstantsfortheTypepropertyoftheCWIMAQBarcode2DReportItemobject.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqBarcode2DTypeDataMatrixECC000—DataMatrixECC000.cwimaqBarcode2DTypeDataMatrixECC050—DataMatrixECC050.cwimaqBarcode2DTypeDataMatrixECC080—DataMatrixECC080.cwimaqBarcode2DTypeDataMatrixECC100—DataMatrixECC100.cwimaqBarcode2DTypeDataMatrixECC140—DataMatrixECC140.cwimaqBarcode2DTypeDataMatrixECC200—DataMatrixECC200.cwimaqBarcode2DTypePDF417—PDF417

  • SeeAlsoCWIMAQVision.ReadDataMatrixBarcodeCWIMAQVision.ReadPDF417Barcode

  • CWIMAQBarcodeReportCWIMAQBarcodeReportisacollectionofCWIMAQBarcodeReportItemobjects.ThiscollectioncontainsoneelementaftercallingCWIMAQVision.ReadBarcode.

  • PropertiesCount Numberofobjectsinthecollection.

  • MethodsAdd Addsanobjecttothecollectionandreturnsthenewobject.

    Item Returnsthespecifiedobjectfromthecollection.

    Remove Removesthespecifieditemfromthecollection.

    RemoveAll Removesallobjectsfromthecollection.

  • SeeAlsoCWIMAQVision.ReadBarcodeCWIMAQBarcodeReportItem

  • CWIMAQBarcodeReportItemCWIMAQBarcodeReportItemcontainsparametersthatspecifytheresultsofreadingabarcode.

  • PropertiesConfidenceLevel Qualitymeasureofthedecodedbarcoderangingfrom0to1000,where1000isthe

    best.

    OutputCharacter1 Contentsofthisstringdependonthebarcodetype.

    OutputCharacter2 Contentsofthisstringdependonthebarcodetype.

    Text Stringcontainingthedecodedbarcodedata.

    Type Typeofbarcode.

  • SeeAlsoCWIMAQVision.ReadBarcode

  • CWIMAQBarcodeTypesEnumerationCWIMAQBarcodeTypesareconstantsfortheBarcodeTypeparameteroftheReadBarcodemethod.Selectthetypecorrespondingtothetypeofbarcodethatyouarereading.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqBarcodeType2_OF_5—Interleaved2of5.cwimaqBarcodeTypeCODABAR—CodaBar.cwimaqBarcodeTypeCODE128—Code128.cwimaqBarcodeTypeCODE39—Code3of9.cwimaqBarcodeTypeCODE93—Code93.cwimaqBarcodeTypeEAN13—EAN-13.cwimaqBarcodeTypeEAN8—EAN-8.cwimaqBarcodeTypeMSI—MSI.cwimaqBarcodeTypePHARMACODE—Pharmacode.cwimaqBarcodeTypeRSSLIMITED—RSSLimited.cwimaqBarcodeTypeUPCA—UPC-A.

  • SeeAlsoCWIMAQVision.ReadBarcode

  • CWIMAQBaselineOrientationsEnumerationCWIMAQBaselineOrientationsspecifiestheorientationoftheimagedatawithintheannulus.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqBaselineOrientationInside—Specifiesthatthebaseoftheimagedataislocatedalongtheinsideedgeofthecircularstrip.Thisisthedefaultorientation.cwimaqBaselineOrientationOutside—Specifiesthatthebaseoftheimagedataislocatedalongtheoutsideedgeofthecircularstrip.

  • SeeAlsoCWIMAQVision.Unwrap

  • CWIMAQBasicParticleReportCWIMAQBasicParticleReportisacollectionofCWIMAQBasicParticleReportItemobjects.Itcontainsoneentryforeachparticleintheimage.

  • PropertiesArea Obsolete—UseCWIMAQBasicParticleReportItem.Areainstead.

    Numberofpixelsintheparticle.

    Count Numberofobjectsinthecollection.

    RectHeight Obsolete—UseCWIMAQBasicParticleReportItem.BoundingRectangleinstead.

    Heightoftheboundingrectangleoftheparticle.

    RectLeft Obsolete—UseCWIMAQBasicParticleReportItem.BoundingRectangleinstead.

    Leftedgeoftheboundingrectangleoftheparticle.

    RectTop Obsolete—UseCWIMAQBasicParticleReportItem.BoundingRectangleinstead.

    Topedgeoftheboundingrectangleoftheparticle.

    RectWidth Obsolete—UseCWIMAQBasicParticleReportItem.BoundingRectangleinstead.

    Widthoftheboundingrectangleoftheparticle.

    Surface Obsolete—UseCWIMAQBasicParticleReportItem.Surfaceinstead.

    Surfaceareaoftheparticle,inuser-definedunits.

  • MethodsAdd Addsanobjecttothecollectionandreturnsthenewobject.

    Item Returnsthespecifiedobjectfromthecollection.

    Remove Removesthespecifieditemfromthecollection.

    RemoveAll Removesallobjectsfromthecollection.

  • SeeAlsoCWIMAQVision.BasicParticleCWIMAQBasicParticleReportItem

  • CWIMAQBasicParticleReportItemCWIMAQBasicParticleReportItemcontainsinformationaboutaparticle.

  • PropertiesArea Numberofpixelsintheparticle.

    BoundingRectangle Boundingrectangleoftheparticle.

    Surface Surfaceareaoftheparticle,inuser-definedunits.

  • CWIMAQBCGOptionsCWIMAQBCGOptionsspecifiestheoptionstousewhenperformingaBCGTransformoraColorBCGTransform.

  • PropertiesBrightness Brightnessofanimage.Avalueof128leavesthebrightnessunchanged.Valuesbelow

    128darkentheimage,andvaluesabove128brightentheimage.

    Contrast Contrastofanimage.Avalueof45leavesthecontrastunchanged.Valuesbelow45decreasethecontrast,andvaluesabove45increasethecontrast.

    Gamma Gammacorrectionofanimage.Avalueof1.0isneutral.Valuesbelow1.0enhancecontrastfordarkerpixelsattheexpenseofbrighterpixels.Valuesabove1.0enhancecontrastforbrighterpixelsattheexpenseofdarkerpixels.

  • SeeAlsoCWIMAQVision.BCGTransformCWIMAQVision.ColorBCGTransform

  • CWIMAQBMPFileOptionsCWIMAQBMPFileOptionsspecifiestheoptionstousewhenwritingaBMPfile.

  • PropertiesCompress CompressionsettingfortheBMPfilewritten.ThedefaultisFalse,indicatingthattheBMP

    fileisnotcompressed.

  • SeeAlsoCWIMAQVision.WriteBMPFile

  • CWIMAQBorderMethodsEnumerationCWIMAQBorderMethodsaretheconstantsusedfortheBorderMethodparameteroftheConvoluteandBorderOperationmethods.Theyspecifyoperationsthatyoucanapplytotheborderoftheimage.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqBorderClear—Setsallpixelsintheborderto0.cwimaqBorderCopy—Copiesthevalueofthepixelclosesttotheedgeoftheimageintotheborder.cwimaqBorderMirror—Symmetricallycopiespixelvaluesfromtheimageintotheborder.

  • SeeAlsoCWIMAQVision.ConvoluteCWIMAQVision.BorderOperation

  • CWIMAQBrokenlineCWIMAQBrokenlinecontainsthepointsofabrokenlineshape.Thisshapeissimilartoapolygon,butisnotclosed.

  • PropertiesPoints PointsoftheBrokenlineshape.

  • SeeAlsoCWIMAQRegionsCWIMAQPolygonCWIMAQFreelineCWIMAQFreeregion

  • CWIMAQCalibrationGridOptionsCWIMAQCalibrationGridOptionscontainsinformationaboutthecalibrationgridimageusedbytheCWIMAQVision.LearnCalibrationGridmethod.

  • PropertiesGridDescriptor Gridimagethatisusedtolearnthecalibration.

    ThresholdRange Thresholdrangeusedtodetectthecirclesinthegridimage.TheMinimumandMaximumvaluesmustbebetween0and255.

  • SeeAlsoCWIMAQVision.LearnCalibrationGrid

  • CWIMAQCalibrationMethodsEnumerationCWIMAQCalibrationMethodsindicatesthetypeofdistortionforwhichthecalibrationinformationislearned.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqCorrected—Corrected.CWIMAQVision.GetCalibrationInformationreturnsthisforacorrectedimage.Acorrectedimagecontainsinformationaboutthecalibrationunitandscalingfactor.cwimaqNonlinearCalibration—Nonlinearcalibration.ThisisavalidinputtoCWIMAQVision.LearnCalibrationGridandCWIMAQVision.LearnCalibrationPoints.Usethismethodiftheimagecontainslensdistortion.cwimaqPerspectiveCalibration—Perspectivecalibration.ThisisavalidinputtoCWIMAQVision.LearnCalibrationGridandCWIMAQVision.LearnCalibrationPoints.Usethismethodwhenlensdistortionisnegligible.cwimaqSimpleCalibration—Simplecalibration.CWIMAQVision.GetCalibrationInformationreturnsthisvalueforimagescalibratedbyCWIMAQVision.SetSimpleCalibration.

  • SeeAlsoCWIMAQVision.SetSimpleCalibrationCWIMAQVision.GetCalibrationInformation

  • CWIMAQCalibrationPointsCWIMAQCalibrationPointsspecifiesasetofreferencepointsusedinlearningacalibrationtransformation.

  • PropertiesPixelCoordinates Coordinatesofthepixelreferencepoints.

    RealWorldCoordinates Thereal-worldcoordinatescorrespondingtothePixelCoordinates.

    Unit Theunitsinwhichtherealworldcoordinatesareexpressed.

  • CWIMAQCalibrationReportCWIMAQCalibrationReportcontainsparametersspecifyingtheresultoftheCWIMAQVision.GetCalibrationInformationmethod.

  • PropertiesCalibrationGridOptions Scalingconstantsusedtocalibratetheimage.

    CalibrationRegions Theregionsthatcorrespondtotheregionoftheimagewherethecalibrationinformationisaccurate.

    ErrorMap The2Derrormap,ifitwasdeterminedbyCWIMAQVision.LearnCalibrationGridorCWIMAQVision.LearnCalibrationPoints.

    LearnCalibrationOptions Containsthesettingsusedtodeterminehowthealgorithmcalibratedyourimagingsetup.

    QualityScore Thequalityscoreofthelearningprocess.Valuesarebetween0-1000.

    ThresholdRange Thethresholdrangeusedtodetectthecirclesinthegridimage.

    UserRegions Theregionsyouspecifiedatthetimeofcalibration.

  • SeeAlsoCWIMAQVision.GetCalibrationInformation

  • CWIMAQCalibrationUnitsEnumerationCWIMAQCalibrationUnitsaretheconstantsfortheUnitparameteroftheGetImageCalibrationandSetImageCalibrationmethods.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqCalUnitAngstrom—Angstrom.cwimaqCalUnitCentimeter—Centimeter.cwimaqCalUnitFoot—Foot.cwimaqCalUnitGroundmile—Groundmile.cwimaqCalUnitInch—Inch.cwimaqCalUnitKilometer—Kilometer.cwimaqCalUnitMeter—Meter.cwimaqCalUnitMicroinch—Microinch.cwimaqCalUnitMicrometer—Micrometer.cwimaqCalUnitMillimeter—Millimeter.cwimaqCalUnitNauticmile—Nauticalmile.cwimaqCalUnitStep—Step.cwimaqCalUnitUndefined—Undefined.

  • SeeAlsoCWIMAQVision

  • CWIMAQCaliperOptionsCWIMAQCaliperOptionscontainsoptionsfortheCWIMAQVision.Caliper2method.

  • PropertiesSeparation Appropriateseparationbetweentheedgepairs.

    SeparationDeviation Tolerancevaluefortheseparationbetweentheedges.

    TwoEdgePolarity Polarityoftheleadingandtrailingedgeinthesearchprocess.ThedefaultiscwimaqTwoEdgePolarityRisingFalling.

  • SeeAlsoCWIMAQVision.Caliper2

  • CWIMAQCaliperReportCWIMAQCaliperReportisacollectionofCWIMAQCaliperReportItemobjectsthatcontaintheresultsoftheCWIMAQVision.Caliper2method.Itcontainsoneitemforeachdetectededgepair.

  • PropertiesCount Numberofobjectsinthecollection.

    Edge1Contrast Obsolete—UseCWIMAQCaliperReportItem.Edge1Contrastinstead.

    Contrastofthefirstedge.

    Edge1Position Obsolete—UseCWIMAQCaliperReportItem.Edge1instead.

    PositionofthefirstedgeintheXCoordinatesarraythatyoupassedintotheCWIMAQVision.Caliperfunction.

    Edge2Contrast Obsolete—UseCWIMAQCaliperReportItem.Edge2Contrastinstead.

    Contrastofthesecondedge.

    Edge2Position Obsolete—UseCWIMAQCaliperReportItem.Edge2instead.

    PositionofthesecondedgeintheYCoordinatesarraythatyoupassedintotheCWIMAQVision.Caliperfunction.

    Score Obsolete

    Propertyiscurrentlyunused.

    Separation Obsolete—UseCWIMAQCaliperReportItem.Separationinstead.

    Distance,inpixels,betweenthetwoedges.

  • MethodsAdd Addsanobjecttothecollectionandreturnsthenewobject.

    Item Returnsthespecifiedobjectfromthecollection.

    Remove Removesthespecifieditemfromthecollection.

    RemoveAll Removesallobjectsfromthecollection.

  • SeeAlsoCWIMAQVision.Caliper2CWIMAQCaliperReportItem

  • CWIMAQCaliperReportItemCWIMAQCaliperReportItemcontainsinformationaboutadetectededgepair.

  • PropertiesEdge1 Coordinatesoftheleadingedge.

    Edge1Contrast Contrastoftheleadingedge.

    Edge2 Coordinatesofthetrailingedge.

    Edge2Contrast Contrastofthetrailingedge.

    Separation Distance,inpixels,betweenthetwoedges.

  • SeeAlsoCWIMAQVision.Caliper2CWIMAQCaliperReport

  • CWIMAQCIEXYZColorCWIMAQCIEXYZColorspecifiestheacolorintheCIEXYZcolorspace.

  • PropertiesX TheXvalueoftheCIEXYZcolor.

    Y TheYvalueoftheCIEXYZcolor.

    Z TheZvalueoftheCIEXYZcolor.

  • SeeAlsoCWIMAQColorValueConversionOptionsCWIMAQVision.ColorHistogram3

  • CWIMAQCircleDescriptorCWIMAQCircleDescriptorcontainspropertiesthatspecifythesetofcirclestodetect.

  • PropertiesMaxRadius Maximumradiusallowedforadetectedcircle.

    MinRadius Minimumradiusallowedforadetectedcircle.

  • SeeAlsoCWIMAQVision.DetectCircles

  • CWIMAQCircleMatchReportCWIMAQCircleMatchReportisacollectionofCWIMAQCircleMatchReportItemobjects.ItcontainsoneentrypercirclefoundintheimagebyCWIMAQVision.DetectCircles.

  • PropertiesCount Numberofobjectsinthecollection.

  • MethodsAdd Addsanobjecttothecollectionandreturnsthenewobject.

    Item Returnsthespecifiedobjectfromthecollection.

    Remove Removesthespecifieditemfromthecollection.

    RemoveAll Removesallobjectsfromthecollection.

  • SeeAlsoCWIMAQVision.DetectCirclesCWIMAQCircleMatchReportItem

  • CWIMAQCircleMatchReportItemCWIMAQCircleMatchReportItemcontainsinformationaboutaparticulardetectedcircle.

  • PropertiesPosition Thecenterofthedetectedcircle.

    Radius Theradiusofthedetectedcircle.

    Score Thescoreofthedetectedcircle.Scoresrangefrom0–1000.

  • SeeAlsoCWIMAQVision.DetectCircles

  • CWIMAQCirclesReportCWIMAQCirclesReportisacollectionofCWIMAQCirclesReportItemobjectsthatcontaintheresultsoftheCWIMAQVision.FindCirclesmethod.Ithasoneentryforeachcircledetectedintheimage.

  • PropertiesArea Obsolete—UseCWIMAQCirclesReportItem.CoreArea.htminstead.

    Areaofthecircle,inpixels.

    Count Numberofobjectsinthecollection.

    Radius Obsolete—UseCWIMAQCirclesReportItem.Radiusinstead.

    Radiusofthecircle,inpixels.

    XCenter Obsolete—UseCWIMAQCirclesReportItem.Centerinstead.

    X-coordinateofthecenterofthecircle.

    YCenter Obsolete—UseCWIMAQCirclesReportItem.Centerinstead.

    Y-coordinateofthecenterofthecircle.

  • MethodsAdd Addsanobjecttothecollectionandreturnsthenewobject.

    Item Returnsthespecifiedobjectfromthecollection.

    Remove Removesthespecifieditemfromthecollection.

    RemoveAll Removesallobjectsfromthecollection.

  • SeeAlsoCWIMAQVision.FindCirclesCWIMAQCirclesReportItem

  • CWIMAQCirclesReportItemCWIMAQCirclesReportItemcontainsinformationaboutadetectedcircle.

  • PropertiesCenter Centerpointofthecircle.

    CoreArea Surfacearea,inpixels,ofthenucleusofthecircleasdefinedbytheDanielssondistancemap.

    Radius Radiusofthecircle,inpixels.

  • SeeAlsoCWIMAQVision.FindCirclesCWIMAQCirclesReport

  • CWIMAQClassifierCWIMAQClassifierisanobjectthatassignsimagesorfeaturevectorstoclassesbasedonhowithasbeentrained.

  • PropertiesEngineType Typeofenginethisclassifierhasbeentrainedwith.

    NearestNeighborOptions Optionsusedwhentraining,ifthisclassifierwastrainedwiththeNearestNeighborengine.

    Type Typeoftheclassifier.

  • MethodsClassify Classifiesthegivenimage.

    GetAccuracy Getsareportontheaccuracyandpredictivevalueoftheclassifier.

    TrainNearestNeighbor SetstheclassifiertousetheNearestNeighborengine,andconfigurestheoptionstheengineusesforclassification.

  • SeeAlsoCWIMAQParticleClassifierCWIMAQCustomClassifierCWIMAQVision.ReadClassifierFileCWIMAQVision.WriteClassifierFile

  • CWIMAQClassifierAccuracyReportCWIMAQClassifierAccuracyReportisareportontheaccuracyoftheclassifier,basedonhowwellitclassifiesthesamplesitwastrainedwith.

  • PropertiesAccuracy Theaccuracyoftheclassifier.

    ClassAccuracy A1Darraythatcontainsaccuracyinformationforeachclass.

    ClassificationDistribution A2Darraythatshowsthedistributionofsamplesamongvariousclasses.

    ClassNames A1Darrayofthenamesoftheclassesthattheclassifiercontains.

    ClassPredictiveValue A1Darrayofpredictivevaluesofeachclass.

  • SeeAlsoCWIMAQClassifier.GetAccuracy

  • CWIMAQClassifierEngineTypesEnumerationCWIMAQClassifierEngineTypesaretheenginesthataCWIMAQClassifiercanbetrainedwith.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqEngineNearestNeighbor—ThisclassifierhasbeentrainedwiththeNearestNeighborengine.cwimaqEngineNone—Thisclassifierhasnotbeentrainedyet,andsohasnoengine.

  • SeeAlsoCWIMAQClassifier.EngineTypeCWIMAQClassifier.TrainNearestNeighbor

  • CWIMAQClassifierReportCWIMAQClassifierReportcontainstheresultsoftheCWIMAQClassifier.ClassifyandCWIMAQCustomClassifier.CustomClassifymethods.

  • PropertiesAllScores Collectionofscores.Thecollectioncontainsonescoreforeachclassinthe

    classifier.

    BestClassName Nameoftheclasstheclassifiercategorizestheinputsamplein.

    ClassificationScore Indicateshowmuchbettertheassignedclassrepresentstheinputsamplethanotherclasses.

    IdentificationScore Theconfidencethatthesampleisinthereportedbestclass.

  • SeeAlsoCWIMAQClassifier.ClassifyCWIMAQCustomClassifier.CustomClassify

  • CWIMAQClassifierSampleCWIMAQClassifierSamplerepresentsasampleonwhichtheclassifierwillbetrained.

  • PropertiesClassName Nameoftheclassthissampleisassignedto.

  • MethodsGetThumbnail Getsathumbnailimageofthissample.

  • SeeAlsoCWIMAQClassifierSamples

  • CWIMAQClassifierSamplesCWIMAQClassifierSamplesisacollectionofCWIMAQClassifierSampleobjects.Itcontainsoneitemforeachsampleintheclassifier.

  • PropertiesCount Numberofobjectsinthecollection.

  • MethodsAdd Addsasampletotheclassifier.

    Item Returnsthespecifiedobjectfromthecollection.

    Remove Removesthespecifieditemfromthecollection.

    RemoveAll Removesallobjectsfromthecollection.

  • SeeAlsoCWIMAQClassifierSample

  • CWIMAQClassifierTypesEnumerationCWIMAQClassifierTypesrepresentthetypesofobjectsthataclassifiercanclassify.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqClassifierCustom—Aclassifierthatclassifiesfeaturevectors,whicharearraysofDoubles.cwimaqClassifierParticle—Aclassifierthatclassifiesparticlesinanimage.

  • SeeAlsoCWIMAQClassifierCWIMAQParticleClassifierCWIMAQCustomClassifier

  • CWIMAQClassScoreCWIMAQClassScorecontainstheresultsofclassificationforaclassintheclassifier.

  • PropertiesClassName Nameofthisclass.

    Distance Thedistancebetweentheclosestsampleinthisclassandtheinputsample.

  • SeeAlsoCWIMAQClassScoresCWIMAQClassifier.ClassifyCWIMAQCustomClassifier.CustomClassify

  • CWIMAQClassScoresCWIMAQClassScoresisacollectionofCWIMAQClassScoreobjectsthatcontaintheresultsoftheCWIMAQClassifier.Classifymethod.Itcontainsoneitemforeachclassintheclassifier.

  • PropertiesCount Numberofobjectsinthecollection.

  • MethodsAdd Addsanobjecttothecollectionandreturnsthenewobject.

    Item Returnsthespecifiedobjectfromthecollection.

    Remove Removesthespecifieditemfromthecollection.

    RemoveAll Removesallobjectsfromthecollection.

  • SeeAlsoCWIMAQClassScore

  • CWIMAQColorCWIMAQColorcontainsparametersspecifyingtheresultofacoloracquisition.

  • PropertiesAverageCount Numberofcolorimagestoacquireandaverageforoneoutputimage.You

    canacquire1to128colorimages.Thedefaultnumberis1.

    Brightness Brightnessofanimage.Brightnessistheamountofwhitelightaddedtoorsubtractedfromeachimagepixel.Therangeis–50to+50IREinstepsof1,withadefaultof0IRE.IREisthepercentageofthewhitelevel.

    ChromaBandwidth Resultingbandwidthofthechromainformationoftheimage.

    ChromaComb Typeofcombfiltertouseinthechromapath.

    ChromaPhase Value,indegrees,ofacorrectionanglethatyoucanapplytothechromavector.Thisvalueisanadjustmentofthetint.

    ChromaProcess Processingappliedtothechromasignal.

    ChromaTrap Chromatrapfilterinthelumasignalpath.AlwaysdisablethispropertyinS-Video(Y/C)mode.

    Contrast Contrastoftheimage.Thisvalueisascalingfactorappliedtoeverypixel.Thecontrastadjustmentiscenteredaroundthemedianpixelvalue.Forexample,an8-bitimageiscenteredaround128.Therangeis0.5to1.5withadefaultof1.00.

    Gain Hardwaregainoftheimageacquisitiondevice.

    HSLCoringLevel HSLcoringlevel,iftheimagerepresentationisHSL.

    HueCoringReplaceValue 8-bitvaluethatreplacesthecalculatedhuewhenthesaturationisbelowthevalueofHSLCoringLevel.

    HueOffsetAngle Offsetangle,indegrees,themethodusestorotatethehueplane.

    LumaBandwidth BandwidthfortheLuminancesignal.

    LumaComb Typeofcombfilterusedinthelumapath.

    NTSCSetupEnable Enablesasetup,orpedestal,correctionof7.5IREinNTSCmode.

    NTSCSetupValue NTSCsetupcompensationvalue.

    PeakingEnable Peakingfilterinthelumapath.

    RGBCoringLevel RGBcoringlevel.

    Saturation Saturationoftheimage—afactormultipliedbythechromainformationoftheimage.Therangeis0.5to1.5withadefaultof1.00.

    SoftwareChromaFilter Softwarefiltertocleanthechromasignal.

  • CWIMAQColorChromaBandwidthModesEnumerationCWIMAQColorChromaBandwidthModesaretheconstantsfortheChromaBandwidthpropertyontheCWIMAQColorobject.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqChromaBandwidthHigh—Highbandwidth.cwimaqChromaBandwidthLow—Lowbandwidth.

  • CWIMAQColorChromaProcessModesEnumerationCWIMAQColorChromaProcessModesaretheconstantsfortheChromaProcesspropertyontheCWIMAQColorobject.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqChromaProcessAutoDetect—Automaticallyprocesschromainformation,ifpresent.cwimaqChromaProcessOff—Chromaprocessingoff.cwimaqChromaProcessOn—Chromaprocessingon.

  • CWIMAQColorCombTypesEnumerationCWIMAQColorCombTypesaretheconstantsfortheChromaCombandLumaCombpropertiesontheCWIMAQColorrobject.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqComb1Line—One-linecombfilter.cwimaqComb2Lines—Two-linecombfilter.cwimaqCombOff—Combfilteroff.

  • CWIMAQColorConstantsEnumerationCWIMAQColorConstantsaretheconstantsthatspecifyspecialcolorsrecognizedbycertainCWIMAQfunctions.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqTransparentColor—Transparentbackgroundcolor.UsethiscolorforCWIMAQTextOptions.BackColor

  • CWIMAQColorFormatsEnumerationCWIMAQColorFormatsaretheconstantsthatspecifyacolorspace.Formoreinformationaboutcolorspaces,refertotheNIVisionConceptsManual.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqColorFormatCieLAB—CIEL*a*b*cwimaqColorFormatCieXYZ—CIEXYZcwimaqColorFormatHSI—HSI(Hue,Saturation,Intensity).cwimaqColorFormatHSL—HSL(Hue,Saturation,Luminance).cwimaqColorFormatHSV—HSV(Hue,Saturation,Value).cwimaqColorFormatRGB—RGB(Red,Green,Blue).

  • SeeAlsoCWIMAQVision.ExtractColorPlanesCWIMAQVision.ReplaceColorPlanesCWIMAQVision.ColorThresholdCWIMAQVision.ColorHistogram3CWIMAQVision.IntegerToColorValueCWIMAQVision.ColorValueConversion2CWIMAQVision.ColorValueToIntegerCWIMAQVision.ColorUserLookup

  • CWIMAQColorGainModesEnumerationCWIMAQColorGainModesaretheconstantsfortheGainpropertyontheCWIMAQColorobject.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqGainSetting0—Gainof1.00.cwimaqGainSetting1—Gainof1.33.cwimaqGainSetting2—Gainof2.00.

  • CWIMAQColorImageRepsEnumerationObsolete—UseCWIMAQImageRepsinstead.CWIMAQColorImageRepsaretheconstantsfortheColorImageReppropertyonCWIMAQ.Youcanusethefollowingconstantswiththisdatatype:

    cwimaqColorRepBlue8—8-bitblueplane.cwimaqColorRepGreen8—8-bitgreenplane.cwimaqColorRepHSI32—32-bitHSI(Hue,Saturation,Intensity).cwimaqColorRepHSL32—32-bitHSL(Hue,Saturation,Luminance).cwimaqColorRepHue16—16-bithueplane.cwimaqCo