How can I automate the threshold for a moving object whose light intensity changes for each frame.

I'm using the PCI-1408 and I have this video where an object's shape and color intensity changes for each frame. I want to do a pixel count of that object verses the background (the background also changes color) for each frame. I'm guessing that I need an automatic threshold, but I really have no idea of how to implement this. Any ideas, anyone?

Hopefully there is a clear distinction between the background and the object.
You can use IMAQ AutoBThreshold to determine the threshold level for an image. You can select from a variety of methods for determining a binary threshold level. Route the "Threshold Data" output along with your image to IMAQ MultiThreshold, which will quickly apply the threshold to your image. Display the results using WindDraw and the Binary palette (from IMAQ GetPalette).
This should run close to real-time. Binary thresholding is a fairly fast operation. You will probably end up processing every other image, which is close enough for most projects.
Bruce
Bruce Ammons
Ammons Engineering

Similar Messages

  • How can we automate the Depreciation keys based on production for business

    How can we automate the Depreciation keys based on production for business u2013 this is currently not an optimised process if we expect business to manually change the keyu2019s on a monthly basis.
    The end user updates the table, transaction AO25, manually on month end after the production calculations are completed. The question is, is it possible when the PP is completed, that the system updates the Period Unit table for that period?
    Thanks.
    Regards,
    PS PS

    Hi,
    I am new at this, so I need a explanation on how will this help me, and how do I get about doing this?
    Thanks a lot.
    Regards,
    PS PS

  • How can I automate the multi-step process of looking up a caller's contact details when a telephone call comes in with caller ID?

    How can I automate the multi-step process of looking up a caller's contact details when a telephone call comes in with caller ID. I want to be able to see more than just the first & last name when a client calls me. I would like the caller ID to pull up the same information that shows up when you search for and find a contact name and then click on the right arrow.
    My workaround is to force/enter both the last name and the address in the last name field since then the address will show up.
    The only computerized way to look up this additional information is to put the client on hold, memorize the first and last name and correctly enter it in the search field of the contact database and hopefully find it before the client gets tired of waiting.
    Note that I go to about 48 small jobs per week. So far I have about 9,000 contacts. It's easy to make a mistake and have the client wondering what I'm doing and what's taking so long.
    The second workaround is to use paper and pencil and ask the client for name, address, cross street and phone number again, repeating what I did some time previously.
    Please help meautomate this process.

    You don't have to put anyone on hold. When the call comes in, tap the Home button, then tap contacts, go to the contact. Tap Home button when finished, tap the top banner to return to the call screen.

  • How can you automate the monthly opening of MM periods

    How can you automate the monthly opening of MM periods ????????????

    RMMMPERI accepts a period/year or a date.
    If you enter a date the period is derived by it.
    1. create a variant and check the attribute 'selection variable' for the parameter date. Then click the button 'Selection variables' and set the current date. Every time this variant is used the parameter DATE is filled with the current date.
    2. create a job for RMMMPERI with the variant created in the preceding step. Set it as periodic.
    If you're not using a fiscal year variant simply schedule it as monthly (to be executed the first day of the month).
    If you are using a fiscal year variant you'd have to define a calendar with only the first day of each period defined as working 
    day and use it in the periodicity restrictions.
    Another possibility:
    Write a very simple ABAP which run daily to check if the period has changed and submit RMMMPERI.
    Regards
    Chander

  • How can i restore the deleted accidently bookmarks ? is there trash or bin for deleted bookmarks , like opera browser ?

    how can i restore the deleted accidentally bookmarks ? is there trash or bin for deleted bookmarks , like opera browser ?

    If you have accidentally removed bookmarks then use "Organize > Undo" in the bookmarks manager (Bookmarks > Organize Bookmarks) to get them back.
    The Organize button is the first of the three buttons on the toolbar in the Library (Bookmarks Manager).
    That only works if you haven't closed Firefox.
    Otherwise you need to restore the bookmarks from a JSON backup.
    That will replace all the current bookmarks and you lose bookmarks that were added since that backup was created.
    See http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox

  • How can we reset the   active system status  when we are trying to change

    Hello SAP,
    I am using the transaction  code 'CJ20N' .
    For this transaction code, I need to put one validation when user is trying to change the system status to 'TECO'.
    Once, user changed the system status  and trying to save , we need to put the previous system status.
    For e.g. : system status is 'REL'. Now user set to 'TECO' and CLICK on save button, system status  need to change 'REL'.
    Could you please explain me that how can we delete the buffer system status 'TECO' and reset to active status 'TECO '.
    Thanks and Regards
    Srini

    You can't delete an account, you can only stop using it.  If you're getting that error message you won't be able to create a new account on your device.  Your only options are to re-use one of the accounts previously created, or create a new account on a different iOS device or Mac (running OS X Lion or higher), if you have one.

  • How can we automate the process of selective deletion in process chain

    Hi,
    I got to delete data from ODS and InfoCube selectively every Tuesday. So I am aware that there is an ABAP program through which we can automate the process of selective deletion in Process chain. So plz let me know the proceedure to automate this process.

    Hi,
    Try this.
    Need to genrate the deletion program using tcode Delete_Facts.
    steps : 1 run the Delete_Facts tcode and give your cube name in the input parameter
    step2 . select deletion program and execute . you will get the system genarated program
    step 3 copy this prg and save as zprg.
    step4 : run the program with selection
    step 5. if your selection is date then you need to create dynamic varient needs to be populate the value for the date fields
    step 6: you need to maintain the date values in the TVAR table if necessary
    step 7. you need to use this custom prg in your process chain after completion of test
    source : SDN.
    Thanks,
    JituK

  • I'm running out of hd space on my MBP with Mavericks. How do I move my Photoshop 5 app off the computer for more space. How can I store the PS5 app on DVD or on my backup hd for a future reinstall on my next Mac?

    I'm running out of hd space on my MBP with Mavericks OS. How do I move my Photoshop 5 app off the computer for more space, and store the PS5 app on DVD or on my backup hd for a future reinstall on my next Mac with larger hd?
    Thanks

    slaglejrp,
    perhaps it would be less expensive to just install a new disk with a larger capacity on your current MacBook Pro, rather than plan on buying a new Mac with a larger disk? Once your current disk has been cloned to the new disk, and the new disk has been installed into your MacBook Pro, that would allow you to keep Photoshop 5 on your current MacBook Pro.

  • I can't see the page to by any thing because it has change for the way it was to black backround making it hard fore me, i can't see the page to by any thing because it has change for the way it was to black backround making it hard fore me

    i can't see the page to by anything because it has change from the way it was to a black backround making to hard to type the right info for payment detals

    This is a user to user help forum only. You are not addressing Apple here.
    My iPhone 4S, iPhone 5, and iPad 2 are running 6.1.3 with no such problem and the same with the overwhelming majority of iOS devices running 6.1.3.

  • How can i view the angle of a rotated object?

    ok, so i have rotated an object manually (not by entering a numberic value), and i now want to rotate something by exactly the same degree. how can i do this?
    am working in AI CS3.
    many thanks.

    If by "manually" you mean you dragged with the Rotate Tool, and the rotation you want to replicate is the one you just made, you can just doubleClick the Rotate Tool. The last-used rotation value will be recorded there, even if the rotation was done manually by dragging the tool.
    If by "manually" you mean you dragged with the black pointer just outside the bounding box corner, then you can repeat the rotation on another object by selecting the other object and typing Ctrl D (Transform Again). That will rotate the newly selected object the same amount, but also about the same center. So you may have to reposition it.
    JET

  • How can we contrrol the focus of an form Object  from the Managed bean??

    I am getting the following script error...
    Can't move the focus to the control because it is invisible or not enabled or of the type that does not accept the focus...
    I have a button whose action is mapped to a function in the Managed bean.
    In the managed bean
    I am making the button Invisible along with some other components.
    Can any one help me out....

    @BalusC
    You were proposing the following solution in other thread..
    <html>
    <head>
    </head>
    <body>
    <f:verbatim>
    <script>
    setFocus('</f:verbatim><h:outputText value="#{myBean.focusId}" /><f:verbatim>');
    </script>
    </f:verbatim>
    </body>
    </html>
    But it is giving the following error
    javax.faces.FacesException: org.apache.jasper.JasperException: /EducationDetails.jsp(97,29) The element type "script" must be terminated by the matching end-tag "</script>".

  • How can I soften the edge of a person in a photograph without changing the background?

    I need to soften the outline of a girl in a photo without changing the background.  I have tried the Modify Edges tool in the selections menu, but the results of the feathering command do not show up on the photo.  Help!

    Or you could brush with the Blur Tool.
    -Noel

  • How can I automate the firefox upgrade for 1000+ computers and keep user settings

    During our network scans we see various versions of Firefox, which show some type of security issue. We would like all users to be on the same version of Firefox, we also have turned off the update feature in FIrefox and we want to manage it has part of our desktop support

    Can you use a login script (or other script) to download and execute a full installer from an internal drive? The user normally will see a prompt during this process, but you can set a command-line switch or use an .ini file for a silent install.
    Full installers: https://www.mozilla.org/firefox/all/
    Command line switches: https://wiki.mozilla.org/Installer:Command_Line_Arguments

  • How can I automate the splitting of this Excel 2007 worksheet?

    I have just started to make use of the services of a bulk mail provider called Your Mailing List Provider (YMLP) and have hit the problem that YMLP will reject any attempts to import a contact record containing an email address that is already present
    in an existing contact record (even though the names are different).
    However, I need to issue personalised emails to people who may share the same email address (which is not an unusual situation). The only way round this problem is for me to separate such contact records so that they are uploaded to different 'contact groups'
    in YMLP.
    For example, consider the following Excel worksheet:
    Email                                    FirstName  LastName  UserName
    [email protected]              Joe             Bloggs       JB999
    [email protected]              Jane           Bloggs        janeyB
    [email protected]              James         Smith         Jimmy3
    [email protected]              Susan         Smith         Sue2
    [email protected]   John           Brown         jonny
    [email protected]   Mary          Brown         mary17
    [email protected]   Jack           Brown         jackthelad
    [email protected]             Fred          Green         elvis
    [email protected]            Judy           Green         knitter
    [email protected]          Liza          Pawse         purrs1
    [email protected]          Mark         Pawse         purrs2
    [email protected]          Timothy    Pawse         purrs3
    I would want to split that into three separate worksheets, as follows:
    GROUP 1
    Email                                  FirstName  LastName  UserName
    [email protected]             Joe            Bloggs       JB999
    [email protected]             James        Smith         Jimmy3
    [email protected]  John          Brown         jonny
    [email protected]           Fred           Green         elvis
    [email protected]         Liza           Pawse        purrs1
    GROUP 2
    Email                                  FirstName  LastName  UserName
    [email protected]            Jane           Bloggs        janeyB
    [email protected]            Susan         Smith         Sue2
    [email protected]  Mary          Brown        mary17
    [email protected]           Judy           Green         knitter
    [email protected]         Mark          Pawse        purrs2
    GROUP 3
    Email                                  FirstName  LastName  UserName
    [email protected]  Jack           Brown        jackthelad
    [email protected]         Timothy      Pawse       purrs3
    I would appreciate some guidance on how such a split might be achieved semi-automatically using Excel 2007.
    David

    What's the value of C2 - C13 currenlty? What about the text format? In my here, it works fine. I repeat the steps 2 as following:
    (Now the C2 - C13 which only contains value 1 and "")
    1. Select the range of C2 - C13 ;
    2. Home > Editing section > Find & Select > Go to Special > Column differences, then all of non-1 cell would be chosen.
    3. Type "=C2+1" in the Fomular bar and Ctrl - Enter to apply that.
    Does it work for you?
    Cheers,
    Tony Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please contact
    [email protected]

  • How can we automate the Post system refresh activities

    All,
    Just want to know if there is a way to automate most of the post system refresh activities that were done by Basis.
    Please note that i am talking about Post System refresh activities.
    Appreciate your responses.
    Thanks,
    Giri

    It all depends on what you would like to do: you keep the same SID or is it a rename?
    - you could plan 1 jobs on production after event 'Zafterrefresh" with following steps:
    that runs a BDLS
    that does a cleanup of the spools
    cleanup application logs
    Trigger the event after the refresh and that starts.
    Depending on your system you can run multiple jobs in //
    some actions will have to be done manually:
    user import
    TMS config
    etc

Maybe you are looking for