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

Similar Messages

  • 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

  • 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 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

  • Horizontal Bar Chart and Overlaying Line Chart

    I am using SSRS 2008 and developing my reports in BIDS.
    I have a report with two data points. I want to chart the first as a bar (horizontal) chart and then the second as an overlaying line chart.
    I created both data series, originally, as a bar chart. I have clicked on the second series in the "Drop Data Fields Here" area and changed the chart to a line chart. When I do that, it changes both series to a line chart.
    However, if I use the column (vertical) chart for the first series, it will let me make the second one a line chart.
    Is this a limitation of SSRS 2008? Can I not have one data point be the horizontal bar chart and the second one a line chart?
    If so, are there any suggestions how to get around this?
    Thanks.

    Both charts for SSRS 2005/2008 are very limited when it comes to horizontal charts and are infact supporting only left-to-right bar charts, with no ability to combine them with other charting types (lines, areas, points etc.). For a SSRS charting solution that supports all types of charting type combinations in left-to-right and right-to-left horizontal fashion you can use Nevron Chart for SSRS - www.nevron.com. Besides a huge number of charting types and subtypes (most of which are not available in the MS Chart for SSRS 2008) it also provides better image quality in 2D and 3D modes, more settings, has support for rich text formatting in texts, has image filters, ability to customize via C# code and implements many more large and small charting related details.
    Best regards,
    Crank

  • Office PDF Print and office PDF creator(adobe plugin) create different line thickness result

    Hi together,
    Office PDF Print and office abobe PDF creator(adobe plugin) create different result. It seems that Adobe PDf creater improves line thickness to 1pt instead of 0,3pt. Is there a setting to change to original 0,3 because this 0,3 are standard line thickness for our documents. with adobe V9 the line was 0,3pt. (we need thin, mid and thick lines)
    After 2 day's google searching this is the last change for hope :-)
    Software Versions
    Windows 7
    MS Office 2007 (12.0.6668.5000) SP3 MSO (12.0.6662.5000)
    Adobe Acrobat X (10.1.7)
    Left: MSO Adobe Plugin / MId: MS Word / Rigth: PDF printed over "print" AdobePDF printer

    Hi Bill,
    Thanks a lot for the fast reply, i have tested it with 300dpi but I didn't get a different result. The bad thing is that not all lines getting thicker. if there is no arrow or ball at the end of the line the line thickness will not change (see Pic). I think this is a Acrobat error, i don't think that this will improve the pdf quality if the progam changes only some lanes and not all to 1pt.
    I Think we must downgrade to version 9.

  • Formating Line thickness for lines in graphs with more than 6 lines.

    I have a line graph with more than 6 lines on it and I'm trying to make them all 1px.
    I can specify a line thickness for the first 6 lines but after that, the lines go back to the default thickness.
    Is it possible to change the default line thickness for a graph or format the line thickness for the 7th line and more?

    Good news! I found out how to format more than 6 lines of data and it's really simple to do!
    In the bottom left hand corner of the Format Chart Data, next to the Clear All button, is a button marked ADD.
    If you click this button, another row is added allowing you to format the 7th line of data.
    Click again and you get a row for the 8th line and keep clicking to add more lines.
    I'm making a note of it here in case it is useful to someone out there who searches on this problem in the future.
    Edited by: user2052587 on Jan 6, 2010 2:45 PM

  • PSE 8 brush strokes randomly change to heavy line thickness

    I installed PSE 8 on a trial offer and when I use my Wacom stylus, the line thickness randomly changes to a heavy line.  I've cleared prefrences, and reloaded the Wacom drivers and messed with sensitivity.  Any suggestions?

    Hi,
    PSE allows user to change various parameters by the Pen pressure of the Wacom Tablet.
    While using Brush tool, You will find an arrow icon on the tool bar at the end, Opening it, you will find several parameters whicj can be controlled by Wacom tablet Pen pressure.  So while you are using brush with the Pen, the pressure you apply on the Wacom, increases the brush size.
    In case you need to change the Opacity of the brush, you can set it from the options bar and continue using and do Wonders.
    Try it. This is really good.
    Thanks,
    Swarnima

  • Using a slider to change line thickness

    Hi,
    This is a continuation of a project I have been posting over the last week.
    My latest problem is trying to make a slider that changes the line thickness in a drawing app that I would to share with my students. When moved from left to right a circle changes scale. This circle would act as a visual reference on the stage telling the viewer that the line thickness is changing. Right now I just want to figure out how to connect the slider so that the circle changes dynamically. Once I get that I feel I can figure out how to connect it to lineStyle().
    I hope I'm explaining this clearly.
    The current code I am attaching has the circle change size at onle two points-the far left and far right.
    I keep trying to write something that uses mouseX properties but so far nothing is working.
    Thanks

    Hi,
    I appreciate the help and, yes, that pretty much looks like what I was going for.
    Your solution looks clean!
    The trick seems to be to connect the value change in that line to the drawing line which is mouseX and mouseY.
    A couple of errors have me wondering if it is possible to change the lineStyle() dynamically. This is vector based and I think I might have to swtch over to a bitmap and use a Sprite, whichhas more of a chunky look tio it - based on a few previous attempts I made.
    I switched gears today and tempoarily and made a lot of buttons that change the line thickness. A swf file is attached.
    I will take your code and see if I can use it as a building block to change the line dynamically.
    If I figuret it out I'll post it.
    I also just ran into info on the Adobe website regarding the strokeObject, which is nowhere to be found in my reference manuals for AS3.I think the strokeObject allows you to make creative changes to a drawing line. So much to learn but hey that's what it's all about
    Cheers

  • How to increase line thickness in line charts?

    Hi,
    I am using Crystal Reports 11.
    I can change line thickness for only 4 series using "Format connector line" in the Design window. When the chart has more than 4 series, I can't change the thickness of lines except for the default 4 series.
    I try using the other method to change the thinness of line, i.e.:
    Got to the Preview window - click the line in chart - right click and go in Format Connector Line - change the thickness.
    But, when I close the Preview window and re-open it again, I find that the situation is the same: line thickness is changed for only 4 series.
    It looks like this way is effective just in computer memory.
    Is this caused by the old version of CR?
    If not, any approach to handle this problem?
    Thank you in advance.

    Thank you.
    It is a group level chart.
    I find "Apply Changes to All Charts" under Chart Menu, but after I made some changes on the chart, it is still grey and I could not use it.
    How to do?
    Edited by: Holdup on Feb 23, 2012 7:27 PM

  • Line thickness in Apex 4.02 flash chart for Legend

    Does anyone know how to set Line thickness in Apex 4.02 flash chart for Legend?
    My users can read the label fine, but the part where it shows the line color is very small and hard to match to the chart.

    Many attributes can be set in the Chart Attributes page Custom XML section. Line thinkness. Legend font size, height and width. But I haven't found a setting for the "icon" size. Even thought I increased font size and the size of the Legend on the page, the legend "lines" remained unchanged in size.

  • How to make line thicker?

    When I use "g.drawLine()" to draw a line,the size of the line is fixed.But I would like to make the line thicker.How to do that?Thanks!

    one of my favorite methods :)
        void drawThickLine(Graphics2D g, double x1, double y1, double x2, double y2, double width) {
            Stroke orig = g.getStroke();
            BasicStroke wideStroke = new BasicStroke((float)width);
            g.setStroke(wideStroke);
            g.draw(new java.awt.geom.Line2D.Double(x1,y1,x2,y2));
            g.setStroke(orig);
        }Enjoy!

  • Why do borders for some cells allow changes in line thickness, but other cells are locked in only one thickness?

    It looks like you should be able to choose different line thickness for cell borders, but for some cells you can get three choices (0.5, 1, 2 pt), but in other cases you can only do 0.5?
    I can't make a consistent thickness border around the outside of all my cells!

    VS,
    Yes, I have lots of ideas. After all that work you probably don't want to hear them.
    1. I would use PDF versions of rotated text boxes, inserted into the cells as background Fill rather than floating the actual text boxes over the table.
    2. I would never merge a cell, or divide, a cell. Too many problems await you down the road if you do that. There are many ways in Numbers to avoid having to do those things. These are things we must do in Excel to get by, but we don't have to do them in Numbers.
    3. There is a Line Type called "Thin" that has only one size, and another line type shown as a heavier solid for which the weight can be adjusted. It's possible that you have some places where you need to change the line type.
    I believe that your difficulty may come from the merging of cells causing some ambiguity as to which border needs to be selected to change the display. This would be a bug, because you should be able to just select the border and edit it, but your table may have become so complex that the program has lost track of things in the course of all your changes.
    My suggestion is to print your table just as it is, for reference, and start over in a new document, not an imported one. Don't merge or split. Use multiple simple tables and the occasional text box for annotation. You will be on your way to doing things the "Numbers Way".
    Jerry

  • Line thickness/location problems with VS 2010 Crystal SP2.  Not consistent

    I have a program I converted from VS 2003 to VS 2010.  The original had perfect outlines created from the header, detail line, and footers.  It also has 2 subreports with borders around them.
    On the converted version I have the following problems.  
    1) The lines in the header and detail line are now thicker than they were in the past.
    2) The lines in the detail section no longer line up with the box in the footer section.  The box in the footer section is the proper original line thickness.  Both the box and the individual lines are all set to line thickens  20.  I checked the location and thickness properties of each line and box.
    3) On my first subreport, it is truncating the bottom border.  If I click the report in the viewer the bottom line is there.
    These problems show up both on screen in the viewer and when printed.  I can supply scans of the pages if desired.
    Thank You,
    Peter Rohlfs

    The issue is more than likely related to printer drivers. However since there is so much wrong with the report, it may be a good idea to concentrate on one issue at a time.
    In any case, one of the things to look at will be the "No Printer" option. Enable this option and see how the report does now.
    Make sure there is a default printer installed.
    Make sure you are using the latest printer diver update.
    You do not mention if this is a web or win app. If htis is a web app, see how the report does in a win app. If this is a web app, make sure the process has access to the printer drivers. See [this|http://support.microsoft.com/kb/184291/en-us] MS kb.
    The other thing; we may eventually want to check with the report design guys re. the report design approach. E.g.; it may be that the report worked, but that still leaves the possibility of a faulty design that only now surfaces.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Changing Line Thickness on Grouped Objects?

    So I'm changing my style of animation from hand-drawn art to the usage of things such as the line and pen tool, in Adobe Flash CS3. I am drawing characters that have segmented parts, I.E. the arms, legs, head. body, ect are all separate grouped objects with a set line thickness. The problem is that when I try to shrink or grow the character, the lines making up their body is either too thick or too thin, depending on whether I make him bigger or smaller. It seems that I am unable to change the line thickness of grouped objects, or dare I say it, a group of grouped objects. The properties panel greys out when I select an object, so I have no access to it at all. I dont want to have to go and change the line thickness individually on each object, whose lines are all the same thickness to begin with.
    Is there any trick or plugin I can use to change this, so the line thickness of grouped objects can be changed? Or am I just ignorant with the answer just staring me in the face? Either way, I would REALLY appreciate the help any of you could provide!

    Okay, so I seem to have found an even better solution to my problem than what I was hoping for. I can just convert the lines into fill by going to Modify > Shapes > Convert Lines to Fill. This makes it so the lines will now change in relative size depending on how much I shrink or grow an object.
    Thanks for trying everyone, but I found my solution!

Maybe you are looking for