How to detect multiple points of laser on the image

Consider I have a picture with several spots dark bright laser. I want to find the center of gravity of each laser spot and return the coordinates of each spot.

Currently, I managed to detect an single spot to grab an image, adjustment of the threshold (threshold IMAQ) and find the center of gravity (centroid IMAQ).

However, when I have several points of light, this method gives me the center of gravity of all tasks combined. Should what technique I use to detect the center of gravity of each individual laser?

Thanks in advance.

Try to use blob analysis.  Make a fast threshold, which should give you a place for each laser.  Blob analysis allows to get the center of each BLOB.  Use the function of Center of gravity to locate the exact gravity Center, if the center of the BLOB is not good enough.

You should be able to save time by recording the previous values of the center of gravity.  Lasers are moving very quickly, their new locations should be near their old location.

If it is still too slow, understand what part takes the most time.  If it's the center of gravity, I am able to suggest other ideas.

Bruce

Tags: NI Hardware

Similar Questions

  • How to fax multiple pages at once with the HP 6500 has more

    How to fax multiple pages at once with the HP 6500 has more.

    I don't know why I can't do this, it sends do not ask if you need to scan another page.

    Your device contains a document feeder, the sending of several pages of the Scanner glass is not supported.

    Simply place the pages face up on top of the document feeder and send the fax, as shown below:

    http://support.HP.com/us-en/document/c02299537

  • How to make multiple "BOLD" text, for example the positions of the scene, or the names of the characters?

    How to make multiple "BOLD" text, for example the positions of the scene, or the names of the characters?

    You can do this by changing the model of the document.

    Open the document, go to Edition-> model. A dialog box will launch that will have some element types on the left and its properties on the right.

    Select Heading (or Character name) stage left. On the right, go to the 'Text' tab and click on the "BOLD" checkbox.

    Press OK.

    I hope this helps.

    See you soon,.

    Sunny

  • multiple choice with partial credit question, I have 10 responses only 6 are correct.  How to assign 10 points for each of the six correct answers for a total of 60 points setting?

    How can I assign partial credit so that for each possible answer 6 out of 10 each correct answer gets 10 points each, with a possible total score of 60 points quiz?

    To Captivate 7, please go to the Quizzing workspace. You will have the properties and properties Quiz Panel visible. I will now repeat the workflow, I explained briefly for CP7:

    • Check the partial score in the Quiz properties and also multiple responses.
    • Indicate the correct answers on the stage
    • Select the first correct answer on the stage text caption and indicate its score (10pts) in the properties panel, not in the Quiz properties!
    • Repeat the same for each correct answer
    • Check the total score in the properties of the Quiz Panel: should now be 60pts to the full question.

    None of the quiz system variables can be changed, they are read-only. System variables in Captivate 6 - Captivate blog explains the system variables for 6 categories, there are a few changes in 7: new features of Captivate 7.01 - Captivate blog but the Quiz category is always read-only.

  • How to detect if RTEXE is running on the controller RT SMU-8133

    Hello

    I need to know my PC if some executables RT runs on the remote computer RT (SMU-8133).
    Y at - it anyway how to detect in LabVIEW, if an application is running in real time and possibly only one?

    Thank you very much.

    Martin

    The important point is that call a distance VI in this way, you assume that the VI is already in memory. In this case, you don't have to give a full path, just the name of the VI.

    Mike...

  • How to pass multiple values of payload through the contextual event - jdev 11.1.2.3

    Hello:

    How to configure contextual events publish several values of payload?

    On click of a button, I'm declaritively publish a contextual event, which works very well when a single value is passed to the event handler.

    My event handler method has the signature of:
    eventHandler (String)

    But now I also have an oracle.jbo.domain.Number, so my new eventHandler looks like this:
    eventHandler (Number, String)

    How to pass two values during editing of the event and how to place the payload with multiple values for the new eventHandler?

    All article or code would be greatly appreciated.

    Thanks for the help.

    You define a bean holding your values and pass an instance of the bean as a payload...

    Timo

  • How to create a pointed round object for the seal of approval

    Hi - I'm really not great with Illustrator so I hope someone can help me.  See the image below:

    seals.png

    I downloaded the Deaf friendly seal as a vector image of a stock website.  Now my co-workers want to add me as 'sunburst' round edge and place it behind the round part of the Deaf friendly.  Instead of downloading another vector image of the sharp round thing, I would try to do it myself, but I'm not good with Illustrator.

    Can you give a tutorial or help on how to create this round object with points around it - maybe a quick and easy way to do it?

    Thanks in advance.

    1. Hold-click and drag with the star tool (keep the mouse down)
    2. Use up arrow curosr to add points
    3. Press and hold the command Ctrl-PC-Mac change of inner radius

    When it seems good coward of mouse

  • How to run multiple copies of distilling on the same machine?

    What version of Adobe PDF Converter do I need to run multiple copies of distilling on the same machine?

    I see that Distiller Server is EOL so what should I use to accomplish the same task.

    Hi mmaraffi,

    You will not be able to run multiple copies of Distiller, because this is a violation of the EULA.

    Let me know the version of Acrobat is installed on your computer?

    Kind regards

    Nicos

  • How can I select a path to save the images of USB camera

    Hello

    I am using USB camera for my project, I want to control this camera to detect a human body, with a motion detector and capture images.

    My question is how can I select a path to save these images captured from USB camera?

    in the figure below, the program I use for my USB camera

    Thanks in advance...


  • How can I set my profile picture? The image everyone sees beside your question?

    How can I put the image everyone sees right next to the question that is posted? The picture on my profile on Firefox?

    On this site, it's called the Avatar and you can update it here:

    https://support.Mozilla.org/en-us/users/edit

  • Why print multiple pages per sheet reduce the image?

    Two pages of 5.5x8.5 must print 2-up on 8.5 x 11 WITHOUT reducing the size of the image. Taxation of basic page! (I'm talking about Acrobat DC, specifically.)

    The answer is very simple.

    Acrobat does not currently a tool of imposition of real page. How Acrobat reduced the size of the pages has to do with areas conscious as defined by the printer driver and therefore, even if you try to make a booklet of 5.5x8 pages on paper 8.5 x 11, Acrobat reduced the size of the pages to accommodate the unprintable margins.

    There are third party for Acrobat plugins that perform this and much more sophisticated tax functions.

    -Dov

  • Transferred to the Club Photo Dollar. How do you (before you buy) is what the image size in Adobe Stock?

    Hello

    Can you tell me how to know what size the image is before buy you Adobe stock? Club Photo Dollar there was a summary screen giving the details of the image type and size until you have purchased the image.  I just bought an image only to find that it is entirely the right size and not suitable for my needs!  I would like some advice.

    Hello

    Please see our FAQ for more details: frequently asked questions, Adobe Stock

    Thank you

    Bev

  • How can I get txt to wrap around the images in CS6

    I used to use a very old version of Dreamweaver (on version 3) and decided to buy me a beautiful new version so I now CS6

    Everything is good except for the fact that I can't find out how to pack the txt around the images that I insert into a paragraph - it used to do this automatically as soon as you set the alignment of the images. Its driving me crazy that I can't get out!  Anyone can shed light on how to do this now please.

    Thank you

    It's called 'float' in the CSS.

    You can see a small tutorial here: http://www.tizag.com/cssT/float.php

  • Updating ESX 3i 5 - how add/detect a USB external storage on the host drive

    I guess that this has been asked several times in the past, but I can't seem to get this to work for me.  All I want to do is use this USB external drive to back up files hard find in my volume of "datastore1".  I would like to implement a script, or even do it manually, where I tell you about my ESXi host just copy the files in VMFS volume in the external USB storage drive.

    My physical server is a Dell PowerEdge 2950, and it uses ESX 3i update 5.  I use a 250 GB Maxtor One Touch II USB external storage device, and it has been formatted with NTFS.

    Currently, I don't even know the controls able to detect this USB device.   I read only so that my drive to be recognized by the host, it must be ext3 or FAT32.  NTFS would be 'read only '.  I was hoping I could format the external drive through the ESXi (by command line), but maybe I'm deceiving myself.

    Thanks in advance

    I'm sorry to say that you are trying is not possible - external USB are not usable by ESXi or ESX =

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • (OSControl Xtra) How to detect when a user clicks on the bottom and upward when

    Hi all

    How can I detect when I click on a scroll bar downwards and upwards? I want something like:

    If sprite (1) ravishing (#down) then

    -do something

    on the other

    If sprite (1) ravishing (#up) then

    -do something else


    Any ideas? The question applies only to the OS control xtra

    I do not understand why you put the sprite.value and maxValue for
    a global event #prepareFrame - can you explain to us why, and 'who' it is
    who is responsible for these values?
    I tried to "simplify" your script, but I don't have a clear picture
    what your problem is - can you maybe post a simple example
    somewhere that clearly demonstrates?
    --
    pSprite property
    pScrollAmt property
    Global tMaxVal, maxbarvalue

    on beginSprite (me)
    pSprite = sprite (me.spriteNum)
    end beginSprite

    on prepareframe
    pSprite.maxValue = maxbarvalue
    pSprite.value = tMaxVal - position of the thumb
    end

    Update (me, aClickedPart)

    CASES (aClickedPart)
    #up:
    pScrollAmt = - 5

    #down:
    pScrollAmt = 5

    #thumb:
    If pSprite.value< tmaxval="" then="" pscrollamt="">
    otherwise if pSprite.value > tMaxVal then pScrollAmt = 10
    else exit
    CASES OF TERMINATION

    -It is important to 'catch up' the return value when you create a
    -timeout object, even if it is in a local variable that will be
    -immediately go out of scope
    t = timeout("scrollImage"&me.spriteNum).new (10, #sendScrollMessage, me)
    end

Maybe you are looking for