NI-IMAQ overlay

I want to know if the "Overlay Sub-Palette" (mainly IMAQ Merge Overlay and IMAQ Overlay Text) is a part of NI-IMAQ or NI-Vision.  I don't have to acquire image. I just want to write text on a huge image and the picture control functions are too slow for my application.
Jean-Marc
Ni Developer Suite 8.6
Jean-Marc
LV2009 and LV2013
Free PDF Report with iTextSharp

Hi, Jean-Marc,
Yes, both functions installed with NI-IMAQ.
Refer to this doc: Which VIs are Installed with NI-IMAQ and Vision Acquisition Software?
regards,
Andrey.

Similar Messages

  • Imaq overlay pen size

    I need to add overlays to an imaq image, but when I do, the overlays are often to hard to see.  Is their a way to set a "pen size" similar to the picture control?

    tiemanjw,
       I had a similar concern and after poking around found that you can’t change pen size. So, I made my own VI to accomplish it. Granted, it is a hack and there may be better ways to do it but it works well for me. There are several caveats to my solution because I made it for a specific purpose so it isn’t as generic as maybe it could be. One is that I only did it for a rectangular bounding box. The second is instead of the input being a bounding box from a matches cluster mine accepts an optional rectangle array. But, there is no reason why you couldn't take what I did and extend it to any type of overlay and also change the optional rectangle input type to some other type to fit your needs.
    The basic idea is to just put the IMAQ Overlay Multiple Lines.vi into a for-loop and draw multiple progressively smaller overlays inside one another. The resulting effect is it looks like a thicker overlay. Here are the vis. Let me know if it works for you or if I can give any more info.
    Attachments:
    VariableSizeBoundingBox.vi ‏17 KB
    OptionalRectangleToLineEndPoints.vi ‏14 KB

  • IMAQ overlay Line Thickness

    Hi,
    I have used IMAQ overlay to map two line onto an image. But I want to change the thickness of these lines and couldn't figure out any way. Help is appreciated.
    Regards.

    It looks like IMAQ Overlay Line doesn't let you specify line thickness.  You might consider "tricking" it by overlaying two or more lines, displaced slightly from each other but close enough to merge into a slightly thicker line.  Note that if you do this, you need to think about the orientation of the line, as you'd want to displace your "sub-lines" at right angles to the original line orientation.  For example, if the original line was horizontal, you'd draw two sub-lines a little above and a little below the original line (a vertical displacement), and if the original line were vertical, you'd draw a little to the left and right (a horizontal displacement).
    If you decide to go this route, you'll do yourself a BIG favor if you write the "Thick line" function as a sub-VI that looks a lot like IMAQ Overlay Line, but has an additional "thickness" parameter.  Hide all of the "messy details" inside this VI, including the calls to IMAQ Overlay Line.  This will keep your calling VI "focussed" on the task it is trying to do, without getting "irrelevant" Line-Thickness code popping up and occupying a lot of Block Diagram space.
    BS

  • IMAQ Overlay Multiple Lines 2 in VDM 2011

    IMAQ Overlay Multiple Lines has just been updated in the Vision Development Module 2011, and I really like the new option to create fixed-width lines that do not scale when zooming - kudos!
    But the handling of NaNs has also changed - it now draws a line to 0,0 and carries on.  The old version stopped at that point.  The better option would be to handle it in the same way as the XY Graph and create a new line - I've created an idea suggesting this.

    I strongly agree with that!
    In different part of LabVIEW, NaN are handled in different ways and that could be improved (and documented).
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • IMAQ Overlay Rectangle problem

    Hello,
    I am trying to Overlay Roteted rectangle and fill it inside.
    I can't do it by IMAQ Overlay Rectangle - it doesn't accept rotations
    So I onvert Restangle to ROI and I use IMAQ Overlay ROI but now I dont have fill option
    Do You know  way around this??
    Solved!
    Go to Solution.

    Dear Pawhan!
    As far as i'm aware, you can have Rotated Rectangle overlays in Vision Assistant, so you can set one up in VA and create a LabVIEW VI from there. If you want to stick with LV Vision, try this code:
    Please tell me if this works for you.
    Best regards:
    Andrew Valko
    NI Hungary
    Andrew Valko
    National Instruments Hungary
    Attachments:
    Rotated Rectangle.vi ‏20 KB

  • IMAQ Overlay Text.vi: "User-specified Font" ignored

    I'm trying to use "IMAQ Overlay Text.vi" use draw a fixed-width tag on an image. In my trials so far, I cannot determine how to use any other font but the default. The "User-specified Font" choice appears to ignore my font requests, but does use my size and bold settings.
    What I've tried so far:
    Use LabVIEW to tell me font names via the application drop-down menu, and then type one in verbatim into the "Font Name" component of the "User Specified Font" cluster.
    Use another Windows program (like Write.exe) to give me font names, and then typing one in verbatim as before.
    Use a nonsense font name to provoke some kind of "font not found" error, but none were raised.
    This third data point makes me think that a default font is selected if the user's is not found. How do I learn which font names this VI will use? LabVIEW can see and use the font I want, but not IMAQ :-(
    I have LabVIEW 2009 with the 2012 Vision Development Module.
    Solved!
    Go to Solution.

    Silver_Shaper wrote:
    Check the built in example.. It works.
    Excellent! Thanks for your reply :-)
    I can confirm that switching from "IMAQ Overlay Text.vi" (and "IMAQ Merge Overlay.vi") to "IMAQ Draw Text.vi" uses the font I specify by name on the Front Panel. This will suit my needs
    I have two points for NI engineers and I would like a response:
    Does "IMAQ Overlay Text.vi" have any outstanding bug reports about this behavior? Or, am I doing something wrong?
    Please make your examples easier to discover and find. With help from Silver_Shaper, I was able to find the example, but the directions on your website are incomplete and misleading. To experience the frustration first hand, follow the link in Silver_Shaper's post and read and follow the text.
    You will find that it is incomplete: the article takes you halfway there, pointing you to to "Help » Find Examples... » Toolkits and Modules", but doesn't follow through and ask you to expand "Vision » Functions" before you find the example.
    But once you're there, you will also find that the article is misleading. The article is called "Overlay Text on Image" and the same title is used in the overview, but on disk it is called "DrawText Example.vi" and the real name can only be found in the front panel image.
    Please confirm the bug or my misunderstanding of "IMAQ Overlay Text.vi", and please confirm that you will update that article.

  • IMAQ Overlays slow down Image Acquisition

    Hi,
    I am acquiring 1280 x 720 images at 12 frames per second and displaying the feed on an imaq image display control which works just fine but when i overlay a large amount of points onto this live image, for example 3000 points, using the copy overlay function, my cpu load goes way up and my frames per second drop way down. Is there something i can do to avoid/minimize this performance drag that i am seeing?
    Thanks

    I am displaying every image, it is a live video feed and i need to overlay several grids with up to 3000 points in each grid onto the image. Im not sure you can have multiple ROIs displayed at once can you?
    Below Is an example of what i need to achieve and if i can do this with ROIs then that would be ideal?
    Attachments:
    test2.png ‏1671 KB

  • IMAQ Overlay - Probe more consistent than image

    Hi, I am having a certain problem that might be more aesthetic than problematic.
     Imaqdx Grab runs in a loop, aquiring frames in real time which then are processed within this loop, and finally some calculated points are overlayed onto the image. The last thing I do in this loop is send the image with overlay to a front panel image control, so that the user can see the results overlayed on the image in real time.
    However, the image is very "flickery", so mainly the image appears without results overlayed and they show up only from time to time,. The results are correctly calculated for each frame though. If I use a probe to look at the purple image wire just before it goes to the indicator in the block diagram, the probe constantly shows the overlayed lines without any flickering.
    I hope I made myself semi-clear, if not see picture attached. Does anybody have a clue why this could be?
    Thanks in advance
    Solved!
    Go to Solution.
    Attachments:
    software.jpg ‏220 KB

    Where do you have clear overlay to remove previous measurements? It is better to place it before new overlay to give labview more time to show it.
    May be I am wrong, but indicator can be only a command to show image and drawing happens in separate thread later.
    And probe creates copy of image data when it is called and does not progress untill it finishes copying. With image I prefer to do it manually: have a separate image display buffer (Create image.vi) and copy there after all processing and overlay is done (copy image.vi).

  • IMAQ Vision 5.0 - where are overlay vi's

    Using IMAQ Vision 5.0 for LabVIEW, I find in the online reference overlay vi's such as IMAQ overlay rectangle, etc. I want to overlay a rectangle on an RGB image to show a region of interest in the application front panel. However I can't find any of these vi's in any of the IMAQ palettes. Where are they?

    The overlay functions are new functions introduced in IMAQ Vision 6. In version 5, your options are to use IMAQ Draw or IMAQ Draw Text. These functions will allow you to type text and draw shapes on the image. The only drawback is that both are destructive overlays.
    Ken Sun
    Applications Engineering
    National Instruments

  • How to clear overlay line

    I would like to clear a line drawn using IMAQ Overlay Line without clearing all overlays (using IMAQ Clear Overlay).  I tried using Overlay Line with the Transparent color (using the same line coordinates) and this did not work.  Anyone have any suggestions?
    Thanks

    Sandor a écrit:
    I would like to clear a line drawn using IMAQ Overlay Line without clearing all overlays (using IMAQ Clear Overlay).  I tried using Overlay Line with the Transparent color (using the same line coordinates) and this did not work.  Anyone have any suggestions?
    Thanks
    A simple trick is to copy the overlay to another empty image, and to copy back this overlay to erase any posterior modification. The attached vi demonstrate this solution. An alternative would be to construct an array in witch all the additions to the overlay would be stored, and to redraw the overlay from scratch using this array.
    Message Edité par chilly charly le 08-31-2005 05:38 AM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Save Overlay.vi ‏93 KB

  • How can I keep overlay image on 8 bit image at video acqusition​?

    Hi, I am using AVT camera Pike with Laview vision 2012
    When I use Example code 'Grab and Attributes Setup.vi' (<NI supported Example),
    I simply add the event case for overlay function (such as 'IMAQ Overlay Oval') with Image  by Local Variables connection (image input - output).
    Event case:
                 Image------[IMAQ Overlay Oval]--------Image
                 Rectangle Control ---|
    IMAQ Overlay should keep the overlay on buffer memory if I input the rectangle value.
    Problem is that the overlay disappeared if I use 8 bit image format?.
    but at the 16bit image format, the image keep the overlay image (colored overlay).
    It seems the overlay buffer is removed by acquiring new 8 bit image, but 16 bit format, the overlay is still alive. 
    Is it bug or what am I wrong?  

    upload the error situation block diagram
    Attachments:
    8bit overlay error1.jpg ‏364 KB

  • How I can make a note on an image in the IMAQ browser?

    Hi,
    I searching for the way to add a text on a thumnail image in the IMAQ browser.
    I just ran Browser Example.vi and tried to add a note on a thumnail image using IMAQ Overlay Text API.
    And also tried adding Overlay Text on the source image and then add that source image to the IMAQ browser.
    But both way failed to make it work!
    So.. Is there any way I can add a text on the image in the IMAQ browser?
    Thanks for your help!
    Regards,
    YoungMin
    Attachments:
    browser window.png ‏51 KB

    You need to add a text overlay to each image, then merge the overlay with the image before it's loaded into the image browser.  Look in the sequence frame 1 of the outer sequence structure in the attached VI.
    www.movimed.com - Custom Imaging Solutions
    Attachments:
    Browser Example (modified).vi ‏39 KB

  • Least (computationally) burdensome method of adding a filled rectangle to a thresholded IMAQ image

    I regret bothering this forum with such a simple question. I am not very proficient in LabView, so every little design consideration takes a very long time for me to solve.
    I am trying to add a filled black rectangle that covers the top quarter of a thresholded image.
    The initial source are grayscale, 8bit images at ~30fps, that are thresholded into black/white. The resulting thresholded image serves as input for an old imaq vi called "IMAQ Basic Particle" (or in other versions of this routine, "IMAQ ComplexParticle"). I'd like to take this 640x480 pixel, 8bit black and white threshold, and just add a solid black rectangle to the top of it before it goes through IMAQ Basic Particle.
    Browsing the forum (before posting!) gave me some ideas:
    draw rect.vi -> picture to pixmap.vi -> unflatten pixmap.vi -> imaq array to image.vi -> then somehow merge this imaq image on top of the initial? (not sure yet which block to use here).
    draw rect.vi ->...-> imaq overlay bitmap.vi.
    or better yet:
    imaq overlay rectangle.vi  -> imaq merge overlay.vi.
    I've spent the most time with the last route, and have one final problem with it. imaq merge overlay.vi seems to output into 32bit rgb, which my particle analysis blocks do not like. The image fed into, and resulting from, the merge overlay.vi is a simple black and white picture so i assume some final conversion of the 32bit rgb image output from Merge Overlay.vi into 8bit will fix this last problem.
    When searching this topic on the forum, I found a thread where someone claimed that merging images was slowing down their routine significantly. So i came to ask: is this a slow process? is there a better way to do this? The overall program is big, and the speed of operation is my principle concern.

    There's a function for that...
    IMAQ Draw in the pixel manipulation palette.
    Regards

  • Saving Binary Image with Overlay?

    Hi
    I'm having some issues saving an image with overlay information. I'm using IMAQ Find Circles to measure the radii of holes in a binary image. The hole data is then used with IMAQ Overlay Oval, to draw on ovals to highlight the circles detected. Works fine and the image is shown as expected in the image output on screen, pallette is set to binary. (See second image of 3, below)
    When I try and save the image to PNG I just get a blank (black) image. If I use the IMAQ Merge Overlay tool, I just get the green circles on the black (see last image of 3 below). Is there something I'm missing with pallettes/merging? Any help much appreciated. Snapshot of (messy) code attached.
    Solved!
    Go to Solution.
    Attachments:
    forum2.PNG ‏47 KB

    The problem is the binary image is all zeroes and ones.  A normal image goes up to 255, so a value of 1 looks black.
    One solution is to multiply the binary image by 255, which makes the image black and white.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Overlay Points: Creating input array of points

    I have a binary(0,255) outline of a laser profile. I'd like to save the coordinates of each point and save this to a file and read that back in and overlay these points onto a regular 8-bit laser image profile. I don't exactly know how to create the 1D array of points to input into the IMAQ Overlay Points.vi Can someone show me an example of this?
    Thanx,

    I'm not sure of the best way to detect the outline of your laser profile, but here is an idea. You can use the Spoke function to detect the outer edges of the laser. The Spoke function searches radially in a circle for edges. You can control the search direction and edge parameters as in other edge detection techniques. The function is called IMAQ Spoke.vi and it has several outputs which correspond to the edges (points) found during the search. You can then use these points to overlay onto another image with IMAQ Overlay Points.vi as you mentioned. Hope this helps.
    Jack Arnold
    Application Engineer
    National Instruments

Maybe you are looking for

  • USB port 1 & 3 not working, BT not available

    iMAC 27", Mid 2011 The USB port 1 & 3 (1 is near the firewire port) are not working, also Bluetooth is not available. I try to reset PRAM and SMC but it didnt change the situation. When executing Hardware Test (Diagnostics) no errors are found (short

  • HT202651 Is java required for OS X 10.10?

    Is java required for OS X 10.10?

  • Cannot Update Tabular form Values Error in mru internal routine: ORA-20001:

    i have created some master detail records through a manual tabular form. Iam getting the following error when i tried to updated the values through another inbuilt tabular form.... Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-2

  • JDBC Concurrency issue after SP07 upgrade

    we are seeing receiver JDBC channel maximum concurrency (5,000 concurrent messages) issue immedaitely after the upgrade of SP07 for PI 7.1. could anyone help me out with this issue? Thanks

  • Running task flows in parallel

    Hi I am using jdeveloper 11.1.1.6.0. I have a jspx page with a drop down at the top and two regions below. The regions are just different instances of the same task flow. The task flow contains a jsff page with a table.. When user change the selectio